Formula
CommonFun.calcBuff_8351
function CommonFun.calcBuff_8351(srcUser, targetUser, a, b, c, d, lv, damage, param)
if srcUser == nil or targetUser == nil then
return 0
end
local A = 0
local RefineLv = srcUser:GetEquipedRefineLv(11)
if 0 <= RefineLv and RefineLv < 6 then
A = a
elseif 6 <= RefineLv and RefineLv < 8 then
A = a + b
elseif 8 <= RefineLv and RefineLv < 10 then
A = a + b + c
elseif 10 <= RefineLv and RefineLv < 12 then
A = a + b + c + d
elseif 12 <= RefineLv and RefineLv < 15 then
A = a + b + c + d + param.e
elseif 15 <= RefineLv then
A = a + b + c + d + param.e + param.f
end
return A
end