SpellMisc.dbc/AttributesExB: Difference between revisions

From wowdev
Jump to navigation Jump to search
(Created page with "==enum SpellAttr2== SPELL_ATTR2_CAN_TARGET_DEAD = 0x00000001, // 0 can target dead unit or corpse SPELL_ATTR2_UNK1 = 0x00...")
 
(Update.)
Line 1: Line 1:
==enum SpellAttr2==
==SpellAttr1 - AttributesEx==
    SPELL_ATTR2_CAN_TARGET_DEAD                  = 0x00000001, //  0 can target dead unit or corpse
{| class="wikitable sortable"
    SPELL_ATTR2_UNK1                            = 0x00000002, //  1 vanish, shadowform, Ghost Wolf and other
|-
    SPELL_ATTR2_CAN_TARGET_NOT_IN_LOS            = 0x00000004, //  2 26368 4.0.1 dbc change
! Flag !! Attribute String !! Bitmask !! Comments
    SPELL_ATTR2_UNK3                            = 0x00000008, //  3
|-
    SPELL_ATTR2_DISPLAY_IN_STANCE_BAR            = 0x00000010, //  4 client displays icon in stance bar when learned, even if not shapeshift
| 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_ATTR2_AUTOREPEAT_FLAG                  = 0x00000020, //  5
|-
    SPELL_ATTR2_CANT_TARGET_TAPPED              = 0x00000040, //  6 target must be tapped by caster
| 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_ATTR2_UNK7                            = 0x00000080, //  7
|-
    SPELL_ATTR2_UNK8                            = 0x00000100, //  8 not set in 3.0.3
| 4 || SPELL_ATTR1_IS_CHANNELED || 0x00000004 || 2 - Spell is channeled. Spell is handled equally with client and server.
    SPELL_ATTR2_UNK9                            = 0x00000200, //  9
|-
    SPELL_ATTR2_UNK10                            = 0x00000400, // 10 related to tame
| 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_ATTR2_HEALTH_FUNNEL                    = 0x00000800, // 11
|-
    SPELL_ATTR2_UNK12                            = 0x00001000, // 12 Cleave, Heart Strike, Maul, Sunder Armor, Swipe
| 16 || SPELL_ATTR1_NO_SKILL_INCREASE || 0x00000010 || 4 - Does not give a skill up point.
    SPELL_ATTR2_PRESERVE_ENCHANT_IN_ARENA        = 0x00002000, // 13 Items enchanted by spells with this flag preserve the enchant to arenas
|-
    SPELL_ATTR2_UNK14                            = 0x00004000, // 14
| 32 || SPELL_ATTR1_ALLOW_WHILE_STEALTHED || 0x00000020 || 5 - Does not break Stealth.
    SPELL_ATTR2_UNK15                            = 0x00008000, // 15 not set in 3.0.3
|-
    SPELL_ATTR2_TAME_BEAST                      = 0x00010000, // 16
| 64 || SPELL_ATTR1_IS_SELF_CHANNELLED || 0x00000040 || 6 - Spell is self channeled. Spell is handled equally with client and server.
    SPELL_ATTR2_NOT_RESET_AUTO_ACTIONS          = 0x00020000, // 17 don't reset timers for melee autoattacks (swings) or ranged autoattacks (autoshoots)
|-
    SPELL_ATTR2_REQ_DEAD_PET                    = 0x00040000, // 18 Only Revive pet and Heart of the Pheonix
| 128 || SPELL_ATTR1_CANT_BE_REFLECTED || 0x00000080 || 7 - Spell will bypass any reflection effects.
    SPELL_ATTR2_NOT_NEED_SHAPESHIFT              = 0x00080000, // 19 does not necessarly need shapeshift
|-
    SPELL_ATTR2_UNK20                            = 0x00100000, // 20
| 256 || SPELL_ATTR1_CANT_TARGET_IN_COMBAT || 0x00000100 || 8 - Can only target out of combat units. TrinityCore: "Only Peaceful Targets".
    SPELL_ATTR2_DAMAGE_REDUCED_SHIELD            = 0x00200000, // 21 for ice blocks, pala immunity buffs, priest absorb shields, but used also for other spells -> not sure!
|-
    SPELL_ATTR2_UNK22                            = 0x00400000, // 22 Ambush, Backstab, Cheap Shot, Death Grip, Garrote, Judgements, Mutilate, Pounce, Ravage, Shiv, Shred
| 512 || SPELL_ATTR1_MELEE_COMBAT_START || 0x00000200 || 9 - Player starts melee combat after this spell is cast. Initiates combat (enables auto-attack).
    SPELL_ATTR2_IS_ARCANE_CONCENTRATION          = 0x00800000, // 23 Only mage Arcane Concentration have this flag
|-
    SPELL_ATTR2_UNK24                            = 0x01000000, // 24
| 1,024 || SPELL_ATTR1_NO_THREAT || 0x00000400 || 10 - Does not generate threat on cast and will not initiate combat.
    SPELL_ATTR2_UNK25                            = 0x02000000, // 25
|-
    SPELL_ATTR2_UNK26                            = 0x04000000, // 26 unaffected by school immunity
| 2,048 || SPELL_ATTR1_DONT_REFRESH_DURATION_ON_RECAST|| 0x00000800 || 11 - TrinityCore: "Aura will not refresh it's duration when recast".
    SPELL_ATTR2_UNK27                            = 0x08000000, // 27
|-
    SPELL_ATTR2_UNK28                            = 0x10000000, // 28
| 4,096 || SPELL_ATTR1_FAILURE_BREAKS_STEALTH || 0x00001000 || 12 - Failure breaks Stealth. (Pickpocket).
    SPELL_ATTR2_CANT_CRIT                        = 0x20000000, // 29 Spell can't crit
|-
    SPELL_ATTR2_TRIGGERED_CAN_TRIGGER_PROC      = 0x40000000, // 30 spell can trigger even if triggered
| 8,192 || SPELL_ATTR1_TOGGLE_FARSIGHT || 0x00002000 || 13 - Client removes Farsight on aura loss.
    SPELL_ATTR2_FOOD_BUFF                        = 0x80000000 // 31 Food or Drink Buff (like Well Fed)
|-
| 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.
|}

Revision as of 03:51, 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.