mirror of
https://github.com/NathanHandley/mod-ah-bot-plus.git
synced 2026-02-07 21:01:59 +00:00
Change price variation to 25%
This commit is contained in:
@@ -105,7 +105,7 @@ AuctionHouseBot.ListProportion.Glyph = 2
|
|||||||
# AuctionHouseBot.PriceMinimumCenterBase.*
|
# AuctionHouseBot.PriceMinimumCenterBase.*
|
||||||
# Category-level price minimums, in copper, before any multipliers come
|
# Category-level price minimums, in copper, before any multipliers come
|
||||||
# into play. Value shouldn't be zero, and the base minimum price will
|
# 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
|
# extremely low cost items
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
@@ -128,6 +128,8 @@ AuctionHouseBot.PriceMinimumCenterBase.Glyph = 1000
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# AuctionHouseBot.PriceMinimumCenterBase.OverrideItems
|
# AuctionHouseBot.PriceMinimumCenterBase.OverrideItems
|
||||||
# Comma separated list of items in the format of "itemID:PriceMinCopper"
|
# 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
|
# Example: "2589:1000000,4306:100000" would set the minimum price center
|
||||||
# of linen cloth to 100 gold and silk cloth to 10 gold each
|
# of linen cloth to 100 gold and silk cloth to 10 gold each
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|||||||
@@ -156,9 +156,9 @@ void AuctionHouseBot::calculateItemValue(ItemTemplate const* itemProto, uint64&
|
|||||||
|
|
||||||
// Set the minimum price
|
// Set the minimum price
|
||||||
if (outBuyoutPrice < PriceMinimumCenterBase)
|
if (outBuyoutPrice < PriceMinimumCenterBase)
|
||||||
outBuyoutPrice = urand(PriceMinimumCenterBase * 0.5, PriceMinimumCenterBase * 1.5);
|
outBuyoutPrice = urand(PriceMinimumCenterBase * 0.75, PriceMinimumCenterBase * 1.25);
|
||||||
else
|
else
|
||||||
outBuyoutPrice = urand(outBuyoutPrice * 0.5, outBuyoutPrice * 1.5);
|
outBuyoutPrice = urand(outBuyoutPrice * 0.75, outBuyoutPrice * 1.25);
|
||||||
|
|
||||||
// Multiply the price based on multipliers
|
// Multiply the price based on multipliers
|
||||||
outBuyoutPrice *= qualityPriceMultplier;
|
outBuyoutPrice *= qualityPriceMultplier;
|
||||||
|
|||||||
Reference in New Issue
Block a user