[PR #2377] [MERGED] Raiders skip ominous banners they cannot reach #4255

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2377
Author: @kacpherek
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @ludovic111

Base: main ← Head: fix/raider-banner-reachable


📝 Commits (2)

  • 97f8bca Raiders skip ominous banners they cannot reach
  • e41c602 Keep picking up a banner next to a raider even when its path was cached as unreachable

📊 Changes

2 files changed (+53 additions, -21 deletions)

View changed files

📝 crates/horizon-client/src/game/raids.rs (+25 -12)
📝 crates/horizon-client/src/mobs/raider.rs (+28 -9)

📄 Description

What and why

A raider wave without a captain sends raiders to a fallen ominous banner. Horizon picked the nearest banner by distance only, so raiders could keep trying to reach a banner behind a wall, across water or on a ledge with no route. Now the goal builds a path to the banner and only starts when the path reaches it. A banner with no reaching path is skipped for 600 ticks, and the next nearest banner is tried.

The raid bookkeeping still chooses the nearest banner that is not in the skip list. The goal does the path check, since it has the navigation and the world.

Vanilla reference

  • Raider.ObtainRaidLeaderBannerGoal.canUse: createPath(banner, 1), path.canReach(), unreachableBannerCache with gameTime + 600
  • Raider.ObtainRaidLeaderBannerGoal.start: moveTo(pathToBanner, 1.15)

Self-check

cargo check -p horizon-client passes.


🔄 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/2377 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/raider-banner-reachable` --- ### 📝 Commits (2) - [`97f8bca`](https://github.com/horizon-rust/horizon/commit/97f8bca9daf9eb3f18b4bab27c3bd36cc8ca56e2) Raiders skip ominous banners they cannot reach - [`e41c602`](https://github.com/horizon-rust/horizon/commit/e41c602359730f1a7b34f333df6d0f12b369a04f) Keep picking up a banner next to a raider even when its path was cached as unreachable ### 📊 Changes **2 files changed** (+53 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/raids.rs` (+25 -12) 📝 `crates/horizon-client/src/mobs/raider.rs` (+28 -9) </details> ### 📄 Description ## What and why A raider wave without a captain sends raiders to a fallen ominous banner. Horizon picked the nearest banner by distance only, so raiders could keep trying to reach a banner behind a wall, across water or on a ledge with no route. Now the goal builds a path to the banner and only starts when the path reaches it. A banner with no reaching path is skipped for 600 ticks, and the next nearest banner is tried. The raid bookkeeping still chooses the nearest banner that is not in the skip list. The goal does the path check, since it has the navigation and the world. ## Vanilla reference - `Raider.ObtainRaidLeaderBannerGoal.canUse`: `createPath(banner, 1)`, `path.canReach()`, `unreachableBannerCache` with `gameTime + 600` - `Raider.ObtainRaidLeaderBannerGoal.start`: `moveTo(pathToBanner, 1.15)` ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:15:50 +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#4255
No description provided.