Formula
CommonFun.calcBuff_5050
function CommonFun.calcBuff_5050(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local A = 20
local GemValue2 = srcUser:GetGemValue(122081_CHANCE_OF_TRIGGERING_TRIPLE_ATTACK_PERCENTAGE)
local Num1 = srcUser:GetBuffLayer(100500_SPIRIT_BOMB_:MAX_STACK_0)
local taka = 0
if srcUser:HasBuffID(42720_TACARO_:MAX_STACK_0) then
taka = taka + Num1
end
if srcUser:HasBuffID(90004584_TACARO_1_T5_:MAX_STACK_0) then
taka = taka + 10
end
A = 20 + GemValue2 / 1000 + taka
return A
end