Formula
CommonFun.calcBuff_8310
function CommonFun.calcBuff_8310(srcUser, targetUser, a, b, c, d, lv, damage, param)
if srcUser == nil or targetUser == nil then
return 0
end
local equip = srcUser:getCurOperEquip()
if equip.id ~= a and equip.id ~= b then
return 0
end
local A = 0
if 0 <= equip.refinelv and equip.refinelv < 5 then
A = c
elseif equip.refinelv >= 5 and equip.refinelv < 10 then
A = c + d
elseif equip.refinelv >= 10 and equip.refinelv < 15 then
A = c + d + param.e
elseif equip.refinelv >= 15 then
A = c + d + param.e + param.f
end
return A
end