ilpersi / BHBot

A bot that automates a game called Bit Heroes
GNU General Public License v3.0
28 stars 32 forks source link

Auto recognize the maximum level of expedition, gauntlet, invasion #153

Open mannguyen0107 opened 4 years ago

mannguyen0107 commented 4 years ago

Is your feature request related to a problem? Please describe. The bot always hang and stuck in some kind of loop if difficulty level in the setting file exceed the maximum difficulty level in game.

Describe the solution you'd like If the user set the difficulty level in the setting file larger than the maximum difficulty level in game then the bot would recognize that and change the difficulty level to be the maximum difficulty level.

Fortigate commented 4 years ago

I had some internal builds for this (pushing max level) but they weren't very pretty. I'll see if I can provide a clean way of doing it for the bot.

ilpersi commented 4 years ago

The logic was already there for trials/gauntlet, I've now added it for expedition. Some tweaks are still probably needed as the level can be increased with the successThreshold configuration parameter.