Formula

CommonFun.calcBuff_3900

formula.lua
1function CommonFun.calcBuff_3900(srcUser, targetUser, a, b, c, d, lv)
2  if srcUser == nil or targetUser == nil then
3    return 0
4  end
5  local HpPerRatio = 1
6  local Hp = targetUser:GetProperty("Hp")
7  local MaxHp = targetUser:GetProperty("MaxHp")
8  if Hp < 0.8 * MaxHp then
9    HpPerRatio = 2
10  end
11  local A = -0.5 * HpPerRatio
12  return A
13end
Formula Graph

Connected Archive Data

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

Loading graph filters

CommonFun.calcBuff_3900

commonfun-calcbuff_3900

Nodes

0

Edges

0

Related Nodes

Select at least one node type.