Formula

CommonFun.calcBuff_2200

formula.lua
1function CommonFun.calcBuff_2200(srcUser, targetUser, a, b, c, d, lv, damage)
2  if srcUser == nil or targetUser == nil then
3    return 0
4  end
5  local MaxHp = srcUser:GetProperty("MaxHp")
6  if damage <= 1 then
7    return 1
8  end
9  if srcUser:HasBuffID(80000880_HUNTER_FLY_CARD_DEPOSITE_:MAX_STACK_0) then
10    return MaxHp * 0.03
11  else
12    return MaxHp * 0.02
13  end
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_2200

commonfun-calcbuff_2200

Nodes

0

Edges

0

Related Nodes

Select at least one node type.