From f57ca5b635c244a9af267cf3d21e2b8860168199 Mon Sep 17 00:00:00 2001 From: xanunderscore <149614526+xanunderscore@users.noreply.github.com> Date: Tue, 11 Feb 2025 13:39:57 -0500 Subject: [PATCH] actually navigate in combat --- BossMod/Modules/Global/DeepDungeon/AutoClear.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BossMod/Modules/Global/DeepDungeon/AutoClear.cs b/BossMod/Modules/Global/DeepDungeon/AutoClear.cs index f289e87b2..7b483879b 100644 --- a/BossMod/Modules/Global/DeepDungeon/AutoClear.cs +++ b/BossMod/Modules/Global/DeepDungeon/AutoClear.cs @@ -685,14 +685,15 @@ private void HandleFloorPathfind(Actor player, AIHints hints) hints.GoalZones.Add(p => { var pp = player.Position; - return d switch + var improvement = d switch { Direction.North => pp.Z - p.Z, Direction.South => p.Z - pp.Z, Direction.East => p.X - pp.X, Direction.West => pp.X - p.X, _ => 0, - } * 0.001f; + }; + return improvement > 10 ? 10 : 0; }); }