Browse Source

NPC guards no longer attack players

master
FatBoy-DOTC 2 years ago
parent
commit
13d83c0003
  1. 5
      src/engine/ai/MobileFSM.java

5
src/engine/ai/MobileFSM.java

@ -93,8 +93,11 @@ public class MobileFSM { @@ -93,8 +93,11 @@ public class MobileFSM {
if (mob.isPlayerGuard())
guardAggro(mob, mob.getAggroTargetID());
else
else if (mob.isGuard()) {
awakeNPCguard(mob);
} else {
aggro(mob, mob.getAggroTargetID());
}
break;
case Patrol:

Loading…
Cancel
Save