linus-jansson / btd6farmer

A tool to make autonomous macros in Bloons Td 6. Relies on OCR and template matchmating for navigation. Made in python
https://discord.gg/qyKT6bzqZQ
MIT License
31 stars 11 forks source link

more hero abilities #50

Closed mirko93s closed 1 year ago

mirko93s commented 1 year ago

44

We can calculate how much xp the hero has given the round we are in and the round he was placed on. We already have this infos in the bot.

If we do so we can dinamically calculate on which round each ability will be unlocked and we can also update the cooldowns, many abilties have reduced cooldowns at certain hero levels.

static.py could be changed in something like this example with quincy:

"QUICY" : {
    #xp : [cooldowns]
    640 : [60], # 1st ability unlocked
    43280 : [60,70], # 2nd ability unlocked
    122030 : [45,70], # lvl 15 1st ability improved cooldown
    179810 : [45,55] # lvl 18 2nd ability improved cooldown
}