Introduce a spell enum, and use it everywhere for PC spellcasting

- Monster spellcasting is untouched
- Also updated the spells documentation, which had some old information from Exile III and omitted a lot of ranges.
This commit is contained in:
2014-12-14 02:00:25 -05:00
parent 1fbf8939b2
commit 0344cf2525
17 changed files with 1185 additions and 686 deletions

View File

@@ -46,7 +46,7 @@ public:
short direction;
short ap;
// transient stuff
std::map<eSkill,short> last_cast;
std::map<eSkill,eSpell> last_cast;
location combat_pos;
short marked_damage, dir, parry, last_attacked;