Fixed Kartia party teleport inside.

This commit is contained in:
MobiusDev
2016-02-07 10:54:29 +00:00
parent 5e2a401875
commit 0669baa52d

View File

@@ -84,7 +84,6 @@ public final class KartiasLabyrinth extends AbstractInstance
BOSSES.add(25883); BOSSES.add(25883);
BOSSES.add(25884); BOSSES.add(25884);
} }
private static final List<Integer> MONSTERS = new ArrayList<>(); private static final List<Integer> MONSTERS = new ArrayList<>();
static static
{ {
@@ -107,7 +106,6 @@ public final class KartiasLabyrinth extends AbstractInstance
MONSTERS.add(19236); MONSTERS.add(19236);
MONSTERS.add(19237); MONSTERS.add(19237);
} }
// Locations // Locations
private static final Location START_LOC = new Location(-107481, -10435, -12064); private static final Location START_LOC = new Location(-107481, -10435, -12064);
private static final Location VANGUARD_SPAWN_LOC = new Location(-109032, -10440, -11949, 32800); private static final Location VANGUARD_SPAWN_LOC = new Location(-109032, -10440, -11949, 32800);
@@ -232,9 +230,11 @@ public final class KartiasLabyrinth extends AbstractInstance
} }
} }
final KartiaWorld world = new KartiaWorld(); final KartiaWorld world = new KartiaWorld();
enterInstance(player, world, "KartiasLabyrinthIncarnationOfGreedZellakaParty.xml", PARTY_85_TEMPLATE_ID);
for (L2PcInstance member : player.getParty().getMembers()) for (L2PcInstance member : player.getParty().getMembers())
{ {
enterInstance(member, world, "KartiasLabyrinthIncarnationOfGreedZellakaParty.xml", PARTY_85_TEMPLATE_ID); world.addAllowed(member.getObjectId());
member.teleToLocation(player, true);
} }
htmltext = "33647-5.htm"; htmltext = "33647-5.htm";
} }
@@ -256,9 +256,11 @@ public final class KartiasLabyrinth extends AbstractInstance
} }
} }
final KartiaWorld world = new KartiaWorld(); final KartiaWorld world = new KartiaWorld();
enterInstance(player, world, "KartiasLabyrinthIncarnationOfJealousyPellineParty.xml", PARTY_90_TEMPLATE_ID);
for (L2PcInstance member : player.getParty().getMembers()) for (L2PcInstance member : player.getParty().getMembers())
{ {
enterInstance(member, world, "KartiasLabyrinthIncarnationOfJealousyPellineParty.xml", PARTY_90_TEMPLATE_ID); world.addAllowed(member.getObjectId());
member.teleToLocation(player, true);
} }
htmltext = "33647-5.htm"; htmltext = "33647-5.htm";
} }
@@ -280,9 +282,11 @@ public final class KartiasLabyrinth extends AbstractInstance
} }
} }
final KartiaWorld world = new KartiaWorld(); final KartiaWorld world = new KartiaWorld();
enterInstance(player, world, "KartiasLabyrinthIncarnationOfGluttonyKaliosParty.xml", PARTY_95_TEMPLATE_ID);
for (L2PcInstance member : player.getParty().getMembers()) for (L2PcInstance member : player.getParty().getMembers())
{ {
enterInstance(member, world, "KartiasLabyrinthIncarnationOfGluttonyKaliosParty.xml", PARTY_95_TEMPLATE_ID); world.addAllowed(member.getObjectId());
member.teleToLocation(player, true);
} }
htmltext = "33647-5.htm"; htmltext = "33647-5.htm";
} }