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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user