Changeset 226 for trunk/src/game/Unit.h
- Timestamp:
- 11/19/08 13:48:11 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Unit.h
r215 r226 40 40 enum SpellInterruptFlags 41 41 { 42 SPELL_INTERRUPT_FLAG_MOVEMENT = 0x01, 43 SPELL_INTERRUPT_FLAG_ DAMAGE = 0x02,44 SPELL_INTERRUPT_FLAG_INTERRUPT = 0x04, 45 SPELL_INTERRUPT_FLAG_AUTOATTACK = 0x08, 46 //SPELL_INTERRUPT_FLAG_TURNING = 0x10 // not turning - maybe_complete_ interrupt on direct damage?42 SPELL_INTERRUPT_FLAG_MOVEMENT = 0x01, // why need this for instant? 43 SPELL_INTERRUPT_FLAG_PUSH_BACK = 0x02, // push back 44 SPELL_INTERRUPT_FLAG_INTERRUPT = 0x04, // interrupt 45 SPELL_INTERRUPT_FLAG_AUTOATTACK = 0x08, // no 46 SPELL_INTERRUPT_FLAG_DAMAGE = 0x10 // _complete_ interrupt on direct damage? 47 47 }; 48 48 … … 1189 1189 1190 1190 Aura* GetDummyAura(uint32 spell_id) const; 1191 uint32 GetInterruptMask() const { return m_interruptMask; } 1192 void AddInterruptMask(uint32 mask) { m_interruptMask |= mask; } 1193 void UpdateInterruptMask(); 1191 1194 1192 1195 uint32 GetDisplayId() { return GetUInt32Value(UNIT_FIELD_DISPLAYID); } … … 1335 1338 1336 1339 AuraList m_modAuras[TOTAL_AURAS]; 1340 uint32 m_interruptMask; 1337 1341 AuraList m_interruptableAuras; 1338 1342 AuraList m_ccAuras;