Skip to content

Commit

Permalink
PullTarget - If mob on the side starts hitting, stop pull
Browse files Browse the repository at this point in the history
  • Loading branch information
lionaneesh authored Dec 16, 2024
1 parent 44c5227 commit feea00c
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 feea00c

Please sign in to comment.