|
|
@ -387,8 +387,6 @@ public class MobileFSM { |
|
|
|
// No aggro for this race type
|
|
|
|
// No aggro for this race type
|
|
|
|
if (aiAgent.notEnemy.contains(loadedPlayer.getRace().getRaceType().getMonsterType())) |
|
|
|
if (aiAgent.notEnemy.contains(loadedPlayer.getRace().getRaceType().getMonsterType())) |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
if(!aiAgent.enemy.contains(loadedPlayer.getRace().getRaceType().getMonsterType())) |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
if (MovementUtilities.inRangeToAggro(aiAgent, loadedPlayer)) { |
|
|
|
if (MovementUtilities.inRangeToAggro(aiAgent, loadedPlayer)) { |
|
|
|
aiAgent.setCombatTarget(loadedPlayer); |
|
|
|
aiAgent.setCombatTarget(loadedPlayer); |
|
|
|
return; |
|
|
|
return; |
|
|
|