From eee10407e81a7ba8f2d327695ba8e8885cadd207 Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 28 Feb 2024 22:31:15 +0000 Subject: [PATCH] Further changes to sell curve --- 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 e475e295..9159ed1f 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 ** 2); // Power of 2 + let sellChance = Math.round(((baseSellChancePercent * sellModifier) * sellModifier ** 3) + 10); // Power of 2 // Adjust sell chance if below config value if (sellChance < sellConfig.minSellChancePercent)