From dbdd894b99a37c3c4a6ee7aea08a979ced4308a7 Mon Sep 17 00:00:00 2001 From: Aneesh Dogra Date: Sun, 8 Dec 2024 05:15:17 +0100 Subject: [PATCH] Stop attack before changing target if pull takes too long --- Core/Goals/PullTargetGoal.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/Goals/PullTargetGoal.cs b/Core/Goals/PullTargetGoal.cs index 5c054cc7..28c2b9d0 100644 --- a/Core/Goals/PullTargetGoal.cs +++ b/Core/Goals/PullTargetGoal.cs @@ -146,6 +146,7 @@ public override void Update() if (PullDurationMs > MAX_PULL_DURATION) { + input.PressStopAttack(); input.PressClearTarget(); Log("Pull taking too long. Clear target and face away!"); input.TurnRandomDir(1000);