Formula
CommonFun.calcBuff_7042
function CommonFun.calcBuff_7042(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local Def = srcUser:GetProperty("Def")
local Vit = srcUser:GetProperty("Vit")
local DefPer = targetUser:GetProperty("DefPer")
local A = math.floor(Def * 0.8)
if srcUser:HasBuffID(81004200_TAO_GUNKA_CARD_:MAX_STACK_0) then
A = math.floor(Def * 0.4)
end
return -A
end