Skip to content

How spells work

Stanislav Kozlovski edited this page Aug 11, 2016 · 1 revision

Each time a character casts a spell, the program looks up the spell attributes like damage and mana cost from the dictionary learned_spells in the class' Class.

learned_spells updates it's values each time the character reaches the necessary level for a new rank of a spell or gets a new spell added into it.

Clone this wiki locally