CommonFun

calcDamage / calcBuff explorer

1 formulas listed.

CommonFun.calcBuff_10029060 mapped buffs · 4 skills
function CommonFun.calcBuff_100290(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local A = 0
  local StateEffect = targetUser:GetProperty("StateEffect")
  local bits3 = CommonFun.getBits(StateEffect)
  if bits3[CommonFun.StateEffect.Poison] == 1 then
    A = 100
  end
  return A
end