From 8dd25ac315ea7760b9b99bdfc6a8f33617d3b5e6 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 26 Aug 2023 11:06:48 -0400 Subject: [PATCH] Minions inherit patrol points form barracks. --- src/engine/objects/Mob.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index a29f06e1..bc2e7bed 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -624,6 +624,7 @@ public class Mob extends AbstractIntelligenceAgent { minionMobile.behaviourType = Enum.MobBehaviourType.GuardMinion; minionMobile.isPlayerGuard = true; minionMobile.guardedCity = guardCaptain.guardedCity; + minionMobile.patrolPoints = guardCaptain.building.patrolPoints; minionMobile.parentZoneUUID = guardCaptain.parentZoneUUID; minionMobile.bindLoc = Vector3fImmutable.ZERO;