mirror of
https://github.com/NathanHandley/mod-ah-bot-plus.git
synced 2026-01-13 09:17:21 +00:00
Set min buyout price to 1 silver
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user