Minor formatting cleanup
This commit is contained in:
parent
6fdb0d6aa8
commit
0ed3eec7c9
@ -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;
|
||||
|
@ -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) */
|
||||
|
Loading…
x
Reference in New Issue
Block a user