From 169f49e6c33f4d179905dcd0baec91555711fc44 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 3 Mar 2025 19:57:21 -0600 Subject: [PATCH] simplified mob aI --- src/engine/mobileAI/Behaviours/StandardMob.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/mobileAI/Behaviours/StandardMob.java b/src/engine/mobileAI/Behaviours/StandardMob.java index d411cb4d..fd6687ce 100644 --- a/src/engine/mobileAI/Behaviours/StandardMob.java +++ b/src/engine/mobileAI/Behaviours/StandardMob.java @@ -199,6 +199,9 @@ public class StandardMob { if(mob.isMoving()) return; + if(mob.getLastAttackTime() > System.currentTimeMillis()) + return; + if (mob.BehaviourType.callsForHelp) MobCallForHelp(mob);