Formula
CommonFun.calcBuff_7141
function CommonFun.calcBuff_7141(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 159 <= Str then
A = A + b
end
if 159 <= Int then
A = A + b
end
if 159 <= Dex then
A = A + b
end
if 159 <= Agi then
A = A + b
end
if 159 <= Vit then
A = A + b
end
if 159 <= Luk then
A = A + b
end
return A
end