Fixed Sel Mahum training groups.

This commit is contained in:
MobiusDevelopment
2019-06-09 05:01:07 +00:00
parent 712e2458b1
commit 7911fe332f
27 changed files with 6418 additions and 6418 deletions

View File

@@ -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
{

View File

@@ -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());
}
/**

View File

@@ -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
{

View File

@@ -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());
}
/**

View File

@@ -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
{

File diff suppressed because it is too large Load Diff

View File

@@ -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());
}
/**

View File

@@ -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
{

View File

@@ -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());
}
/**

View File

@@ -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
{

View File

@@ -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());
}
/**

View File

@@ -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
{

View File

@@ -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());
}
/**

View File

@@ -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
{

View File

@@ -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());
}
/**

View File

@@ -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
{

View File

@@ -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());
}
/**

View File

@@ -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());
}
/**

View File

@@ -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());
}
/**

View File

@@ -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());
}
/**

View File

@@ -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());
}
/**