From c7e470166d77042cc3a4a341bf7aeb56cd6116ef Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 7 May 2023 08:02:52 -0500 Subject: [PATCH] guard captain and wall archer spawn times hard set at 450 and 900 respectively --- src/engine/objects/Mob.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 9b40b523..1c59e3f2 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -975,6 +975,7 @@ public class Mob extends AbstractIntelligenceAgent { if (this.contract != null && NPC.ISWallArcher(this.contract)) { this.BehaviourType = MobBehaviourType.GuardWallArcher; this.isPlayerGuard = true; + this.spawnTime = 450; } if (isPet || isSiege || (isGuard && this.contract == null)) this.currentID = (--Mob.staticID); @@ -1979,10 +1980,14 @@ public class Mob extends AbstractIntelligenceAgent { this.BehaviourType = this.getMobBase().fsm; if (this.isPlayerGuard() && this.contract != null) - if (NPC.ISWallArcher(this.getContract())) + if (NPC.ISWallArcher(this.getContract())) { this.BehaviourType = MobBehaviourType.GuardWallArcher; - else + this.spawnTime = 450; + } + else { this.BehaviourType = MobBehaviourType.GuardCaptain; + this.spawnTime = 900; + } this.deathTime = 0; } catch (Exception e) {