mob ai work
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user