From 87675bb950f392da43e349445bb7e599d9c0ca82 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 16 Mar 2025 15:41:28 -0500 Subject: [PATCH] HZ related stuff --- src/engine/gameManager/HotzoneManager.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/gameManager/HotzoneManager.java b/src/engine/gameManager/HotzoneManager.java index c2f23f0b..0acf3dad 100644 --- a/src/engine/gameManager/HotzoneManager.java +++ b/src/engine/gameManager/HotzoneManager.java @@ -178,6 +178,11 @@ public class HotzoneManager { if(ZoneManager.hotZone == null) return; + if(lastPulseTime + 5000L > System.currentTimeMillis()) + return; + + lastPulseTime = System.currentTimeMillis(); + HashSet inRange = WorldGrid.getObjectsInRangePartial(ZoneManager.hotZone.getLoc(),ZoneManager.hotZone.getBounds().getHalfExtents().x * 2, MBServerStatics.MASK_PLAYER); for(AbstractWorldObject awo : inRange){ PlayerCharacter pc = (PlayerCharacter)awo;