Skip to content

fix(Scripts/EyeOfEternity): Show Static Field and Vortex in the combat log - #28614

Merged
Nyeriah merged 1 commit into
azerothcore:masterfrom
Nyeriah:fix/malygos-combat-log-casts
Nov 30, 2026
Merged

Nyeriah merged 1 commit into
azerothcore:masterfrom
Nyeriah:fix/malygos-combat-log-casts

Conversation

@Nyeriah

@Nyeriah Nyeriah commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Changes Proposed:

This PR proposes changes to:

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

Malygos cast Static Field (57430) and Vortex (56237, 56105) fully triggered. For an instant triggered cast, SendSpellGo sets CAST_FLAG_PENDING, and the client leaves the cast out of the combat log, so SPELL_CAST_SUCCESS never fires for them (DBM's Static Field and Vortex timers listen for it).

They are now cast with TRIGGERED_IGNORE_CAST_IN_PROGRESS only. That flag is outside TRIGGERED_IS_TRIGGERED_MASK, so the cast flag is gone, and an instant cast with it still does not take the current spell container, so Static Field keeps leaving a phase 3 Surge of Power channel running. None of the three spells has a power cost, a prevention type or a GCD that applies to Malygos, so the other checks they now go through pass as before.

AI-assisted Pull Requests

Important

Using AI tools to prepare pull requests is allowed, but it must be disclosed and it must follow our AC guidelines for AI Agentic Engineering (link below).

You are expected to fully understand the changes you submit and to be able to explain and justify them when maintainers ask.

  • AI tools (e.g. Claude, ChatGPT, or similar) were used entirely or partially to prepare this pull request. If checked, specify which tools and models below.
    • Tools/models used: Claude Code, Claude Opus 5.5
  • I have read and understood the AC guidelines for AI Agentic Engineering

Updating your branch

Note

Please don't merge master into your branch (or click "Update branch") unless there are conflicts, CI is failing because of something already fixed on master, or a maintainer asks for it.

Every update reruns the full CI and slows down the queue for everyone. Pull requests are squash-merged, so being behind master is fine.

Issues Addressed:

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

  • Sniff data of the encounter (the capture is not public, so the relevant values are quoted here): Malygos's SMSG_SPELL_GO for 56237 (CastFlags 0x308) and 56105 (CastFlags 0x4108) has no 0x1 bit, while other casts of his in the same fight (e.g. 57473, 0x10D) do. The captures end before phase 3, so Static Field itself is not covered; it gets the same treatment because it is the same mechanism.

  • DBM's Malygos module registers SPELL_CAST_SUCCESS 56105 57430 for its Vortex and Static Field timers: https://github.com/DeadlyBossMods/DBM-WotLK/blob/master/DBM-Raids-WoTLK/EyeOfEternity/Malygos.lua#L18-L22

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. Open /etrace, enter Eye of Eternity and pull Malygos.
  2. On Vortex, check for SPELL_CAST_SUCCESS from Malygos with spells 56237 and 56105.
  3. In phase 3, check for SPELL_CAST_SUCCESS from Malygos with 57430 on each Static Field, and that a Surge of Power channel keeps running when a Static Field goes out during it.

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.

…t log

Malygos cast Static Field (57430) and Vortex (56237, 56105) fully
triggered, so SMSG_SPELL_GO carried CAST_FLAG_PENDING and the client
dropped them from the combat log. Sniff data shows the Vortex casts
without that flag.

Cast them with TRIGGERED_IGNORE_CAST_IN_PROGRESS only: it is outside
TRIGGERED_IS_TRIGGERED_MASK, and an instant cast with it does not take
the current spell container, so Static Field still leaves a phase 3
Surge of Power channel running.
Copilot AI balanced review requested due to automatic review settings November 29, 2026 22:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@coderabbitai

coderabbitai Bot commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Malygos encounter now uses TRIGGERED_IGNORE_CAST_IN_PROGRESS for the Vortex spell and dummy casts and for Static Field. The Vortex visual cast remains fully triggered. A comment notes that fully triggered casts are hidden from the client combat log.

Severity of issue fixed: Low

Merge Risk: Minimal · up to 2ae29

This change makes Malygos's Vortex and Static Field casts show up as normal combat-log success events without interrupting the phase 3 Surge of Power channel. The change is small and confined to one encounter script. No concrete regression was found, and it is ready to merge once the author's in-game testing is accepted.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 0643d9d and 2ae295b.

Files selected for processing: 1

  • src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.

@Nyeriah

Nyeriah commented Nov 29, 2026

Copy link
Copy Markdown
Member Author

Self-review — fix/malygos-combat-log-casts → master

Outcome 2 findings — 2 fixed — final round clean

Reviewed 2ae295b8ca (fix/malygos-combat-log-casts vs upstream/master, merge-base diff — 1 file, +4 −3)

By Claude Code (Claude Agent SDK), Claude Opus 5.5 — self-review v0.10, 2026-11-29

Testing Author tested in-game.

Review details (2 rounds)

Intent Malygos's Static Field (57430) and Vortex (56237, 56105) casts produce a normal SPELL_CAST_SUCCESS entry in the client combat log, without otherwise changing how the encounter plays.

Project rules .agents/docs/self-review-rules.md found and applied

Diff 592d096808a832711326f73ddbfc5e193f67b3de

Metadata c6457db7b8a8057a2231b1c7a010b3de9c90bb38

Round 1 — 2ae295b8ca, 2 findings

  1. PR body, Changes Proposed — implied the old fully triggered Static Field cast could break a Surge of Power channel; it never took the spell container either → fixed
  2. PR body, SOURCE — ticked Sniffs box linked no evidence → fixed: notes the capture is not public and quotes the values

Round 2 — 2ae295b8ca, metadata delta only (round 1 description fixes), clean

@github-actions github-actions Bot added Script Refers to C++ Scripts for the Core file-cpp Used to trigger the matrix build labels Nov 29, 2026
@Nyeriah
Nyeriah merged commit 93c9480 into azerothcore:master Nov 30, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

file-cpp Used to trigger the matrix build Script Refers to C++ Scripts for the Core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Eye of Eternity] No SPELL_CAST_SUCCESS for Static Field

3 participants