Formula

CommonFun.calcBuff_8481

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