Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ***********************************
- // Spell Attributes definitions
- // attributes with '*' in comment are not implemented
- // ***********************************
- enum Attributes
- {
- SPELL_ATTR_UNK0 = 0x00000001, // 0
- SPELL_ATTR_RANGED = 0x00000002, // 1 All ranged abilities have this flag
- SPELL_ATTR_ON_NEXT_SWING_1 = 0x00000004, // 2 on next swing 1
- SPELL_ATTR_UNK3 = 0x00000008, // 3 not set in 2.4.3
- SPELL_ATTR_ABILITY = 0x00000010, // 4 client puts 'ability' instead of 'spell' in game strings for these spells
- SPELL_ATTR_TRADESPELL = 0x00000020, // 5 trade spells (recipes), will be added by client to a sublist of profession spell
- SPELL_ATTR_PASSIVE = 0x00000040, // 6 Passive spell
- SPELL_ATTR_HIDDEN_CLIENTSIDE = 0x00000080, // 7 *Spells with this attribute are not visible in spellbook or aura bar
- SPELL_ATTR_HIDE_IN_COMBAT_LOG = 0x00000100, // 8 This attribite controls whether spell appears in combat logs
- SPELL_ATTR_TARGET_MAINHAND_ITEM = 0x00000200, // 9 Client automatically selects item from mainhand slot as a cast target
- SPELL_ATTR_ON_NEXT_SWING_2 = 0x00000400, // 10 on next swing 2
- SPELL_ATTR_UNK11 = 0x00000800, // 11
- SPELL_ATTR_DAYTIME_ONLY = 0x00001000, // 12 only useable at daytime, not set in 2.4.3
- SPELL_ATTR_NIGHT_ONLY = 0x00002000, // 13 only useable at night, not set in 2.4.3
- SPELL_ATTR_INDOORS_ONLY = 0x00004000, // 14 only useable indoors, not set in 2.4.3
- SPELL_ATTR_OUTDOORS_ONLY = 0x00008000, // 15 Only useable outdoors.
- SPELL_ATTR_NOT_SHAPESHIFT = 0x00010000, // 16 Not while shapeshifted
- SPELL_ATTR_ONLY_STEALTHED = 0x00020000, // 17 Must be in stealth
- SPELL_ATTR_DONT_AFFECT_SHEATH_STATE = 0x00040000, // 18 *client won't hide unit weapons in sheath on cast/channel
- SPELL_ATTR_LEVEL_DAMAGE_CALCULATION = 0x00080000, // 19 spelldamage depends on caster level
- SPELL_ATTR_STOP_ATTACK_TARGET = 0x00100000, // 20 Stop attack after use this spell (and not begin attack if use)
- SPELL_ATTR_IMPOSSIBLE_DODGE_PARRY_BLOCK = 0x00200000, // 21 Cannot be dodged/parried/blocked
- SPELL_ATTR_CAST_TRACK_TARGET = 0x00400000, // 22 *Client automatically forces player to face target when casting
- SPELL_ATTR_CASTABLE_WHILE_DEAD = 0x00800000, // 23 *castable while dead?
- SPELL_ATTR_CASTABLE_WHILE_MOUNTED = 0x01000000, // 24 castable while mounted
- SPELL_ATTR_DISABLED_WHILE_ACTIVE = 0x02000000, // 25 Activate and start cooldown after aura fade or remove summoned creature or go
- SPELL_ATTR_NEGATIVE_1 = 0x04000000, // 26 *Aura ignore immune? - Many negative spells have this attr
- SPELL_ATTR_CASTABLE_WHILE_SITTING = 0x08000000, // 27 castable while sitting
- SPELL_ATTR_CANT_USED_IN_COMBAT = 0x10000000, // 28 Cannot be used in combat
- SPELL_ATTR_UNAFFECTED_BY_INVULNERABILITY = 0x20000000, // 29 unaffected by invulnerability (hmm possible not...)
- SPELL_ATTR_BREAKABLE_BY_DAMAGE = 0x40000000, // 30 breakable by damage?
- SPELL_ATTR_CANT_CANCEL = 0x80000000 // 31 positive aura can't be canceled
- };
- enum AttributesEx
- {
- SPELL_ATTR_EX_DISMISS_PET = 0x00000001, // 0 *for these spells is old pet dismissed before summon new
- SPELL_ATTR_EX_DRAIN_ALL_POWER = 0x00000002, // 1 use all power (Only paladin Lay of Hands and Bunyanize)
- SPELL_ATTR_EX_CHANNELED_1 = 0x00000004, // 2 channeled 1
- SPELL_ATTR_EX_CANT_BE_REDIRECTED = 0x00000008, // 3 cant be redirected
- SPELL_ATTR_EX_UNK4 = 0x00000010, // 4 (stealth, prowl, whirlwind, rockbiter)
- SPELL_ATTR_EX_NOT_BREAK_STEALTH = 0x00000020, // 5 Not break stealth
- SPELL_ATTR_EX_CHANNELED_2 = 0x00000040, // 6 channeled 2
- SPELL_ATTR_EX_CANT_BE_REFLECTED = 0x00000080, // 7 cant be reflected
- SPELL_ATTR_EX_NOT_IN_COMBAT_TARGET = 0x00000100, // 8 Spell req target not to be in combat state
- SPELL_ATTR_EX_MELEE_COMBAT_SPELL = 0x00000200, // 9 *spells with this flag can be cast only if caster is able to melee attack target
- SPELL_ATTR_EX_NO_THREAT = 0x00000400, // 10 *no generates threat?
- SPELL_ATTR_EX_UNK11 = 0x00000800, // 11 *aura?
- SPELL_ATTR_EX_PICKPOKET = 0x00001000, // 12 *pickpoket
- SPELL_ATTR_EX_FARSIGHT = 0x00002000, // 13 *Client removes farsight on aura loss
- SPELL_ATTR_EX_CHANNEL_TRACK_TARGET = 0x00004000, // 14 *Client automatically forces player to face target when channeling
- SPELL_ATTR_EX_DISPEL_AURAS_ON_IMMUNITY = 0x00008000, // 15 remove auras on immunity
- SPELL_ATTR_EX_UNAFFECTED_BY_SCHOOL_IMMUNE = 0x00010000, // 16 unaffected by school immunity
- SPELL_ATTR_EX_UNAUTOCASTABLE_BY_PET = 0x00020000, // 17
- SPELL_ATTR_EX_UNK18 = 0x00040000, // 18 stun, polymorph, daze, hex
- SPELL_ATTR_EX_CANT_TARGET_SELF = 0x00080000, // 19 *Applies only to unit target - for example Divine Intervention (19752)
- SPELL_ATTR_EX_REQ_COMBO_POINTS1 = 0x00100000, // 20 Req combo points on target
- SPELL_ATTR_EX_UNK21 = 0x00200000, // 21
- SPELL_ATTR_EX_REQ_COMBO_POINTS2 = 0x00400000, // 22 Req combo points on target
- SPELL_ATTR_EX_UNK23 = 0x00800000, // 23
- SPELL_ATTR_EX_FISHING = 0x01000000, // 24 *Req fishing pole?? - only fishing spells
- SPELL_ATTR_EX_UNK25 = 0x02000000, // 25 not set in 2.4.3
- SPELL_ATTR_EX_UNK26 = 0x04000000, // 26 works correctly with [target=focus] and [target=mouseover] macros?
- SPELL_ATTR_EX_MUST_FACE_TARGET = 0x08000000, // 27 *Caster must face its target in order to successfully cast spell
- SPELL_ATTR_EX_HIDDEN_AURA = 0x10000000, // 28 *client doesn't display these spells in aura bar
- SPELL_ATTR_EX_CHANNEL_DISPLAY_SPELL_NAME = 0x20000000, // 29 *spell name is displayed in cast bar instead of 'channeling' text
- SPELL_ATTR_EX_ENABLE_AT_DODGE = 0x40000000, // 30 *overpower
- SPELL_ATTR_EX_UNK31 = 0x80000000 // 31
- };
- enum AttributesEx2
- {
- SPELL_ATTR_EX2_ALLOW_DEAD_TARGET = 0x00000001, // 0 *can target dead target
- SPELL_ATTR_EX2_TRANSPARENT = 0x00000002, // 1 *make caster transparent
- SPELL_ATTR_EX2_IGNORE_LOS = 0x00000004, // 2 *these spells ignore line-of-sight
- SPELL_ATTR_EX2_UNK3 = 0x00000008, // 3
- SPELL_ATTR_EX2_ALWAYS_APPLY_MODIFIERS = 0x00000010, // 4 *spell modifiers are applied dynamically (even if aura is not passive)
- SPELL_ATTR_EX2_AUTOREPEAT_FLAG = 0x00000020, // 5
- SPELL_ATTR_EX2_UNK6 = 0x00000040, // 6
- SPELL_ATTR_EX2_UNK7 = 0x00000080, // 7
- SPELL_ATTR_EX2_UNK8 = 0x00000100, // 8 not set in 2.4.3
- SPELL_ATTR_EX2_UNK9 = 0x00000200, // 9
- SPELL_ATTR_EX2_TAME_SPELLS = 0x00000400, // 10 *tame spells
- SPELL_ATTR_EX2_HEALTH_FUNNEL = 0x00000800, // 11
- SPELL_ATTR_EX2_UNK12 = 0x00001000, // 12 *(swipe, cleave)
- SPELL_ATTR_EX2_CASTABLE_ON_ITEMS = 0x00002000, // 13 *item enchants, poisons, disenchant...
- SPELL_ATTR_EX2_UNK14 = 0x00004000, // 14 *(picoviny)
- SPELL_ATTR_EX2_UNK15 = 0x00008000, // 15 not set in 2.4.3
- SPELL_ATTR_EX2_TAME_BEAST = 0x00010000, // 16
- SPELL_ATTR_EX2_NOT_RESET_AUTOSHOT = 0x00020000, // 17 Hunters Shot and Stings only have this flag
- SPELL_ATTR_EX2_REQ_DEAD_PET = 0x00040000, // 18 *Only Revive pet
- SPELL_ATTR_EX2_NOT_NEED_SHAPESHIFT = 0x00080000, // 19 does not necessarly need shapeshift
- SPELL_ATTR_EX2_MUST_BEHIND_TARGET = 0x00100000, // 20 *Caster need to be behind of his target
- SPELL_ATTR_EX2_DAMAGE_REDUCED_SHIELD = 0x00200000, // 21 *for ice blocks, pala immunity buffs, priest absorb shields, but used also for other spells -> not sure!
- SPELL_ATTR_EX2_UNK22 = 0x00400000, // 22
- SPELL_ATTR_EX2_UNK23 = 0x00800000, // 23 *(Only mage Arcane Concentration have this flag)
- SPELL_ATTR_EX2_UNK24 = 0x01000000, // 24
- SPELL_ATTR_EX2_UNK25 = 0x02000000, // 25
- SPELL_ATTR_EX2_UNK26 = 0x04000000, // 26 unaffected by school immunity
- SPELL_ATTR_EX2_UNK27 = 0x08000000, // 27
- SPELL_ATTR_EX2_UNK28 = 0x10000000, // 28
- SPELL_ATTR_EX2_CANT_CRIT = 0x20000000, // 29 Spell can't crit
- SPELL_ATTR_EX2_TRIGGERED_CAN_TRIGGER = 0x40000000, // 30 spell can trigger even if triggered
- SPELL_ATTR_EX2_FOOD = 0x80000000 // 31 food, well-fed, and a few others
- };
- enum AttributesEx3
- {
- SPELL_ATTR_EX3_UNK0 = 0x00000001, // 0
- SPELL_ATTR_EX3_UNK1 = 0x00000002, // 1
- SPELL_ATTR_EX3_UNK2 = 0x00000004, // 2
- SPELL_ATTR_EX3_MELEE = 0x00000008, // 3
- SPELL_ATTR_EX3_IGNORE_RESURRECTION_TIMER = 0x00000010, // 4 Druid Rebirth only this spell have this flag
- SPELL_ATTR_EX3_UNK5 = 0x00000020, // 5
- SPELL_ATTR_EX3_UNK6 = 0x00000040, // 6
- SPELL_ATTR_EX3_STACKS_FOR_DIFF_CASTERS = 0x00000080, // 7 separate stack for every caster
- SPELL_ATTR_EX3_PLAYERS_ONLY = 0x00000100, // 8 Player only?
- SPELL_ATTR_EX3_UNK9 = 0x00000200, // 9
- SPELL_ATTR_EX3_MAIN_HAND = 0x00000400, // 10 Main hand weapon required
- SPELL_ATTR_EX3_BATTLEGROUND = 0x00000800, // 11 Can casted only on battleground
- SPELL_ATTR_EX3_CAST_ON_DEAD = 0x00001000, // 12 *target is a dead player (not every spell has this flag)
- SPELL_ATTR_EX3_UNK13 = 0x00002000, // 13 *no triggers effects that trigger on casting a spell??
- SPELL_ATTR_EX3_UNK14 = 0x00004000, // 14 "Honorless Target" only this spells have this flag
- SPELL_ATTR_EX3_UNK15 = 0x00008000, // 15 Auto Shoot, Shoot, Throw, - this is autoshot flag
- SPELL_ATTR_EX3_CANT_TRIGGER_PROC = 0x00010000, // 16
- SPELL_ATTR_EX3_NO_INITIAL_AGGRO = 0x00020000, // 17 no initial aggro
- SPELL_ATTR_EX3_IGNORE_HIT_RESULT = 0x00040000, // 18 Spell should always hit its target
- SPELL_ATTR_EX3_DISABLE_PROC = 0x00080000, // 19 *during aura proc no spells can trigger (20178, 20375)
- SPELL_ATTR_EX3_DEATH_PERSISTENT = 0x00100000, // 20 Death persistent spells
- SPELL_ATTR_EX3_UNK21 = 0x00200000, // 21
- SPELL_ATTR_EX3_REQ_WAND = 0x00400000, // 22 Req wand
- SPELL_ATTR_EX3_UNK23 = 0x00800000, // 23
- SPELL_ATTR_EX3_REQ_OFFHAND = 0x01000000, // 24 Req offhand weapon
- SPELL_ATTR_EX3_UNK25 = 0x02000000, // 25
- SPELL_ATTR_EX3_CAN_PROC_TRIGGERED = 0x04000000, // 26
- SPELL_ATTR_EX3_UNK27 = 0x08000000, // 27
- SPELL_ATTR_EX3_ALWAYS_CAST_OK = 0x10000000, // 28 *Flagdrops, captures, enrages - total immunity to caster auras
- SPELL_ATTR_EX3_NO_SPELL_BONUS = 0x20000000, // 29 Ignore bonus spell damage?
- SPELL_ATTR_EX3_DONT_DISPLAY_RANGE = 0x40000000, // 30 *at these spells is not displayed range in tooltip
- SPELL_ATTR_EX3_UNK31 = 0x80000000 // 31
- };
- enum AttributesEx4
- {
- SPELL_ATTR_EX4_UNK0 = 0x00000001, // 0
- SPELL_ATTR_EX4_PROC_ONLY_ON_DUMMY = 0x00000002, // 1 * proc only on SPELL_EFFECT_DUMMY?
- SPELL_ATTR_EX4_UNK2 = 0x00000004, // 2
- SPELL_ATTR_EX4_CANT_PROC_FROM_SELFCAST = 0x00000008, // 3
- SPELL_ATTR_EX4_UNK4 = 0x00000010, // 4
- SPELL_ATTR_EX4_UNK5 = 0x00000020, // 5
- SPELL_ATTR_EX4_NOT_STEALABLE = 0x00000040, // 6
- SPELL_ATTR_EX4_FORCE_TRIGGERED = 0x00000080, // 7 spells forced to be triggered
- SPELL_ATTR_EX4_UNK8 = 0x00000100, // 8
- SPELL_ATTR_EX4_UNK9 = 0x00000200, // 9
- SPELL_ATTR_EX4_SPELL_VS_EXTEND_COST = 0x00000400, // 10 Rogue Shiv have this flag
- SPELL_ATTR_EX4_UNK11 = 0x00000800, // 11
- SPELL_ATTR_EX4_UNK12 = 0x00001000, // 12
- SPELL_ATTR_EX4_UNK13 = 0x00002000, // 13
- SPELL_ATTR_EX4_DAMAGE_DOESNT_BREAK_AURAS = 0x00004000, // 14
- SPELL_ATTR_EX4_UNK15 = 0x00008000, // 15
- SPELL_ATTR_EX4_NOT_USABLE_IN_ARENA = 0x00010000, // 16 not usable in arena
- SPELL_ATTR_EX4_USABLE_IN_ARENA = 0x00020000, // 17 usable in arena
- SPELL_ATTR_EX4_UNK18 = 0x00040000, // 18
- SPELL_ATTR_EX4_UNK19 = 0x00080000, // 19
- SPELL_ATTR_EX4_UNK20 = 0x00100000, // 20
- SPELL_ATTR_EX4_UNK21 = 0x00200000, // 21
- SPELL_ATTR_EX4_UNK22 = 0x00400000, // 22
- SPELL_ATTR_EX4_UNK23 = 0x00800000, // 23
- SPELL_ATTR_EX4_AUTOSHOT = 0x01000000, // 24
- SPELL_ATTR_EX4_UNK25 = 0x02000000, // 25 pet scaling auras
- SPELL_ATTR_EX4_CAST_ONLY_IN_OUTLAND = 0x04000000, // 26 Can only be used in Outland.
- SPELL_ATTR_EX4_UNK27 = 0x08000000, // 27
- SPELL_ATTR_EX4_UNK28 = 0x10000000, // 28
- SPELL_ATTR_EX4_UNK29 = 0x20000000, // 29
- SPELL_ATTR_EX4_UNK30 = 0x40000000, // 30
- SPELL_ATTR_EX4_UNK31 = 0x80000000 // 31
- };
Add Comment
Please, Sign In to add comment