Skip to content

Core/Spells: Named SPELL_ATTR16_DEADLY - #32161

Open
notwonderful wants to merge 1 commit into
TrinityCore:masterfrom
notwonderful:spell-attr16-deadly
Open

notwonderful wants to merge 1 commit into
TrinityCore:masterfrom
notwonderful:spell-attr16-deadly

Conversation

@notwonderful

Copy link
Copy Markdown
Contributor

Changes proposed:

  • Renamed SPELL_ATTR16_UNK1 to SPELL_ATTR16_DEADLY (client only, no server side logic).

Issues addressed:

  • 12.0.1.66838 client reads Attributes[16] & 0x2 when building the damage meter event and pushes it as deadly (sub_141FF8AF0, DamageMeter.cpp), also exposed to Lua as isDeadly:
141ff908c  call  0x142F47BA0            ; SpellMisc lookup
141ff9096  test  byte ptr [rax+40h], 2  ; Attributes[16]
...
141ff90a9  lea   r8, "deadly"
  • 668 spells have it, all big boss mechanics (Light's End 1284699, The Darkwell 1282027, Iris of Oblivion 1279463).

Tests performed:

None, rename only.

The client reads Attributes[16] & 0x2 when building the Lua table of a
damage event (DamageMeter) and exposes it as "deadly" / "isDeadly".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant