From b899708cd563cec4529a1b6079f8ad70e0c1e327 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 7 May 2023 08:12:42 -0500 Subject: [PATCH] removed obvious bug in guards dropping aggro --- src/engine/ai/MobileFSM.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/engine/ai/MobileFSM.java b/src/engine/ai/MobileFSM.java index 2f432a95..d090ed22 100644 --- a/src/engine/ai/MobileFSM.java +++ b/src/engine/ai/MobileFSM.java @@ -38,11 +38,6 @@ public class MobileFSM { } if (!CombatUtilities.inRangeToAttack(mob, target)) return; - if(mob.BehaviourType.ordinal() == Enum.MobBehaviourType.GuardCaptain.ordinal()){ - if(!GuardCanAggro(mob, (PlayerCharacter)mob.getCombatTarget())){ - mob.setCombatTarget(null); - } - } switch (target.getObjectType()) { case PlayerCharacter: PlayerCharacter targetPlayer = (PlayerCharacter) target;