Change price variation to 25%

This commit is contained in:
NathanHandley
2025-01-20 13:49:46 -06:00
parent b0385cc957
commit fced1798f6
2 changed files with 5 additions and 3 deletions

View File

@@ -105,7 +105,7 @@ AuctionHouseBot.ListProportion.Glyph = 2
# AuctionHouseBot.PriceMinimumCenterBase.*
# Category-level price minimums, in copper, before any multipliers come
# into play. Value shouldn't be zero, and the base minimum price will
# actually be a +/- 50% range of this value. Used to catch 0 cost or
# actually be a +/- 25% range of this value. Used to catch 0 cost or
# extremely low cost items
###############################################################################
@@ -128,6 +128,8 @@ AuctionHouseBot.PriceMinimumCenterBase.Glyph = 1000
###############################################################################
# AuctionHouseBot.PriceMinimumCenterBase.OverrideItems
# Comma separated list of items in the format of "itemID:PriceMinCopper"
# which is an override of the PriceMinimumCenterBase", a value that is
# used before variation and multipliers
# Example: "2589:1000000,4306:100000" would set the minimum price center
# of linen cloth to 100 gold and silk cloth to 10 gold each
###############################################################################

View File

@@ -156,9 +156,9 @@ void AuctionHouseBot::calculateItemValue(ItemTemplate const* itemProto, uint64&
// Set the minimum price
if (outBuyoutPrice < PriceMinimumCenterBase)
outBuyoutPrice = urand(PriceMinimumCenterBase * 0.5, PriceMinimumCenterBase * 1.5);
outBuyoutPrice = urand(PriceMinimumCenterBase * 0.75, PriceMinimumCenterBase * 1.25);
else
outBuyoutPrice = urand(outBuyoutPrice * 0.5, outBuyoutPrice * 1.5);
outBuyoutPrice = urand(outBuyoutPrice * 0.75, outBuyoutPrice * 1.25);
// Multiply the price based on multipliers
outBuyoutPrice *= qualityPriceMultplier;