Changeset 142 for trunk/src/game/Unit.h

Show
Ignore:
Timestamp:
11/19/08 13:40:02 (17 years ago)
Author:
yumileroy
Message:

[svn] Fix teleport spells.
Fix cone spells.
Use interrupt_aura_flag to remove stealth/invisible/feign death auras.

Original author: megamage
Date: 2008-11-01 15:08:12-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Unit.h

    r141 r142  
    7272    AURA_INTERRUPT_FLAG_UNK12               = 0x00001000,   // 12   removed by attack? 
    7373    AURA_INTERRUPT_FLAG_UNK13               = 0x00002000,   // 13 
     74    AURA_INTERRUPT_FLAG_STEALTH             = 0x00003C00, 
    7475    AURA_INTERRUPT_FLAG_UNK14               = 0x00004000,   // 14 
    7576    AURA_INTERRUPT_FLAG_UNK15               = 0x00008000,   // 15   removed by casting a spell? 
     
    10041005 
    10051006        void RemoveSpellsCausingAura(AuraType auraType); 
     1007        void RemoveInterruptableAura(uint32 flag); 
    10061008        void RemoveRankAurasDueToSpell(uint32 spellId); 
    10071009        bool RemoveNoStackAurasDueToAura(Aura *Aur); 
     
    13011303 
    13021304        AuraList m_modAuras[TOTAL_AURAS]; 
     1305        AuraList m_interruptableAuras; 
    13031306        float m_auraModifiersGroup[UNIT_MOD_END][MODIFIER_TYPE_END]; 
    13041307        float m_weaponDamage[MAX_ATTACK][2];