|
|
@ -283,7 +283,6 @@ public class MobAI { |
|
|
|
if (mob.agentType.equals(Enum.AIAgentType.GUARDMINION) && mob.guardCaptain.isAlive()) { |
|
|
|
if (mob.agentType.equals(Enum.AIAgentType.GUARDMINION) && mob.guardCaptain.isAlive()) { |
|
|
|
Mob captain = (Mob) mob.guardCaptain; |
|
|
|
Mob captain = (Mob) mob.guardCaptain; |
|
|
|
mob.destination = captain.destination.add(Formation.getOffset(2, mob.guardCaptain.minions.indexOf(mob.getObjectUUID()) + 3)); |
|
|
|
mob.destination = captain.destination.add(Formation.getOffset(2, mob.guardCaptain.minions.indexOf(mob.getObjectUUID()) + 3)); |
|
|
|
; |
|
|
|
|
|
|
|
mob.lastPatrolPointIndex = captain.lastPatrolPointIndex; |
|
|
|
mob.lastPatrolPointIndex = captain.lastPatrolPointIndex; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
mob.destination = mob.patrolPoints.get(mob.lastPatrolPointIndex); |
|
|
|
mob.destination = mob.patrolPoints.get(mob.lastPatrolPointIndex); |
|
|
|