Formula

CommonFun.calcBuff_8480

function CommonFun.calcBuff_8480(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local SecretLandGemLv = srcUser:GetSecretLandGemLv(a)
  local A = 0
  A = SecretLandGemLv * b + math.max(SecretLandGemLv - 30, 0) * c + math.max(SecretLandGemLv - 60, 0) * d
  return A
end