From 2000a8f2dadb061b859318ad96b51e5b3decf333 Mon Sep 17 00:00:00 2001 From: NathanHandley Date: Mon, 13 Nov 2023 18:55:17 -0600 Subject: [PATCH] Set min buyout price to 1 silver --- src/AuctionHouseBot.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AuctionHouseBot.cpp b/src/AuctionHouseBot.cpp index 7514dd1..1bdd56f 100644 --- a/src/AuctionHouseBot.cpp +++ b/src/AuctionHouseBot.cpp @@ -247,11 +247,11 @@ void AuctionHouseBot::addNewAuctions(Player *AHBplayer, AHBConfig *config) else buyoutPrice = prototype->SellPrice; - // Set a minimum buyoutPrice to avoid zero prices - if (buyoutPrice == 0) + // Set a minimum buyoutPrice to 1 silver + if (buyoutPrice < 100) { // TODO: Move this to a config value - buyoutPrice = 150; + buyoutPrice = 100; } // Set the price