aboutsummaryrefslogtreecommitdiff
path: root/src/common/Logging/AppenderFile.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2015-08-01 18:48:55 +0200
committerCarbenium <carbenium@outlook.com>2015-09-24 19:48:31 +0200
commitcf67b7d375845e1745a79a712701413fcf4e75ea (patch)
tree5a75704cec89a5981e1586c0114e0d5104ea32c0 /src/common/Logging/AppenderFile.cpp
parent8a5d92726a0b52b70e881c595a2a8e1000d9de68 (diff)
Core/AHBot: Adjust AHBot bid and buyout chances
Apply an exponential formula to define the chance to bid/buyout an auction depending on auction price and item price ratio. The formula can be adjusted changing the new AuctionHouseBot.Buyer.ChanceFactor config parameter Chance = 100 ^ (1 + (1 - (auction_price / item_price) / k) k is the config parameter AuctionHouseBot.Buyer.ChanceFactor, the higher the number the higher chance to buy overpriced auctions. (cherry picked from commit 177b6319d1ad49a38fbd06f37671da1e3d1ae4e6) Conflicts: src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp
Diffstat (limited to 'src/common/Logging/AppenderFile.cpp')
0 files changed, 0 insertions, 0 deletions