-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix(Core/Spells): Archimonde's Doomfire should not be subject to fire resistance #25181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -1523,7 +1523,7 @@ void SpellMgr::LoadSpellInfoCorrections() | |||||||||
| spellInfo->Speed = 8.0f; | ||||||||||
| }); | ||||||||||
|
|
||||||||||
| // Spell Absorption | ||||||||||
| // Shadowmoon Reaver - Spell Absorption | ||||||||||
| ApplySpellFix({ 41034 }, [](SpellInfo* spellInfo) | ||||||||||
| { | ||||||||||
| spellInfo->Effects[EFFECT_2].Effect = SPELL_EFFECT_APPLY_AURA; | ||||||||||
|
|
@@ -1532,12 +1532,13 @@ void SpellMgr::LoadSpellInfoCorrections() | |||||||||
| spellInfo->Effects[EFFECT_2].MiscValue = SPELL_SCHOOL_MASK_MAGIC; | ||||||||||
| }); | ||||||||||
|
|
||||||||||
| // Shared Bonds | ||||||||||
| // Priestess of Delight and Priestess of Torment - Shared Bonds | ||||||||||
| ApplySpellFix({ 41363 }, [](SpellInfo* spellInfo) | ||||||||||
| { | ||||||||||
| spellInfo->AttributesEx &= ~SPELL_ATTR1_IS_CHANNELED; | ||||||||||
| }); | ||||||||||
|
|
||||||||||
| // Illidari Council - Veras Darkshadow | ||||||||||
| ApplySpellFix({ | ||||||||||
| 41485, // Deadly Poison | ||||||||||
| 41487 // Envenom | ||||||||||
|
|
@@ -1566,13 +1567,13 @@ void SpellMgr::LoadSpellInfoCorrections() | |||||||||
| spellInfo->RangeEntry = sSpellRangeStore.LookupEntry(13); // 0-50000yd | ||||||||||
| }); | ||||||||||
|
|
||||||||||
| // Watery Grave Explosion | ||||||||||
| // Morogrim Tidewalker - Watery Grave Explosion | ||||||||||
| ApplySpellFix({ 37852 }, [](SpellInfo* spellInfo) | ||||||||||
| { | ||||||||||
| spellInfo->AttributesEx5 |= SPELL_ATTR5_ALLOW_WHILE_STUNNED; | ||||||||||
| }); | ||||||||||
|
|
||||||||||
| // Amplify Damage | ||||||||||
| // Prince Malcezaar - Amplify Damage | ||||||||||
| ApplySpellFix({ 39095 }, [](SpellInfo* spellInfo) | ||||||||||
| { | ||||||||||
| spellInfo->MaxAffectedTargets = 1; | ||||||||||
|
|
@@ -1585,6 +1586,7 @@ void SpellMgr::LoadSpellInfoCorrections() | |||||||||
| spellInfo->AttributesCu |= SPELL_ATTR0_CU_SINGLE_AURA_STACK; | ||||||||||
| }); | ||||||||||
|
|
||||||||||
| // Archimonde | ||||||||||
| ApplySpellFix({ | ||||||||||
| 31984, // Finger of Death | ||||||||||
| 35354 // Hand of Death | ||||||||||
|
|
@@ -1594,12 +1596,18 @@ void SpellMgr::LoadSpellInfoCorrections() | |||||||||
| spellInfo->Attributes = SPELL_ATTR0_IS_ABILITY; | ||||||||||
| }); | ||||||||||
|
|
||||||||||
| // Finger of Death | ||||||||||
| // Archimonde - Finger of Death | ||||||||||
| ApplySpellFix({ 32111 }, [](SpellInfo* spellInfo) | ||||||||||
| { | ||||||||||
| spellInfo->CastTimeEntry = sSpellCastTimesStore.LookupEntry(0); // We only need the animation, no damage | ||||||||||
| }); | ||||||||||
|
|
||||||||||
| // Archimonde - Doomfire | ||||||||||
| ApplySpellFix({ 31944, 31969 }, [](SpellInfo* spellInfo) | ||||||||||
| { | ||||||||||
|
||||||||||
| { | |
| { | |
| // NOTE: SPELL_ATTR4_NO_CAST_LOG is also used by core resist logic as a "cannot be resisted" marker | |
| // (see Unit.cpp). This is intentionally set so Doomfire cannot be resisted, not just to affect logging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment misspells the boss name as "Malcezaar"; the canonical spelling is "Malchezaar" (also used elsewhere in the repo). Please fix the comment to avoid confusion when searching.