diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index 5a3d893c..5d01745c 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -279,6 +279,10 @@ public class MobAI { mob.lastPatrolPointIndex = 0; mob.destination = mob.patrolPoints.get(mob.lastPatrolPointIndex); + + if (mob.agentType.equals(Enum.AIAgentType.GUARDMINION)) + mob.destination = mob.destination.add(Formation.getOffset(2, mob.minions.indexOf(mob.getObjectUUID()) + 3)); + mob.lastPatrolPointIndex += 1; MovementUtilities.aiMove(mob, mob.destination, true);