From 7911fe332f9401b9f1368307b37e345c9c4a6e01 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sun, 9 Jun 2019 05:01:07 +0000 Subject: [PATCH] Fixed Sel Mahum training groups. --- .../SelMahumDrill.java | 2 +- .../spawns/Oren/SelMahumTrainingGrounds.xml | 1828 ++++++++--------- .../l2jmobius/gameserver/model/actor/Npc.java | 2 +- .../SelMahumDrill.java | 2 +- .../spawns/Oren/SelMahumTrainingGrounds.xml | 1828 ++++++++--------- .../l2jmobius/gameserver/model/actor/Npc.java | 2 +- .../SelMahumDrill.java | 2 +- .../spawns/Oren/SelMahumTrainingGrounds.xml | 1828 ++++++++--------- .../l2jmobius/gameserver/model/actor/Npc.java | 2 +- .../SelMahumDrill.java | 2 +- .../spawns/Oren/SelMahumTrainingGrounds.xml | 1828 ++++++++--------- .../l2jmobius/gameserver/model/actor/Npc.java | 2 +- .../SelMahumDrill.java | 2 +- .../spawns/Oren/SelMahumTrainingGrounds.xml | 1828 ++++++++--------- .../l2jmobius/gameserver/model/actor/Npc.java | 2 +- .../SelMahumDrill.java | 2 +- .../spawns/Oren/SelMahumTrainingGrounds.xml | 1828 ++++++++--------- .../l2jmobius/gameserver/model/actor/Npc.java | 2 +- .../SelMahumDrill.java | 2 +- .../spawns/Oren/SelMahumTrainingGrounds.xml | 1828 ++++++++--------- .../l2jmobius/gameserver/model/actor/Npc.java | 2 +- .../SelMahumDrill.java | 2 +- .../l2jmobius/gameserver/model/actor/Npc.java | 2 +- .../l2jmobius/gameserver/model/actor/Npc.java | 2 +- .../l2jmobius/gameserver/model/actor/Npc.java | 2 +- .../l2jmobius/gameserver/model/actor/Npc.java | 2 +- .../l2jmobius/gameserver/model/actor/Npc.java | 2 +- 27 files changed, 6418 insertions(+), 6418 deletions(-) diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java index e89a940a40..959510c47c 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java @@ -75,7 +75,7 @@ public final class SelMahumDrill extends AbstractNpcAI NpcStringId.LINE_UP_THE_RANKS }; // Chiefs event broadcast range - private static final int TRAINING_RANGE = 1000; + private static final int TRAINING_RANGE = 1500; private enum Actions { diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml b/L2J_Mobius_1.0_Ertheia/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml index cb20e23188..4cb50c0e7b 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml @@ -12,27 +12,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -40,27 +40,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -68,27 +68,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -96,27 +96,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -124,27 +124,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -152,29 +152,29 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -182,27 +182,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -210,27 +210,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -238,27 +238,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -266,23 +266,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -290,25 +290,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -316,23 +316,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -340,23 +340,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -364,24 +364,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -389,24 +389,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -414,27 +414,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -442,23 +442,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -466,22 +466,22 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -489,27 +489,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -517,23 +517,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -541,28 +541,28 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -570,19 +570,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -590,23 +590,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -614,27 +614,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -642,25 +642,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -668,19 +668,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -688,21 +688,21 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + @@ -710,19 +710,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -730,23 +730,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -754,23 +754,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -778,388 +778,388 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - + + + \ No newline at end of file diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Npc.java index 3eaac2dc40..256f1184cd 100644 --- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Npc.java +++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Npc.java @@ -1468,7 +1468,7 @@ public class Npc extends Creature */ public boolean isInMySpawnGroup(Npc npc) { - return ((getSpawn() != null) && (npc.getSpawn() != null) && (getSpawn().getName() != null) && (getSpawn().getName().equals(npc.getSpawn().getName()))); + return getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName().equals(npc.getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName()); } /** diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java index e89a940a40..959510c47c 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java @@ -75,7 +75,7 @@ public final class SelMahumDrill extends AbstractNpcAI NpcStringId.LINE_UP_THE_RANKS }; // Chiefs event broadcast range - private static final int TRAINING_RANGE = 1000; + private static final int TRAINING_RANGE = 1500; private enum Actions { diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml b/L2J_Mobius_2.5_Underground/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml index cb20e23188..4cb50c0e7b 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml +++ b/L2J_Mobius_2.5_Underground/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml @@ -12,27 +12,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -40,27 +40,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -68,27 +68,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -96,27 +96,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -124,27 +124,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -152,29 +152,29 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -182,27 +182,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -210,27 +210,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -238,27 +238,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -266,23 +266,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -290,25 +290,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -316,23 +316,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -340,23 +340,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -364,24 +364,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -389,24 +389,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -414,27 +414,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -442,23 +442,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -466,22 +466,22 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -489,27 +489,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -517,23 +517,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -541,28 +541,28 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -570,19 +570,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -590,23 +590,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -614,27 +614,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -642,25 +642,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -668,19 +668,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -688,21 +688,21 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + @@ -710,19 +710,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -730,23 +730,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -754,23 +754,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -778,388 +778,388 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - + + + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Npc.java index 1c8e48b6db..885765f492 100644 --- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Npc.java +++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Npc.java @@ -1468,7 +1468,7 @@ public class Npc extends Creature */ public boolean isInMySpawnGroup(Npc npc) { - return ((getSpawn() != null) && (npc.getSpawn() != null) && (getSpawn().getName() != null) && (getSpawn().getName().equals(npc.getSpawn().getName()))); + return getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName().equals(npc.getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName()); } /** diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java index e89a940a40..959510c47c 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java @@ -75,7 +75,7 @@ public final class SelMahumDrill extends AbstractNpcAI NpcStringId.LINE_UP_THE_RANKS }; // Chiefs event broadcast range - private static final int TRAINING_RANGE = 1000; + private static final int TRAINING_RANGE = 1500; private enum Actions { diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml b/L2J_Mobius_3.0_Helios/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml index cb20e23188..4cb50c0e7b 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml +++ b/L2J_Mobius_3.0_Helios/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml @@ -12,27 +12,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -40,27 +40,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -68,27 +68,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -96,27 +96,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -124,27 +124,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -152,29 +152,29 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -182,27 +182,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -210,27 +210,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -238,27 +238,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -266,23 +266,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -290,25 +290,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -316,23 +316,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -340,23 +340,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -364,24 +364,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -389,24 +389,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -414,27 +414,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -442,23 +442,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -466,22 +466,22 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -489,27 +489,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -517,23 +517,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -541,28 +541,28 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -570,19 +570,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -590,23 +590,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -614,27 +614,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -642,25 +642,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -668,19 +668,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -688,21 +688,21 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + @@ -710,19 +710,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -730,23 +730,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -754,23 +754,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -778,388 +778,388 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - + + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Npc.java index 1c8e48b6db..885765f492 100644 --- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Npc.java +++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Npc.java @@ -1468,7 +1468,7 @@ public class Npc extends Creature */ public boolean isInMySpawnGroup(Npc npc) { - return ((getSpawn() != null) && (npc.getSpawn() != null) && (getSpawn().getName() != null) && (getSpawn().getName().equals(npc.getSpawn().getName()))); + return getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName().equals(npc.getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName()); } /** diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java index e89a940a40..959510c47c 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java @@ -75,7 +75,7 @@ public final class SelMahumDrill extends AbstractNpcAI NpcStringId.LINE_UP_THE_RANKS }; // Chiefs event broadcast range - private static final int TRAINING_RANGE = 1000; + private static final int TRAINING_RANGE = 1500; private enum Actions { diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml index cb20e23188..4cb50c0e7b 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml @@ -12,27 +12,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -40,27 +40,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -68,27 +68,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -96,27 +96,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -124,27 +124,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -152,29 +152,29 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -182,27 +182,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -210,27 +210,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -238,27 +238,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -266,23 +266,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -290,25 +290,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -316,23 +316,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -340,23 +340,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -364,24 +364,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -389,24 +389,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -414,27 +414,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -442,23 +442,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -466,22 +466,22 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -489,27 +489,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -517,23 +517,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -541,28 +541,28 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -570,19 +570,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -590,23 +590,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -614,27 +614,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -642,25 +642,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -668,19 +668,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -688,21 +688,21 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + @@ -710,19 +710,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -730,23 +730,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -754,23 +754,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -778,388 +778,388 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - + + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Npc.java index 1c8e48b6db..885765f492 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Npc.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Npc.java @@ -1468,7 +1468,7 @@ public class Npc extends Creature */ public boolean isInMySpawnGroup(Npc npc) { - return ((getSpawn() != null) && (npc.getSpawn() != null) && (getSpawn().getName() != null) && (getSpawn().getName().equals(npc.getSpawn().getName()))); + return getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName().equals(npc.getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName()); } /** diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java index e89a940a40..959510c47c 100644 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java @@ -75,7 +75,7 @@ public final class SelMahumDrill extends AbstractNpcAI NpcStringId.LINE_UP_THE_RANKS }; // Chiefs event broadcast range - private static final int TRAINING_RANGE = 1000; + private static final int TRAINING_RANGE = 1500; private enum Actions { diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml b/L2J_Mobius_5.0_Salvation/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml index cb20e23188..4cb50c0e7b 100644 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml @@ -12,27 +12,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -40,27 +40,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -68,27 +68,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -96,27 +96,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -124,27 +124,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -152,29 +152,29 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -182,27 +182,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -210,27 +210,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -238,27 +238,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -266,23 +266,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -290,25 +290,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -316,23 +316,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -340,23 +340,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -364,24 +364,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -389,24 +389,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -414,27 +414,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -442,23 +442,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -466,22 +466,22 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -489,27 +489,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -517,23 +517,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -541,28 +541,28 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -570,19 +570,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -590,23 +590,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -614,27 +614,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -642,25 +642,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -668,19 +668,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -688,21 +688,21 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + @@ -710,19 +710,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -730,23 +730,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -754,23 +754,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -778,388 +778,388 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Npc.java index 1c8e48b6db..885765f492 100644 --- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Npc.java +++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Npc.java @@ -1468,7 +1468,7 @@ public class Npc extends Creature */ public boolean isInMySpawnGroup(Npc npc) { - return ((getSpawn() != null) && (npc.getSpawn() != null) && (getSpawn().getName() != null) && (getSpawn().getName().equals(npc.getSpawn().getName()))); + return getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName().equals(npc.getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName()); } /** diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java index e89a940a40..959510c47c 100644 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java @@ -75,7 +75,7 @@ public final class SelMahumDrill extends AbstractNpcAI NpcStringId.LINE_UP_THE_RANKS }; // Chiefs event broadcast range - private static final int TRAINING_RANGE = 1000; + private static final int TRAINING_RANGE = 1500; private enum Actions { diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml b/L2J_Mobius_5.5_EtinasFate/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml index cb20e23188..4cb50c0e7b 100644 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml @@ -12,27 +12,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -40,27 +40,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -68,27 +68,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -96,27 +96,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -124,27 +124,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -152,29 +152,29 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -182,27 +182,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -210,27 +210,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -238,27 +238,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -266,23 +266,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -290,25 +290,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -316,23 +316,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -340,23 +340,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -364,24 +364,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -389,24 +389,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -414,27 +414,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -442,23 +442,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -466,22 +466,22 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -489,27 +489,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -517,23 +517,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -541,28 +541,28 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -570,19 +570,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -590,23 +590,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -614,27 +614,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -642,25 +642,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -668,19 +668,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -688,21 +688,21 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + @@ -710,19 +710,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -730,23 +730,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -754,23 +754,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -778,388 +778,388 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Npc.java index 1c8e48b6db..885765f492 100644 --- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Npc.java +++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Npc.java @@ -1468,7 +1468,7 @@ public class Npc extends Creature */ public boolean isInMySpawnGroup(Npc npc) { - return ((getSpawn() != null) && (npc.getSpawn() != null) && (getSpawn().getName() != null) && (getSpawn().getName().equals(npc.getSpawn().getName()))); + return getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName().equals(npc.getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName()); } /** diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java index e89a940a40..959510c47c 100644 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java @@ -75,7 +75,7 @@ public final class SelMahumDrill extends AbstractNpcAI NpcStringId.LINE_UP_THE_RANKS }; // Chiefs event broadcast range - private static final int TRAINING_RANGE = 1000; + private static final int TRAINING_RANGE = 1500; private enum Actions { diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml b/L2J_Mobius_6.0_Fafurion/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml index cb20e23188..4cb50c0e7b 100644 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/spawns/Oren/SelMahumTrainingGrounds.xml @@ -12,27 +12,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -40,27 +40,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -68,27 +68,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -96,27 +96,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -124,27 +124,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -152,29 +152,29 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -182,27 +182,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -210,27 +210,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -238,27 +238,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -266,23 +266,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -290,25 +290,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -316,23 +316,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -340,23 +340,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -364,24 +364,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -389,24 +389,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -414,27 +414,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -442,23 +442,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -466,22 +466,22 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -489,27 +489,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -517,23 +517,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -541,28 +541,28 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -570,19 +570,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -590,23 +590,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -614,27 +614,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -642,25 +642,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -668,19 +668,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -688,21 +688,21 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + @@ -710,19 +710,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -730,23 +730,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -754,23 +754,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -778,388 +778,388 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Npc.java index 1c8e48b6db..885765f492 100644 --- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Npc.java +++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Npc.java @@ -1468,7 +1468,7 @@ public class Npc extends Creature */ public boolean isInMySpawnGroup(Npc npc) { - return ((getSpawn() != null) && (npc.getSpawn() != null) && (getSpawn().getName() != null) && (getSpawn().getName().equals(npc.getSpawn().getName()))); + return getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName().equals(npc.getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName()); } /** diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java index e89a940a40..959510c47c 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumDrill.java @@ -75,7 +75,7 @@ public final class SelMahumDrill extends AbstractNpcAI NpcStringId.LINE_UP_THE_RANKS }; // Chiefs event broadcast range - private static final int TRAINING_RANGE = 1000; + private static final int TRAINING_RANGE = 1500; private enum Actions { diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Npc.java index db2cda5caa..494438e5fb 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Npc.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Npc.java @@ -1468,7 +1468,7 @@ public class Npc extends Creature */ public boolean isInMySpawnGroup(Npc npc) { - return ((getSpawn() != null) && (npc.getSpawn() != null) && (getSpawn().getName() != null) && (getSpawn().getName().equals(npc.getSpawn().getName()))); + return getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName().equals(npc.getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName()); } /** diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Npc.java index db2cda5caa..494438e5fb 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Npc.java +++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Npc.java @@ -1468,7 +1468,7 @@ public class Npc extends Creature */ public boolean isInMySpawnGroup(Npc npc) { - return ((getSpawn() != null) && (npc.getSpawn() != null) && (getSpawn().getName() != null) && (getSpawn().getName().equals(npc.getSpawn().getName()))); + return getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName().equals(npc.getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName()); } /** diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Npc.java index db2cda5caa..494438e5fb 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Npc.java +++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Npc.java @@ -1468,7 +1468,7 @@ public class Npc extends Creature */ public boolean isInMySpawnGroup(Npc npc) { - return ((getSpawn() != null) && (npc.getSpawn() != null) && (getSpawn().getName() != null) && (getSpawn().getName().equals(npc.getSpawn().getName()))); + return getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName().equals(npc.getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName()); } /** diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Npc.java index db2cda5caa..494438e5fb 100644 --- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Npc.java +++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Npc.java @@ -1468,7 +1468,7 @@ public class Npc extends Creature */ public boolean isInMySpawnGroup(Npc npc) { - return ((getSpawn() != null) && (npc.getSpawn() != null) && (getSpawn().getName() != null) && (getSpawn().getName().equals(npc.getSpawn().getName()))); + return getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName().equals(npc.getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName()); } /** diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Npc.java index db2cda5caa..494438e5fb 100644 --- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Npc.java +++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Npc.java @@ -1468,7 +1468,7 @@ public class Npc extends Creature */ public boolean isInMySpawnGroup(Npc npc) { - return ((getSpawn() != null) && (npc.getSpawn() != null) && (getSpawn().getName() != null) && (getSpawn().getName().equals(npc.getSpawn().getName()))); + return getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName().equals(npc.getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName()); } /**