From c64e5f72399e1d2cf8e30be00c95b3a737db6070 Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 28 Feb 2024 22:34:07 +0000 Subject: [PATCH] Correct comment now power has changed --- project/src/helpers/RagfairSellHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/helpers/RagfairSellHelper.ts b/project/src/helpers/RagfairSellHelper.ts index 9159ed1f..45c01616 100644 --- a/project/src/helpers/RagfairSellHelper.ts +++ b/project/src/helpers/RagfairSellHelper.ts @@ -45,7 +45,7 @@ export class RagfairSellHelper // Modfier gets applied twice to either penalize or incentivize over/under pricing (Probably a cleaner way to do this) const sellModifier = (averageOfferPriceRub / playerListedPriceRub) * sellConfig.sellMultiplier; - let sellChance = Math.round(((baseSellChancePercent * sellModifier) * sellModifier ** 3) + 10); // Power of 2 + let sellChance = Math.round(((baseSellChancePercent * sellModifier) * sellModifier ** 3) + 10); // Power of 3 // Adjust sell chance if below config value if (sellChance < sellConfig.minSellChancePercent)