I want to also add creature abilities to spells_info.json. Even the ones that have only an effect + sound and no school; stuff like Fammiliars mana channel. (ONce this done the amount of mana stolen can be added to config file also and we have a nice ability that can be configured/maintained outside of code.
Another part I want to do is get rid of the confusing spell to battleACToDef] mapping. Code is hard to follow/understand because it jumps from using spellID in one line to mappedID in the other. Add to this that one spell can have more than one entry in this map, some entries in map have no spell counterparts, and some stuff is simply hard codded without using the map at all.
Here a wip spell_info.json file. (Relevant part from ID 82 onwards)
spell_info.zip (5.04 KB)