Browse Source

mob AI work

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
de08d0d210
  1. 4
      src/engine/mobileAI/utilities/MovementUtilities.java

4
src/engine/mobileAI/utilities/MovementUtilities.java

@ -135,6 +135,10 @@ public class MovementUtilities { @@ -135,6 +135,10 @@ public class MovementUtilities {
public static boolean canMove(Mob agent) {
if(agent.isMoving())
return false;
if (agent.getMobBase() != null && Enum.MobFlagType.SENTINEL.elementOf(agent.getMobBase().getFlags()))
return false;

Loading…
Cancel
Save