Skip to content

Commit

Permalink
Merge pull request #638 from lionaneesh/dev-upstream-2
Browse files Browse the repository at this point in the history
PullTarget - If mob on the side starts hitting, stop pull
  • Loading branch information
Xian55 authored Dec 16, 2024
2 parents 44c5227 + feea00c commit 07d2622
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Core/Goals/PullTargetGoal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,6 @@ public override void Update()
}
}

if (castAny || spellInQueue || playerReader.IsCasting())
return;

if (combatUtil.EnteredCombat())
{
if (wait.Until(AcquireTargetTimeMs, CombatLogChanged) >= 0)
Expand All @@ -228,6 +225,9 @@ public override void Update()
return;
}

if (castAny || spellInQueue || playerReader.IsCasting())
return;

approachAction();
}

Expand Down

0 comments on commit 07d2622

Please sign in to comment.