Browse Source

mob ai work

lakebane-mobai2
FatBoy-DOTC 1 week ago
parent
commit
ff4010d652
  1. 4
      src/engine/objects/Mob.java

4
src/engine/objects/Mob.java

@ -24,6 +24,7 @@ import engine.math.Quaternion; @@ -24,6 +24,7 @@ import engine.math.Quaternion;
import engine.math.Vector3f;
import engine.math.Vector3fImmutable;
import engine.mobileAI.Threads.MobAIThread;
import engine.mobileAI.utilities.MovementUtilities;
import engine.net.ByteBufferWriter;
import engine.net.Dispatch;
import engine.net.DispatchMessage;
@ -2160,8 +2161,7 @@ public class Mob extends AbstractIntelligenceAgent { @@ -2160,8 +2161,7 @@ public class Mob extends AbstractIntelligenceAgent {
this.patrolPoints.add(newPatrolPoint);
if (i == 1) {
this.setLoc(newPatrolPoint);
WorldGrid.updateObject(this);
MovementUtilities.aiMove(this,newPatrolPoint,true);
}
}
}

Loading…
Cancel
Save