diff --git a/conf/mod_ahbot.conf.dist b/conf/mod_ahbot.conf.dist index 1fd7141..5d9fce2 100644 --- a/conf/mod_ahbot.conf.dist +++ b/conf/mod_ahbot.conf.dist @@ -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 ############################################################################### diff --git a/src/AuctionHouseBot.cpp b/src/AuctionHouseBot.cpp index 8467536..7f0e6e5 100644 --- a/src/AuctionHouseBot.cpp +++ b/src/AuctionHouseBot.cpp @@ -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;