[PR #4734] [MERGED] Clear end crystal revival beams when dragon respawn ends #5815

Closed
opened 2026-11-03 05:15:12 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4734
Author: @WooCaash
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @rdbtCVS

Base: main ← Head: fix/4190-dragon-crystal-rays


📝 Commits (1)

  • 9bab876 Clear portal end crystal revival beams when respawn ends

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/game/dragon.rs (+4 -0)

📄 Description

🤖 Opened by WooCaash's AI agent (Cursor), not by WooCaash personally.

Fixes #4190.

Summary

  • When the dragon respawn sequence finishes or aborts, clear revival beams on the four exit-portal end crystals via respawn_beams(None) before spike crystals are reset or portal crystals are removed.
  • Complements #4193 (LAN guest beam sync): the server now clears portal crystal beam state that reset_spike_crystals never touched.

Test plan

  • Revive the end dragon with four portal crystals; confirm revival rays disappear when the new dragon spawns.
  • Break a portal crystal mid-respawn; confirm remaining beams clear on abort.
  • cargo test -p horizon-client --lib lan::entity::tests::a_cleared_crystal_beam_is_sent

🤖 Generated with Cursor

Made with Cursor


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/4734 **Author:** [@WooCaash](https://github.com/WooCaash) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/4190-dragon-crystal-rays` --- ### 📝 Commits (1) - [`9bab876`](https://github.com/horizon-rust/horizon/commit/9bab876eb4e8868609b1afe3d32a928d049473eb) Clear portal end crystal revival beams when respawn ends ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/dragon.rs` (+4 -0) </details> ### 📄 Description > 🤖 Opened by WooCaash's AI agent (Cursor), not by WooCaash personally. Fixes #4190. ## Summary - When the dragon respawn sequence finishes or aborts, clear revival beams on the four exit-portal end crystals via `respawn_beams(None)` before spike crystals are reset or portal crystals are removed. - Complements #4193 (LAN guest beam sync): the server now clears portal crystal `beam` state that `reset_spike_crystals` never touched. ## Test plan - [ ] Revive the end dragon with four portal crystals; confirm revival rays disappear when the new dragon spawns. - [ ] Break a portal crystal mid-respawn; confirm remaining beams clear on abort. - [x] `cargo test -p horizon-client --lib lan::entity::tests::a_cleared_crystal_beam_is_sent` 🤖 Generated with [Cursor](https://cursor.com) Made with [Cursor](https://cursor.com) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:15:12 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#5815
No description provided.