Formula
CommonFun.calcBuff_7980
function CommonFun.calcBuff_7980(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 = MaxHp / 2
if Hp <= MaxHp / 2 then
A = Hp - 1
end
return -A
end