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
local refinelv = srcUser:GetEquipedRefineLv(equip.pos)
if 0 <= refinelv and refinelv < 5 then
A = c
elseif 5 <= refinelv and refinelv < 10 then
A = c + d
elseif 10 <= refinelv and refinelv < 15 then
A = c + d + param.e
elseif 15 <= refinelv then
A = c + d + param.e + param.f
end
return A
end