From 7b5bd9e25e38aeec5656b7224bde4c012fd2f91b Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sun, 21 Jan 2018 06:11:59 +0000 Subject: [PATCH] Initial commit for dimensional crack and rift. Contributed by gigilo1968. --- .../dist/game/data/html/teleporter/34227.htm | 9 + .../dist/game/data/html/teleporter/34265.htm | 2 +- .../scripts/ai/areas/Aden/Ruine/Ruine.java | 96 ++++++++ .../areas/Aden/Ruine/cod_aden_officer001.htm | 10 + .../areas/Aden/Ruine/cod_aden_officer002.htm | 4 + .../areas/Aden/Ruine/cod_aden_officer003.htm | 4 + .../areas/Aden/Ruine/cod_aden_officer004.htm | 6 + .../areas/Aden/Ruine/cod_aden_officer005.htm | 7 + .../data/scripts/quests/MissingQuests.txt | 1 - .../34265-00.html | 3 + .../34265-01.htm | 7 + .../34265-02.htm | 8 + .../34265-03.htm | 7 + .../34265-04.htm | 6 + .../34265-05.html | 3 + .../34265-06.html | 6 + .../34265-07.html | 4 + .../Q00928_100DaySubjugationOperation.java | 204 ++++++++++++++++ .../scripts/quests/QuestMasterHandler.java | 2 + .../dist/game/data/spawns/Aden/TownOfAden.xml | 1 + .../data/spawns/Hunters/DimensionalCrack.xml | 97 ++++++++ .../data/spawns/Hunters/DimensionalRift.xml | 230 ++++++++++++++++++ .../dist/game/data/stats/npcs/34200-34299.xml | 58 +++++ .../game/data/teleporters/others/Beloa.xml | 8 + .../game/data/teleporters/others/Lias.xml | 8 + L2J_Mobius_3.0_Helios/readme.txt | 2 + .../dist/game/data/html/teleporter/34227.htm | 9 + .../dist/game/data/html/teleporter/34265.htm | 2 +- .../scripts/ai/areas/Aden/Ruine/Ruine.java | 96 ++++++++ .../areas/Aden/Ruine/cod_aden_officer001.htm | 10 + .../areas/Aden/Ruine/cod_aden_officer002.htm | 4 + .../areas/Aden/Ruine/cod_aden_officer003.htm | 4 + .../areas/Aden/Ruine/cod_aden_officer004.htm | 6 + .../areas/Aden/Ruine/cod_aden_officer005.htm | 7 + .../data/scripts/quests/MissingQuests.txt | 1 - .../34265-00.html | 3 + .../34265-01.htm | 7 + .../34265-02.htm | 8 + .../34265-03.htm | 7 + .../34265-04.htm | 6 + .../34265-05.html | 3 + .../34265-06.html | 6 + .../34265-07.html | 4 + .../Q00928_100DaySubjugationOperation.java | 204 ++++++++++++++++ .../scripts/quests/QuestMasterHandler.java | 2 + .../dist/game/data/spawns/Aden/TownOfAden.xml | 1 + .../data/spawns/Hunters/DimensionalCrack.xml | 97 ++++++++ .../data/spawns/Hunters/DimensionalRift.xml | 230 ++++++++++++++++++ .../dist/game/data/stats/npcs/34200-34299.xml | 4 +- .../game/data/teleporters/others/Beloa.xml | 8 + .../game/data/teleporters/others/Lias.xml | 8 + L2J_Mobius_4.0_GrandCrusade/readme.txt | 2 + 52 files changed, 1526 insertions(+), 6 deletions(-) create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/html/teleporter/34227.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/Ruine.java create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer001.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer002.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer003.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer004.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer005.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-00.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-01.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-02.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-03.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-04.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-05.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-06.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-07.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/Q00928_100DaySubjugationOperation.java create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/spawns/Hunters/DimensionalCrack.xml create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/spawns/Hunters/DimensionalRift.xml create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/teleporters/others/Beloa.xml create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/teleporters/others/Lias.xml create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/teleporter/34227.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/Ruine.java create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer001.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer002.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer003.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer004.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer005.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-00.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-01.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-02.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-03.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-04.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-05.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-06.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-07.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/Q00928_100DaySubjugationOperation.java create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/spawns/Hunters/DimensionalCrack.xml create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/spawns/Hunters/DimensionalRift.xml create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/teleporters/others/Beloa.xml create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/teleporters/others/Lias.xml diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/html/teleporter/34227.htm b/L2J_Mobius_3.0_Helios/dist/game/data/html/teleporter/34227.htm new file mode 100644 index 0000000000..5ba67d85c9 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/html/teleporter/34227.htm @@ -0,0 +1,9 @@ +Dimensional Pursuer Beloa:
+A Dimensional Crack has occurred here. I'm Beloa, and sensing something strange about the Dimensional Crack here, I've come to research it.
+They say this area used to be called the Catacomb of the Witch. However, it's a completely different place now, and you'd best not let down your guard.
+Collect 10 of the Superior Giant's Codex Fragments and Rune Stone Fragments that you receive after participating in the operation. They can be exchanged for the Superior Giant's Codex and Rune Stones, respectively, so tell me when you're ready.
+Also, if you want to leave this horrifying place, tell me. I'll let you out.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/html/teleporter/34265.htm b/L2J_Mobius_3.0_Helios/dist/game/data/html/teleporter/34265.htm index 1b99edf313..cdc5d3be76 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/html/teleporter/34265.htm +++ b/L2J_Mobius_3.0_Helios/dist/game/data/html/teleporter/34265.htm @@ -4,6 +4,6 @@ They say this area used to be called the Catacomb of the Witch. However, it's a Collect 10 of the Superior Giant's Codex Fragments and Rune Stone Fragments that you receive after participating in the operation. They can be exchanged for the Superior Giant's Codex and Rune Stones, respectively, so tell me when you're ready.
Also, if you want to leave this horrifying place, tell me. I'll let you out.
- + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/Ruine.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/Ruine.java new file mode 100644 index 0000000000..899e1eabe8 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/Ruine.java @@ -0,0 +1,96 @@ +/* + * 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.Aden.Ruine; + +import com.l2jmobius.gameserver.model.Location; +import com.l2jmobius.gameserver.model.actor.L2Npc; +import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; + +import ai.AbstractNpcAI; + +/** + * Ruine AI + * @author Gigi + * @date 2017-02-18 - [20:14:22] + */ +public class Ruine extends AbstractNpcAI +{ + // NPC + private static final int COD_ADEN_OFFICER = 34229; + // Level checks + private static final int MIN_LEVEL_CRACK = 95; + private static final int MIN_LEVEL_RIFT = 100; + // Teleports + private static final Location DIMENSIONAL_CRACK = new Location(-120313, -182464, -6752); + private static final Location DIMENSIONAL_RIFT = new Location(140629, 79672, -5424); + + private Ruine() + { + addStartNpc(COD_ADEN_OFFICER); + addFirstTalkId(COD_ADEN_OFFICER); + addTalkId(COD_ADEN_OFFICER); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + String htmltext = null; + + switch (event) + { + case "cod_aden_officer001.htm": + case "cod_aden_officer004.htm": + case "cod_aden_officer005.htm": + { + htmltext = event; + break; + } + case "crack_teleport": + { + if (player.getLevel() >= MIN_LEVEL_CRACK) + { + player.teleToLocation(DIMENSIONAL_CRACK); + break; + } + htmltext = "cod_aden_officer003.htm"; + break; + } + case "rift_teleport": + { + if (player.getLevel() >= MIN_LEVEL_RIFT) + { + player.teleToLocation(DIMENSIONAL_RIFT); + break; + } + htmltext = "cod_aden_officer003.htm"; + break; + } + } + return htmltext; + } + + @Override + public String onFirstTalk(L2Npc npc, L2PcInstance player) + { + return "cod_aden_officer001.htm"; + } + + public static void main(String[] args) + { + new Ruine(); + } +} diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer001.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer001.htm new file mode 100644 index 0000000000..74771e3887 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer001.htm @@ -0,0 +1,10 @@ +Dimension Seeker Ruine:
+Nice to meet you. I am Dimension Seeker Ruine.
+Many problems associated with the dimensions have been occurring nowadays. I have been asked by Aden Castle to investigate, and that is what brings me here.
+Among the various issues relating to the dimension, the issues that I am involved with are the Dimensional Crack and the Dimensional Rift.
+If you would like, I will send you to the Dimensional Crack and the Dimensional Rift. Please help me with searching the dimension.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer002.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer002.htm new file mode 100644 index 0000000000..f853792675 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer002.htm @@ -0,0 +1,4 @@ +Dimension Seeker Ruine:
+Something has happened with the dimension, and I am investigating it at the moment. Could you please return later?
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer003.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer003.htm new file mode 100644 index 0000000000..dca84e75e3 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer003.htm @@ -0,0 +1,4 @@ +Dimension Seeker Ruine:
+I don't think that you meet our qualifications for dimension seekers.
+(Your level is too low.) + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer004.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer004.htm new file mode 100644 index 0000000000..896a054056 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer004.htm @@ -0,0 +1,6 @@ +Dimension Seeker Ruine:
+The Dimensional Crack, they say, is originally a labyrinth that was created by the influence of the Seven Signs. However, one day, it was closed shut. Because it happened before the Ertheia came into the Material Realm, we knew nothing of the Dimensional Crack.
+We were investigating the warping of the dimension, which we discovered in Faeron Village. In the process, we found that the dimensional warp was linked to the Dimensional Crack, and that the Dimensional Crack was growing in the process.
+Also, we found that the monsters that appear in the Dimensional Crack were similar to the monsters that had attacked Faeron Village, and started investigating this fact.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer005.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer005.htm new file mode 100644 index 0000000000..686a89ba18 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer005.htm @@ -0,0 +1,7 @@ +Dimension Seeker Ruine:
+The Dimensional Rift was a phenomenon that was identified after the Dimensional Crack was discovered, during additional investigations of Aden Castle and the Ivory Tower. It all began when strange movement was detected in the sealed off Catacomb of the Witch.
+Monsters began appearing in the Catacomb of the Witch. We felt they were out of place, and got to thinking that they might have something to do with the various recent events that have to do with the dimension. We therefore participated in the survey as well.
+What we found was that as the Dimensional Crack grew, the Dimensional Rift which had existed previously had been growing. The Catacomb of the Witch has now been completely consumed by the Dimensional Rift. I don't know if this is a good or bad thing, but the Dimensional Rift has not expanded beyond the size of the Catacomb of the Witch. However, we could not leave the situation as it was, and thus we began our expedition of the Dimensional Rift.
+The Dimensional Rift is even more dangerous than then Dimensional Crack. You must be even more careful there.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/MissingQuests.txt index b9d79f3fc1..d7a43eb5dd 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/MissingQuests.txt +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/MissingQuests.txt @@ -63,7 +63,6 @@ 924 Giant of the Restoration Room 925 Hunter Guild Request - Garden of Spirits 926 Exploring the Dimension - 30-day Search Operation -928 100-day Subjugation Operation 929 Seeker Rescue 930 Disparaging the Phantoms 931 Memories of the Wind diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-00.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-00.html new file mode 100644 index 0000000000..f35fab5e21 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-00.html @@ -0,0 +1,3 @@ + +Your character's level exceeds the level limit for this quest. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-01.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-01.htm new file mode 100644 index 0000000000..01e1034738 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-01.htm @@ -0,0 +1,7 @@ +Dimensional Researcher Lias:
+What brings you here? The Catacomb of the Witch used to be here, but it's not the Catacomb of the Witch of old anymore. It you were trying to get to the Catacomb of the Witch, you're in the wrong place.
+Aden Castle, where they were regularly observing the catacombs and necropolis, told us, the Ertheia, that a Dimensional rift has appeared here.
+There was a treaty that the Ertheia had entered into with the other races. I'm here to investigate the Dimensional Rift that has appeared here.
+Well, since news has gotten out about the Dimensional Rift or Gap or what not, I'm guessing that's what brought you here, but... You wouldn't be here to help us with the operation to suppress the Dimensional Rift, would you?
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-02.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-02.htm new file mode 100644 index 0000000000..de130d25e1 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-02.htm @@ -0,0 +1,8 @@ +Dimensional Researcher Lias:
+That's great! I needed a lot of help with the operation to suppress the Dimensional Rift. Since I found out that a Dimensional Rift had appeared +here, I carried out a battery of experiments to make my research more effective. I discovered something important in the process.
+Currently, monsters that look exactly like the monsters that used to exist in the Catacomb of the Witch are appearing here. But it's my judgment that this is just to hide the Dimensional Rift.
+The Lillim, Nephilim and Gigantics here are actually all illusions. They're monsters whose substance actually exists beyond +the dimensional. At first, it was difficult to prove this, but with you joining the operation, that'il become much easier!
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-03.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-03.htm new file mode 100644 index 0000000000..34eb8068c1 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-03.htm @@ -0,0 +1,7 @@ +Dimensional Researcher Lias:
+See, the monsters here didn't respond much to attacks from the guards at Aden Castle or the Ivory Tower Wizards are reacting strangely to adventures who have come here to take part in the suppression operation.
+You might say they're revealing their true selves, much like snakes molting.
+What I mean is, if you find in the Lillim, Nephilim or Gigantics that appear here the dimensional monsters that appear here the dimensional monsters that correspond to their main bodies, +that can prove that because of the Dimensional Rift that has appeared here, this place is on longer the Catacomb of the Witch!
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-04.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-04.htm new file mode 100644 index 0000000000..d59df06023 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-04.htm @@ -0,0 +1,6 @@ +Dimensional Researcher Lias:
+First, we need to prove that the monsters we see here aren't all there is.
+First, stay the Lillim Royal Knight, Lillim Slayer, Lillim Great Magus, Gigantic Healer, Nephilim Royal Guard, and the Nephilim and Gigantes to find out what they actually are.
+The Wandering Dead of the Dimensional, Roaming Vengeance of the Dimension, Lost Dimensional Evil Thoughts, Lost Soul of the Dimension, Wandering Dimensional Spirit and other monsters that exist within the Dimensional Rift should appear.
+Slaying the Dimensional monsters attacking through the rift, you'll obtain Attackers' Souls. Just collect around 100 of those for me. What do you think? Not too difficult, hmm? + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-05.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-05.html new file mode 100644 index 0000000000..e10d989ef9 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-05.html @@ -0,0 +1,3 @@ +Dimensional Researcher Lias:
+Slaying the Dimensional monsters attacking through the rift, you'll obtain Attackers' Souls. Just collect around 100 of those for me. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-06.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-06.html new file mode 100644 index 0000000000..39f3e3f39b --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-06.html @@ -0,0 +1,6 @@ +Dimensional Researcher Lias:
+Are you finished today's operation?
+That's amazing! You're even faster than I expected?
+Are you sure you've defeated the dimensional monsters in the Dimensional Rift, and collected 100 Attackers' Souls?
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-07.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-07.html new file mode 100644 index 0000000000..db6f200b9d --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-07.html @@ -0,0 +1,4 @@ +Dimensional Researcher Lias:
+Thank you! Thanks to help, it's becoming more and more evident that this place is not in fact the Catacomb of the Witch, but a Dimensional Rift that has consumed the Catacomb of the Witch
+This is your reward for you help with the operation. The operation continues as we speak, and I'd like you to return and help out again whenever you'd like.
+ \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/Q00928_100DaySubjugationOperation.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/Q00928_100DaySubjugationOperation.java new file mode 100644 index 0000000000..20f97f4eeb --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/Q00928_100DaySubjugationOperation.java @@ -0,0 +1,204 @@ +/* + * 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 quests.Q00928_100DaySubjugationOperation; + +import com.l2jmobius.gameserver.enums.QuestType; +import com.l2jmobius.gameserver.model.actor.L2Npc; +import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; +import com.l2jmobius.gameserver.model.quest.Quest; +import com.l2jmobius.gameserver.model.quest.QuestState; +import com.l2jmobius.gameserver.model.quest.State; + +/** + * 100-day Subjugation Operation (928) + * @URL https://l2wiki.com/100-day_Subjugation_Operation + * @VIDEO https://www.youtube.com/watch?v=83Z85GRNpzA + * @author Gigi + * @date 2017-12-05 - [11:45:30] + */ +public class Q00928_100DaySubjugationOperation extends Quest +{ + // Npc + private static final int LIAS = 34265; + // Monsters + private static final int LILLIM_ROYAL_KNIGHT = 23801; + private static final int LILLIM_SLAYER = 23802; + private static final int GIGANTIC_HEALER = 23803; + private static final int LILLIM_GRAT_MAGUS = 23804; + private static final int NEPHILM_ROYAL_GUARD = 23805; + + private static final int WANDERING_OF_DIMENSION = 23806; + private static final int WANDERING_SPIRIT = 23807; + private static final int LOST_SOUL_DIMENSION = 23808; + private static final int LOST_DIMENSION_EVIL = 23809; + private static final int ROAMING_VENGEANCE = 23810; + // Items + private static final int ATTACKERS_SOUL = 47512; + private static final int LIAS_SUPPLY_ITEMS = 47504; + private static final int DIMENSIONAL_TRACES = 47511; + // Misc + private static final int MIN_LEVEL = 100; + + public Q00928_100DaySubjugationOperation() + { + super(928); + addStartNpc(LIAS); + addTalkId(LIAS); + addKillId(LILLIM_ROYAL_KNIGHT, LILLIM_SLAYER, GIGANTIC_HEALER, LILLIM_GRAT_MAGUS, NEPHILM_ROYAL_GUARD); + addKillId(WANDERING_OF_DIMENSION, WANDERING_SPIRIT, LOST_SOUL_DIMENSION, LOST_DIMENSION_EVIL, ROAMING_VENGEANCE); + registerQuestItems(ATTACKERS_SOUL); + addCondMinLevel(MIN_LEVEL, "34265-00.html"); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "34265-02.htm": + case "34265-03.htm": + { + htmltext = event; + break; + } + case "34265-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34265-07.html": + { + if (player.getLevel() >= MIN_LEVEL) + { + if (getQuestItemsCount(player, DIMENSIONAL_TRACES) < 99) + { + giveItems(player, DIMENSIONAL_TRACES, 1); + giveItems(player, LIAS_SUPPLY_ITEMS, 1); + addExpAndSp(player, 11_028_245_723L, 26_467_790); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + break; + } + addExpAndSp(player, 11_028_245_723L, 26_467_790); + giveItems(player, DIMENSIONAL_TRACES, 1); + giveItems(player, LIAS_SUPPLY_ITEMS, 1); + qs.exitQuest(QuestType.ONE_TIME, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + switch (qs.getState()) + { + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + qs.setState(State.CREATED); + } + case State.CREATED: + { + htmltext = "34265-01.htm"; + break; + } + case State.STARTED: + { + htmltext = (qs.isCond(1)) ? "34265-05.html" : "34265-06.html"; + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && (qs.isCond(1))) + { + switch (npc.getId()) + { + case LILLIM_ROYAL_KNIGHT: + { + final L2Npc mob1 = addSpawn(WANDERING_OF_DIMENSION, npc, false, 180000, false); + addAttackPlayerDesire(mob1, killer); + break; + } + case LILLIM_SLAYER: + { + final L2Npc mob2 = addSpawn(ROAMING_VENGEANCE, npc, false, 180000, false); + addAttackPlayerDesire(mob2, killer); + break; + } + case GIGANTIC_HEALER: + { + final L2Npc mob3 = addSpawn(LOST_SOUL_DIMENSION, npc, false, 180000, false); + addAttackPlayerDesire(mob3, killer); + break; + } + case LILLIM_GRAT_MAGUS: + { + final L2Npc mob4 = addSpawn(LOST_DIMENSION_EVIL, npc, false, 180000, false); + addAttackPlayerDesire(mob4, killer); + break; + } + case NEPHILM_ROYAL_GUARD: + { + final L2Npc mob5 = addSpawn(WANDERING_SPIRIT, npc, false, 180000, false); + addAttackPlayerDesire(mob5, killer); + break; + } + case WANDERING_OF_DIMENSION: + case WANDERING_SPIRIT: + case LOST_SOUL_DIMENSION: + case LOST_DIMENSION_EVIL: + case ROAMING_VENGEANCE: + { + if (giveItemRandomly(killer, npc, ATTACKERS_SOUL, 1, 100, 1.0, true)) + { + qs.setCond(2, true); + } + break; + } + } + } + return super.onKill(npc, killer, isSummon); + } +} \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/QuestMasterHandler.java index 8c7933b0ef..6366eb2481 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -192,6 +192,7 @@ import quests.Q00904_DragonTrophyAntharas.Q00904_DragonTrophyAntharas; import quests.Q00905_RefinedDragonBlood.Q00905_RefinedDragonBlood; import quests.Q00906_TheCallOfValakas.Q00906_TheCallOfValakas; import quests.Q00907_DragonTrophyValakas.Q00907_DragonTrophyValakas; +import quests.Q00928_100DaySubjugationOperation.Q00928_100DaySubjugationOperation; import quests.Q00937_ToReviveTheFishingGuild.Q00937_ToReviveTheFishingGuild; import quests.Q10273_GoodDayToFly.Q10273_GoodDayToFly; import quests.Q10274_CollectingInTheAir.Q10274_CollectingInTheAir; @@ -612,6 +613,7 @@ public class QuestMasterHandler Q00905_RefinedDragonBlood.class, Q00906_TheCallOfValakas.class, Q00907_DragonTrophyValakas.class, + Q00928_100DaySubjugationOperation.class, Q00937_ToReviveTheFishingGuild.class, Q10273_GoodDayToFly.class, Q10274_CollectingInTheAir.class, diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/spawns/Aden/TownOfAden.xml b/L2J_Mobius_3.0_Helios/dist/game/data/spawns/Aden/TownOfAden.xml index fb43466edf..1cae03b724 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/spawns/Aden/TownOfAden.xml +++ b/L2J_Mobius_3.0_Helios/dist/game/data/spawns/Aden/TownOfAden.xml @@ -107,6 +107,7 @@ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/spawns/Hunters/DimensionalCrack.xml b/L2J_Mobius_3.0_Helios/dist/game/data/spawns/Hunters/DimensionalCrack.xml new file mode 100644 index 0000000000..c2da0add85 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/spawns/Hunters/DimensionalCrack.xml @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/spawns/Hunters/DimensionalRift.xml b/L2J_Mobius_3.0_Helios/dist/game/data/spawns/Hunters/DimensionalRift.xml new file mode 100644 index 0000000000..c84fecdc9a --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/spawns/Hunters/DimensionalRift.xml @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/stats/npcs/34200-34299.xml b/L2J_Mobius_3.0_Helios/dist/game/data/stats/npcs/34200-34299.xml index 3dc9bd4ddd..4e1394ee40 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/stats/npcs/34200-34299.xml +++ b/L2J_Mobius_3.0_Helios/dist/game/data/stats/npcs/34200-34299.xml @@ -466,6 +466,44 @@ + + + ETC + FEMALE + + + + + + + + + + + + + + + + + + ETC + FEMALE + + + + + + + + + + + + + + + ERTHEIA @@ -551,4 +589,24 @@ + + + ETC + FEMALE + + + + + + + + + + + + + + + + diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/teleporters/others/Beloa.xml b/L2J_Mobius_3.0_Helios/dist/game/data/teleporters/others/Beloa.xml new file mode 100644 index 0000000000..e9c7076801 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/teleporters/others/Beloa.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/teleporters/others/Lias.xml b/L2J_Mobius_3.0_Helios/dist/game/data/teleporters/others/Lias.xml new file mode 100644 index 0000000000..accf61c911 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/teleporters/others/Lias.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/readme.txt b/L2J_Mobius_3.0_Helios/readme.txt index caec275398..e7bb96590e 100644 --- a/L2J_Mobius_3.0_Helios/readme.txt +++ b/L2J_Mobius_3.0_Helios/readme.txt @@ -69,6 +69,8 @@ Underground: -Daily rewards Helios: +-Dimensional Rift +-Dimensional Crack -Giants Cave -Superion Fortress -Ramona diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/teleporter/34227.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/teleporter/34227.htm new file mode 100644 index 0000000000..5ba67d85c9 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/teleporter/34227.htm @@ -0,0 +1,9 @@ +Dimensional Pursuer Beloa:
+A Dimensional Crack has occurred here. I'm Beloa, and sensing something strange about the Dimensional Crack here, I've come to research it.
+They say this area used to be called the Catacomb of the Witch. However, it's a completely different place now, and you'd best not let down your guard.
+Collect 10 of the Superior Giant's Codex Fragments and Rune Stone Fragments that you receive after participating in the operation. They can be exchanged for the Superior Giant's Codex and Rune Stones, respectively, so tell me when you're ready.
+Also, if you want to leave this horrifying place, tell me. I'll let you out.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/teleporter/34265.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/teleporter/34265.htm index 1b99edf313..cdc5d3be76 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/teleporter/34265.htm +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/html/teleporter/34265.htm @@ -4,6 +4,6 @@ They say this area used to be called the Catacomb of the Witch. However, it's a Collect 10 of the Superior Giant's Codex Fragments and Rune Stone Fragments that you receive after participating in the operation. They can be exchanged for the Superior Giant's Codex and Rune Stones, respectively, so tell me when you're ready.
Also, if you want to leave this horrifying place, tell me. I'll let you out.
- + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/Ruine.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/Ruine.java new file mode 100644 index 0000000000..899e1eabe8 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/Ruine.java @@ -0,0 +1,96 @@ +/* + * 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.Aden.Ruine; + +import com.l2jmobius.gameserver.model.Location; +import com.l2jmobius.gameserver.model.actor.L2Npc; +import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; + +import ai.AbstractNpcAI; + +/** + * Ruine AI + * @author Gigi + * @date 2017-02-18 - [20:14:22] + */ +public class Ruine extends AbstractNpcAI +{ + // NPC + private static final int COD_ADEN_OFFICER = 34229; + // Level checks + private static final int MIN_LEVEL_CRACK = 95; + private static final int MIN_LEVEL_RIFT = 100; + // Teleports + private static final Location DIMENSIONAL_CRACK = new Location(-120313, -182464, -6752); + private static final Location DIMENSIONAL_RIFT = new Location(140629, 79672, -5424); + + private Ruine() + { + addStartNpc(COD_ADEN_OFFICER); + addFirstTalkId(COD_ADEN_OFFICER); + addTalkId(COD_ADEN_OFFICER); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + String htmltext = null; + + switch (event) + { + case "cod_aden_officer001.htm": + case "cod_aden_officer004.htm": + case "cod_aden_officer005.htm": + { + htmltext = event; + break; + } + case "crack_teleport": + { + if (player.getLevel() >= MIN_LEVEL_CRACK) + { + player.teleToLocation(DIMENSIONAL_CRACK); + break; + } + htmltext = "cod_aden_officer003.htm"; + break; + } + case "rift_teleport": + { + if (player.getLevel() >= MIN_LEVEL_RIFT) + { + player.teleToLocation(DIMENSIONAL_RIFT); + break; + } + htmltext = "cod_aden_officer003.htm"; + break; + } + } + return htmltext; + } + + @Override + public String onFirstTalk(L2Npc npc, L2PcInstance player) + { + return "cod_aden_officer001.htm"; + } + + public static void main(String[] args) + { + new Ruine(); + } +} diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer001.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer001.htm new file mode 100644 index 0000000000..74771e3887 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer001.htm @@ -0,0 +1,10 @@ +Dimension Seeker Ruine:
+Nice to meet you. I am Dimension Seeker Ruine.
+Many problems associated with the dimensions have been occurring nowadays. I have been asked by Aden Castle to investigate, and that is what brings me here.
+Among the various issues relating to the dimension, the issues that I am involved with are the Dimensional Crack and the Dimensional Rift.
+If you would like, I will send you to the Dimensional Crack and the Dimensional Rift. Please help me with searching the dimension.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer002.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer002.htm new file mode 100644 index 0000000000..f853792675 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer002.htm @@ -0,0 +1,4 @@ +Dimension Seeker Ruine:
+Something has happened with the dimension, and I am investigating it at the moment. Could you please return later?
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer003.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer003.htm new file mode 100644 index 0000000000..dca84e75e3 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer003.htm @@ -0,0 +1,4 @@ +Dimension Seeker Ruine:
+I don't think that you meet our qualifications for dimension seekers.
+(Your level is too low.) + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer004.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer004.htm new file mode 100644 index 0000000000..896a054056 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer004.htm @@ -0,0 +1,6 @@ +Dimension Seeker Ruine:
+The Dimensional Crack, they say, is originally a labyrinth that was created by the influence of the Seven Signs. However, one day, it was closed shut. Because it happened before the Ertheia came into the Material Realm, we knew nothing of the Dimensional Crack.
+We were investigating the warping of the dimension, which we discovered in Faeron Village. In the process, we found that the dimensional warp was linked to the Dimensional Crack, and that the Dimensional Crack was growing in the process.
+Also, we found that the monsters that appear in the Dimensional Crack were similar to the monsters that had attacked Faeron Village, and started investigating this fact.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer005.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer005.htm new file mode 100644 index 0000000000..686a89ba18 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/areas/Aden/Ruine/cod_aden_officer005.htm @@ -0,0 +1,7 @@ +Dimension Seeker Ruine:
+The Dimensional Rift was a phenomenon that was identified after the Dimensional Crack was discovered, during additional investigations of Aden Castle and the Ivory Tower. It all began when strange movement was detected in the sealed off Catacomb of the Witch.
+Monsters began appearing in the Catacomb of the Witch. We felt they were out of place, and got to thinking that they might have something to do with the various recent events that have to do with the dimension. We therefore participated in the survey as well.
+What we found was that as the Dimensional Crack grew, the Dimensional Rift which had existed previously had been growing. The Catacomb of the Witch has now been completely consumed by the Dimensional Rift. I don't know if this is a good or bad thing, but the Dimensional Rift has not expanded beyond the size of the Catacomb of the Witch. However, we could not leave the situation as it was, and thus we began our expedition of the Dimensional Rift.
+The Dimensional Rift is even more dangerous than then Dimensional Crack. You must be even more careful there.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/MissingQuests.txt index eada97412a..1f3343382f 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/MissingQuests.txt +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/MissingQuests.txt @@ -124,7 +124,6 @@ 924 Giant of the Restoration Room 925 Hunter Guild Request - Garden of Spirits 926 Exploring the Dimension - 30-day Search Operation -928 100-day Subjugation Operation 929 Seeker Rescue 930 Disparaging the Phantoms 931 Memories of the Wind diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-00.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-00.html new file mode 100644 index 0000000000..f35fab5e21 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-00.html @@ -0,0 +1,3 @@ + +Your character's level exceeds the level limit for this quest. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-01.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-01.htm new file mode 100644 index 0000000000..01e1034738 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-01.htm @@ -0,0 +1,7 @@ +Dimensional Researcher Lias:
+What brings you here? The Catacomb of the Witch used to be here, but it's not the Catacomb of the Witch of old anymore. It you were trying to get to the Catacomb of the Witch, you're in the wrong place.
+Aden Castle, where they were regularly observing the catacombs and necropolis, told us, the Ertheia, that a Dimensional rift has appeared here.
+There was a treaty that the Ertheia had entered into with the other races. I'm here to investigate the Dimensional Rift that has appeared here.
+Well, since news has gotten out about the Dimensional Rift or Gap or what not, I'm guessing that's what brought you here, but... You wouldn't be here to help us with the operation to suppress the Dimensional Rift, would you?
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-02.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-02.htm new file mode 100644 index 0000000000..de130d25e1 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-02.htm @@ -0,0 +1,8 @@ +Dimensional Researcher Lias:
+That's great! I needed a lot of help with the operation to suppress the Dimensional Rift. Since I found out that a Dimensional Rift had appeared +here, I carried out a battery of experiments to make my research more effective. I discovered something important in the process.
+Currently, monsters that look exactly like the monsters that used to exist in the Catacomb of the Witch are appearing here. But it's my judgment that this is just to hide the Dimensional Rift.
+The Lillim, Nephilim and Gigantics here are actually all illusions. They're monsters whose substance actually exists beyond +the dimensional. At first, it was difficult to prove this, but with you joining the operation, that'il become much easier!
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-03.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-03.htm new file mode 100644 index 0000000000..34eb8068c1 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-03.htm @@ -0,0 +1,7 @@ +Dimensional Researcher Lias:
+See, the monsters here didn't respond much to attacks from the guards at Aden Castle or the Ivory Tower Wizards are reacting strangely to adventures who have come here to take part in the suppression operation.
+You might say they're revealing their true selves, much like snakes molting.
+What I mean is, if you find in the Lillim, Nephilim or Gigantics that appear here the dimensional monsters that appear here the dimensional monsters that correspond to their main bodies, +that can prove that because of the Dimensional Rift that has appeared here, this place is on longer the Catacomb of the Witch!
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-04.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-04.htm new file mode 100644 index 0000000000..d59df06023 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-04.htm @@ -0,0 +1,6 @@ +Dimensional Researcher Lias:
+First, we need to prove that the monsters we see here aren't all there is.
+First, stay the Lillim Royal Knight, Lillim Slayer, Lillim Great Magus, Gigantic Healer, Nephilim Royal Guard, and the Nephilim and Gigantes to find out what they actually are.
+The Wandering Dead of the Dimensional, Roaming Vengeance of the Dimension, Lost Dimensional Evil Thoughts, Lost Soul of the Dimension, Wandering Dimensional Spirit and other monsters that exist within the Dimensional Rift should appear.
+Slaying the Dimensional monsters attacking through the rift, you'll obtain Attackers' Souls. Just collect around 100 of those for me. What do you think? Not too difficult, hmm? + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-05.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-05.html new file mode 100644 index 0000000000..e10d989ef9 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-05.html @@ -0,0 +1,3 @@ +Dimensional Researcher Lias:
+Slaying the Dimensional monsters attacking through the rift, you'll obtain Attackers' Souls. Just collect around 100 of those for me. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-06.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-06.html new file mode 100644 index 0000000000..39f3e3f39b --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-06.html @@ -0,0 +1,6 @@ +Dimensional Researcher Lias:
+Are you finished today's operation?
+That's amazing! You're even faster than I expected?
+Are you sure you've defeated the dimensional monsters in the Dimensional Rift, and collected 100 Attackers' Souls?
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-07.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-07.html new file mode 100644 index 0000000000..db6f200b9d --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/34265-07.html @@ -0,0 +1,4 @@ +Dimensional Researcher Lias:
+Thank you! Thanks to help, it's becoming more and more evident that this place is not in fact the Catacomb of the Witch, but a Dimensional Rift that has consumed the Catacomb of the Witch
+This is your reward for you help with the operation. The operation continues as we speak, and I'd like you to return and help out again whenever you'd like.
+ \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/Q00928_100DaySubjugationOperation.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/Q00928_100DaySubjugationOperation.java new file mode 100644 index 0000000000..20f97f4eeb --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00928_100DaySubjugationOperation/Q00928_100DaySubjugationOperation.java @@ -0,0 +1,204 @@ +/* + * 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 quests.Q00928_100DaySubjugationOperation; + +import com.l2jmobius.gameserver.enums.QuestType; +import com.l2jmobius.gameserver.model.actor.L2Npc; +import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; +import com.l2jmobius.gameserver.model.quest.Quest; +import com.l2jmobius.gameserver.model.quest.QuestState; +import com.l2jmobius.gameserver.model.quest.State; + +/** + * 100-day Subjugation Operation (928) + * @URL https://l2wiki.com/100-day_Subjugation_Operation + * @VIDEO https://www.youtube.com/watch?v=83Z85GRNpzA + * @author Gigi + * @date 2017-12-05 - [11:45:30] + */ +public class Q00928_100DaySubjugationOperation extends Quest +{ + // Npc + private static final int LIAS = 34265; + // Monsters + private static final int LILLIM_ROYAL_KNIGHT = 23801; + private static final int LILLIM_SLAYER = 23802; + private static final int GIGANTIC_HEALER = 23803; + private static final int LILLIM_GRAT_MAGUS = 23804; + private static final int NEPHILM_ROYAL_GUARD = 23805; + + private static final int WANDERING_OF_DIMENSION = 23806; + private static final int WANDERING_SPIRIT = 23807; + private static final int LOST_SOUL_DIMENSION = 23808; + private static final int LOST_DIMENSION_EVIL = 23809; + private static final int ROAMING_VENGEANCE = 23810; + // Items + private static final int ATTACKERS_SOUL = 47512; + private static final int LIAS_SUPPLY_ITEMS = 47504; + private static final int DIMENSIONAL_TRACES = 47511; + // Misc + private static final int MIN_LEVEL = 100; + + public Q00928_100DaySubjugationOperation() + { + super(928); + addStartNpc(LIAS); + addTalkId(LIAS); + addKillId(LILLIM_ROYAL_KNIGHT, LILLIM_SLAYER, GIGANTIC_HEALER, LILLIM_GRAT_MAGUS, NEPHILM_ROYAL_GUARD); + addKillId(WANDERING_OF_DIMENSION, WANDERING_SPIRIT, LOST_SOUL_DIMENSION, LOST_DIMENSION_EVIL, ROAMING_VENGEANCE); + registerQuestItems(ATTACKERS_SOUL); + addCondMinLevel(MIN_LEVEL, "34265-00.html"); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "34265-02.htm": + case "34265-03.htm": + { + htmltext = event; + break; + } + case "34265-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34265-07.html": + { + if (player.getLevel() >= MIN_LEVEL) + { + if (getQuestItemsCount(player, DIMENSIONAL_TRACES) < 99) + { + giveItems(player, DIMENSIONAL_TRACES, 1); + giveItems(player, LIAS_SUPPLY_ITEMS, 1); + addExpAndSp(player, 11_028_245_723L, 26_467_790); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + break; + } + addExpAndSp(player, 11_028_245_723L, 26_467_790); + giveItems(player, DIMENSIONAL_TRACES, 1); + giveItems(player, LIAS_SUPPLY_ITEMS, 1); + qs.exitQuest(QuestType.ONE_TIME, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + switch (qs.getState()) + { + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + qs.setState(State.CREATED); + } + case State.CREATED: + { + htmltext = "34265-01.htm"; + break; + } + case State.STARTED: + { + htmltext = (qs.isCond(1)) ? "34265-05.html" : "34265-06.html"; + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && (qs.isCond(1))) + { + switch (npc.getId()) + { + case LILLIM_ROYAL_KNIGHT: + { + final L2Npc mob1 = addSpawn(WANDERING_OF_DIMENSION, npc, false, 180000, false); + addAttackPlayerDesire(mob1, killer); + break; + } + case LILLIM_SLAYER: + { + final L2Npc mob2 = addSpawn(ROAMING_VENGEANCE, npc, false, 180000, false); + addAttackPlayerDesire(mob2, killer); + break; + } + case GIGANTIC_HEALER: + { + final L2Npc mob3 = addSpawn(LOST_SOUL_DIMENSION, npc, false, 180000, false); + addAttackPlayerDesire(mob3, killer); + break; + } + case LILLIM_GRAT_MAGUS: + { + final L2Npc mob4 = addSpawn(LOST_DIMENSION_EVIL, npc, false, 180000, false); + addAttackPlayerDesire(mob4, killer); + break; + } + case NEPHILM_ROYAL_GUARD: + { + final L2Npc mob5 = addSpawn(WANDERING_SPIRIT, npc, false, 180000, false); + addAttackPlayerDesire(mob5, killer); + break; + } + case WANDERING_OF_DIMENSION: + case WANDERING_SPIRIT: + case LOST_SOUL_DIMENSION: + case LOST_DIMENSION_EVIL: + case ROAMING_VENGEANCE: + { + if (giveItemRandomly(killer, npc, ATTACKERS_SOUL, 1, 100, 1.0, true)) + { + qs.setCond(2, true); + } + break; + } + } + } + return super.onKill(npc, killer, isSummon); + } +} \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/QuestMasterHandler.java index 36590db191..4ce97798c5 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -190,6 +190,7 @@ import quests.Q00902_ReclaimOurEra.Q00902_ReclaimOurEra; import quests.Q00903_TheCallOfAntharas.Q00903_TheCallOfAntharas; import quests.Q00905_RefinedDragonBlood.Q00905_RefinedDragonBlood; import quests.Q00906_TheCallOfValakas.Q00906_TheCallOfValakas; +import quests.Q00928_100DaySubjugationOperation.Q00928_100DaySubjugationOperation; import quests.Q00937_ToReviveTheFishingGuild.Q00937_ToReviveTheFishingGuild; import quests.Q10273_GoodDayToFly.Q10273_GoodDayToFly; import quests.Q10274_CollectingInTheAir.Q10274_CollectingInTheAir; @@ -615,6 +616,7 @@ public class QuestMasterHandler Q00903_TheCallOfAntharas.class, Q00905_RefinedDragonBlood.class, Q00906_TheCallOfValakas.class, + Q00928_100DaySubjugationOperation.class, Q00937_ToReviveTheFishingGuild.class, Q10273_GoodDayToFly.class, Q10274_CollectingInTheAir.class, diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/spawns/Aden/TownOfAden.xml b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/spawns/Aden/TownOfAden.xml index 12dbff6e71..cd5be9e704 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/spawns/Aden/TownOfAden.xml +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/spawns/Aden/TownOfAden.xml @@ -106,6 +106,7 @@ + diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/spawns/Hunters/DimensionalCrack.xml b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/spawns/Hunters/DimensionalCrack.xml new file mode 100644 index 0000000000..1c91a82ea2 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/spawns/Hunters/DimensionalCrack.xml @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/spawns/Hunters/DimensionalRift.xml b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/spawns/Hunters/DimensionalRift.xml new file mode 100644 index 0000000000..c84fecdc9a --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/spawns/Hunters/DimensionalRift.xml @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/stats/npcs/34200-34299.xml b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/stats/npcs/34200-34299.xml index 18ef1d9540..28d22faa47 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/stats/npcs/34200-34299.xml +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/stats/npcs/34200-34299.xml @@ -513,7 +513,7 @@ - + ETC FEMALE @@ -1206,7 +1206,7 @@ - + ETC FEMALE diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/teleporters/others/Beloa.xml b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/teleporters/others/Beloa.xml new file mode 100644 index 0000000000..e9c7076801 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/teleporters/others/Beloa.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/teleporters/others/Lias.xml b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/teleporters/others/Lias.xml new file mode 100644 index 0000000000..accf61c911 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/teleporters/others/Lias.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/readme.txt b/L2J_Mobius_4.0_GrandCrusade/readme.txt index ba13515cd3..42131c9303 100644 --- a/L2J_Mobius_4.0_GrandCrusade/readme.txt +++ b/L2J_Mobius_4.0_GrandCrusade/readme.txt @@ -69,6 +69,8 @@ Underground: -Daily rewards Helios: +-Dimensional Rift +-Dimensional Crack -Giants Cave -Superion Fortress -Ramona