Browse Source

mob ai work

lakebane-mobai2
FatBoy-DOTC 1 week ago
parent
commit
b3026c9cab
  1. 2
      src/engine/mobileAI/MobAi2.java

2
src/engine/mobileAI/MobAi2.java

@ -147,7 +147,7 @@ public class MobAi2 {
if (!CombatUtilities.inRangeToAttack(mob, target)) { if (!CombatUtilities.inRangeToAttack(mob, target)) {
if(mob.nextChaseUpdate < System.currentTimeMillis()) { if(mob.nextChaseUpdate < System.currentTimeMillis()) {
mob.nextChaseUpdate = System.currentTimeMillis() + 5000L; mob.nextChaseUpdate = System.currentTimeMillis() + 2500L;
MovementUtilities.aiMove(mob, target.loc, false); MovementUtilities.aiMove(mob, target.loc, false);
} }
return; return;

Loading…
Cancel
Save