PaulQbFeng / too-tanky

3 stars 0 forks source link

Create a function that level up the spells based on Champion level and spell preference #37

Closed PaulQbFeng closed 1 year ago

PaulQbFeng commented 1 year ago
def function(spell_max_order=["r", "q", "e", "w"], champ_level=13):
    return [5, x , y, 2]

so that it can be initialized by default. the spell max order could be an attribute of a champion.

Of course it would be overriden if we add the spell level we want manually, either in basechampion init or spell argument directly