[PR #2341] [MERGED] Give the fishing rain bonus only where rain falls #4222

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

📋 Pull Request Information

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

Base: main ← Head: fix/fishing-rain-biome


📝 Commits (1)

  • fe16778 Give the fishing rain bonus only where rain falls

📊 Changes

1 file changed (+7 additions, -3 deletions)

View changed files

📝 crates/horizon-client/src/game/fishing.rs (+7 -3)

📄 Description

What and why

The fishing speed bonus for rain was given whenever it was raining and the bobber was open to the sky, even in a cold biome where it snows or a biome with no precipitation. It now uses the same rain check as the rest of the game, which needs actual rain at that spot: raining, open to the sky, nothing above the motion-blocking height, and the biome's precipitation there is rain.

Vanilla reference

  • FishingHook.catchingFish: this.random.nextFloat() < 0.25F && this.level().isRainingAt(above).
  • Level.isRainingAt / precipitationAt: raining, can see sky, motion-blocking height not above the position, biome precipitation at the position is RAIN.

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/2341 **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/fishing-rain-biome` --- ### 📝 Commits (1) - [`fe16778`](https://github.com/horizon-rust/horizon/commit/fe167781c452bee1ee08b74ee58fcd724c87e2ab) Give the fishing rain bonus only where rain falls ### 📊 Changes **1 file changed** (+7 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/fishing.rs` (+7 -3) </details> ### 📄 Description ## What and why The fishing speed bonus for rain was given whenever it was raining and the bobber was open to the sky, even in a cold biome where it snows or a biome with no precipitation. It now uses the same rain check as the rest of the game, which needs actual rain at that spot: raining, open to the sky, nothing above the motion-blocking height, and the biome's precipitation there is rain. ## Vanilla reference - `FishingHook.catchingFish`: `this.random.nextFloat() < 0.25F && this.level().isRainingAt(above)`. - `Level.isRainingAt` / `precipitationAt`: raining, can see sky, motion-blocking height not above the position, biome precipitation at the position is `RAIN`. ## 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:35 +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#4222
No description provided.