diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/instances/FortressOfTheDead.xml b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/instances/FortressOfTheDead.xml new file mode 100644 index 0000000000..b98cbf1d71 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/instances/FortressOfTheDead.xml @@ -0,0 +1,26 @@ + + + + diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-01.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-01.html new file mode 100644 index 0000000000..30449e8c24 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-01.html @@ -0,0 +1,4 @@ +Kain Van Halter:
+You're Ertheia. Child of the wind. Why would you try to kill Giselle all the way out here?
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-13.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-02.html similarity index 55% rename from L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-13.html rename to L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-02.html index 05d17b2eea..5626c0f3ca 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-13.html +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-02.html @@ -1,5 +1,5 @@ -Kain Van Halter:
-That's not a good reason. The fact that you came all the way here alone is suspicious.
-You were after Giselle's life in the first place!
- +Kain Van Halter:
+That's not a good reason. The fact that you came all the way here alone is suspicious.
+You were after Giselle's life in the first place!
+ \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-03.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-03.html new file mode 100644 index 0000000000..16733b17c4 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-03.html @@ -0,0 +1,6 @@ +Kain Van Halter:
+The Queen of Ertheia sent you?
+All right, then. Since Giselle became very aggressive after becoming a vampire, I will take your word on your dispute.
+But what brings you all the way here? Why were you looking for Giselle? I can't imagine Ertheia having business with her.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-04.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-04.html similarity index 59% rename from L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-04.html rename to L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-04.html index b91f788f41..77491f830e 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-04.html +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-04.html @@ -1,5 +1,5 @@ -Kain Van Halter:
-Me?
-What do you want with a wanderer like me? And I don't see why I should even help you. You tried to harm my sister! Good thing I stopped by to check on her.
- +Kain Van Halter:
+Me?
+What do you want with a wanderer like me? And I don't see why I should even help you. You tried to harm my sister! Good thing I stopped by to check on her.
+ \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-05.html new file mode 100644 index 0000000000..91a53bf642 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-05.html @@ -0,0 +1,5 @@ +Kain Van Halter:
+Prophecy Machine?
+What about the Prophecy Machine?
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-06.html new file mode 100644 index 0000000000..cc5aa121b3 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-06.html @@ -0,0 +1,9 @@ +Kain Van Halter:
+
A red river flows...hard frost upon the earth... +One of half-noble blood, +descending with the winds to deliver from... +When joined by one... +The path will open to the Grail.
+So why are you showing me this?
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-07.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-07.html new file mode 100644 index 0000000000..f4ad9631f0 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-07.html @@ -0,0 +1,5 @@ +Kain Van Halter:
+I see. Did Karla tell you? So she still remembers me mentioning the Grail that day.
+Check this out first.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-08.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-08.html similarity index 69% rename from L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-08.html rename to L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-08.html index d99ebf8b96..bb218edbb2 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-08.html +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-08.html @@ -1,6 +1,6 @@ -Kain Van Halter:
-Surprised? I found it while passing Goddard Territory.
-This looks similar to the Prophecy Machine that you showed me. It's probably a part of the whole.
-And about what's written on your machine... I think I know what it's saying.
- +Kain Van Halter:
+Surprised? I found it while passing Goddard Territory.
+This looks similar to the Prophecy Machine that you showed me. It's probably a part of the whole.
+And about what's written on your machine... I think I know what it's saying.
+ \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-09.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-09.html new file mode 100644 index 0000000000..1aadf6c95f --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-09.html @@ -0,0 +1,6 @@ +Kain Van Halter:
+A red river flows...Hm. I think I can see where this is going.
+It's talking about this continent. A red river flows...hard frost upon the earth. You see, Elmore rules over a cold part of the land, which it once shared with Aden as Elmoreden. Now the whole continent is swarming with Shilen's bloody works.
+But this part is surprising. When joined by one...the path will open to the Grail. Truly?
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-10.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-10.html similarity index 71% rename from L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-10.html rename to L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-10.html index e08ab151ad..e3c2128cd2 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-10.html +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-10.html @@ -1,7 +1,8 @@ -Kain Van Halter:
-One of half-noble blood...
-Ha! Even the prophecy of Ertheia describes me so, huh? Well, it's right. My mother was a commoner. A tragic farce, to be loved by the king! So here I am, a prince only in name. And descending with the winds to deliver from...yes, that is me. I happened to save Faeron once. Kain is your man!
-The Grail...if it's the same Grail, then...anyway, you can read the rest of the prophecy with the fragment that I found, right?
-Take it. Your village needs it more than I.
- +Kain Van Halter:
+One of half-noble blood...
+Ha! Even the prophecy of Ertheia describes me so, huh? Well, it's right. My mother was a commoner. A tragic farce, to be loved by the king! So here I am, a prince only in name. And descending with the winds to deliver from...yes, that is me. I happened to save Faeron once. Kain is your man!
+The Grail...if it's the same Grail, then...anyway, you can read the rest of the prophecy with the fragment that I found, right?
+Take it. Your village needs it more than I.
+Hmm? Wait...
+ \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-11.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-11.html new file mode 100644 index 0000000000..ef124ba966 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979-11.html @@ -0,0 +1,2 @@ +Kain Van Halter:
+Who is that person standing there? \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979.html new file mode 100644 index 0000000000..239fde8fcc --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33979.html @@ -0,0 +1,5 @@ +Kain Van Halter:
+You trespass on the land of death. Who are you? +No matter. You threatened Giselle with harm, and you will answer to me!
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33980.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33980.html new file mode 100644 index 0000000000..c111072747 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/33980.html @@ -0,0 +1,5 @@ +Mysterious Wizard:
+It seems nothing happened.
+Did you find the person you were looking for?
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/FortressOfTheDead.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/FortressOfTheDead.java new file mode 100644 index 0000000000..04635c06ee --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/FortressOfTheDead/FortressOfTheDead.java @@ -0,0 +1,191 @@ +/* + * 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 instances.FortressOfTheDead; + +import org.l2jmobius.gameserver.enums.Movie; +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.instancezone.Instance; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.network.NpcStringId; +import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage; + +import instances.AbstractInstance; +import quests.Q11026_PathOfDestinyConviction.Q11026_PathOfDestinyConviction; + +/** + * Fortress of the Dead instance zone. + * @author Gladicek + */ +public class FortressOfTheDead extends AbstractInstance +{ + // NPCs + private static final int VAMPIRIC_SOLDIER = 19567; + private static final int VON_HELLMAN = 19566; + private static final int MYSTERIOUS_WIZARD = 33980; + private static final int KAIN_VAN_HALTER = 33979; + // Items + private static final int KAIN_PROPHECY_MACHINE_FRAGMENT = 39538; + // Location + private static final Location VON_HELLMAN_LOC = new Location(57963, -28676, 568, 49980); + private static final Location MYSTERIOUS_WIZARD_LOC = new Location(57982, -28645, 568); + private static final Location KAIN_VAN_HALTER_LOC = new Location(57963, -28676, 568, 49980); + // Misc + private static final int TEMPLATE_ID = 254; + + public FortressOfTheDead() + { + super(TEMPLATE_ID); + addStartNpc(KAIN_VAN_HALTER); + addFirstTalkId(KAIN_VAN_HALTER, MYSTERIOUS_WIZARD); + addTalkId(KAIN_VAN_HALTER, MYSTERIOUS_WIZARD); + addKillId(VAMPIRIC_SOLDIER, VON_HELLMAN); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + + if (event.equals("enterInstance")) + { + enterInstance(player, npc, TEMPLATE_ID); + } + else + { + final Instance world = npc.getInstanceWorld(); + if (isInInstance(world)) + { + switch (event) + { + case "33979-01.html": + case "33979-02.html": + case "33979-03.html": + case "33979-04.html": + case "33979-05.html": + case "33979-06.html": + case "33979-07.html": + case "33979-08.html": + case "33979-09.html": + case "33979-10.html": + { + htmltext = event; + break; + } + case "exitInstance": + { + world.finishInstance(0); + break; + } + case "vampire_dead": + { + addSpawn(VON_HELLMAN, VON_HELLMAN_LOC, false, 0, false, world.getId()); + break; + } + case "hellman_dead": + { + addSpawn(KAIN_VAN_HALTER, KAIN_VAN_HALTER_LOC, false, 0, false, world.getId()); + break; + } + case "spawnWizard": + { + showOnScreenMsg(player, NpcStringId.TALK_TO_THE_MYSTERIOUS_WIZARD, ExShowScreenMessage.TOP_CENTER, 5000); + final Npc wizzard = addSpawn(MYSTERIOUS_WIZARD, MYSTERIOUS_WIZARD_LOC, true, 0, false, world.getId()); + wizzard.setSummoner(player); + wizzard.setTitle(player.getAppearance().getVisibleName()); + wizzard.broadcastInfo(); + htmltext = "33979-11.html"; + break; + } + case "endCinematic": + { + final QuestState qs = player.getQuestState(Q11026_PathOfDestinyConviction.class.getSimpleName()); + + if ((qs != null) && qs.isCond(3)) + { + qs.setCond(4, true); + giveItems(player, KAIN_PROPHECY_MACHINE_FRAGMENT, 1); + } + world.getNpc(KAIN_VAN_HALTER).deleteMe(); + world.getNpc(MYSTERIOUS_WIZARD).deleteMe(); + playMovie(player, Movie.ERT_QUEST_B); + startQuestTimer("exitInstance", 25000, npc, player); + break; + } + } + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + final Instance world = npc.getInstanceWorld(); + + if (isInInstance(world)) + { + if (npc.getId() == VAMPIRIC_SOLDIER) + { + if (world.getAliveNpcs(VAMPIRIC_SOLDIER).isEmpty()) + { + startQuestTimer("vampire_dead", 3000, npc, player); + } + } + else if (npc.getId() == VON_HELLMAN) + { + npc.deleteMe(); + playMovie(player, Movie.ERT_QUEST_A); + startQuestTimer("hellman_dead", 6000, npc, player); + } + } + return super.onKill(npc, player, isSummon); + } + + @Override + public String onFirstTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = player.getQuestState(Q11026_PathOfDestinyConviction.class.getSimpleName()); + String htmltext = null; + switch (npc.getId()) + { + case KAIN_VAN_HALTER: + { + if ((qs != null) && qs.isCond(3)) + { + htmltext = "33979.html"; + } + break; + } + case MYSTERIOUS_WIZARD: + { + if ((qs != null) && qs.isCond(3)) + { + htmltext = "33980.html"; + } + break; + } + } + return htmltext; + } + + public static void main(String[] args) + { + new FortressOfTheDead(); + } +} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-03.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-03.html index 208390316e..83e8f259dc 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-03.html +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-03.html @@ -3,5 +3,5 @@ That place... Is where the one with noble blood must face eternal pain.
No one wants to go to the Fortress of the Dead.
But... That man reached that place because he wanted to, and you must go there to meet that man.
That's as far as I know from the oracle. All I can do is guide you to that place.
- + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-04.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-04.html new file mode 100644 index 0000000000..78cd7e1af4 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-04.html @@ -0,0 +1,3 @@ +High Priest Raymond:
+Time to go to Tarti for the award.
+ \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31522-01.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31522-01.html deleted file mode 100644 index b6daf23ac4..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31522-01.html +++ /dev/null @@ -1,5 +0,0 @@ -Mysterious Wizard:
-It seems nothing happened.
-Did you find the person you were looking for?
- - \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-01.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-01.html deleted file mode 100644 index a4082feb03..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-01.html +++ /dev/null @@ -1,4 +0,0 @@ -Kain Van Halter:
-Who are you? Why would you try to kill Giselle all the way out here?
- - \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-02.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-02.html deleted file mode 100644 index 0f168c6676..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-02.html +++ /dev/null @@ -1,5 +0,0 @@ -Kain Van Halter:
-That's not a good reason. The fast that you came all the way here alone is suspicious.
-You were after Giselle's life in the first place!
- - \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-03.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-03.html deleted file mode 100644 index 1fd7783863..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-03.html +++ /dev/null @@ -1,6 +0,0 @@ -Kain Van Halter:
-The High Priest of Gludio?
-Alright, then. Let's say I believe that Giselle has attacked you first. Vampires have a hard time controlling themselves, that's for sure...
-However, what brings you all the way here? Why have you been looking for Giselle? I can't imagine you having business with her.
- - \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-05.html deleted file mode 100644 index 4a7f46d86d..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-05.html +++ /dev/null @@ -1,5 +0,0 @@ -Kain Van Halter:
-Prophecy Machine?
-What about the Prophecy Machine?
- - \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-06.html deleted file mode 100644 index ad0818c3fe..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-06.html +++ /dev/null @@ -1,11 +0,0 @@ -Kain Van Halter:
-A red river flows...hard frost upon the earth... Listen.
-And One of half-noble blood,
-And One of half-noble blood, descending with the winds to deliver from torment, will come.
-Listen.
-When joined by one of nobility,
-The path will open to the Grail.
-... ...
-So why are you showing me this?
- - \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-07.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-07.html deleted file mode 100644 index bec336bf16..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-07.html +++ /dev/null @@ -1,5 +0,0 @@ -Kain Van Halter:
-I see. Did Karla tell you? So sge still remembers me mentioning the Grail that day.
-Check this out first.
- - \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-09.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-09.html deleted file mode 100644 index e44cceec17..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-09.html +++ /dev/null @@ -1,5 +0,0 @@ -Kain Van Halter:
-A red river flows... hard frost upon the earth. You see, Elmore rules over a cold part of the land, which it once shared with Aden as Elmoreden. Now the whole continent is swarming with Shilen's bloody works.
-But this part is surprising. When joined by one... the path will open to the Grail. Truly?
- - \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-11.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-11.html deleted file mode 100644 index 21eeacc5a8..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-11.html +++ /dev/null @@ -1,3 +0,0 @@ -Kain Van Halter:
-Who is that person standing there?
- \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-12.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-12.html deleted file mode 100644 index 202f73e982..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-12.html +++ /dev/null @@ -1,4 +0,0 @@ -Kain Van Halter:
-Who are you? Why would you try to kill Giselle all the way out here?
- - \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-14.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-14.html deleted file mode 100644 index 071767cd7e..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34339-14.html +++ /dev/null @@ -1,6 +0,0 @@ -Kain van Halter:
-The High Priest of Gludio?
-Alright, then. Let's say I believe that Giselle has attacked you first. Vampires have a hard time controlling themselves, that's for sure...
-However, what brings you all the way here? Why have you been looking for Giselle? I can't imagine you having business with her.
- - \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/Q11026_PathOfDestinyConviction.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/Q11026_PathOfDestinyConviction.java index 3947caeeb2..e3b91de041 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/Q11026_PathOfDestinyConviction.java +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/Q11026_PathOfDestinyConviction.java @@ -19,9 +19,7 @@ package quests.Q11026_PathOfDestinyConviction; import org.l2jmobius.Config; import org.l2jmobius.gameserver.data.xml.impl.CategoryData; import org.l2jmobius.gameserver.enums.CategoryType; -import org.l2jmobius.gameserver.enums.Movie; import org.l2jmobius.gameserver.enums.Race; -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.events.EventType; @@ -33,7 +31,6 @@ import org.l2jmobius.gameserver.model.quest.Quest; import org.l2jmobius.gameserver.model.quest.QuestState; import org.l2jmobius.gameserver.model.quest.State; import org.l2jmobius.gameserver.network.NpcStringId; -import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage; import org.l2jmobius.gameserver.network.serverpackets.classchange.ExRequestClassChangeUi; import quests.Q11025_PathOfDestinyProving.Q11025_PathOfDestinyProving; @@ -48,15 +45,8 @@ public class Q11026_PathOfDestinyConviction extends Quest // NPCs private static final int TARTI = 34505; private static final int RAYMOND = 30289; - private static final int KAIN_VAN_HALTER = 34339; - private static final int MYSTERIOUS_MAGE = 31522; - private static final int VAMPIRE_SOLDIER = 21582; - private static final int VON_HELLMANN = 19566; - // Items - private static final int WIND_SPIRIT = 80673; - // Location - private static final Location TELEPORT_1 = new Location(57983, -28955, 568); - private static final Location TELEPORT_2 = new Location(-14180, 123840, -3120); + // Item + private static final int KAIN_PROPHECY_MACHINE_FRAGMENT = 39538; // Misc private static final int MIN_LEVEL = 76; @@ -64,12 +54,10 @@ public class Q11026_PathOfDestinyConviction extends Quest { super(11026); addStartNpc(TARTI); - addTalkId(TARTI, RAYMOND, KAIN_VAN_HALTER, MYSTERIOUS_MAGE); - addFirstTalkId(KAIN_VAN_HALTER, MYSTERIOUS_MAGE); - addKillId(VAMPIRE_SOLDIER, VON_HELLMANN); - registerQuestItems(WIND_SPIRIT); - addCondMinLevel(41, "33963-06.html"); // Not retail, just don't want to see it as unavailable when picking up next quest. - addCondCompletedQuest(Q11025_PathOfDestinyProving.class.getSimpleName(), "33963-06.html"); + addTalkId(TARTI, RAYMOND); + registerQuestItems(KAIN_PROPHECY_MACHINE_FRAGMENT); + addCondMinLevel(41, "34505-06.html"); // Not retail, just don't want to see it as unavailable when picking up next quest. + addCondCompletedQuest(Q11025_PathOfDestinyProving.class.getSimpleName(), "34505-06.html"); setQuestNameNpcStringId(NpcStringId.LV_40_PATH_OF_DESTINY_CONVICTION); } @@ -89,15 +77,6 @@ public class Q11026_PathOfDestinyConviction extends Quest case "34505-09.html": case "34505-11.html": case "30289-03.html": - case "34339-02.html": - case "34339-03.html": - case "34339-04.html": - case "34339-05.html": - case "34339-06.html": - case "34339-07.html": - case "34339-08.html": - case "34339-09.html": - case "34339-11.html": { htmltext = event; break; @@ -135,37 +114,6 @@ public class Q11026_PathOfDestinyConviction extends Quest htmltext = event; break; } - case "teleport": - { - if (qs.isCond(3)) - { - final Npc mob = addSpawn(VAMPIRE_SOLDIER, 57983, -28955, 568, 0, true, 180000); - addAttackPlayerDesire(mob, player); - player.teleToLocation(TELEPORT_1); - } - break; - } - case "34339-10.html": - { - if (qs.isCond(3)) - { - addSpawn(MYSTERIOUS_MAGE, npc.getX() + 40, npc.getY() + 40, npc.getZ(), npc.getHeading(), false, 120000); - showOnScreenMsg(player, NpcStringId.TALK_TO_THE_MYSTERIOUS_WIZARD, ExShowScreenMessage.TOP_CENTER, 10000); - break; - } - } - case "falver": - { - if (qs.isCond(3)) - { - qs.setCond(4, true); - playMovie(player, Movie.SI_CHOICE_OF_KAIN_A); - giveItems(player, WIND_SPIRIT, 1); - player.teleToLocation(TELEPORT_2); - htmltext = event; - } - break; - } case "34505-10.html": { if (qs.isCond(4)) @@ -238,21 +186,13 @@ public class Q11026_PathOfDestinyConviction extends Quest { htmltext = "30289-01.html"; } - break; - } - case KAIN_VAN_HALTER: - { - if (qs.isCond(3)) + else if (qs.isCond(3)) { - htmltext = "34339-01.html"; + htmltext = "30289-03.html"; } - break; - } - case MYSTERIOUS_MAGE: - { - if (qs.isCond(3)) + else if (qs.isCond(4)) { - htmltext = "31522-01.html"; + htmltext = "30289-04.html"; } break; } @@ -268,37 +208,6 @@ public class Q11026_PathOfDestinyConviction extends Quest return htmltext; } - @Override - public String onFirstTalk(Npc npc, PlayerInstance player) - { - return npc.getId() + "-01.html"; - } - - @Override - public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) - { - final QuestState qs = getQuestState(killer, false); - if ((qs != null) && qs.isCond(3)) - { - switch (npc.getId()) - { - case VAMPIRE_SOLDIER: - { - final Npc mob = addSpawn(VON_HELLMANN, npc, false, 120000); - addAttackPlayerDesire(mob, killer); - break; - } - case VON_HELLMANN: - { - playMovie(killer, Movie.SI_CHOICE_OF_KAIN_B); - addSpawn(KAIN_VAN_HALTER, 57983, -28955, 568, 0, false, 120000); - break; - } - } - } - return super.onKill(npc, killer, isSummon); - } - @RegisterEvent(EventType.ON_PLAYER_LOGIN) @RegisterType(ListenerRegisterType.GLOBAL_PLAYERS) public void OnPlayerLogin(OnPlayerLogin event)