[PR #5404] [MERGED] Growl only for a wolf that is actually angry #6264

Closed
opened 2026-11-03 06:16:43 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5404
Author: @MSedgeMC
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @ludovic111

Base: main ← Head: fix/wolf-ambient-angry


📝 Commits (2)

  • 705b60f Growl only for a wolf that is actually angry
  • 85c735f Merge main into #5404 (main's title keyboard test was fixed in #5425)

📊 Changes

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

View changed files

📝 crates/horizon-client/src/mobs/ai.rs (+2 -1)

📄 Description

Wolf.getAmbientSound asks isAngry(), which NeutralMob defines from the persistent anger timer — not from whether the wolf happens to have a target. Horizon tested i.target.is_some(), so a wolf that was provoked and is still angry but has lost its target fell through to the pant/whine draw instead of growling.

One condition, using the Wolf.isAngry helper that already exists and is already called from two other places.

Proven: compile-checked (cargo check -p horizon-client --lib --bins, clean). Not run: the test that would pin it needs a mob fixture; the honest check is a provoked wolf whose target dies — vanilla keeps growling while the anger timer runs.


🔄 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/5404 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/wolf-ambient-angry` --- ### 📝 Commits (2) - [`705b60f`](https://github.com/horizon-rust/horizon/commit/705b60f684862926aae00e6edadb1c2ad6dba1b3) Growl only for a wolf that is actually angry - [`85c735f`](https://github.com/horizon-rust/horizon/commit/85c735f53beb5961726aa57a2e8d31ec2fd8e2bb) Merge main into #5404 (main's title keyboard test was fixed in #5425) ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/mobs/ai.rs` (+2 -1) </details> ### 📄 Description Wolf.getAmbientSound asks isAngry(), which NeutralMob defines from the **persistent anger timer** — not from whether the wolf happens to have a target. Horizon tested i.target.is_some(), so a wolf that was provoked and is still angry but has lost its target fell through to the pant/whine draw instead of growling. One condition, using the Wolf.isAngry helper that already exists and is already called from two other places. **Proven:** compile-checked (cargo check -p horizon-client --lib --bins, clean). **Not run:** the test that would pin it needs a mob fixture; the honest check is a provoked wolf whose target dies — vanilla keeps growling while the anger timer runs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:16:43 +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#6264
No description provided.