[PR #2195] [MERGED] Guardians: damage scales with Hard and elders, squid and axolotls must be beyond 3 blocks #4093

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

📋 Pull Request Information

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

Base: main ← Head: fix/guardian-beam-rules


📝 Commits (1)

  • af6b375 Guardians: damage scales with Hard and elders, squid and axolotls must be beyond 3 blocks

📊 Changes

2 files changed (+17 additions, -3 deletions)

View changed files

📝 crates/horizon-client/src/mobs/goals.rs (+11 -0)
📝 crates/horizon-client/src/mobs/guardian.rs (+6 -3)

📄 Description

What and why

Two Guardian rules differed from vanilla.

  • The beam's magic damage was fixed at 1 (3 for an elder guardian), which is only right on Normal. It is now 1, plus 2 on Hard, plus 2 for an elder guardian.
  • Only players were kept at more than 3 blocks. Squid, glow squid and axolotls could be picked as targets at any distance. They are now skipped when they are 3 blocks or closer, the same as players. The check goes through a new optional beyond setting on NearestTarget.

Beam drawing is untouched.

Vanilla reference

  • Guardian.GuardianAttackGoal.tick: magicDamage = 1.0F, += 2.0F when the difficulty is HARD, += 2.0F when elder.
  • Guardian.GuardianAttackSelector.test: (target instanceof Player || target instanceof Squid || target instanceof Axolotl) && target.distanceToSqr(this.guardian) > 9.0.

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/2195 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/guardian-beam-rules` --- ### 📝 Commits (1) - [`af6b375`](https://github.com/horizon-rust/horizon/commit/af6b375626c3eadacb66981a4ea1f346e506112d) Guardians: damage scales with Hard and elders, squid and axolotls must be beyond 3 blocks ### 📊 Changes **2 files changed** (+17 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/mobs/goals.rs` (+11 -0) 📝 `crates/horizon-client/src/mobs/guardian.rs` (+6 -3) </details> ### 📄 Description ## What and why Two Guardian rules differed from vanilla. - The beam's magic damage was fixed at 1 (3 for an elder guardian), which is only right on Normal. It is now 1, plus 2 on Hard, plus 2 for an elder guardian. - Only players were kept at more than 3 blocks. Squid, glow squid and axolotls could be picked as targets at any distance. They are now skipped when they are 3 blocks or closer, the same as players. The check goes through a new optional `beyond` setting on `NearestTarget`. Beam drawing is untouched. ## Vanilla reference - `Guardian.GuardianAttackGoal.tick`: `magicDamage = 1.0F`, `+= 2.0F` when the difficulty is HARD, `+= 2.0F` when `elder`. - `Guardian.GuardianAttackSelector.test`: `(target instanceof Player || target instanceof Squid || target instanceof Axolotl) && target.distanceToSqr(this.guardian) > 9.0`. ## 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:14:37 +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#4093
No description provided.