From c1eee662f9bb0c15fd50cb3dfc23a1b6998501c1 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 13 Oct 2026 22:34:50 +0200 Subject: [PATCH] Loot 3 fix1: the stand-in pose check derives its progress from the rule, not from FieldTester The pull-progress input came from FieldTester.PullProgress, so a mutant of that function agreed with itself. The smoke now spells the pull start from Extend and Envelop independently. Builds; both smokes green; Unity mutant u-f killed. Co-Authored-By: Claude Opus 5.5 --- Assets/Scripts/Editor/FloatingItemsDrawnSmoke.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Editor/FloatingItemsDrawnSmoke.cs b/Assets/Scripts/Editor/FloatingItemsDrawnSmoke.cs index 61f7caae2..50f6fcb94 100644 --- a/Assets/Scripts/Editor/FloatingItemsDrawnSmoke.cs +++ b/Assets/Scripts/Editor/FloatingItemsDrawnSmoke.cs @@ -198,7 +198,7 @@ public static class FloatingItemsDrawnSmoke var claimedAt = new CultMath.float3(early.HeldFrom.x, 0f, early.HeldFrom.y); foreach (var elapsed in new[] { 0f, extend + envelop - .01f, extend + envelop + .3f, extend + envelop + .75f, extend + envelop + pull }) { - zone.SetHeldProgress(early.Id, FieldTester.PullProgress(elapsed, extend, envelop, pull)); + zone.SetHeldProgress(early.Id, Mathf.Clamp01((elapsed - extend - envelop) / pull)); // the pull starts after Extend and Envelop zone.Update(.01f); var want = FieldTester.PulledPosition(claimedAt, holderAt, elapsed, extend, envelop, pull); Require(Mathf.Abs(early.Body.Position.x - want.x) < 1e-3f && Mathf.Abs(early.Body.Position.y - want.z) < 1e-3f,