From 99a4d87982f51e38fa0a4befd839f981e0f5c45e Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 25 Jun 2023 21:34:23 -0500 Subject: [PATCH] guard dogs --- src/engine/objects/Mob.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index d94474fe..0e5124cf 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -1968,6 +1968,9 @@ public class Mob extends AbstractIntelligenceAgent { this.setBounds(mobBounds); if(this.contract != null && this.contract.getContractID() == 910){ this.isPlayerGuard = true; + this.BehaviourType = MobBehaviourType.GuardCaptain; + this.spawnTime = 900; + this.guardedCity = ZoneManager.getCityAtLocation(this.bindLoc); } //assign 5 random patrol points for regular mobs