mob attack delay

This commit is contained in:
2024-03-28 22:29:47 -05:00
parent 0486fa52e4
commit 162a049f30
-4
View File
@@ -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.