Skip to content

fix(Core/Spells): Archimonde's Doomfire should not be subject to fire resistance#25181

Open
brighton-chi wants to merge 1 commit intoazerothcore:masterfrom
brighton-chi:archimonde-doomfire
Open

fix(Core/Spells): Archimonde's Doomfire should not be subject to fire resistance#25181
brighton-chi wants to merge 1 commit intoazerothcore:masterfrom
brighton-chi:archimonde-doomfire

Conversation

@brighton-chi
Copy link
Copy Markdown
Contributor

Changes Proposed:

This PR proposes changes to:

  • Core (units, players, creatures, game systems).
  • Scripts (bosses, spell scripts, creature scripts).
  • Database (SAI, creatures, etc).

Archimonde's Doomfire can be resisted. This is not authentic behavior--fire resistance should have no effect on the spell, neither the direct damage (31944) nor the residual DoT (31969). This PR makes both spells unable to be resisted and also adds a little bit of context to a few of the nearby comments in SpellInfoCorrections.cpp.

AI-assisted Pull Requests

Important

While the use of AI tools when preparing pull requests is not prohibited, contributors must clearly disclose when such tools have been used and specify the model involved.

Contributors are also expected to fully understand the changes they are submitting and must be able to explain and justify those changes when requested by maintainers.

  • AI tools (e.g. ChatGPT, Claude, or similar) were used entirely or partially in preparing this pull request. Please specify which tools were used, if any.

Issues Addressed:

  • Closes

SOURCE:

The changes have been validated through:

  • Live research (checked on live servers, e.g Classic WotLK, Retail, etc.)
  • Sniffs (remember to share them with the open source community!)
  • Video evidence, knowledge databases or other public sources (e.g forums, Wowhead, etc.)
  • The changes promoted by this pull request come partially or entirely from another project (cherry-pick). Cherry-picks must be committed using the proper --author tag in order to be accepted, thus crediting the original authors, unless otherwise unable to be found

See:

Tests Performed:

This PR has been:

  • Tested in-game by the author.
  • Tested in-game by other community members/someone else other than the author/has been live on production servers.
  • This pull request requires further testing and may have edge cases to be tested.

How to Test the Changes:

  • This pull request can be tested by following the reproduction steps provided in the linked issue
  • This pull request requires further testing. Provide steps to test your changes. If it requires any specific setup e.g multiple players please specify it as well.
  1. .go creature name Archimonde
  2. .instance setbossstate, set all prior bosses to completed (5)
  3. Apply fire resistance (gear, Paladin aura)
  4. Pull Archimonde, wait for Doomfire to spawn
  5. Stand in Doomfire, witness no resists, step out of Doomfire, witness no resists on the DoT, either

Known Issues and TODO List:

  • [ ]
  • [ ]

How to Test AzerothCore PRs

When a PR is ready to be tested, it will be marked as [WAITING TO BE TESTED].

You can help by testing PRs and writing your feedback here on the PR's page on GitHub. Follow the instructions here:

http://www.azerothcore.org/wiki/How-to-test-a-PR

REMEMBER: when testing a PR that changes something generic (i.e. a part of code that handles more than one specific thing), the tester should not only check that the PR does its job (e.g. fixing spell XXX) but especially check that the PR does not cause any regression (i.e. introducing new bugs).

For example: if a PR fixes spell X by changing a part of code that handles spells X, Y, and Z, we should not only test X, but we should test Y and Z as well.

Copilot AI review requested due to automatic review settings March 22, 2026 07:41
@brighton-chi brighton-chi changed the title [Battle for Mt. Hyjal] Archimonde's Doomfire should not be subject to fire resistance fix(Core/Spells): Archimonde's Doomfire should not be subject to fire resistance Mar 22, 2026
@github-actions github-actions bot added CORE Related to the core file-cpp Used to trigger the matrix build labels Mar 22, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts spell metadata for Battle for Mount Hyjal’s Archimonde encounter so Doomfire damage is not reduced/avoided by fire resistance, aligning in-game behavior with expected retail/TBC behavior.

Changes:

  • Updates several nearby SpellInfoCorrections.cpp comments to include the relevant NPC/boss context.
  • Marks Archimonde’s Doomfire spells (31944 direct damage, 31969 DoT) as not resistible via SPELL_ATTR4_NO_CAST_LOG.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

});

// Amplify Damage
// Prince Malcezaar - Amplify Damage
Copy link

Copilot AI Mar 22, 2026

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.

Suggested change
// Prince Malcezaar - Amplify Damage
// Prince Malchezaar - Amplify Damage

Copilot uses AI. Check for mistakes.

// Archimonde - Doomfire
ApplySpellFix({ 31944, 31969 }, [](SpellInfo* spellInfo)
{
Copy link

Copilot AI Mar 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SPELL_ATTR4_NO_CAST_LOG is used by the core resist logic as a "cannot be resisted" marker (see Unit.cpp resist checks), but the flag name is misleading. Consider adding an inline comment here explaining that this is intentionally set to disable resistance for Doomfire, so future maintainers don’t interpret this as only a logging change.

Suggested change
{
{
// 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.

Copilot uses AI. Check for mistakes.
@blinkysc
Copy link
Copy Markdown
Contributor

I would say I'm open to this PR personally; to me makes sense. However, we know TBC raids/content was HEAVILY nerfed for wotlk and could have very well been intentional in the DBC for the resist? The sparse comments seem to only be for TBC content =/

Maybe a good compare would be to look at DBC for TBC client to fill more assumptions?

@brighton-chi
Copy link
Copy Markdown
Contributor Author

I would say I'm open to this PR personally; to me makes sense. However, we know TBC raids/content was HEAVILY nerfed for wotlk and could have very well been intentional in the DBC for the resist? The sparse comments seem to only be for TBC content =/

Maybe a good compare would be to look at DBC for TBC client to fill more assumptions?

So I found this: https://youtu.be/4nmjl5aM834?si=JzbO3OpYj4vexmrS from 3.0.2. At 5:17, the player gets feared into Doomfire and starts taking damage of 2328 per tick. It looks to me like they have Greater Blessing of Sanctuary on, and 2328 is 97% of 2400, the full damage. After getting out of the fire, the damage continues to tick at a reduced amount each tick. The Doomfire dot goes down by 150 each tick, and if you watch the numbers, each time the damage taken is 97% of the full damage. 2183 is 97% of 2250, 2038 is 97% of 2100, 1892 is 97% of 1950, etc. I would have expected at least some resist during that duration with WotLK's scaling resistance, considering the player has Mark of the Wild and also for the most part the Fire Resistance Aura from another player.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CORE Related to the core file-cpp Used to trigger the matrix build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants