From 162a049f301b083e98091fc07d27dbdd65b74bb2 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 28 Mar 2024 22:29:47 -0500 Subject: [PATCH] mob attack delay --- src/engine/mobileAI/MobAI.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index 9eac8c5c..9bd693f1 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -109,10 +109,6 @@ public class MobAI { if (mob.getRange() * mob.getRange() >= mob.loc.distanceSquared(target.loc)) { - //no weapons, default mob attack speed 3 seconds. - - if (System.currentTimeMillis() < mob.getNextAttackTime()) - return; // ranged mobs cant attack while running. skip until they finally stop.