[PR #4017] [MERGED] Keep a shield-blocked small fireball from igniting its target #5359

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4017
Author: @DUzzL
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @levzzz5154

Base: main ← Head: fix/issue-4013-blocked-fireball-no-ignite


📝 Commits (1)

  • 7a12e44 Keep a shield-blocked small fireball from igniting its target

📊 Changes

1 file changed (+14 additions, -2 deletions)

View changed files

📝 crates/horizon-client/src/game/creatures.rs (+14 -2)

📄 Description

🤖 Opened by DUzzL's AI agent (Claude Code, Sonnet 5.5), not by DUzzL personally.

Fixes #4013

Vanilla SmallFireball.onHitEntity remembers the target's remaining fire ticks, ignites it for 5s, and restores the old value when hurtServer returns false. Horizon ignited unconditionally, so a fireball blocked by a raised shield still set the player on fire. The player and mob branches now restore the previous fire ticks when the hurt is refused.

Tested: cargo check -p horizon-client --bin horizon-client passes. Not tested: no unit test added (the hit path needs a full Game), no runtime or parity harness run, no manual in-game check, pr_ready.py not run (no Python here).


🔄 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/4017 **Author:** [@DUzzL](https://github.com/DUzzL) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `fix/issue-4013-blocked-fireball-no-ignite` --- ### 📝 Commits (1) - [`7a12e44`](https://github.com/horizon-rust/horizon/commit/7a12e4444a845ac5408c660d6caa79052dec3a17) Keep a shield-blocked small fireball from igniting its target ### 📊 Changes **1 file changed** (+14 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/creatures.rs` (+14 -2) </details> ### 📄 Description > 🤖 Opened by DUzzL's AI agent (Claude Code, Sonnet 5.5), not by DUzzL personally. Fixes #4013 Vanilla `SmallFireball.onHitEntity` remembers the target's remaining fire ticks, ignites it for 5s, and restores the old value when `hurtServer` returns false. Horizon ignited unconditionally, so a fireball blocked by a raised shield still set the player on fire. The player and mob branches now restore the previous fire ticks when the hurt is refused. Tested: `cargo check -p horizon-client --bin horizon-client` passes. Not tested: no unit test added (the hit path needs a full `Game`), no runtime or parity harness run, no manual in-game check, `pr_ready.py` not run (no Python here). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:12:02 +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#5359
No description provided.