*Do not allow client to interrupt instant spells. By thenecromancer
--HG-- branch : trunk
This commit is contained in:
+2
-2
@@ -1194,7 +1194,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
|
||||
|
||||
void SetCurrentCastedSpell(Spell * pSpell);
|
||||
virtual void ProhibitSpellScholl(SpellSchoolMask /*idSchoolMask*/, uint32 /*unTimeMs*/ ) { }
|
||||
void InterruptSpell(uint32 spellType, bool withDelayed = true);
|
||||
void InterruptSpell(uint32 spellType, bool withDelayed = true, bool withInstant = true);
|
||||
|
||||
// set withDelayed to true to account delayed spells as casted
|
||||
// delayed+channeled spells are always accounted as casted
|
||||
@@ -1203,7 +1203,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
|
||||
|
||||
// set withDelayed to true to interrupt delayed spells too
|
||||
// delayed+channeled spells are always interrupted
|
||||
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid = 0);
|
||||
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid = 0, bool withInstant = true);
|
||||
|
||||
Spell* FindCurrentSpellBySpellId(uint32 spell_id) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user