Formula

CommonFun.calcBuff_3051

formula.lua
1function CommonFun.calcBuff_3051(srcUser, targetUser, a, b, c, d, lv)
2  if srcUser == nil or targetUser == nil then
3    return 0
4  end
5  local Num = srcUser:GetRunePoint(94010_AESIR_10_MOVE_SPD_OF_TARGETS_WITHIN_BLOOD_THIRST_S_AREA_OF_EFFECT_THIS_EFFECT_GROWS_MORE_POWERFUL_AS_THE_TARGET_S_HP_PERCENTAGE_DROPS)
6  local MaxHp = targetUser:GetProperty("MaxHp")
7  local Hp = targetUser:GetProperty("Hp")
8  local A = 0
9  if 0 < Num then
10    A = -(Num * 0.1 + MaxHp / Hp * 0.05)
11  end
12  if targetUser.boss == true and targetUser.mini == true then
13    A = 0
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_3051

commonfun-calcbuff_3051

Nodes

0

Edges

0

Related Nodes

Select at least one node type.