Make use of teleporter spawn in instance XML.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user