Refactored aggro system to use Monstertype.

This commit is contained in:
2023-04-09 18:16:36 -04:00
parent 6b62c90bc8
commit beff5c3e06
6 changed files with 32 additions and 170 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ public class MobileFSM {
}
// No aggro for this race type
if (loadedPlayer.getRace().getRaceType().getAggroType().elementOf(aiAgent.getMobBase().getNoAggro()))
if (loadedPlayer.getRace().getRaceType().getMonsterType().elementOf(aiAgent.notEnemy))
continue;