*Update some spell attr flag. Use better way to check IsRangedSpell and UnaffectedByInvulnerability
--HG-- branch : trunk
This commit is contained in:
+13
-13
@@ -221,8 +221,8 @@ enum SpellCategory
|
||||
// ***********************************
|
||||
|
||||
#define SPELL_ATTR_UNK0 0x00000001 // 0
|
||||
#define SPELL_ATTR_RANGED 0x00000002 // 1 All ranged abilities have this flag
|
||||
#define SPELL_ATTR_ON_NEXT_SWING_1 0x00000004 // 2 on next swing
|
||||
#define SPELL_ATTR_REQ_AMMO 0x00000002 // 1
|
||||
#define SPELL_ATTR_ON_NEXT_SWING 0x00000004 // 2 on next swing
|
||||
#define SPELL_ATTR_UNK3 0x00000008 // 3 not set in 3.0.3
|
||||
#define SPELL_ATTR_UNK4 0x00000010 // 4
|
||||
#define SPELL_ATTR_UNK5 0x00000020 // 5 trade spells?
|
||||
@@ -230,7 +230,7 @@ enum SpellCategory
|
||||
#define SPELL_ATTR_UNK7 0x00000080 // 7 visible?
|
||||
#define SPELL_ATTR_UNK8 0x00000100 // 8
|
||||
#define SPELL_ATTR_UNK9 0x00000200 // 9
|
||||
#define SPELL_ATTR_ON_NEXT_SWING_2 0x00000400 // 10 on next swing 2
|
||||
#define SPELL_ATTR_UNK10 0x00000400 // 10 on next swing 2
|
||||
#define SPELL_ATTR_UNK11 0x00000800 // 11
|
||||
#define SPELL_ATTR_DAYTIME_ONLY 0x00001000 // 12 only useable at daytime, not set in 2.4.2
|
||||
#define SPELL_ATTR_NIGHT_ONLY 0x00002000 // 13 only useable at night, not set in 2.4.2
|
||||
@@ -243,33 +243,33 @@ enum SpellCategory
|
||||
#define SPELL_ATTR_STOP_ATTACK_TARGET 0x00100000 // 20 Stop attack after use this spell (and not begin attack if use)
|
||||
#define SPELL_ATTR_IMPOSSIBLE_DODGE_PARRY_BLOCK 0x00200000 // 21 Cannot be dodged/parried/blocked
|
||||
#define SPELL_ATTR_UNK22 0x00400000 // 22 shoot spells
|
||||
#define SPELL_ATTR_UNK23 0x00800000 // 23 castable while dead?
|
||||
#define SPELL_ATTR_CASTABLE_WHILE_DEAD 0x00800000 // 23 castable while dead?
|
||||
#define SPELL_ATTR_CASTABLE_WHILE_MOUNTED 0x01000000 // 24 castable while mounted
|
||||
#define SPELL_ATTR_DISABLED_WHILE_ACTIVE 0x02000000 // 25 Activate and start cooldown after aura fade or remove summoned creature or go
|
||||
#define SPELL_ATTR_UNK26 0x04000000 // 26 Aura ignore immune?
|
||||
#define SPELL_ATTR_UNK26 0x04000000 // 26 Aura
|
||||
#define SPELL_ATTR_CASTABLE_WHILE_SITTING 0x08000000 // 27 castable while sitting
|
||||
#define SPELL_ATTR_CANT_USED_IN_COMBAT 0x10000000 // 28 Cannot be used in combat
|
||||
#define SPELL_ATTR_UNAFFECTED_BY_INVULNERABILITY 0x20000000 // 29 unaffected by invulnerability (hmm possible not...)
|
||||
#define SPELL_ATTR_BREAKABLE_BY_DAMAGE 0x40000000 // 30 breakable by damage?
|
||||
#define SPELL_ATTR_CANT_CANCEL 0x80000000 // 31 positive aura can't be canceled
|
||||
|
||||
#define SPELL_ATTR_EX_UNK0 0x00000001 // 0
|
||||
#define SPELL_ATTR_EX_DISMISS_PET 0x00000001 // 0 dismiss pet and not allow to summon new one?
|
||||
#define SPELL_ATTR_EX_DRAIN_ALL_POWER 0x00000002 // 1 use all power (Only paladin Lay of Hands and Bunyanize)
|
||||
#define SPELL_ATTR_EX_CHANNELED_1 0x00000004 // 2 channeled 1
|
||||
#define SPELL_ATTR_EX_CHANNELED_1 0x00000004 // 2 channeled target
|
||||
#define SPELL_ATTR_EX_UNK3 0x00000008 // 3
|
||||
#define SPELL_ATTR_EX_UNK4 0x00000010 // 4
|
||||
#define SPELL_ATTR_EX_UNK4 0x00000010 // 4 stealth and whirlwind
|
||||
#define SPELL_ATTR_EX_NOT_BREAK_STEALTH 0x00000020 // 5 Not break stealth
|
||||
#define SPELL_ATTR_EX_CHANNELED_2 0x00000040 // 6 channeled 2
|
||||
#define SPELL_ATTR_EX_CHANNELED_2 0x00000040 // 6 channeled self
|
||||
#define SPELL_ATTR_EX_NEGATIVE 0x00000080 // 7
|
||||
#define SPELL_ATTR_EX_NOT_IN_COMBAT_TARGET 0x00000100 // 8 Spell req target not to be in combat state
|
||||
#define SPELL_ATTR_EX_UNK9 0x00000200 // 9
|
||||
#define SPELL_ATTR_EX_NO_INITIAL_AGGRO 0x00000400 // 10 no generates threat on cast 100%
|
||||
#define SPELL_ATTR_EX_UNK11 0x00000800 // 11
|
||||
#define SPELL_ATTR_EX_UNK9 0x00000200 // 9 melee spells
|
||||
#define SPELL_ATTR_EX_NO_INITIAL_AGGRO 0x00000400 // 10 no generates threat on cast 100%?
|
||||
#define SPELL_ATTR_EX_UNK11 0x00000800 // 11 aura
|
||||
#define SPELL_ATTR_EX_UNK12 0x00001000 // 12
|
||||
#define SPELL_ATTR_EX_UNK13 0x00002000 // 13
|
||||
#define SPELL_ATTR_EX_UNK14 0x00004000 // 14
|
||||
#define SPELL_ATTR_EX_DISPEL_AURAS_ON_IMMUNITY 0x00008000 // 15 remove auras on immunity
|
||||
#define SPELL_ATTR_EX_UNAFFECTED_BY_SCHOOL_IMMUNE 0x00010000 // 16 unaffected by school immunity
|
||||
#define SPELL_ATTR_EX_UNK16 0x00010000 // 16 on immuniy
|
||||
#define SPELL_ATTR_EX_UNAUTOCASTABLE_BY_PET 0x00020000 // 17
|
||||
#define SPELL_ATTR_EX_UNK18 0x00040000 // 18
|
||||
#define SPELL_ATTR_EX_UNK19 0x00080000 // 19
|
||||
|
||||
Reference in New Issue
Block a user