Browse Source

aggro raneg configurable

master
FatBoy-DOTC 1 year ago
parent
commit
c8b91fc264
  1. 1
      src/engine/mobileAI/Threads/MobAIThread.java

1
src/engine/mobileAI/Threads/MobAIThread.java

@ -25,6 +25,7 @@ public class MobAIThread implements Runnable{ @@ -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()) {

Loading…
Cancel
Save