HZ related stuff

This commit is contained in:
2025-03-16 15:41:28 -05:00
parent 873e56f076
commit 87675bb950
@@ -178,6 +178,11 @@ public class HotzoneManager {
if(ZoneManager.hotZone == null)
return;
if(lastPulseTime + 5000L > System.currentTimeMillis())
return;
lastPulseTime = System.currentTimeMillis();
HashSet<AbstractWorldObject> inRange = WorldGrid.getObjectsInRangePartial(ZoneManager.hotZone.getLoc(),ZoneManager.hotZone.getBounds().getHalfExtents().x * 2, MBServerStatics.MASK_PLAYER);
for(AbstractWorldObject awo : inRange){
PlayerCharacter pc = (PlayerCharacter)awo;