Formula
CommonFun.calcBuff_4530
function CommonFun.calcBuff_4530(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local Str = srcUser:GetProperty("Str")
local Int = srcUser:GetProperty("Int")
local Dex = srcUser:GetProperty("Dex")
local Agi = srcUser:GetProperty("Agi")
local Vit = srcUser:GetProperty("Vit")
local Luk = srcUser:GetProperty("Luk")
local A = a
if 99 <= Str then
A = A + b
end
if 99 <= Int then
A = A + b
end
if 99 <= Dex then
A = A + b
end
if 99 <= Agi then
A = A + b
end
if 99 <= Vit then
A = A + b
end
if 99 <= Luk then
A = A + b
end
return A
end