Refactor spellcasting.cpp
So far it contains such things:
- An effectTick() function, which contains a switch which tells how to handle different magic effects.
- A CastSpell class, which represents an instance of casted spell.
- Spell resistance and absorption mechanics
- Some random visitors and helpers, related to different aspects of spellcasting.
So the 1400-lines file really can be splitted to several smaller files.
Edited by Andrei Kortunov