Formula

CommonFun.calcBuff_3153

formula.lua
1function CommonFun.calcBuff_3153(srcUser, targetUser, a, b, c, d, lv)
2  if srcUser == nil or targetUser == nil then
3    return 0
4  end
5  local A = 10
6  local BuffLevel = targetUser:GetBuffLevel(165734_MAKE_IT_HARD_TO_UNEQUIP_EMPTY_BUFF_:MAX_STACK_0)
7  if targetUser:HasBuffID(165734_MAKE_IT_HARD_TO_UNEQUIP_EMPTY_BUFF_:MAX_STACK_0) then
8    A = A * (1 - BuffLevel * 0.2)
9  end
10  return A
11end
Formula Graph

Connected Archive Data

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

Loading graph filters

CommonFun.calcBuff_3153

commonfun-calcbuff_3153

Nodes

0

Edges

0

Related Nodes

Select at least one node type.