Formula

CommonFun.calcBuff_3071

formula.lua
1function CommonFun.calcBuff_3071(srcUser, targetUser, a, b, c, d, lv)
2  if srcUser == nil or targetUser == nil then
3    return 0
4  end
5  local Value = srcUser:GetGemValue(c)
6  local A = lv * a + b + Value / 1000
7  if targetUser:HasBuffID(160000_BOSS_IMMUNE_EFFECT_:MAX_STACK_0) then
8    A = 0
9  end
10  if targetUser.boss == true or targetUser.mini == true then
11    A = 0
12  end
13  return A
14end
Formula Graph

Connected Archive Data

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

Loading graph filters

CommonFun.calcBuff_3071

commonfun-calcbuff_3071

Nodes

0

Edges

0

Related Nodes

Select at least one node type.