Formula
CommonFun.calcBuff_8500
function CommonFun.calcBuff_8500(srcUser, targetUser, a, b, c, d, lv, damage)
if srcUser == nil or targetUser == nil then
return 0
end
if damage <= 1 then
return 1
end
local SecretLandGemLv = srcUser:GetSecretLandGemLv(a)
local A = damage * (SecretLandGemLv * b + math.max(SecretLandGemLv - 30, 0) * c + math.max(SecretLandGemLv - 60, 0) * d)
local MaxHpM = srcUser:GetProperty("MaxHp")
A = math.min(MaxHpM, A)
return A
end