Formula

CommonFun.calcBuff_5320

function CommonFun.calcBuff_5320(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local A = 0
  local suoding = targetUser:GetBuffLayer(163732_VOID_CAGE_:MAX_STACK_10)
  if 4 <= suoding then
    if targetUser:HasBuffID(163750_GLIMMER_SHIELD_:MAX_STACK_0) then
      return 0
    else
      return 100
    end
  end
  return A
end