From e9eaa6654248317b04411cd0068040ed19e5bfb9 Mon Sep 17 00:00:00 2001 From: Kacpherek Date: Tue, 27 Oct 2026 22:26:26 +0100 Subject: [PATCH] Offer the iron golem's poppy for 400 game ticks, not 800 OfferFlowerGoal.start sets tick to adjustedTickDelay(400), which is 200 goal ticks. Horizon counted 400 goal ticks, so the offer lasted twice as long. --- crates/horizon-client/src/mobs/golem.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/horizon-client/src/mobs/golem.rs b/crates/horizon-client/src/mobs/golem.rs index 2fe37331b..05b51a5f7 100644 --- a/crates/horizon-client/src/mobs/golem.rs +++ b/crates/horizon-client/src/mobs/golem.rs @@ -6,7 +6,7 @@ use super::{ anim::{Poses, State}, goals::{ Cx, Goal, HurtByTarget, LOOK, LookAtPlayer, MOVE, MeleeAttack, NearestTarget, Prey, - RandomLookAround, Stroll, goal_clone, + RandomLookAround, Stroll, goal_clone, reduced, }, }; use crate::projectiles::{Projectile, ProjectileKind}; @@ -158,7 +158,8 @@ impl Goal for OfferFlower { self.ticks > 0 } fn start(&mut self, m: &mut Mob, cx: &mut Cx) { - self.ticks = 400; + // adjustedTickDelay(400): the goal ticks every other game tick. + self.ticks = reduced(400); m.extra.counter = 400; // IronGolem.offerFlower(true): entity event 11. entity_event(m, 11, cx);