Recast hint for spellcasters

This commit is contained in:
2025-01-18 16:42:16 -06:00
parent c38c79b12b
commit 0ef3ad81d9
6 changed files with 46 additions and 5 deletions

View File

@@ -106,6 +106,9 @@ public:
long unique_id;
// transient stuff
std::map<eSkill,eSpell> last_cast = {{ eSkill::MAGE_SPELLS, eSpell::NONE}, { eSkill::PRIEST_SPELLS, eSpell::NONE }};
// There is already a global last_spellcast_type, but that variable is for the whole party.
// This one is per-PC
eSkill last_cast_type = eSkill::INVALID;
location combat_pos;
short parry = 0;
iLiving* last_attacked = nullptr; // Note: Currently this is assigned but never read