From e8b7bce5161a52e2f97db0592f95c32db42dd85d Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Thu, 14 Nov 2019 09:25:51 +0000 Subject: [PATCH] Addition of quest Path of Destiny - Conviction (11026). Contributed by Dmitri. --- .../data/scripts/quests/MissingQuests.txt | 1 - .../30289-01.html | 5 + .../30289-02.html | 5 + .../30289-03.html | 7 + .../31522-01.html | 5 + .../31639-01.html | 4 + .../31639-02.html | 5 + .../31639-03.html | 6 + .../31639-04.html | 5 + .../31639-05.html | 5 + .../31639-06.html | 11 + .../31639-07.html | 5 + .../31639-08.html | 6 + .../31639-09.html | 5 + .../31639-10.html | 7 + .../31639-11.html | 3 + .../31639-12.html | 4 + .../31639-13.html | 5 + .../31639-14.html | 6 + .../34505-01.html | 5 + .../34505-02.html | 10 + .../34505-03.html | 3 + .../34505-04.html | 5 + .../34505-06.html | 3 + .../34505-07.html | 5 + .../34505-08.html | 5 + .../34505-09.html | 6 + .../34505-10.html | 5 + .../34505-11.html | 6 + .../Q11026_PathOfDestinyConviction.java | 319 ++++++++++++++++++ .../scripts/quests/QuestMasterHandler.java | 2 + 31 files changed, 473 insertions(+), 1 deletion(-) create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-01.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-02.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-03.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31522-01.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-01.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-02.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-03.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-04.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-05.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-06.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-07.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-08.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-09.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-10.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-11.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-12.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-13.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-14.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-01.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-02.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-03.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-04.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-06.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-07.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-08.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-09.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-10.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-11.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/Q11026_PathOfDestinyConviction.java diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/MissingQuests.txt index 547e160280..a3be32ed58 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/MissingQuests.txt +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/MissingQuests.txt @@ -232,7 +232,6 @@ 10900 Path to Strength 10901 A Model Adventurer 11024 Path of Destiny - Beginning -11026 Path of Destiny - Conviction 11027 Path of Destiny - Overcome 11028 Wind of Destiny - Encounter 11029 Wind of Destiny - Promise diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-01.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-01.html new file mode 100644 index 0000000000..de4bf592db --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-01.html @@ -0,0 +1,5 @@ +High Priest Raymond:
+You have the Ertheia's prophecy device.
+Then you must be the one I've been waiting for.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-02.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-02.html new file mode 100644 index 0000000000..1085bc1345 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-02.html @@ -0,0 +1,5 @@ +High Priest Raymond:
+I was chosen one day. It was an oracle after so long, but the message was very ambiguous.
+What I do remember is that someone will come to me with the Ertheia's prophecy device, and I must guide them to some place.
+ + \ No newline at end of file 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 new file mode 100644 index 0000000000..208390316e --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/30289-03.html @@ -0,0 +1,7 @@ +High Priest Raymond:
+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/31522-01.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31522-01.html new file mode 100644 index 0000000000..b6daf23ac4 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31522-01.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/quests/Q11026_PathOfDestinyConviction/31639-01.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-01.html new file mode 100644 index 0000000000..5661623094 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-01.html @@ -0,0 +1,4 @@ +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/31639-02.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-02.html new file mode 100644 index 0000000000..147b9e3006 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-02.html @@ -0,0 +1,5 @@ +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/31639-03.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-03.html new file mode 100644 index 0000000000..65886482c9 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-03.html @@ -0,0 +1,6 @@ +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/31639-04.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-04.html new file mode 100644 index 0000000000..7d839ca95e --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-04.html @@ -0,0 +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.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-05.html new file mode 100644 index 0000000000..4d54114a54 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-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/quests/Q11026_PathOfDestinyConviction/31639-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-06.html new file mode 100644 index 0000000000..9ce08b78cc --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-06.html @@ -0,0 +1,11 @@ +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/31639-07.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-07.html new file mode 100644 index 0000000000..0d195b0908 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-07.html @@ -0,0 +1,5 @@ +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/31639-08.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-08.html new file mode 100644 index 0000000000..8a61595809 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-08.html @@ -0,0 +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.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-09.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-09.html new file mode 100644 index 0000000000..7b9397a7bd --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-09.html @@ -0,0 +1,5 @@ +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/31639-10.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-10.html new file mode 100644 index 0000000000..f0d0dbb20c --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-10.html @@ -0,0 +1,7 @@ +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.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-11.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-11.html new file mode 100644 index 0000000000..21eeacc5a8 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-11.html @@ -0,0 +1,3 @@ +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/31639-12.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-12.html new file mode 100644 index 0000000000..218a080aa9 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-12.html @@ -0,0 +1,4 @@ +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/31639-13.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-13.html new file mode 100644 index 0000000000..c77aa0e8c2 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-13.html @@ -0,0 +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!
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-14.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-14.html new file mode 100644 index 0000000000..071767cd7e --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/31639-14.html @@ -0,0 +1,6 @@ +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/34505-01.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-01.html new file mode 100644 index 0000000000..4b112b4ea6 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-01.html @@ -0,0 +1,5 @@ +Tarti:
+Do you remember what you've heard about the immortality curse in the Ruins of Despair? I've learned about a... let's say, an antidote that might have something to do with this curse.
+There is a place you can go to investigate it. It's not far from here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-02.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-02.html new file mode 100644 index 0000000000..0e187f6b54 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-02.html @@ -0,0 +1,10 @@ +Tarti:
+The land that was once united is now covered in blood.
+......
+A half-blood destined to become a noble hero will descend upon frozen earth following the wind.
+......
+Once his noble blood awakens he will lead you to the Holy Chalice.
+That's all I could decypher. It's a prophecy so the meaning is not entirely clear.
+I was thinking about this once I returned from Faeron but my thoughts were interrupted when High Priest Raymond from the Einhasad Temple came up to me and told something even stranger.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-03.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-03.html new file mode 100644 index 0000000000..a54b9e30e5 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-03.html @@ -0,0 +1,3 @@ +Tarti:
+You need to reach level 76 as quickly as possible. If you have already reached level 76, talk to Tarti, she is waiting for you!.
+ \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-04.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-04.html new file mode 100644 index 0000000000..00f792367a --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-04.html @@ -0,0 +1,5 @@ +Tarti:
+I agree completely.
+Go to the Einhasad Temple and find Raymond.
+I'm sure this quest won't be easy... But you're strong enough. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-06.html new file mode 100644 index 0000000000..e16ea1868d --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-06.html @@ -0,0 +1,3 @@ +Tarti:
+The quest can be performed by arteys who have completed their second liberation, and other races who have completed their third profession. Character level must be 76! Requires completed quest Path of Destiny - Conviction.
+ \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-07.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-07.html new file mode 100644 index 0000000000..43bd5b107a --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-07.html @@ -0,0 +1,5 @@ +Tarti:
+You look so strange... What's happened?
+Have you met with kain?
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-08.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-08.html new file mode 100644 index 0000000000..001c009952 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-08.html @@ -0,0 +1,5 @@ +Tarti:
+Someone else? But it's only been... How did you manage to do it all so quickly?
+Tell me what happened.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-09.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-09.html new file mode 100644 index 0000000000..09637aec89 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-09.html @@ -0,0 +1,6 @@ +Tarti:
+So Kain is... a prince?
+Karla will be so surprised!
+I wonder, what prince would lead such a quite and unremarkable life? There must be a reason.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-10.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-10.html new file mode 100644 index 0000000000..588098d1f1 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-10.html @@ -0,0 +1,5 @@ +Tarti:
+That means... the holy Chalice?
+It is the holy Grail? Ertheians are looking for it too. Maybe it could help us return to the Wind Spirit Realm.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-11.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-11.html new file mode 100644 index 0000000000..e457daaed3 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-11.html @@ -0,0 +1,6 @@ +Tarti:
+Wow!
+There is no time for contemplation!
+We need to tell Navari everything as soon as possible.
+Oh!.. Looks like it's time for another class change! Now the third class change is available to you. Congratulations. Don't waste your time, change the class! + \ 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 new file mode 100644 index 0000000000..4fc1a9c2ba --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/Q11026_PathOfDestinyConviction.java @@ -0,0 +1,319 @@ +/* + * 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.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; +import org.l2jmobius.gameserver.model.events.ListenerRegisterType; +import org.l2jmobius.gameserver.model.events.annotations.RegisterEvent; +import org.l2jmobius.gameserver.model.events.annotations.RegisterType; +import org.l2jmobius.gameserver.model.events.impl.creature.player.OnPlayerLogin; +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; + +/** + * Path of Destiny - Conviction (11026) + * @URL https://l2wiki.com/Path_of_Destiny_-_Conviction + * @author Dmitri, Mobius + */ +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 = 31639; + 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); + // Misc + private static final int MIN_LEVEL = 76; + + public Q11026_PathOfDestinyConviction() + { + 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(MIN_LEVEL, "34505-06.html"); + addCondCompletedQuest(Q11025_PathOfDestinyProving.class.getSimpleName(), "33963-06.html"); + setQuestNameNpcStringId(NpcStringId.LV_40_PATH_OF_DESTINY_CONVICTION); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34505-08.html": + case "34505-09.html": + case "34505-11.html": + case "30289-03.html": + case "31639-02.html": + case "31639-03.html": + case "31639-04.html": + case "31639-05.html": + case "31639-06.html": + case "31639-07.html": + case "31639-08.html": + case "31639-09.html": + case "31639-11.html": + { + htmltext = event; + break; + } + case "34505-02.html": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34505-03.html": + { + htmltext = event; + if (player.getLevel() >= 76) + { + qs.setCond(2, true); + htmltext = "34505-04.html"; + } + break; + } + case "30289-02.html": + { + if (qs.isCond(2)) + { + qs.setCond(3, true); + } + 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 "31639-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)) + { + addExpAndSp(player, 14281098, 12852); + qs.exitQuest(false, true); + if (CategoryData.getInstance().isInCategory(CategoryType.THIRD_CLASS_GROUP, player.getClassId().getId()) || // + (CategoryData.getInstance().isInCategory(CategoryType.SECOND_CLASS_GROUP, player.getClassId().getId()) && (player.getRace() == Race.ERTHEIA))) + { + player.sendPacket(ExRequestClassChangeUi.STATIC_PACKET); + } + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == TARTI) + { + htmltext = "34505-01.html"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case TARTI: + { + if (qs.isCond(1)) + { + qs.setCond(2, true); + htmltext = "34505-04.html"; + break; + } + else if (qs.isCond(2)) + { + htmltext = "34505-04.html"; // TODO: Proper second talk dialog. + break; + } + else if (qs.isCond(4)) + { + htmltext = "34505-07.html"; + } + break; + } + case RAYMOND: + { + if (qs.isCond(2)) + { + htmltext = "30289-01.html"; + } + break; + } + case KAIN_VAN_HALTER: + { + if (qs.isCond(3)) + { + htmltext = "31639-01.html"; + } + break; + } + case MYSTERIOUS_MAGE: + { + if (qs.isCond(3)) + { + htmltext = "33980-01.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + 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) + { + if (Config.DISABLE_TUTORIAL) + { + return; + } + + final PlayerInstance player = event.getPlayer(); + if (player == null) + { + return; + } + + if (player.getRace() == Race.ERTHEIA) + { + if (!CategoryData.getInstance().isInCategory(CategoryType.SECOND_CLASS_GROUP, player.getClassId().getId())) + { + return; + } + } + else if (!CategoryData.getInstance().isInCategory(CategoryType.THIRD_CLASS_GROUP, player.getClassId().getId())) + { + return; + } + + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isCompleted()) + { + player.sendPacket(ExRequestClassChangeUi.STATIC_PACKET); + } + } +} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/QuestMasterHandler.java index c3efd7a344..3ee87d7c56 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -166,6 +166,7 @@ import quests.Q10843_AnomalyInTheEnchantedValley.Q10843_AnomalyInTheEnchantedVal import quests.Q10851_ElvenBotany.Q10851_ElvenBotany; import quests.Q10856_SuperionAppears.Q10856_SuperionAppears; import quests.Q11025_PathOfDestinyProving.Q11025_PathOfDestinyProving; +import quests.Q11026_PathOfDestinyConviction.Q11026_PathOfDestinyConviction; import quests.Q11031_TrainingBeginsNow.Q11031_TrainingBeginsNow; import quests.Q11032_CurseOfUndying.Q11032_CurseOfUndying; import quests.Q11033_AntidoteIngredients.Q11033_AntidoteIngredients; @@ -490,6 +491,7 @@ public class QuestMasterHandler Q10900_PathToStrength.class, // TODO: Not done. Q10901_AModelAdventurer.class, // TODO: Not done. Q11025_PathOfDestinyProving.class, + Q11026_PathOfDestinyConviction.class, Q11031_TrainingBeginsNow.class, Q11032_CurseOfUndying.class, Q11033_AntidoteIngredients.class,