mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-05 23:56:35 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user