Formula

CommonFun.calcBuff_3880

formula.lua
1function CommonFun.calcBuff_3880(srcUser, targetUser, a, b, c, d, lv)
2  if srcUser == nil or targetUser == nil then
3    return 0
4  end
5  local Hp = targetUser:GetProperty("Hp")
6  local Sp = targetUser:GetProperty("Sp")
7  local A = -(Hp * lv * a + Sp * lv * b)
8  local B = -lv * a
9  if targetUser:HasBuffID(160000_BOSS_IMMUNE_EFFECT_:MAX_STACK_0) then
10    A = 0
11  end
12  if b == 0 and (targetUser.boss or targetUser.mini) then
13    A = CommonFun.calcBuff_6(srcUser, targetUser, B, 0, c, d, lv)
14  end
15  return A
16end
Formula Graph

Connected Archive Data

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

Loading graph filters

CommonFun.calcBuff_3880

commonfun-calcbuff_3880

Nodes

0

Edges

0

Related Nodes

Select at least one node type.