Repository navigation
Inferno: Zuk's own hits no longer break the Ancestral Glyph - #6625
Merged
Merged
Conversation
The Wiki says the glyph sustains Zuk's attacks indefinitely; only the summoned ranger, mager and Jad deplete its 600 hitpoints. Subtracting Zuk's blocked hits broke the shield after about eight of his attacks. Fixes RSPSApp#6594 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bandit-HaxUnit
marked this pull request as ready for review
November 23, 2026 11:56
UnhealthyKraken
self-requested a review
November 23, 2026 17:59
Collaborator
|
Reviewing this now (review loop, head 985a9e7). |
UnhealthyKraken
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed PR #6625 at 985a9e7 (main 75a513d, integration tree 9f44ab766c063943441747b53153244c10e30b75).
What it does
Fixes #6594. A Zuk attack that lands on the Ancestral Glyph now only plays the glyph's block animation (7568). It no longer subtracts the rolled damage from the glyph's 600 hitpoints. The summons still wear the glyph down through the combat engine, unchanged. The Zuk test now keeps the player behind the glyph for 8 more blocked hits of 100 and checks the glyph stays at 600. The boss audit entry is corrected.
What was checked
- Behaviour:
strike()inZuk.Inferno.jswas the only place Zuk's own hits reduced glyph HP. Removing thesetHitpointsleaves the block animation, thealive(glyph)guard and the unshielded path (damage to the player) as they were. No items, coins or persistent state are involved. Glyph HP is set once at spawn and now falls only through the combat engine, so the "glyph falls, summons turn on the player" path (summonTarget,alive(state.glyph)) is unchanged. - Parity: The Wiki agrees. Ancestral Glyph: "It can sustain TzKal-Zuk's attacks indefinitely", with its 600 hitpoints worn down by the other monsters that spawn during the fight. TzKal-Zuk Strategy: "If the shield takes 600 damage, it will be destroyed", and it says the Jal-Xil and Jal-Zek attack the shield. The Zuk page does not say whether Zuk's own hits count, so the Ancestral Glyph page settles it.
- Recordings (all re-read):
- rsprox_transcripts/227/01754.txt (rsprox 1754): the glyph (7707) plays
moving_safe_spot_hit(7568) on 5 Zuk attacks (ticks 17983-18023) with no hitsplat or headbar. Its first damage is a 79 hit (headbar 26/30) at tick 18033, after the summons spawn at 18021. The PR's "79 leaves the bar at 26/30" is correct. - rsprox 1000557 (rsprox_transcripts/227/910590.txt): 7 blocks, ticks 7565-7625. Summons spawn at 7624. The first splat on the glyph is a 0-value splat at 7637.
- rsprox 1000603 (rsprox_transcripts/227/910636.txt): 7 blocks, ticks 39-99. Summons spawn at 98. First hit is 65 at 107.
- rsprox 1000608 (rsprox_transcripts/227/910641.txt): 8 blocks, ticks 5942-6012. Summons spawn at 6001. First hit is 7 at 6014.
- rsprox_transcripts/234/03299.txt (rsprox 3299): 4 blocks before the first hit. Jad spawns at 13683. First hit is 111 at 13695, which fits Jad and is not a Zuk roll.
- The "4-8 blocks, no hitsplat, first damage from a summon" claim holds for these five. Zuk's own blocks never produce a hitsplat or headbar change.
- Timing matches the PR's "about 45s": summons arrive 80 ticks (about 48 s) after Zuk is added in 1000557, 1000603 and 1000608.
- rsprox 1001311: not found. The offsets for revs 227, 240 and 241 map to files 911344, 911327 and 911296. Those exist only under other revision directories (237, 236, 234) and contain no Zuk or glyph data. This citation is unverified.
- rsprox_transcripts/227/01754.txt (rsprox 1754): the glyph (7707) plays
- Traced:
strike(),summon()/summonTarget, the hit handler that turns summons off the glyph, andRun.Inferno.jsuntouchable ids (the player cannot hit the glyph). Nothing else writes glyph hitpoints on Zuk's behalf. Healers and the shared combat engine are untouched. - Rules: server TypeScript is not changed (one plugin JS file, one test, one docs file). Generated JSON is not touched. No plugin or config added, so
world-config-docsdoes not apply. - Related PRs: none.
Findings
No defects found.
Notes, not findings:
- The PR body says the recordings show "no hitsplat or health bar". That is true of Zuk's blocks. 910590 does show 0-value glyph splats (id 13) after the summons spawn, so those come from the summons, not from Zuk.
- The recordings show the block animation starting on the Zuk attack tick with a client delay. The server plays it on projectile arrival. This is unchanged by this PR and is cosmetic.
Scope
ordinary
Verified
yarn buildin server/ on the integration commit bf55e955f: ok.node --test tests/inferno.test.cjs: 39/39.node --test tests/inferno-combat-achievements-style.test.cjs: 2/2. Together this gives the 41 the PR reports.- Revert check: with main's
Zuk.Inferno.jsand the new test,TzKal-Zuk: the glyph shields, summons arrive on cue...fails (expected 99, actual -1: the glyph falls and the player is hit).Zuk's ranger and mager come as a set...also fails in the same run, so it depends on the same behaviour. File restored withgit checkout HEAD -- <file>. - docs:
yarn install --frozen-lockfileandyarn build(Yarn 1.22.22) in docs/: ok. - Wiki: Ancestral Glyph and TzKal-Zuk pages read; quotes above.
- main+head merge tree: clean (integrate.mjs, tree 9f44ab766c063943441747b53153244c10e30b75)
- generated JSON: none edited
Not verified
- rsprox 1001311: could not locate the file with the given offsets (see above).
- The in-game MCP run in the PR body (6 Zuk attacks, 5 blocks, glyph 600 to 0 in about 50 ticks when left alone) was not repeated. The unit test and the recordings cover the changed behaviour.
- Whether the glyph's 600 HP value and the summons' damage rate are right is out of scope for this PR.
Verdict
Merge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #6594
Problem
At TzKal-Zuk, the Ancestral Glyph broke within a minute or two, before the first ranger and mager set, Jad or the healers appeared.
Zuk hits every 10 ticks for 74 on average, so the glyph lasted about 8 of his attacks (about 50 seconds). The subtraction came in with the boss audit in 39075d9, which read the Wiki's "if the shield takes 600 damage" rule as including Zuk's own hits.
Fix
server/plugins/minigames/inferno/Zuk.Inferno.js: a shielded Zuk hit only plays the glyph's block animation (7568) and no longer changes its hitpoints. The summons still attack the glyph through the combat engine, as before.server/tests/inferno.test.cjs: the Zuk test keeps the player behind the glyph through 8 more blocked hits of 100 (900 damage) and asserts that the player takes nothing and the glyph stays at 600.docs/audits/boss-fights.md: corrects the audit's Zuk entry.Testing
node --test tests/inferno.test.cjs tests/inferno-combat-achievements-style.test.cjs: 41/41 pass.Revert check: with main's
Zuk.Inferno.jsand the new test, the Zuk test fails. The glyph falls and the player is hit (expected 99, actual -1).In game (agent MCP, wave 69 via
::infernowave 69; the player is kept behind the glyph every tick):Recordings (rsprox 1754, 1000557, 1000603, 1000608, 3299, 1001311): the glyph (7707) blocks 4-8 Zuk attacks with no hitsplat or health bar. Its first damage always comes from a summon, e.g. 1754: a 79 hit leaves the bar at 26/30.
Self-reviewed with the review checklist at 985a9e7: no blocking findings.
Not covered
Reference
🤖 Generated with Claude Code