aboutsummaryrefslogtreecommitdiff
path: root/src/common/Utilities/Util.cpp
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2017-04-03 03:28:31 -0300
committerariel- <ariel-@users.noreply.github.com>2017-04-03 03:29:29 -0300
commit7f8bfe68d0f660643c8bd4c63d2129d220c2184c (patch)
tree3f09d6c1b8124c24aa06c217281e9f980268cfc2 /src/common/Utilities/Util.cpp
parent0c698b4567044f67eb52f6459308fb6edf693966 (diff)
Core/AHBot: Refactor of AuctionHouseBotSeller:
- Use AuctionHouseBot.Class.* for what they really are, priorities, factor them when calculating item amount per class, changed enums to CONFIG_AHBOT_CLASS_*_PRIORITY to reflect this change - Don't factor in the priority calc empty item lists: * Let's say you had AuctionHouseBot.Class.Glyph set to 10, sum of AuctionHouseBot.Class.* is 20, and AuctionHouseBot.Items.Amount.White is 5000 * If there were no glyphs on the item list, you automatically lost 50% of the total item amount, meaning only 2500 of original 5000 were alloted to fill - Fixed AuctionHouseBot.AH.Price.Ratio to be an actual percentage factor - Separated containers in SellerConfiguration, each one better reflects what kind of data is stored there, now we won't use magic index 0 from _ItemInfo :P - General cleanup, removal of bad voodoo and magical numbers - Use unordered_sets for loading item lists, as they were only used to check for item presence
Diffstat (limited to 'src/common/Utilities/Util.cpp')
0 files changed, 0 insertions, 0 deletions