From f4faa1011f4782c38d66fce3c94b76601d623960 Mon Sep 17 00:00:00 2001 From: NathanHandley Date: Fri, 26 Jan 2024 08:51:17 -0600 Subject: [PATCH] Decrease price multiplier of trade goods by quality --- src/AuctionHouseBot.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AuctionHouseBot.cpp b/src/AuctionHouseBot.cpp index fe7e873..d0765f2 100644 --- a/src/AuctionHouseBot.cpp +++ b/src/AuctionHouseBot.cpp @@ -114,14 +114,14 @@ void AuctionHouseBot::calculateItemValue(ItemTemplate const* itemProto, uint64& switch (itemProto->Quality) { case ITEM_QUALITY_UNCOMMON: powValue = 1.8; break; - case ITEM_QUALITY_RARE: powValue = 2; break; - case ITEM_QUALITY_EPIC: powValue = 2.3; break; + case ITEM_QUALITY_RARE: powValue = 1.9; break; + case ITEM_QUALITY_EPIC: powValue = 2.1; break; default: break; } uint32 minPossiblePrice = (uint32)(pow((double)itemProto->ItemLevel, powValue)); if (minPossiblePrice > outBuyoutPrice) { - outBuyoutPrice = urand(minPossiblePrice, minPossiblePrice * 1.2); + outBuyoutPrice = urand(minPossiblePrice, minPossiblePrice * 1.1); } } }