Formula

CommonFun.calcBuff_2444

formula.lua
1function CommonFun.calcBuff_2444(srcUser, targetUser, a, b, c, d, lv)
2  if srcUser == nil or targetUser == nil then
3    return 0
4  end
5  local Luk = srcUser:GetProperty("Luk")
6  local Dex = srcUser:GetProperty("Dex")
7  local Rate = 10 + (Luk + Dex) / 30
8  local Rate_double = 10 + (Luk + Dex) / 30
9  local pos = 0
10  if CommonFun.IsInRate(Rate, srcUser:GetRandom()) then
11    pos = 2
12    if CommonFun.IsInRate(Rate_double, srcUser:GetRandom()) then
13      pos = 208
14    end
15  end
16  return pos
17end
Formula Graph

Connected Archive Data

See which cards, equipment, headwears, buffs, and other archived records connect to this formula.

Loading graph filters

CommonFun.calcBuff_2444

commonfun-calcbuff_2444

Nodes

0

Edges

0

Related Nodes

Select at least one node type.