Formula
CommonFun.calcBuff_4540
function CommonFun.calcBuff_4540(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local Num1 = targetUser:GetBuffLayer(162792_JUDGMENT_CALCULATE_:MAX_STACK_3)
local A = 0
if 2 <= Num1 then
A = 100
end
if targetUser:HasBuffID(163190_TRANSITION_PHASE_CANNOT_STACK_ENERGY_VALKYRIE_:MAX_STACK_0) then
A = 0
end
return A
end