Formula
CommonFun.calcBuff_8790
function CommonFun.calcBuff_8790(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local Hp = targetUser:GetProperty("Hp")
local MaxHp = targetUser:GetProperty("MaxHp")
local A = 0
if a >= Hp / MaxHp then
A = b * MaxHp
else
A = c * MaxHp
end
return A
end