From 99a82a6b8415fba513c84a390efc353d62ba08aa Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 10 May 2023 18:33:03 -0500 Subject: [PATCH] enemy/notenemy aggro rules finalized --- src/engine/ai/MobileFSM.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/engine/ai/MobileFSM.java b/src/engine/ai/MobileFSM.java index 639bc4a7..7b9ad4e9 100644 --- a/src/engine/ai/MobileFSM.java +++ b/src/engine/ai/MobileFSM.java @@ -387,8 +387,6 @@ public class MobileFSM { // No aggro for this race type if (aiAgent.notEnemy.contains(loadedPlayer.getRace().getRaceType().getMonsterType())) continue; - if(!aiAgent.enemy.contains(loadedPlayer.getRace().getRaceType().getMonsterType())) - continue; if (MovementUtilities.inRangeToAggro(aiAgent, loadedPlayer)) { aiAgent.setCombatTarget(loadedPlayer); return;