diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/DungeonOfAbyssZone.java b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/DungeonOfAbyssZone.java deleted file mode 100644 index bdafce6134..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/DungeonOfAbyssZone.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.areas.DungeonOfAbyss; - -import org.l2jmobius.gameserver.instancemanager.ZoneManager; -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Creature; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.zone.ZoneType; - -import ai.AbstractNpcAI; - -/** - * @author Mobius - */ -public class DungeonOfAbyssZone extends AbstractNpcAI -{ - private static final ZoneType ABYSS_WEST_ZONE_1 = ZoneManager.getInstance().getZoneByName("The West Dungeon of Abyss"); - private static final ZoneType ABYSS_WEST_ZONE_2 = ZoneManager.getInstance().getZoneByName("The West Dungeon of Abyss 2nd"); - private static final ZoneType ABYSS_EAST_ZONE_3 = ZoneManager.getInstance().getZoneByName("The East Dungeon of Abyss"); - private static final ZoneType ABYSS_EAST_ZONE_4 = ZoneManager.getInstance().getZoneByName("The East Dungeon of Abyss 2nd"); - - private static final ZoneType ABYSS_WEST_ZONE_BOSS_1 = ZoneManager.getInstance().getZoneByName("The West Dungeon of Abyss Boss Room"); - private static final ZoneType ABYSS_WEST_ZONE_BOSS_2 = ZoneManager.getInstance().getZoneByName("The West Dungeon of Abyss 2nd Boss Room"); - private static final ZoneType ABYSS_EAST_ZONE_BOSS_3 = ZoneManager.getInstance().getZoneByName("The East Dungeon of Abyss Boss Room"); - private static final ZoneType ABYSS_EAST_ZONE_BOSS_4 = ZoneManager.getInstance().getZoneByName("The East Dungeon of Abyss 2nd Boss Room"); - - private static final int EXIT_TIME = 60 * 60 * 1000; // 60 minute - private static final int EXIT_TIME_BOSS_ROOM = 30 * 60 * 1000; // 60 minute - private static final Location EXIT_LOCATION_1 = new Location(-120019, -182575, -6751); // Move to Magrit - private static final Location EXIT_LOCATION_2 = new Location(-119977, -179753, -6751); // Move to Ingrit - private static final Location EXIT_LOCATION_3 = new Location(-109554, -180408, -6753); // Move to Iris - private static final Location EXIT_LOCATION_4 = new Location(-109595, -177560, -6753); // Move to Rosammy - - private DungeonOfAbyssZone() - { - addEnterZoneId(ABYSS_WEST_ZONE_1.getId(), ABYSS_WEST_ZONE_2.getId(), ABYSS_EAST_ZONE_3.getId(), ABYSS_EAST_ZONE_4.getId(), ABYSS_WEST_ZONE_BOSS_1.getId(), ABYSS_WEST_ZONE_BOSS_2.getId(), ABYSS_EAST_ZONE_BOSS_3.getId(), ABYSS_EAST_ZONE_BOSS_4.getId()); - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - if (event.startsWith("EXIT_PLAYER") && (player != null)) - { - if (event.contains(ABYSS_WEST_ZONE_1.getName()) && ABYSS_WEST_ZONE_1.getPlayersInside().contains(player)) - { - player.teleToLocation(EXIT_LOCATION_1); - } - else if (event.contains(ABYSS_WEST_ZONE_2.getName()) && ABYSS_WEST_ZONE_2.getPlayersInside().contains(player)) - { - player.teleToLocation(EXIT_LOCATION_2); - } - else if (event.contains(ABYSS_EAST_ZONE_3.getName()) && ABYSS_EAST_ZONE_3.getPlayersInside().contains(player)) - { - player.teleToLocation(EXIT_LOCATION_3); - } - else if (event.contains(ABYSS_EAST_ZONE_4.getName()) && ABYSS_EAST_ZONE_4.getPlayersInside().contains(player)) - { - player.teleToLocation(EXIT_LOCATION_4); - } - else if (event.contains(ABYSS_WEST_ZONE_BOSS_1.getName()) && ABYSS_WEST_ZONE_BOSS_1.getPlayersInside().contains(player)) - { - player.teleToLocation(EXIT_LOCATION_1); - } - else if (event.contains(ABYSS_WEST_ZONE_BOSS_2.getName()) && ABYSS_WEST_ZONE_BOSS_2.getPlayersInside().contains(player)) - { - player.teleToLocation(EXIT_LOCATION_2); - } - else if (event.contains(ABYSS_EAST_ZONE_BOSS_3.getName()) && ABYSS_EAST_ZONE_BOSS_3.getPlayersInside().contains(player)) - { - player.teleToLocation(EXIT_LOCATION_3); - } - else if (event.contains(ABYSS_EAST_ZONE_BOSS_4.getName()) && ABYSS_EAST_ZONE_BOSS_4.getPlayersInside().contains(player)) - { - player.teleToLocation(EXIT_LOCATION_4); - } - } - return super.onAdvEvent(event, npc, player); - } - - @Override - public String onEnterZone(Creature creature, ZoneType zone) - { - if (creature.isPlayer()) - { - final PlayerInstance player = creature.getActingPlayer(); - cancelQuestTimer("EXIT_PLAYER" + ABYSS_WEST_ZONE_1.getName() + player.getObjectId(), null, player); - cancelQuestTimer("EXIT_PLAYER" + ABYSS_WEST_ZONE_2.getName() + player.getObjectId(), null, player); - cancelQuestTimer("EXIT_PLAYER" + ABYSS_EAST_ZONE_3.getName() + player.getObjectId(), null, player); - cancelQuestTimer("EXIT_PLAYER" + ABYSS_EAST_ZONE_4.getName() + player.getObjectId(), null, player); - cancelQuestTimer("EXIT_PLAYER" + ABYSS_WEST_ZONE_BOSS_1.getName() + player.getObjectId(), null, player); - cancelQuestTimer("EXIT_PLAYER" + ABYSS_WEST_ZONE_BOSS_2.getName() + player.getObjectId(), null, player); - cancelQuestTimer("EXIT_PLAYER" + ABYSS_EAST_ZONE_BOSS_3.getName() + player.getObjectId(), null, player); - cancelQuestTimer("EXIT_PLAYER" + ABYSS_EAST_ZONE_BOSS_4.getName() + player.getObjectId(), null, player); - startQuestTimer("EXIT_PLAYER" + zone.getName() + player.getObjectId(), zone.getName().contains("boss") ? EXIT_TIME_BOSS_ROOM : EXIT_TIME, null, player); - } - return super.onEnterZone(creature, zone); - } - - public static void main(String[] args) - { - new DungeonOfAbyssZone(); - } -} diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31774-1.htm b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31774-1.htm deleted file mode 100644 index 9a769e2ac5..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31774-1.htm +++ /dev/null @@ -1,8 +0,0 @@ -body>Magrit:
-The Death Eater is the most powerful and dangerous creature in this prison. -If you have the Key from the Central Part of the Western Wing of the Dungeon of Abyss, You can get to the Death Eater. -However, remember: you will be alone with him. No one will come to your rescue. In addition, you will only have 30 minutes to destroy it.
-If you decide to retreat or fail and want to try your luck some other time, you will need a new key.
-And more: if the quantity and weight of items in your inventory will exceed 80%, You can not get a reward, so take care of an empty seat before the battle begins.
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31774.htm b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31774.htm deleted file mode 100644 index 92f5cee08f..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31774.htm +++ /dev/null @@ -1,8 +0,0 @@ -Magrit:
-An incident occurred in this terrifying prison and put the whole Kingdom of Aden at risk..
- - - - - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31775-1.htm b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31775-1.htm deleted file mode 100644 index 7a69e0ecee..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31775-1.htm +++ /dev/null @@ -1,8 +0,0 @@ -Ingrit:
-The Death Eater is the most powerful and dangerous creature in this prison. -If you have the Key from the Central Part of the Western Wing of the Dungeon of Abyss, You can get to the Death Eater. -However, remember: you will be alone with him. No one will come to your rescue. In addition, you will only have 30 minutes to destroy it.
-If you decide to retreat or fail and want to try your luck some other time, you will need a new key.
-And more: if the quantity and weight of items in your inventory will exceed 80%, You can not get a reward, so take care of an empty seat before the battle begins.
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31775.htm b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31775.htm deleted file mode 100644 index 9d999cf2a2..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31775.htm +++ /dev/null @@ -1,8 +0,0 @@ -Ingrit:
-An incident occurred in this terrifying prison and put the whole Kingdom of Aden at risk..
- - - - - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31776-1.htm b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31776-1.htm deleted file mode 100644 index b1d5bb33d1..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31776-1.htm +++ /dev/null @@ -1,8 +0,0 @@ -Iris:
-The Death Eater is the most powerful and dangerous creature in this prison. -If you have the Key from the Central Part of the Western Wing of the Dungeon of Abyss, You can get to the Death Eater. -However, remember: you will be alone with him. No one will come to your rescue. In addition, you will only have 30 minutes to destroy it.
-If you decide to retreat or fail and want to try your luck some other time, you will need a new key.
-And more: if the quantity and weight of items in your inventory will exceed 80%, You can not get a reward, so take care of an empty seat before the battle begins.
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31776.htm b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31776.htm deleted file mode 100644 index cc9e9a75a4..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31776.htm +++ /dev/null @@ -1,8 +0,0 @@ -Iris:
-An incident occurred in this terrifying prison and put the whole Kingdom of Aden at risk..
- - - - - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31777-1.htm b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31777-1.htm deleted file mode 100644 index e32e97fbf2..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31777-1.htm +++ /dev/null @@ -1,8 +0,0 @@ -Rosammy:
-The Death Eater is the most powerful and dangerous creature in this prison. -If you have the Key from the Central Part of the Western Wing of the Dungeon of Abyss, You can get to the Death Eater. -However, remember: you will be alone with him. No one will come to your rescue. In addition, you will only have 30 minutes to destroy it.
-If you decide to retreat or fail and want to try your luck some other time, you will need a new key.
-And more: if the quantity and weight of items in your inventory will exceed 80%, You can not get a reward, so take care of an empty seat before the battle begins.
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31777.htm b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31777.htm deleted file mode 100644 index 5fa420b7da..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31777.htm +++ /dev/null @@ -1,8 +0,0 @@ -Rosammy:
-An incident occurred in this terrifying prison and put the whole Kingdom of Aden at risk..
- - - - - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Ingrit.java b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Ingrit.java deleted file mode 100644 index 321c955fe1..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Ingrit.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.areas.DungeonOfAbyss.SoulTracker; - -import java.util.HashMap; -import java.util.Map; - -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.QuestState; - -import ai.AbstractNpcAI; - -/** - * @author QuangNguyen - */ -public class Ingrit extends AbstractNpcAI -{ - // NPC - private static final int SOUL_TRACKER_INRGIT = 31775; - // Item - private static final int KEY_OF_WEST_WING = 90010; - // Locations - private static final Map LOCATIONS = new HashMap<>(); - static - { - LOCATIONS.put("1", new Location(-119533, -179641, -6751)); // Join Room from Ingrit - LOCATIONS.put("2", new Location(-120325, -182444, -6752)); // Move to West Wing 1nd - LOCATIONS.put("3", new Location(-116975, -178699, -6751)); // Go to the Condemned of Abyss Prison - LOCATIONS.put("4", new Location(146945, 26764, -2200)); // Return to Aden - } - - private Ingrit() - { - addStartNpc(SOUL_TRACKER_INRGIT); - addTalkId(SOUL_TRACKER_INRGIT); - addFirstTalkId(SOUL_TRACKER_INRGIT); - } - - @Override - public String onFirstTalk(Npc npc, PlayerInstance player) - { - return npc.getId() + ".htm"; - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - if (npc.getId() == SOUL_TRACKER_INRGIT) - { - final QuestState qs = player.getQuestState("Q00933_ExploringTheWestWingOfTheDungeonOfAbyss"); - switch (event) - { - case "1": - { - if ((qs != null) && qs.isStarted()) - { - player.teleToLocation(LOCATIONS.get(event), false); // Join Room from Ingrit - } - else - { - return "no_enter.htm"; - } - break; - } - case "2": - { - player.teleToLocation(LOCATIONS.get(event), false); // Move to West Wing 1nd - break; - } - case "3": - { - if (!hasQuestItems(player, KEY_OF_WEST_WING)) - { - return "no_key.htm"; - } - player.teleToLocation(LOCATIONS.get(event), false); // Go to the Condemned of Abyss Prison - break; - } - case "4": - { - player.teleToLocation(LOCATIONS.get(event), false); // Return to Aden - break; - } - } - } - return super.onAdvEvent(event, npc, player); - } - - public static void main(String[] args) - { - new Ingrit(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Iris.java b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Iris.java deleted file mode 100644 index feb34a180e..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Iris.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.areas.DungeonOfAbyss.SoulTracker; - -import java.util.HashMap; -import java.util.Map; - -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.QuestState; - -import ai.AbstractNpcAI; - -/** - * @author QuangNguyen - */ -public class Iris extends AbstractNpcAI -{ - // NPC - private static final int SOUL_TRACKER_IRIS = 31776; - // Item - private static final int KEY_OF_EAST_WING = 90011; - // Locations - private static final Map LOCATIONS = new HashMap<>(); - static - { - LOCATIONS.put("1", new Location(-110038, -180560, -6754)); // Join Room from Iris - LOCATIONS.put("2", new Location(-109234, -177737, -6751)); // Move to East Wing 2nd - LOCATIONS.put("3", new Location(-112648, -181517, -6751)); // Go to the Condemned of Abyss Prison - LOCATIONS.put("4", new Location(146945, 26764, -2200)); // Return to Aden - } - - private Iris() - { - addStartNpc(SOUL_TRACKER_IRIS); - addTalkId(SOUL_TRACKER_IRIS); - addFirstTalkId(SOUL_TRACKER_IRIS); - } - - @Override - public String onFirstTalk(Npc npc, PlayerInstance player) - { - return npc.getId() + ".htm"; - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - if (npc.getId() == SOUL_TRACKER_IRIS) - { - final QuestState qs = player.getQuestState("Q00935_ExploringTheEastWingOfTheDungeonOfAbyss"); - switch (event) - { - case "1": - { - if ((qs != null) && qs.isStarted()) - { - player.teleToLocation(LOCATIONS.get(event), false); // Join Room form Iris - } - else - { - return "no_enter.htm"; - } - break; - } - case "2": - { - player.teleToLocation(LOCATIONS.get(event), false); // Move to East Wing 2nd - break; - } - case "3": - { - if (!hasQuestItems(player, KEY_OF_EAST_WING)) - { - return "no_key.htm"; - } - player.teleToLocation(LOCATIONS.get(event), false); // Go to the Condemned of Abyss Prison - break; - } - case "4": - { - player.teleToLocation(LOCATIONS.get(event), false); // Return to Aden - break; - } - } - } - return super.onAdvEvent(event, npc, player); - } - - public static void main(String[] args) - { - new Iris(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Magrit.java b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Magrit.java deleted file mode 100644 index 21b84e7f5c..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Magrit.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.areas.DungeonOfAbyss.SoulTracker; - -import java.util.HashMap; -import java.util.Map; - -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.QuestState; - -import ai.AbstractNpcAI; - -/** - * @author QuangNguyen - */ -public class Magrit extends AbstractNpcAI -{ - // NPC - private static final int SOUL_TRACKER_MARGIT = 31774; - // Item - private static final int KEY_OF_WEST_WING = 90010; - // Locations - private static final Map LOCATIONS = new HashMap<>(); - static - { - LOCATIONS.put("1", new Location(-119440, -182464, -6752)); // Join Room from Magrit - LOCATIONS.put("2", new Location(-120394, -179651, -6751)); // Move to West Wing 2nd - LOCATIONS.put("3", new Location(-116963, -181492, -6575)); // Go to the Condemned of Abyss Prison - LOCATIONS.put("4", new Location(146945, 26764, -2200)); // Return to Aden - } - - private Magrit() - { - addStartNpc(SOUL_TRACKER_MARGIT); - addTalkId(SOUL_TRACKER_MARGIT); - addFirstTalkId(SOUL_TRACKER_MARGIT); - } - - @Override - public String onFirstTalk(Npc npc, PlayerInstance player) - { - return npc.getId() + ".htm"; - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - if (npc.getId() == SOUL_TRACKER_MARGIT) - { - final QuestState qs = player.getQuestState("Q00933_ExploringTheWestWingOfTheDungeonOfAbyss"); - switch (event) - { - case "1": - { - if ((qs != null) && qs.isStarted()) - { - player.teleToLocation(LOCATIONS.get(event), false); // Join Room from Magrit - } - else - { - return "no_enter.htm"; - } - break; - } - case "2": - { - player.teleToLocation(LOCATIONS.get(event), false); // Move to West Wing 2nd - break; - } - case "3": - { - if (!hasQuestItems(player, KEY_OF_WEST_WING)) - { - return "no_key.htm"; - } - player.teleToLocation(LOCATIONS.get(event), false); // Go to the Condemned of Abyss Prison - break; - } - case "4": - { - player.teleToLocation(LOCATIONS.get(event), false); // Return to Aden - break; - } - } - } - return super.onAdvEvent(event, npc, player); - } - - public static void main(String[] args) - { - new Magrit(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Rosammy.java b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Rosammy.java deleted file mode 100644 index 9b7e091785..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Rosammy.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.areas.DungeonOfAbyss.SoulTracker; - -import java.util.HashMap; -import java.util.Map; - -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.QuestState; - -import ai.AbstractNpcAI; - -/** - * @author QuangNguyen - */ -public class Rosammy extends AbstractNpcAI -{ - // NPC - private static final int SOUL_TRACKER_ROSAMMY = 31777; - // Item - private static final int KEY_OF_EAST_WING = 90011; - // Locations - private static final Map LOCATIONS = new HashMap<>(); - static - { - LOCATIONS.put("1", new Location(-110067, -177733, -6751)); // Join Room from Rosammy - LOCATIONS.put("2", new Location(-120318, -179626, -6752)); // Move to East Wing 1nd - LOCATIONS.put("3", new Location(-112632, -178671, -6751)); // Go to the Condemned of Abyss Prison - LOCATIONS.put("4", new Location(146945, 26764, -2200)); // Return to Aden - } - - private Rosammy() - { - addStartNpc(SOUL_TRACKER_ROSAMMY); - addTalkId(SOUL_TRACKER_ROSAMMY); - addFirstTalkId(SOUL_TRACKER_ROSAMMY); - } - - @Override - public String onFirstTalk(Npc npc, PlayerInstance player) - { - return npc.getId() + ".htm"; - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - if (npc.getId() == SOUL_TRACKER_ROSAMMY) - { - final QuestState qs = player.getQuestState("Q00935_ExploringTheEastWingOfTheDungeonOfAbyss"); - switch (event) - { - case "1": - { - if ((qs != null) && qs.isStarted()) - { - player.teleToLocation(LOCATIONS.get(event), false); // Join Room Rosammy - } - else - { - return "no_enter.htm"; - } - break; - } - case "2": - { - player.teleToLocation(LOCATIONS.get(event), false); // Move to East Wing 1nd - break; - } - case "3": - { - if (!hasQuestItems(player, KEY_OF_EAST_WING)) - { - return "no_key.htm"; - } - player.teleToLocation(LOCATIONS.get(event), false); // Go to the Condemned of Abyss Prison - break; - } - case "4": - { - player.teleToLocation(LOCATIONS.get(event), false); // Return to Aden - break; - } - } - } - return super.onAdvEvent(event, npc, player); - } - - public static void main(String[] args) - { - new Rosammy(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/no_enter.htm b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/no_enter.htm deleted file mode 100644 index 81bf555665..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/no_enter.htm +++ /dev/null @@ -1,3 +0,0 @@ -Magrit:
-You apparently forgot to take the quest, please take the quest.
- \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/no_key.htm b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/no_key.htm deleted file mode 100644 index 17d9517824..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/no_key.htm +++ /dev/null @@ -1,3 +0,0 @@ -Magrit:
-If you do not have the Key, you can not move to the Condemned of Abyss Prison. - \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778-no_level.htm b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778-no_level.htm deleted file mode 100644 index 05b20873d2..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778-no_level.htm +++ /dev/null @@ -1,4 +0,0 @@ -Tores:
-It seems to me that you are not strong enough to go on a mission to the Dungeon of Abyss.
-(Western Wing of the Dungeon of Abyss for characters 40-44 level.) - \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778-no_level01.htm b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778-no_level01.htm deleted file mode 100644 index 645428a3f3..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778-no_level01.htm +++ /dev/null @@ -1,4 +0,0 @@ -Tores:
-It seems to me that you are not strong enough to go on a mission to the Dungeon of Abyss.
-(Eastern Wing side of the Dungeon of Abyss for characters 45-49 level.) - \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778.htm b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778.htm deleted file mode 100644 index 47659fe884..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778.htm +++ /dev/null @@ -1,6 +0,0 @@ -Tores:
-Have you heard of the Dungeon of Abyss? Especially evil and dangerous monsters are imprisoned there.
-But someone has recently removed the seal from its gates. If we do nothing... No, only a thought of it scares me. I need your help.
- - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/Tores.java b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/Tores.java deleted file mode 100644 index 7c03c604c9..0000000000 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/Tores.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.areas.DungeonOfAbyss.Tores; - -import java.util.HashMap; -import java.util.Map; - -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; - -import ai.AbstractNpcAI; - -/** - * @author QuangNguyen - */ -public class Tores extends AbstractNpcAI -{ - // NPC - private static final int TORES = 31778; - // Locations - private static final Map LOCATIONS = new HashMap<>(); - static - { - // move from Tores - LOCATIONS.put("1", new Location(-120325, -182444, -6752)); // Move to Magrit - LOCATIONS.put("2", new Location(-109202, -180546, -6751)); // Move to Iris - } - - private Tores() - { - addStartNpc(TORES); - addTalkId(TORES); - addFirstTalkId(TORES); - } - - @Override - public String onFirstTalk(Npc npc, PlayerInstance player) - { - return "31778.htm"; - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - switch (event) - { - case "1": - { - final Location loc = LOCATIONS.get(event); - if ((player.getLevel() > 39) && (player.getLevel() < 45)) - { - player.teleToLocation(loc, true); - } - else - { - return "31778-no_level.htm"; - } - break; - } - case "2": - { - final Location loc = LOCATIONS.get(event); - if ((player.getLevel() > 44) && (player.getLevel() < 50)) - { - player.teleToLocation(loc, true); - } - else - { - return "31778-no_level01.htm"; - } - break; - } - } - return super.onAdvEvent(event, npc, player); - } - - public static void main(String[] args) - { - new Tores(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/zones/peace.xml b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/zones/peace.xml index 86e3ce829e..ca112fe0f3 100644 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/zones/peace.xml +++ b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/zones/peace.xml @@ -882,38 +882,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -938,7 +906,7 @@ - + diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/DungeonOfAbyssZone.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/DungeonOfAbyssZone.java deleted file mode 100644 index bdafce6134..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/DungeonOfAbyssZone.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.areas.DungeonOfAbyss; - -import org.l2jmobius.gameserver.instancemanager.ZoneManager; -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Creature; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.zone.ZoneType; - -import ai.AbstractNpcAI; - -/** - * @author Mobius - */ -public class DungeonOfAbyssZone extends AbstractNpcAI -{ - private static final ZoneType ABYSS_WEST_ZONE_1 = ZoneManager.getInstance().getZoneByName("The West Dungeon of Abyss"); - private static final ZoneType ABYSS_WEST_ZONE_2 = ZoneManager.getInstance().getZoneByName("The West Dungeon of Abyss 2nd"); - private static final ZoneType ABYSS_EAST_ZONE_3 = ZoneManager.getInstance().getZoneByName("The East Dungeon of Abyss"); - private static final ZoneType ABYSS_EAST_ZONE_4 = ZoneManager.getInstance().getZoneByName("The East Dungeon of Abyss 2nd"); - - private static final ZoneType ABYSS_WEST_ZONE_BOSS_1 = ZoneManager.getInstance().getZoneByName("The West Dungeon of Abyss Boss Room"); - private static final ZoneType ABYSS_WEST_ZONE_BOSS_2 = ZoneManager.getInstance().getZoneByName("The West Dungeon of Abyss 2nd Boss Room"); - private static final ZoneType ABYSS_EAST_ZONE_BOSS_3 = ZoneManager.getInstance().getZoneByName("The East Dungeon of Abyss Boss Room"); - private static final ZoneType ABYSS_EAST_ZONE_BOSS_4 = ZoneManager.getInstance().getZoneByName("The East Dungeon of Abyss 2nd Boss Room"); - - private static final int EXIT_TIME = 60 * 60 * 1000; // 60 minute - private static final int EXIT_TIME_BOSS_ROOM = 30 * 60 * 1000; // 60 minute - private static final Location EXIT_LOCATION_1 = new Location(-120019, -182575, -6751); // Move to Magrit - private static final Location EXIT_LOCATION_2 = new Location(-119977, -179753, -6751); // Move to Ingrit - private static final Location EXIT_LOCATION_3 = new Location(-109554, -180408, -6753); // Move to Iris - private static final Location EXIT_LOCATION_4 = new Location(-109595, -177560, -6753); // Move to Rosammy - - private DungeonOfAbyssZone() - { - addEnterZoneId(ABYSS_WEST_ZONE_1.getId(), ABYSS_WEST_ZONE_2.getId(), ABYSS_EAST_ZONE_3.getId(), ABYSS_EAST_ZONE_4.getId(), ABYSS_WEST_ZONE_BOSS_1.getId(), ABYSS_WEST_ZONE_BOSS_2.getId(), ABYSS_EAST_ZONE_BOSS_3.getId(), ABYSS_EAST_ZONE_BOSS_4.getId()); - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - if (event.startsWith("EXIT_PLAYER") && (player != null)) - { - if (event.contains(ABYSS_WEST_ZONE_1.getName()) && ABYSS_WEST_ZONE_1.getPlayersInside().contains(player)) - { - player.teleToLocation(EXIT_LOCATION_1); - } - else if (event.contains(ABYSS_WEST_ZONE_2.getName()) && ABYSS_WEST_ZONE_2.getPlayersInside().contains(player)) - { - player.teleToLocation(EXIT_LOCATION_2); - } - else if (event.contains(ABYSS_EAST_ZONE_3.getName()) && ABYSS_EAST_ZONE_3.getPlayersInside().contains(player)) - { - player.teleToLocation(EXIT_LOCATION_3); - } - else if (event.contains(ABYSS_EAST_ZONE_4.getName()) && ABYSS_EAST_ZONE_4.getPlayersInside().contains(player)) - { - player.teleToLocation(EXIT_LOCATION_4); - } - else if (event.contains(ABYSS_WEST_ZONE_BOSS_1.getName()) && ABYSS_WEST_ZONE_BOSS_1.getPlayersInside().contains(player)) - { - player.teleToLocation(EXIT_LOCATION_1); - } - else if (event.contains(ABYSS_WEST_ZONE_BOSS_2.getName()) && ABYSS_WEST_ZONE_BOSS_2.getPlayersInside().contains(player)) - { - player.teleToLocation(EXIT_LOCATION_2); - } - else if (event.contains(ABYSS_EAST_ZONE_BOSS_3.getName()) && ABYSS_EAST_ZONE_BOSS_3.getPlayersInside().contains(player)) - { - player.teleToLocation(EXIT_LOCATION_3); - } - else if (event.contains(ABYSS_EAST_ZONE_BOSS_4.getName()) && ABYSS_EAST_ZONE_BOSS_4.getPlayersInside().contains(player)) - { - player.teleToLocation(EXIT_LOCATION_4); - } - } - return super.onAdvEvent(event, npc, player); - } - - @Override - public String onEnterZone(Creature creature, ZoneType zone) - { - if (creature.isPlayer()) - { - final PlayerInstance player = creature.getActingPlayer(); - cancelQuestTimer("EXIT_PLAYER" + ABYSS_WEST_ZONE_1.getName() + player.getObjectId(), null, player); - cancelQuestTimer("EXIT_PLAYER" + ABYSS_WEST_ZONE_2.getName() + player.getObjectId(), null, player); - cancelQuestTimer("EXIT_PLAYER" + ABYSS_EAST_ZONE_3.getName() + player.getObjectId(), null, player); - cancelQuestTimer("EXIT_PLAYER" + ABYSS_EAST_ZONE_4.getName() + player.getObjectId(), null, player); - cancelQuestTimer("EXIT_PLAYER" + ABYSS_WEST_ZONE_BOSS_1.getName() + player.getObjectId(), null, player); - cancelQuestTimer("EXIT_PLAYER" + ABYSS_WEST_ZONE_BOSS_2.getName() + player.getObjectId(), null, player); - cancelQuestTimer("EXIT_PLAYER" + ABYSS_EAST_ZONE_BOSS_3.getName() + player.getObjectId(), null, player); - cancelQuestTimer("EXIT_PLAYER" + ABYSS_EAST_ZONE_BOSS_4.getName() + player.getObjectId(), null, player); - startQuestTimer("EXIT_PLAYER" + zone.getName() + player.getObjectId(), zone.getName().contains("boss") ? EXIT_TIME_BOSS_ROOM : EXIT_TIME, null, player); - } - return super.onEnterZone(creature, zone); - } - - public static void main(String[] args) - { - new DungeonOfAbyssZone(); - } -} diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31774-1.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31774-1.htm deleted file mode 100644 index 9a769e2ac5..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31774-1.htm +++ /dev/null @@ -1,8 +0,0 @@ -body>Magrit:
-The Death Eater is the most powerful and dangerous creature in this prison. -If you have the Key from the Central Part of the Western Wing of the Dungeon of Abyss, You can get to the Death Eater. -However, remember: you will be alone with him. No one will come to your rescue. In addition, you will only have 30 minutes to destroy it.
-If you decide to retreat or fail and want to try your luck some other time, you will need a new key.
-And more: if the quantity and weight of items in your inventory will exceed 80%, You can not get a reward, so take care of an empty seat before the battle begins.
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31774.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31774.htm deleted file mode 100644 index 92f5cee08f..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31774.htm +++ /dev/null @@ -1,8 +0,0 @@ -Magrit:
-An incident occurred in this terrifying prison and put the whole Kingdom of Aden at risk..
- - - - - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31775-1.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31775-1.htm deleted file mode 100644 index 7a69e0ecee..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31775-1.htm +++ /dev/null @@ -1,8 +0,0 @@ -Ingrit:
-The Death Eater is the most powerful and dangerous creature in this prison. -If you have the Key from the Central Part of the Western Wing of the Dungeon of Abyss, You can get to the Death Eater. -However, remember: you will be alone with him. No one will come to your rescue. In addition, you will only have 30 minutes to destroy it.
-If you decide to retreat or fail and want to try your luck some other time, you will need a new key.
-And more: if the quantity and weight of items in your inventory will exceed 80%, You can not get a reward, so take care of an empty seat before the battle begins.
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31775.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31775.htm deleted file mode 100644 index 9d999cf2a2..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31775.htm +++ /dev/null @@ -1,8 +0,0 @@ -Ingrit:
-An incident occurred in this terrifying prison and put the whole Kingdom of Aden at risk..
- - - - - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31776-1.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31776-1.htm deleted file mode 100644 index b1d5bb33d1..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31776-1.htm +++ /dev/null @@ -1,8 +0,0 @@ -Iris:
-The Death Eater is the most powerful and dangerous creature in this prison. -If you have the Key from the Central Part of the Western Wing of the Dungeon of Abyss, You can get to the Death Eater. -However, remember: you will be alone with him. No one will come to your rescue. In addition, you will only have 30 minutes to destroy it.
-If you decide to retreat or fail and want to try your luck some other time, you will need a new key.
-And more: if the quantity and weight of items in your inventory will exceed 80%, You can not get a reward, so take care of an empty seat before the battle begins.
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31776.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31776.htm deleted file mode 100644 index cc9e9a75a4..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31776.htm +++ /dev/null @@ -1,8 +0,0 @@ -Iris:
-An incident occurred in this terrifying prison and put the whole Kingdom of Aden at risk..
- - - - - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31777-1.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31777-1.htm deleted file mode 100644 index e32e97fbf2..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31777-1.htm +++ /dev/null @@ -1,8 +0,0 @@ -Rosammy:
-The Death Eater is the most powerful and dangerous creature in this prison. -If you have the Key from the Central Part of the Western Wing of the Dungeon of Abyss, You can get to the Death Eater. -However, remember: you will be alone with him. No one will come to your rescue. In addition, you will only have 30 minutes to destroy it.
-If you decide to retreat or fail and want to try your luck some other time, you will need a new key.
-And more: if the quantity and weight of items in your inventory will exceed 80%, You can not get a reward, so take care of an empty seat before the battle begins.
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31777.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31777.htm deleted file mode 100644 index 5fa420b7da..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/31777.htm +++ /dev/null @@ -1,8 +0,0 @@ -Rosammy:
-An incident occurred in this terrifying prison and put the whole Kingdom of Aden at risk..
- - - - - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Ingrit.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Ingrit.java deleted file mode 100644 index 321c955fe1..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Ingrit.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.areas.DungeonOfAbyss.SoulTracker; - -import java.util.HashMap; -import java.util.Map; - -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.QuestState; - -import ai.AbstractNpcAI; - -/** - * @author QuangNguyen - */ -public class Ingrit extends AbstractNpcAI -{ - // NPC - private static final int SOUL_TRACKER_INRGIT = 31775; - // Item - private static final int KEY_OF_WEST_WING = 90010; - // Locations - private static final Map LOCATIONS = new HashMap<>(); - static - { - LOCATIONS.put("1", new Location(-119533, -179641, -6751)); // Join Room from Ingrit - LOCATIONS.put("2", new Location(-120325, -182444, -6752)); // Move to West Wing 1nd - LOCATIONS.put("3", new Location(-116975, -178699, -6751)); // Go to the Condemned of Abyss Prison - LOCATIONS.put("4", new Location(146945, 26764, -2200)); // Return to Aden - } - - private Ingrit() - { - addStartNpc(SOUL_TRACKER_INRGIT); - addTalkId(SOUL_TRACKER_INRGIT); - addFirstTalkId(SOUL_TRACKER_INRGIT); - } - - @Override - public String onFirstTalk(Npc npc, PlayerInstance player) - { - return npc.getId() + ".htm"; - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - if (npc.getId() == SOUL_TRACKER_INRGIT) - { - final QuestState qs = player.getQuestState("Q00933_ExploringTheWestWingOfTheDungeonOfAbyss"); - switch (event) - { - case "1": - { - if ((qs != null) && qs.isStarted()) - { - player.teleToLocation(LOCATIONS.get(event), false); // Join Room from Ingrit - } - else - { - return "no_enter.htm"; - } - break; - } - case "2": - { - player.teleToLocation(LOCATIONS.get(event), false); // Move to West Wing 1nd - break; - } - case "3": - { - if (!hasQuestItems(player, KEY_OF_WEST_WING)) - { - return "no_key.htm"; - } - player.teleToLocation(LOCATIONS.get(event), false); // Go to the Condemned of Abyss Prison - break; - } - case "4": - { - player.teleToLocation(LOCATIONS.get(event), false); // Return to Aden - break; - } - } - } - return super.onAdvEvent(event, npc, player); - } - - public static void main(String[] args) - { - new Ingrit(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Iris.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Iris.java deleted file mode 100644 index feb34a180e..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Iris.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.areas.DungeonOfAbyss.SoulTracker; - -import java.util.HashMap; -import java.util.Map; - -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.QuestState; - -import ai.AbstractNpcAI; - -/** - * @author QuangNguyen - */ -public class Iris extends AbstractNpcAI -{ - // NPC - private static final int SOUL_TRACKER_IRIS = 31776; - // Item - private static final int KEY_OF_EAST_WING = 90011; - // Locations - private static final Map LOCATIONS = new HashMap<>(); - static - { - LOCATIONS.put("1", new Location(-110038, -180560, -6754)); // Join Room from Iris - LOCATIONS.put("2", new Location(-109234, -177737, -6751)); // Move to East Wing 2nd - LOCATIONS.put("3", new Location(-112648, -181517, -6751)); // Go to the Condemned of Abyss Prison - LOCATIONS.put("4", new Location(146945, 26764, -2200)); // Return to Aden - } - - private Iris() - { - addStartNpc(SOUL_TRACKER_IRIS); - addTalkId(SOUL_TRACKER_IRIS); - addFirstTalkId(SOUL_TRACKER_IRIS); - } - - @Override - public String onFirstTalk(Npc npc, PlayerInstance player) - { - return npc.getId() + ".htm"; - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - if (npc.getId() == SOUL_TRACKER_IRIS) - { - final QuestState qs = player.getQuestState("Q00935_ExploringTheEastWingOfTheDungeonOfAbyss"); - switch (event) - { - case "1": - { - if ((qs != null) && qs.isStarted()) - { - player.teleToLocation(LOCATIONS.get(event), false); // Join Room form Iris - } - else - { - return "no_enter.htm"; - } - break; - } - case "2": - { - player.teleToLocation(LOCATIONS.get(event), false); // Move to East Wing 2nd - break; - } - case "3": - { - if (!hasQuestItems(player, KEY_OF_EAST_WING)) - { - return "no_key.htm"; - } - player.teleToLocation(LOCATIONS.get(event), false); // Go to the Condemned of Abyss Prison - break; - } - case "4": - { - player.teleToLocation(LOCATIONS.get(event), false); // Return to Aden - break; - } - } - } - return super.onAdvEvent(event, npc, player); - } - - public static void main(String[] args) - { - new Iris(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Magrit.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Magrit.java deleted file mode 100644 index 21b84e7f5c..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Magrit.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.areas.DungeonOfAbyss.SoulTracker; - -import java.util.HashMap; -import java.util.Map; - -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.QuestState; - -import ai.AbstractNpcAI; - -/** - * @author QuangNguyen - */ -public class Magrit extends AbstractNpcAI -{ - // NPC - private static final int SOUL_TRACKER_MARGIT = 31774; - // Item - private static final int KEY_OF_WEST_WING = 90010; - // Locations - private static final Map LOCATIONS = new HashMap<>(); - static - { - LOCATIONS.put("1", new Location(-119440, -182464, -6752)); // Join Room from Magrit - LOCATIONS.put("2", new Location(-120394, -179651, -6751)); // Move to West Wing 2nd - LOCATIONS.put("3", new Location(-116963, -181492, -6575)); // Go to the Condemned of Abyss Prison - LOCATIONS.put("4", new Location(146945, 26764, -2200)); // Return to Aden - } - - private Magrit() - { - addStartNpc(SOUL_TRACKER_MARGIT); - addTalkId(SOUL_TRACKER_MARGIT); - addFirstTalkId(SOUL_TRACKER_MARGIT); - } - - @Override - public String onFirstTalk(Npc npc, PlayerInstance player) - { - return npc.getId() + ".htm"; - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - if (npc.getId() == SOUL_TRACKER_MARGIT) - { - final QuestState qs = player.getQuestState("Q00933_ExploringTheWestWingOfTheDungeonOfAbyss"); - switch (event) - { - case "1": - { - if ((qs != null) && qs.isStarted()) - { - player.teleToLocation(LOCATIONS.get(event), false); // Join Room from Magrit - } - else - { - return "no_enter.htm"; - } - break; - } - case "2": - { - player.teleToLocation(LOCATIONS.get(event), false); // Move to West Wing 2nd - break; - } - case "3": - { - if (!hasQuestItems(player, KEY_OF_WEST_WING)) - { - return "no_key.htm"; - } - player.teleToLocation(LOCATIONS.get(event), false); // Go to the Condemned of Abyss Prison - break; - } - case "4": - { - player.teleToLocation(LOCATIONS.get(event), false); // Return to Aden - break; - } - } - } - return super.onAdvEvent(event, npc, player); - } - - public static void main(String[] args) - { - new Magrit(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Rosammy.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Rosammy.java deleted file mode 100644 index 9b7e091785..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/Rosammy.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.areas.DungeonOfAbyss.SoulTracker; - -import java.util.HashMap; -import java.util.Map; - -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.QuestState; - -import ai.AbstractNpcAI; - -/** - * @author QuangNguyen - */ -public class Rosammy extends AbstractNpcAI -{ - // NPC - private static final int SOUL_TRACKER_ROSAMMY = 31777; - // Item - private static final int KEY_OF_EAST_WING = 90011; - // Locations - private static final Map LOCATIONS = new HashMap<>(); - static - { - LOCATIONS.put("1", new Location(-110067, -177733, -6751)); // Join Room from Rosammy - LOCATIONS.put("2", new Location(-120318, -179626, -6752)); // Move to East Wing 1nd - LOCATIONS.put("3", new Location(-112632, -178671, -6751)); // Go to the Condemned of Abyss Prison - LOCATIONS.put("4", new Location(146945, 26764, -2200)); // Return to Aden - } - - private Rosammy() - { - addStartNpc(SOUL_TRACKER_ROSAMMY); - addTalkId(SOUL_TRACKER_ROSAMMY); - addFirstTalkId(SOUL_TRACKER_ROSAMMY); - } - - @Override - public String onFirstTalk(Npc npc, PlayerInstance player) - { - return npc.getId() + ".htm"; - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - if (npc.getId() == SOUL_TRACKER_ROSAMMY) - { - final QuestState qs = player.getQuestState("Q00935_ExploringTheEastWingOfTheDungeonOfAbyss"); - switch (event) - { - case "1": - { - if ((qs != null) && qs.isStarted()) - { - player.teleToLocation(LOCATIONS.get(event), false); // Join Room Rosammy - } - else - { - return "no_enter.htm"; - } - break; - } - case "2": - { - player.teleToLocation(LOCATIONS.get(event), false); // Move to East Wing 1nd - break; - } - case "3": - { - if (!hasQuestItems(player, KEY_OF_EAST_WING)) - { - return "no_key.htm"; - } - player.teleToLocation(LOCATIONS.get(event), false); // Go to the Condemned of Abyss Prison - break; - } - case "4": - { - player.teleToLocation(LOCATIONS.get(event), false); // Return to Aden - break; - } - } - } - return super.onAdvEvent(event, npc, player); - } - - public static void main(String[] args) - { - new Rosammy(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/no_enter.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/no_enter.htm deleted file mode 100644 index 81bf555665..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/no_enter.htm +++ /dev/null @@ -1,3 +0,0 @@ -Magrit:
-You apparently forgot to take the quest, please take the quest.
- \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/no_key.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/no_key.htm deleted file mode 100644 index 17d9517824..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/SoulTracker/no_key.htm +++ /dev/null @@ -1,3 +0,0 @@ -Magrit:
-If you do not have the Key, you can not move to the Condemned of Abyss Prison. - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778-no_level.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778-no_level.htm deleted file mode 100644 index 05b20873d2..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778-no_level.htm +++ /dev/null @@ -1,4 +0,0 @@ -Tores:
-It seems to me that you are not strong enough to go on a mission to the Dungeon of Abyss.
-(Western Wing of the Dungeon of Abyss for characters 40-44 level.) - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778-no_level01.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778-no_level01.htm deleted file mode 100644 index 645428a3f3..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778-no_level01.htm +++ /dev/null @@ -1,4 +0,0 @@ -Tores:
-It seems to me that you are not strong enough to go on a mission to the Dungeon of Abyss.
-(Eastern Wing side of the Dungeon of Abyss for characters 45-49 level.) - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778.htm deleted file mode 100644 index 47659fe884..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/31778.htm +++ /dev/null @@ -1,6 +0,0 @@ -Tores:
-Have you heard of the Dungeon of Abyss? Especially evil and dangerous monsters are imprisoned there.
-But someone has recently removed the seal from its gates. If we do nothing... No, only a thought of it scares me. I need your help.
- - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/Tores.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/Tores.java deleted file mode 100644 index 7c03c604c9..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/areas/DungeonOfAbyss/Tores/Tores.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package ai.areas.DungeonOfAbyss.Tores; - -import java.util.HashMap; -import java.util.Map; - -import org.l2jmobius.gameserver.model.Location; -import org.l2jmobius.gameserver.model.actor.Npc; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; - -import ai.AbstractNpcAI; - -/** - * @author QuangNguyen - */ -public class Tores extends AbstractNpcAI -{ - // NPC - private static final int TORES = 31778; - // Locations - private static final Map LOCATIONS = new HashMap<>(); - static - { - // move from Tores - LOCATIONS.put("1", new Location(-120325, -182444, -6752)); // Move to Magrit - LOCATIONS.put("2", new Location(-109202, -180546, -6751)); // Move to Iris - } - - private Tores() - { - addStartNpc(TORES); - addTalkId(TORES); - addFirstTalkId(TORES); - } - - @Override - public String onFirstTalk(Npc npc, PlayerInstance player) - { - return "31778.htm"; - } - - @Override - public String onAdvEvent(String event, Npc npc, PlayerInstance player) - { - switch (event) - { - case "1": - { - final Location loc = LOCATIONS.get(event); - if ((player.getLevel() > 39) && (player.getLevel() < 45)) - { - player.teleToLocation(loc, true); - } - else - { - return "31778-no_level.htm"; - } - break; - } - case "2": - { - final Location loc = LOCATIONS.get(event); - if ((player.getLevel() > 44) && (player.getLevel() < 50)) - { - player.teleToLocation(loc, true); - } - else - { - return "31778-no_level01.htm"; - } - break; - } - } - return super.onAdvEvent(event, npc, player); - } - - public static void main(String[] args) - { - new Tores(); - } -} \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/zones/peace.xml b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/zones/peace.xml index 9bfb428737..7ceee49b42 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/zones/peace.xml +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/zones/peace.xml @@ -882,38 +882,6 @@
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -938,7 +906,7 @@ - + @@ -958,6 +926,8 @@ + +