Make use of teleporter spawn in instance XML.

This commit is contained in:
MobiusDevelopment
2021-01-22 03:56:22 +00:00
parent 54243f5a23
commit f8d64089d8
4 changed files with 4 additions and 8 deletions

View File

@@ -39,7 +39,6 @@ public class Camille extends AbstractInstance
private static final int ERDA = 34319; private static final int ERDA = 34319;
// Locations // Locations
private static final Location ENTER_LOCATION = new Location(-245768, 147832, 4662); private static final Location ENTER_LOCATION = new Location(-245768, 147832, 4662);
private static final Location TELEPORTER_LOCATION = new Location(-245752, 151112, 4662);
private static final Location CAMILLE_LOCATION = new Location(-245752, 150392, 11845); private static final Location CAMILLE_LOCATION = new Location(-245752, 150392, 11845);
// Misc // Misc
private static final int TEMPLATE_ID = 266; private static final int TEMPLATE_ID = 266;
@@ -100,7 +99,7 @@ public class Camille extends AbstractInstance
} }
case ISBURG: case ISBURG:
{ {
addSpawn(TRANSMISSION_UNIT, TELEPORTER_LOCATION, false, 0, false, world.getId()); world.spawnGroup("teleport");
world.setReenterTime(); world.setReenterTime();
break; break;
} }

View File

@@ -39,7 +39,6 @@ public class Camille extends AbstractInstance
private static final int ERDA = 34319; private static final int ERDA = 34319;
// Locations // Locations
private static final Location ENTER_LOCATION = new Location(-245768, 147832, 4662); private static final Location ENTER_LOCATION = new Location(-245768, 147832, 4662);
private static final Location TELEPORTER_LOCATION = new Location(-245752, 151112, 4662);
private static final Location CAMILLE_LOCATION = new Location(-245752, 150392, 11845); private static final Location CAMILLE_LOCATION = new Location(-245752, 150392, 11845);
// Misc // Misc
private static final int TEMPLATE_ID = 266; private static final int TEMPLATE_ID = 266;
@@ -100,7 +99,7 @@ public class Camille extends AbstractInstance
} }
case ISBURG: case ISBURG:
{ {
addSpawn(TRANSMISSION_UNIT, TELEPORTER_LOCATION, false, 0, false, world.getId()); world.spawnGroup("teleport");
world.setReenterTime(); world.setReenterTime();
break; break;
} }

View File

@@ -39,7 +39,6 @@ public class Camille extends AbstractInstance
private static final int ERDA = 34319; private static final int ERDA = 34319;
// Locations // Locations
private static final Location ENTER_LOCATION = new Location(-245768, 147832, 4662); private static final Location ENTER_LOCATION = new Location(-245768, 147832, 4662);
private static final Location TELEPORTER_LOCATION = new Location(-245752, 151112, 4662);
private static final Location CAMILLE_LOCATION = new Location(-245752, 150392, 11845); private static final Location CAMILLE_LOCATION = new Location(-245752, 150392, 11845);
// Misc // Misc
private static final int TEMPLATE_ID = 266; private static final int TEMPLATE_ID = 266;
@@ -100,7 +99,7 @@ public class Camille extends AbstractInstance
} }
case ISBURG: case ISBURG:
{ {
addSpawn(TRANSMISSION_UNIT, TELEPORTER_LOCATION, false, 0, false, world.getId()); world.spawnGroup("teleport");
world.setReenterTime(); world.setReenterTime();
break; break;
} }

View File

@@ -39,7 +39,6 @@ public class Camille extends AbstractInstance
private static final int ERDA = 34319; private static final int ERDA = 34319;
// Locations // Locations
private static final Location ENTER_LOCATION = new Location(-245768, 147832, 4662); private static final Location ENTER_LOCATION = new Location(-245768, 147832, 4662);
private static final Location TELEPORTER_LOCATION = new Location(-245752, 151112, 4662);
private static final Location CAMILLE_LOCATION = new Location(-245752, 150392, 11845); private static final Location CAMILLE_LOCATION = new Location(-245752, 150392, 11845);
// Misc // Misc
private static final int TEMPLATE_ID = 266; private static final int TEMPLATE_ID = 266;
@@ -100,7 +99,7 @@ public class Camille extends AbstractInstance
} }
case ISBURG: case ISBURG:
{ {
addSpawn(TRANSMISSION_UNIT, TELEPORTER_LOCATION, false, 0, false, world.getId()); world.spawnGroup("teleport");
world.setReenterTime(); world.setReenterTime();
break; break;
} }