From c8b91fc264a20f4841ec1aed621ecf8aec27c610 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 8 Aug 2023 10:56:33 -0500 Subject: [PATCH] aggro raneg configurable --- src/engine/mobileAI/Threads/MobAIThread.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/mobileAI/Threads/MobAIThread.java b/src/engine/mobileAI/Threads/MobAIThread.java index a10e6c24..b3699879 100644 --- a/src/engine/mobileAI/Threads/MobAIThread.java +++ b/src/engine/mobileAI/Threads/MobAIThread.java @@ -25,6 +25,7 @@ public class MobAIThread implements Runnable{ public void run() { //cache config value for mobile casting delay AI_CAST_FREQUENCY = Float.parseFloat(ConfigManager.MB_AI_CAST_FREQUENCY.getValue()); + AI_BASE_AGGRO_RANGE = (int)(60 * Float.parseFloat(ConfigManager.MB_AI_AGGRO_RANGE.getValue())); while (true) { for (Zone zone : ZoneManager.getAllZones()) {