SpellMisc.dbc/AttributesEx: Difference between revisions

From wowdev
Jump to navigation Jump to search
(Update.)
 
Line 1: Line 1:
==enum SpellAttr1==
==SpellAttr1 - AttributesEx==
    SPELL_ATTR1_DISMISS_PET                     = 0x00000001, //  0 for spells without this flag client doesn't allow to summon pet if caster has a pet
{| class="wikitable sortable"
    SPELL_ATTR1_DRAIN_ALL_POWER                 = 0x00000002, //  1 use all power (Only paladin Lay of Hands and Bunyanize)
|-
    SPELL_ATTR1_CHANNELED_1                      = 0x00000004, //  2 clientside checked? cancelable?
! Flag !! Attribute String !! Bitmask !! Comments
    SPELL_ATTR1_CANT_BE_REDIRECTED               = 0x00000008, //  3
|-
    SPELL_ATTR1_UNK4                            = 0x00000010, //  4 stealth and whirlwind
| 1 || SPELL_ATTR1_DISMISS_PET || 0x00000001 || 0 - For spells without this flag the client doesn't allow summoning a pet if the caster already has a pet. TrinityCore: "Dismiss Pet First".
    SPELL_ATTR1_NOT_BREAK_STEALTH                = 0x00000020, //  5 Not break stealth
|-
    SPELL_ATTR1_CHANNELED_2                      = 0x00000040, //  6
| 2 || SPELL_ATTR1_DRAIN_ALL_POWER || 0x00000002 || 1 - Uses all power (Ex. Lay on Hands, Bunyanize). TrinityCore: "Ignores listed power cost and drains entire pool instead". TrinityCore: "Use All Mana".
    SPELL_ATTR1_CANT_BE_REFLECTED               = 0x00000080, //  7
|-
    SPELL_ATTR1_CANT_TARGET_IN_COMBAT           = 0x00000100, //  8 can target only out of combat units
| 4 || SPELL_ATTR1_IS_CHANNELED || 0x00000004 || 2 - Spell is channeled. Spell is handled equally with client and server.
    SPELL_ATTR1_MELEE_COMBAT_START               = 0x00000200, //  9 player starts melee combat after this spell is cast
|-
    SPELL_ATTR1_NO_THREAT                       = 0x00000400, // 10 no generates threat on cast 100% (old NO_INITIAL_AGGRO)
| 8 || SPELL_ATTR1_CANT_BE_REDIRECTED || 0x00000008 || 3 - No redirection to another target. Ignores spells with the "SPELL_AURA_SPELL_MAGNET" aura number 96 of effect number 6.
    SPELL_ATTR1_UNK11                            = 0x00000800, // 11 aura
|-
    SPELL_ATTR1_IS_PICKPOCKET                    = 0x00001000, // 12 Pickpocket
| 16 || SPELL_ATTR1_NO_SKILL_INCREASE || 0x00000010 || 4 - Does not give a skill up point.
    SPELL_ATTR1_FARSIGHT                        = 0x00002000, // 13 Client removes farsight on aura loss
|-
    SPELL_ATTR1_CHANNEL_TRACK_TARGET             = 0x00004000, // 14 Client automatically forces player to face target when channeling
| 32 || SPELL_ATTR1_ALLOW_WHILE_STEALTHED || 0x00000020 || 5 - Does not break Stealth.
    SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY         = 0x00008000, // 15 remove auras on immunity
|-
    SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE     = 0x00010000, // 16 on immunity
| 64 || SPELL_ATTR1_IS_SELF_CHANNELLED || 0x00000040 || 6 - Spell is self channeled. Spell is handled equally with client and server.
    SPELL_ATTR1_UNAUTOCASTABLE_BY_PET           = 0x00020000, // 17
|-
    SPELL_ATTR1_UNK18                            = 0x00040000, // 18 stun, polymorph, daze, hex
| 128 || SPELL_ATTR1_CANT_BE_REFLECTED || 0x00000080 || 7 - Spell will bypass any reflection effects.
    SPELL_ATTR1_CANT_TARGET_SELF                 = 0x00080000, // 19
|-
    SPELL_ATTR1_REQ_COMBO_POINTS1               = 0x00100000, // 20 Req combo points on target
| 256 || SPELL_ATTR1_CANT_TARGET_IN_COMBAT || 0x00000100 || 8 - Can only target out of combat units. TrinityCore: "Only Peaceful Targets".
    SPELL_ATTR1_UNK21                            = 0x00200000, // 21
|-
    SPELL_ATTR1_REQ_COMBO_POINTS2               = 0x00400000, // 22 Req combo points on target
| 512 || SPELL_ATTR1_MELEE_COMBAT_START || 0x00000200 || 9 - Player starts melee combat after this spell is cast. Initiates combat (enables auto-attack).
    SPELL_ATTR1_UNK23                            = 0x00800000, // 23
|-
    SPELL_ATTR1_IS_FISHING                      = 0x01000000, // 24 only fishing spells
| 1,024 || SPELL_ATTR1_NO_THREAT || 0x00000400 || 10 - Does not generate threat on cast and will not initiate combat.
    SPELL_ATTR1_UNK25                            = 0x02000000, // 25
|-
    SPELL_ATTR1_UNK26                            = 0x04000000, // 26 works correctly with [target=focus] and [target=mouseover] macros?
| 2,048 || SPELL_ATTR1_DONT_REFRESH_DURATION_ON_RECAST|| 0x00000800 || 11 - TrinityCore: "Aura will not refresh it's duration when recast".
    SPELL_ATTR1_UNK27                            = 0x08000000, // 27 melee spell?
|-
    SPELL_ATTR1_DONT_DISPLAY_IN_AURA_BAR        = 0x10000000, // 28 client doesn't display these spells in aura bar
| 4,096 || SPELL_ATTR1_FAILURE_BREAKS_STEALTH || 0x00001000 || 12 - Failure breaks Stealth. (Pickpocket).
    SPELL_ATTR1_CHANNEL_DISPLAY_SPELL_NAME      = 0x20000000, // 29 spell name is displayed in cast bar instead of 'channeling' text
|-
    SPELL_ATTR1_ENABLE_AT_DODGE                 = 0x40000000, // 30 Overpower
| 8,192 || SPELL_ATTR1_TOGGLE_FARSIGHT || 0x00002000 || 13 - Client removes Farsight on aura loss.
    SPELL_ATTR1_UNK31                            = 0x80000000 // 31
|-
| 16,384 || SPELL_ATTR1_CHANNEL_TRACK_TARGET || 0x00004000 || 14 - Client automatically forces player to face target when channeling.
|-
| 32,768 || SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY || 0x00008000 || 15 - Remove negative auras on immunity. Immunity purges effect.
|-
| 65,536 || SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE || 0x00010000 || 16 - TrinityCore: "Unaffected by School Immunities. Will not pierce Divine Shield, Ice Block, and other full Invulnerabilities". TrinityCore: "Immunity to Hostile & Friendly Effects".
|-
| 131,072 || SPELL_ATTR1_UNAUTOCASTABLE_BY_PET || 0x00020000 || 17 - No AutoCast by Pet AI.
|-
| 262,144 || SPELL_ATTR1_PREVENTS_ANIM || 0x00040000 || 18 - Stun, Polymorph, Daze and Hex. Applies aura "UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT". TrinityCore: "Prevents Anim".
|-
| 524,288 || SPELL_ATTR1_CANT_TARGET_SELF || 0x00080000 || 19 - Excludes caster from spell effects even if not the primary target.
|-
| 1,048,576 || SPELL_ATTR1_REQ_COMBO_POINTS1 || 0x00100000 || 20 - Finishing Move - Damage.
|-
| 2,097,152 || SPELL_ATTR1_THREAT_ON_MISS_ONLY || 0x00200000 || 21 - Self descriptive.
|-
| 4,194,304 || SPELL_ATTR1_REQ_COMBO_POINTS2 || 0x00400000 || 22 - Finishing Move - Duration.
|-
| 8,388,608 || SPELL_ATTR1_IGNORE_OWNER_DEATH || 0x00800000 || 23 - Unaffected by death of owner. Possibly works with temporary summons as well?
|-
| 16,777,216 || SPELL_ATTR1_SPECIAL_SKILLUP || 0x01000000 || 24 - Only Fishing spells. TrinityCore: "Special Skillup".
|-
| 33,554,432 || SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT || 0x02000000 || 25 - Self descriptive.
|-
| 67,108,864 || SPELL_ATTR1_REQUIRE_ALL_TARGETS || 0x04000000 || 26 - Works correctly with [target=focus] and [target=mouseover] macros? (Used in many vehicle type spells) TrinityCore: "Require All Targets".
|-
| 134,217,728 || SPELL_ATTR1_DISCOUNT_POWER_ON_MISS || 0x08000000 || 27 - Melee spell? TrinityCore: "Discount Power On Miss".
|-
| 268,435,456 ||  SPELL_ATTR1_NO_AURA_ICON || 0x10000000 || 28 - Client doesn't display these spells in aura bar.
|-
| 536,870,912 || SPELL_ATTR1_NAME_IN_CHANNEL_BAR || 0x20000000 || 29 - Spell name is displayed in cast bar instead of "Channeling" text in Channel Bar. (Client Only).
|-
| 1,073,741,824 || SPELL_ATTR1_ENABLE_AT_DODGE || 0x40000000 || 30 - Activates on dodge; Overpower. TrinityCore: "Combo on Block (Mainline: Dispel All Stacks)".
|-
| 2,147,483,648 || SPELL_ATTR1_CAST_WHEN_LEARNED || 0x80000000 || 31 - Cast the spell when learned.

Latest revision as of 03:52, 22 May 2023

SpellAttr1 - AttributesEx

Flag Attribute String Bitmask Comments
1 SPELL_ATTR1_DISMISS_PET 0x00000001 0 - For spells without this flag the client doesn't allow summoning a pet if the caster already has a pet. TrinityCore: "Dismiss Pet First".
2 SPELL_ATTR1_DRAIN_ALL_POWER 0x00000002 1 - Uses all power (Ex. Lay on Hands, Bunyanize). TrinityCore: "Ignores listed power cost and drains entire pool instead". TrinityCore: "Use All Mana".
4 SPELL_ATTR1_IS_CHANNELED 0x00000004 2 - Spell is channeled. Spell is handled equally with client and server.
8 SPELL_ATTR1_CANT_BE_REDIRECTED 0x00000008 3 - No redirection to another target. Ignores spells with the "SPELL_AURA_SPELL_MAGNET" aura number 96 of effect number 6.
16 SPELL_ATTR1_NO_SKILL_INCREASE 0x00000010 4 - Does not give a skill up point.
32 SPELL_ATTR1_ALLOW_WHILE_STEALTHED 0x00000020 5 - Does not break Stealth.
64 SPELL_ATTR1_IS_SELF_CHANNELLED 0x00000040 6 - Spell is self channeled. Spell is handled equally with client and server.
128 SPELL_ATTR1_CANT_BE_REFLECTED 0x00000080 7 - Spell will bypass any reflection effects.
256 SPELL_ATTR1_CANT_TARGET_IN_COMBAT 0x00000100 8 - Can only target out of combat units. TrinityCore: "Only Peaceful Targets".
512 SPELL_ATTR1_MELEE_COMBAT_START 0x00000200 9 - Player starts melee combat after this spell is cast. Initiates combat (enables auto-attack).
1,024 SPELL_ATTR1_NO_THREAT 0x00000400 10 - Does not generate threat on cast and will not initiate combat.
2,048 SPELL_ATTR1_DONT_REFRESH_DURATION_ON_RECAST 0x00000800 11 - TrinityCore: "Aura will not refresh it's duration when recast".
4,096 SPELL_ATTR1_FAILURE_BREAKS_STEALTH 0x00001000 12 - Failure breaks Stealth. (Pickpocket).
8,192 SPELL_ATTR1_TOGGLE_FARSIGHT 0x00002000 13 - Client removes Farsight on aura loss.
16,384 SPELL_ATTR1_CHANNEL_TRACK_TARGET 0x00004000 14 - Client automatically forces player to face target when channeling.
32,768 SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY 0x00008000 15 - Remove negative auras on immunity. Immunity purges effect.
65,536 SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE 0x00010000 16 - TrinityCore: "Unaffected by School Immunities. Will not pierce Divine Shield, Ice Block, and other full Invulnerabilities". TrinityCore: "Immunity to Hostile & Friendly Effects".
131,072 SPELL_ATTR1_UNAUTOCASTABLE_BY_PET 0x00020000 17 - No AutoCast by Pet AI.
262,144 SPELL_ATTR1_PREVENTS_ANIM 0x00040000 18 - Stun, Polymorph, Daze and Hex. Applies aura "UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT". TrinityCore: "Prevents Anim".
524,288 SPELL_ATTR1_CANT_TARGET_SELF 0x00080000 19 - Excludes caster from spell effects even if not the primary target.
1,048,576 SPELL_ATTR1_REQ_COMBO_POINTS1 0x00100000 20 - Finishing Move - Damage.
2,097,152 SPELL_ATTR1_THREAT_ON_MISS_ONLY 0x00200000 21 - Self descriptive.
4,194,304 SPELL_ATTR1_REQ_COMBO_POINTS2 0x00400000 22 - Finishing Move - Duration.
8,388,608 SPELL_ATTR1_IGNORE_OWNER_DEATH 0x00800000 23 - Unaffected by death of owner. Possibly works with temporary summons as well?
16,777,216 SPELL_ATTR1_SPECIAL_SKILLUP 0x01000000 24 - Only Fishing spells. TrinityCore: "Special Skillup".
33,554,432 SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT 0x02000000 25 - Self descriptive.
67,108,864 SPELL_ATTR1_REQUIRE_ALL_TARGETS 0x04000000 26 - Works correctly with [target=focus] and [target=mouseover] macros? (Used in many vehicle type spells) TrinityCore: "Require All Targets".
134,217,728 SPELL_ATTR1_DISCOUNT_POWER_ON_MISS 0x08000000 27 - Melee spell? TrinityCore: "Discount Power On Miss".
268,435,456 SPELL_ATTR1_NO_AURA_ICON 0x10000000 28 - Client doesn't display these spells in aura bar.
536,870,912 SPELL_ATTR1_NAME_IN_CHANNEL_BAR 0x20000000 29 - Spell name is displayed in cast bar instead of "Channeling" text in Channel Bar. (Client Only).
1,073,741,824 SPELL_ATTR1_ENABLE_AT_DODGE 0x40000000 30 - Activates on dodge; Overpower. TrinityCore: "Combo on Block (Mainline: Dispel All Stacks)".
2,147,483,648 SPELL_ATTR1_CAST_WHEN_LEARNED 0x80000000 31 - Cast the spell when learned.