Add a StopCasting function and make some use of it

Unsure if all of these cases should use interrupt or stop casting
This commit is contained in:
Michael Cook (mackal)
2016-08-16 17:52:14 -04:00
parent 3d64878e60
commit 5a0d2b527b
2 changed files with 32 additions and 1 deletions
+1
View File
@@ -272,6 +272,7 @@ public:
virtual float GetAOERange(uint16 spell_id);
void InterruptSpell(uint16 spellid = SPELL_UNKNOWN);
void InterruptSpell(uint16, uint16, uint16 spellid = SPELL_UNKNOWN);
void StopCasting();
inline bool IsCasting() const { return((casting_spell_id != 0)); }
uint16 CastingSpellID() const { return casting_spell_id; }
bool DoCastingChecks();