Formula
CommonFun.calcBuff_8540
function CommonFun.calcBuff_8540(srcUser, targetUser, a, b, c, d, lv, damage)
if srcUser == nil or targetUser == nil then
return 0
end
local MaxHp = srcUser:GetProperty("MaxHp")
local MaxSp = srcUser:GetProperty("MaxSp")
local mapid, maptype = srcUser:GetMapInfo()
local A = MaxHp * math.min(math.floor(MaxSp / 1000) / 100, 0.2)
return A
end