Improve sell chance % of player offers that are close to the average price
This commit is contained in:
parent
874463509a
commit
5cbc4b7014
@ -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);
|
||||
let sellChance = Math.round((baseSellChancePercent * sellModifier) * sellModifier ** 2); // Power of 2
|
||||
|
||||
// Adjust sell chance if below config value
|
||||
if (sellChance < sellConfig.minSellChancePercent)
|
||||
|
Loading…
Reference in New Issue
Block a user