diff options
author | QAston <none@none> | 2009-07-28 21:34:18 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-07-28 21:34:18 +0200 |
commit | c15c25aca40d30b9ac978f3f6476dc52fa6ff94b (patch) | |
tree | f9d8df65afa21221b3be1d52f23891b8b6a5dc3d /src/game/Unit.h | |
parent | cf0d8a2b035a60ed0fc9a70df8d2d4d9b3a598ea (diff) |
*Cleanups and Fixes in Mirror Image script.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r-- | src/game/Unit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index cad248c7489..3488c9b8f14 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -583,6 +583,7 @@ enum UnitFlags2 UNIT_FLAG2_FEIGN_DEATH = 0x00000001, UNIT_FLAG2_UNK1 = 0x00000002, // Hide unit model (show only player equip) UNIT_FLAG2_COMPREHEND_LANG = 0x00000008, + UNIT_FLAG2_MIRROR_IMAGE = 0x00000010, UNIT_FLAG2_FORCE_MOVE = 0x00000040, UNIT_FLAG2_DISARM_OFFHAND = 0x00000080, UNIT_FLAG2_DISARM_RANGED = 0x00000400, //this does not disable ranged weapon display (maybe additional flag needed?) @@ -1497,6 +1498,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid = 0, bool withInstant = true); Spell* FindCurrentSpellBySpellId(uint32 spell_id) const; + int32 GetCurrentSpellCastTime(uint32 spell_id) const; Spell* m_currentSpells[CURRENT_MAX_SPELL]; |