guard dogs

This commit is contained in:
2023-06-25 21:34:23 -05:00
parent 1b94f3f71d
commit 99a4d87982
+3
View File
@@ -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