diff options
author | jackpoz <giacomopoz@gmail.com> | 2015-08-01 18:48:55 +0200 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2015-08-01 18:48:55 +0200 |
commit | 177b6319d1ad49a38fbd06f37671da1e3d1ae4e6 (patch) | |
tree | 0dab43a0d1afce97eb920dc90be0889f5673bfad /src/server/shared/Logging/AppenderFile.h | |
parent | 59fe55dfc90482e7de16db1d6756606438182f34 (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.
Diffstat (limited to 'src/server/shared/Logging/AppenderFile.h')
0 files changed, 0 insertions, 0 deletions