Minor formatting cleanup

This commit is contained in:
Antz 2020-12-16 09:12:25 +00:00
parent 6fdb0d6aa8
commit 0ed3eec7c9
2 changed files with 4 additions and 5 deletions

View File

@ -1809,13 +1809,13 @@ void AuctionBotSeller::SetPricesOfItem(AHB_Seller_Config& config, uint32& buyp,
double temp_buyp = buyp * stackcnt *
(itemQuality < MAX_AUCTION_QUALITY ? config.GetPriceRatioPerQuality(AuctionQuality(itemQuality)) : 1) ;
double randrange = temp_buyp * 0.4;
double randrange = temp_buyp * 0.4;
uint32 buypMin = (uint32)temp_buyp - (uint32)randrange;
uint32 buypMax = ((uint32)temp_buyp + (uint32)randrange) < temp_buyp ? ACE_Numeric_Limits<uint32>::max() : temp_buyp + randrange;
buyp = (urand(buypMin, buypMax) / 100) + 1;
double urandrange = buyp * 40;
double temp_bidp = buyp * 50;
uint32 bidPmin = (uint32)temp_bidp - (uint32)urandrange;

View File

@ -321,8 +321,7 @@ enum MangosStrings
LANG_TRIGGER_EXPLORE_QUEST = 366, /* Explore quest: */
LANG_TRIGGER_CONDITION = 367, /* Condition %u */
LANG_COMMAND_TICKETRESPONSE = 373, /* Response: %s */
LANG_COMMAND_TICKETCOUNT_CONSOLE = 374, /* Tickets count: %i
*/
LANG_COMMAND_TICKETCOUNT_CONSOLE = 374, /* Tickets count: %i */
LANG_COMMAND_TICKETNOTEXIST_NAME = 375, /* Player %s not have tickets. */
LANG_POOL_ENTRY_LIST_CHAT = 376, /* %u - |cffffffff|Hpool:%u|h[%s]|h|r AutoSpawn: %u MaxLimit: %u Creatures: %u GameObjecs: %u Pools %u */
LANG_NO_POOL_FOR_MAP = 377, /* No pools found for map '%s' (Id:%u) */