[PR #2249] [MERGED] Lightning takes a copper golem back one oxidation step #4141

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

📋 Pull Request Information

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

Base: main ← Head: fix/copper-golem-struck-by-lightning


📝 Commits (1)

  • 601e791 Lightning scrapes one oxidation step off a copper golem

📊 Changes

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

View changed files

📝 crates/horizon-client/src/game/lightning.rs (+12 -1)

📄 Description

What and why

A copper golem struck by lightning took the normal fire and damage but kept its oxidation. In Java, once per bolt, a golem that is not unoxidized goes back one weathering step and its weathering timer is reset to unset (-1), which also takes off its wax, as the wax is stored in that same timer.

The thunder hit loop now has a copper golem arm that does this once per bolt, using the same per-bolt list the mooshrooms use. The fire and damage still apply afterwards.

Vanilla reference

  • CopperGolem.thunderHit
  • WeatheringCopper.WeatherState.previous

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/2249 **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/copper-golem-struck-by-lightning` --- ### 📝 Commits (1) - [`601e791`](https://github.com/horizon-rust/horizon/commit/601e7918a844884574222a26ec75d05169499386) Lightning scrapes one oxidation step off a copper golem ### 📊 Changes **1 file changed** (+12 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/lightning.rs` (+12 -1) </details> ### 📄 Description ## What and why A copper golem struck by lightning took the normal fire and damage but kept its oxidation. In Java, once per bolt, a golem that is not unoxidized goes back one weathering step and its weathering timer is reset to unset (-1), which also takes off its wax, as the wax is stored in that same timer. The thunder hit loop now has a copper golem arm that does this once per bolt, using the same per-bolt list the mooshrooms use. The fire and damage still apply afterwards. ## Vanilla reference - `CopperGolem.thunderHit` - `WeatheringCopper.WeatherState.previous` ## 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:58 +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#4141
No description provided.