Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

more hero abilities #50

Merged
merged 1 commit into from
Oct 5, 2022
Merged

Conversation

mirko93s
Copy link
Contributor

#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
}

@linus-jansson linus-jansson merged commit 1d90d99 into linus-jansson:main Oct 5, 2022
@mirko93s mirko93s deleted the hero-abilities branch October 13, 2022 11:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants