Browse Source

enemy/notenemy aggro rules finalized

master
FatBoy-DOTC 2 years ago
parent
commit
99a82a6b84
  1. 2
      src/engine/ai/MobileFSM.java

2
src/engine/ai/MobileFSM.java

@ -387,8 +387,6 @@ public class MobileFSM { @@ -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;

Loading…
Cancel
Save