From 58100d2f15a27fe7e1887729ae7085eae2819933 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sun, 12 Jan 2020 06:51:45 +0000 Subject: [PATCH] Addition of quest Key to the Refining Process (600). Contributed by Dmitri. --- .../data/scripts/quests/MissingQuests.txt | 1 - .../34427-00.htm | 5 + .../34427-01.htm | 6 + .../34427-02.htm | 4 + .../34427-03.htm | 6 + .../34427-04.htm | 9 + .../34427-04a.htm | 9 + .../34427-04b.htm | 9 + .../34427-05.htm | 3 + .../34427-05.html | 3 + .../34427-05a.html | 3 + .../34427-06.html | 6 + .../34427-06a.html | 6 + .../34427-06b.html | 6 + .../34427-07.html | 4 + .../34427-07a.html | 4 + .../34427-07b.html | 4 + .../34427-08.html | 3 + .../34427-08a.html | 3 + .../34427-08b.html | 3 + .../34427-09.html | 5 + .../34427-10.html | 4 + .../Q00600_KeyToTheRefiningProcess.java | 337 ++++++++++++++++++ .../scripts/quests/QuestMasterHandler.java | 3 +- .../Q00600_KeyToTheRefiningProcess.java | 36 -- .../data/scripts/quests/MissingQuests.txt | 1 - .../34427-00.htm | 5 + .../34427-01.htm | 6 + .../34427-02.htm | 4 + .../34427-03.htm | 6 + .../34427-04.htm | 9 + .../34427-04a.htm | 9 + .../34427-04b.htm | 9 + .../34427-05.htm | 3 + .../34427-05.html | 3 + .../34427-05a.html | 3 + .../34427-06.html | 6 + .../34427-06a.html | 6 + .../34427-06b.html | 6 + .../34427-07.html | 4 + .../34427-07a.html | 4 + .../34427-07b.html | 4 + .../34427-08.html | 3 + .../34427-08a.html | 3 + .../34427-08b.html | 3 + .../34427-09.html | 5 + .../34427-10.html | 4 + .../Q00600_KeyToTheRefiningProcess.java | 337 ++++++++++++++++++ .../scripts/quests/QuestMasterHandler.java | 3 +- .../Q00600_KeyToTheRefiningProcess.java | 36 -- .../data/scripts/quests/MissingQuests.txt | 1 - .../34427-00.htm | 5 + .../34427-01.htm | 6 + .../34427-02.htm | 4 + .../34427-03.htm | 6 + .../34427-04.htm | 9 + .../34427-04a.htm | 9 + .../34427-04b.htm | 9 + .../34427-05.htm | 3 + .../34427-05.html | 3 + .../34427-05a.html | 3 + .../34427-06.html | 6 + .../34427-06a.html | 6 + .../34427-06b.html | 6 + .../34427-07.html | 4 + .../34427-07a.html | 4 + .../34427-07b.html | 4 + .../34427-08.html | 3 + .../34427-08a.html | 3 + .../34427-08b.html | 3 + .../34427-09.html | 5 + .../34427-10.html | 4 + .../Q00600_KeyToTheRefiningProcess.java | 337 ++++++++++++++++++ .../scripts/quests/QuestMasterHandler.java | 3 +- .../Q00600_KeyToTheRefiningProcess.java | 36 -- 75 files changed, 1332 insertions(+), 114 deletions(-) create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-00.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-01.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-02.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-03.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04a.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04b.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05a.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06a.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06b.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07a.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07b.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08a.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08b.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-09.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-10.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/Q00600_KeyToTheRefiningProcess.java delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00600_KeyToTheRefiningProcess.java create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-00.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-01.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-02.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-03.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04a.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04b.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05a.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06a.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06b.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07a.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07b.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08a.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08b.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-09.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-10.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/Q00600_KeyToTheRefiningProcess.java delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00600_KeyToTheRefiningProcess.java create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-00.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-01.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-02.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-03.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04a.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04b.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05a.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06a.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06b.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07a.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07b.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08a.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08b.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-09.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-10.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/Q00600_KeyToTheRefiningProcess.java delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00600_KeyToTheRefiningProcess.java diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/MissingQuests.txt index ab6bf0a307..1890edd321 100644 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/MissingQuests.txt +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/MissingQuests.txt @@ -20,7 +20,6 @@ 588 Head-on Crash 591 Great Ambitions 599 Demons and Dimensional Energy -600 Key to the Refining Process 655 A Grand Plan for Taming Wild Beasts 665 Basic Training for Hunter Guild Member 666 Knowledgeable Hunter Guild Member diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-00.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-00.htm new file mode 100644 index 0000000000..43f3a28f49 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-00.htm @@ -0,0 +1,5 @@ +Truth Seeker Devianne:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103 and level of trust of the Blackbird Clan fraction level 4 and above.) + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-01.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-01.htm new file mode 100644 index 0000000000..8f492d6c2a --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-01.htm @@ -0,0 +1,6 @@ +Truth Seeker Devianne:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-02.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-02.htm new file mode 100644 index 0000000000..c3bbd09807 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-02.htm @@ -0,0 +1,4 @@ +Truth Seeker Devianne:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-03.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-03.htm new file mode 100644 index 0000000000..dcc5aa8434 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-03.htm @@ -0,0 +1,6 @@ +Truth Seeker Devianne:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04.htm new file mode 100644 index 0000000000..6e050ee882 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04.htm @@ -0,0 +1,9 @@ +Truth Seeker Devianne:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 20 Mutated Spirit's Souls. +Intermediate Mission - Collect 40 Mutated Spirit's Souls. +Advanced Mission - Collect 60 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04a.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04a.htm new file mode 100644 index 0000000000..1860612b92 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04a.htm @@ -0,0 +1,9 @@ +Truth Seeker Devianne:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 20 Mutated Spirit's Souls. +Intermediate Mission - Collect 40 Mutated Spirit's Souls. +Advanced Mission - Collect 60 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04b.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04b.htm new file mode 100644 index 0000000000..5579b7a31c --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04b.htm @@ -0,0 +1,9 @@ +Truth Seeker Devianne:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 20 Mutated Spirit's Souls. +Intermediate Mission - Collect 40 Mutated Spirit's Souls. +Advanced Mission - Collect 60 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.htm new file mode 100644 index 0000000000..d14a880cb4 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.htm @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 200. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.html new file mode 100644 index 0000000000..a29f787a79 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.html @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Your Unworldly Visitors Faction Level Must be 8 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05a.html new file mode 100644 index 0000000000..fc571759f3 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05a.html @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Your Unworldly Visitors Faction Level Must be 9 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06.html new file mode 100644 index 0000000000..d7b05e749a --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06.html @@ -0,0 +1,6 @@ +Truth Seeker Devianne:
+You have chosen the basic mission to collect 20 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06a.html new file mode 100644 index 0000000000..5b3a886c57 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06a.html @@ -0,0 +1,6 @@ +Truth Seeker Devianne:
+You have chosen the intermediate mission to collect 40 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06b.html new file mode 100644 index 0000000000..8621931c65 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06b.html @@ -0,0 +1,6 @@ +Truth Seeker Devianne:
+You have chosen the advanced mission to collect 60 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07.html new file mode 100644 index 0000000000..c4f0bd6e2b --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07.html @@ -0,0 +1,4 @@ +Truth Seeker Devianne:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 20 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07a.html new file mode 100644 index 0000000000..f258b9eb54 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07a.html @@ -0,0 +1,4 @@ +Truth Seeker Devianne:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 40 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07b.html new file mode 100644 index 0000000000..ef1311cd7d --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07b.html @@ -0,0 +1,4 @@ +Truth Seeker Devianne:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 60 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08.html new file mode 100644 index 0000000000..6cc0bed735 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08.html @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Go to the Garden of Spirits and defeat all type monsters until you collect 20 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08a.html new file mode 100644 index 0000000000..7e3971688d --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08a.html @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Go to the Garden of Spirits and defeat all type monsters until you collect 40 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08b.html new file mode 100644 index 0000000000..a56f1dcf76 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08b.html @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Go to the Garden of Spirits and defeat all type monsters until you collect 60 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-09.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-09.html new file mode 100644 index 0000000000..738e74bda3 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-09.html @@ -0,0 +1,5 @@ +Truth Seeker Devianne:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-10.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-10.html new file mode 100644 index 0000000000..23411c7a99 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-10.html @@ -0,0 +1,4 @@ +Truth Seeker Devianne:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/Q00600_KeyToTheRefiningProcess.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/Q00600_KeyToTheRefiningProcess.java new file mode 100644 index 0000000000..5a2c882166 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/Q00600_KeyToTheRefiningProcess.java @@ -0,0 +1,337 @@ +/* + * 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.Q00600_KeyToTheRefiningProcess; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * Key to the Refining Process (600) + * @URL https://l2wiki.com/Key_to_the_Refining_Process + * @author Dmitri + */ +public class Q00600_KeyToTheRefiningProcess extends Quest +{ + // NPCs + private static final int DEVIANNE = 34427; + // Monsters + private static final int[] MONSTERS = + { + 24148, // Death Pondus 105 + 24153, // Devil Varos 105 + 24158, // Demonic Weiss 105 + 24159, // Atelia Yuyurina 104 + 24160, // Atelia Popobena 105 + 24161, // Harke 105 + 24162, // Ergalion 105 + 24163, // Spira 106 + }; + // Items + private static final int FRAGMENT_OF_CONDENSED_ENERGY = 48549; + // Misc + private static final int MIN_LEVEL = 103; + + public Q00600_KeyToTheRefiningProcess() + { + super(600); + addStartNpc(DEVIANNE); + addTalkId(DEVIANNE); + addKillId(MONSTERS); + registerQuestItems(FRAGMENT_OF_CONDENSED_ENERGY); + addCondMinLevel(MIN_LEVEL, "34427-00.htm"); + addFactionLevel(Faction.BLACKBIRD_CLAN, 4, "34427-00.htm"); + } + + @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 "34427-02.htm": + case "34427-03.htm": + case "34427-04.htm": + case "34427-04a.htm": + case "34427-04b.htm": + case "34427-06.html": + case "34427-06a.html": + case "34427-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 8) && (player.getFactionLevel(Faction.BLACKBIRD_CLAN) < 9)) + { + htmltext = "34427-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 9) + { + htmltext = "34427-04b.htm"; + break; + } + htmltext = "34427-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 8) && (player.getFactionLevel(Faction.BLACKBIRD_CLAN) < 9)) + { + htmltext = "34427-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 9) + { + htmltext = "34427-04b.htm"; + break; + } + htmltext = "34427-04.htm"; + break; + } + case "34427-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34427-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34427-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34427-10.html": + { + switch (qs.getCond()) + { + case 5: + { + if ((getQuestItemsCount(player, FRAGMENT_OF_CONDENSED_ENERGY) == 20) && (player.getLevel() >= MIN_LEVEL)) + { + // if (chance < 30) + // { + // giveItems(player, SAVIORS_WISH, 2); + // } + // else if (chance < 100) + // { + // giveItems(player, SAVIORS_WISH, 1); + // } + giveAdena(player, 2495659, true); + addExpAndSp(player, 27191624760L, 27191610); + addFactionPoints(player, Faction.BLACKBIRD_CLAN, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if ((getQuestItemsCount(player, FRAGMENT_OF_CONDENSED_ENERGY) == 40) && (player.getLevel() >= MIN_LEVEL)) + { + // if (chance < 30) + // { + // giveItems(player, SAVIORS_WISH, 2); + // } + // else if (chance < 100) + // { + // giveItems(player, SAVIORS_WISH, 1); + // } + giveAdena(player, 4991318, true); + addExpAndSp(player, 54383249520L, 54383220); + addFactionPoints(player, Faction.BLACKBIRD_CLAN, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, FRAGMENT_OF_CONDENSED_ENERGY) == 60) && (player.getLevel() >= MIN_LEVEL)) + { + // if (chance < 30) + // { + // giveItems(player, SAVIORS_WISH, 2); + // } + // else if (chance < 100) + // { + // giveItems(player, SAVIORS_WISH, 1); + // } + giveAdena(player, 7486978, true); + addExpAndSp(player, 81574874280L, 81574830); + addFactionPoints(player, Faction.BLACKBIRD_CLAN, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + 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: + { + htmltext = "34427-01.htm"; + // fallthrough + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 8) && (player.getFactionLevel(Faction.BLACKBIRD_CLAN) < 9)) + { + htmltext = "34427-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 9) + { + htmltext = "34427-04b.htm"; + break; + } + htmltext = "34427-04.htm"; + break; + } + case 2: + { + htmltext = "34427-08.html"; + break; + } + case 3: + { + htmltext = "34427-08a.html"; + break; + } + case 4: + { + htmltext = "34427-08b.html"; + break; + } + case 5: + case 6: + case 7: + { + htmltext = "34427-09.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34427-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, FRAGMENT_OF_CONDENSED_ENERGY, 1, 20, 1, true)) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, FRAGMENT_OF_CONDENSED_ENERGY, 1, 40, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, FRAGMENT_OF_CONDENSED_ENERGY, 1, 60, 1, true)) + { + qs.setCond(7, true); + } + break; + } + } + } + } +} diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/QuestMasterHandler.java index 84ea972faf..d9e9e07618 100644 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -127,6 +127,7 @@ import quests.Q00581_ThePurificationRitual.Q00581_ThePurificationRitual; import quests.Q00582_WashBloodWithBlood.Q00582_WashBloodWithBlood; import quests.Q00583_MeaningOfSurvival.Q00583_MeaningOfSurvival; import quests.Q00584_NeverSayGoodBye.Q00584_NeverSayGoodBye; +import quests.Q00600_KeyToTheRefiningProcess.Q00600_KeyToTheRefiningProcess; import quests.Q00617_GatherTheFlames.Q00617_GatherTheFlames; import quests.Q00618_IntoTheFlame.Q00618_IntoTheFlame; import quests.Q00620_FourGoblets.Q00620_FourGoblets; @@ -587,7 +588,7 @@ public class QuestMasterHandler Q00590_ToEachTheirOwn.class, // FIXME: Custom. Q00591_GreatAmbitions.class, // TODO: Not done. Q00599_DemonsAndDimensionalEnergy.class, // TODO: Not done. - Q00600_KeyToTheRefiningProcess.class, // TODO: Not done. + Q00600_KeyToTheRefiningProcess.class, Q00617_GatherTheFlames.class, Q00618_IntoTheFlame.class, Q00620_FourGoblets.class, diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00600_KeyToTheRefiningProcess.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00600_KeyToTheRefiningProcess.java deleted file mode 100644 index 9bf2291a3c..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00600_KeyToTheRefiningProcess.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package quests.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00600_KeyToTheRefiningProcess extends Quest -{ - private static final int START_NPC = 34427; - - public Q00600_KeyToTheRefiningProcess() - { - super(600); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/MissingQuests.txt index 35c5a8d093..f9a4c79fea 100644 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/MissingQuests.txt +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/MissingQuests.txt @@ -28,7 +28,6 @@ 595 Special Mission: Raider's Crossroads 596 Special Mission: Defeat Baylor 599 Demons and Dimensional Energy -600 Key to the Refining Process 655 A Grand Plan for Taming Wild Beasts 665 Basic Training for Hunter Guild Member 666 Knowledgeable Hunter Guild Member diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-00.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-00.htm new file mode 100644 index 0000000000..43f3a28f49 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-00.htm @@ -0,0 +1,5 @@ +Truth Seeker Devianne:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103 and level of trust of the Blackbird Clan fraction level 4 and above.) + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-01.htm new file mode 100644 index 0000000000..8f492d6c2a --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-01.htm @@ -0,0 +1,6 @@ +Truth Seeker Devianne:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-02.htm new file mode 100644 index 0000000000..c3bbd09807 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-02.htm @@ -0,0 +1,4 @@ +Truth Seeker Devianne:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-03.htm new file mode 100644 index 0000000000..dcc5aa8434 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-03.htm @@ -0,0 +1,6 @@ +Truth Seeker Devianne:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04.htm new file mode 100644 index 0000000000..6e050ee882 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04.htm @@ -0,0 +1,9 @@ +Truth Seeker Devianne:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 20 Mutated Spirit's Souls. +Intermediate Mission - Collect 40 Mutated Spirit's Souls. +Advanced Mission - Collect 60 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04a.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04a.htm new file mode 100644 index 0000000000..1860612b92 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04a.htm @@ -0,0 +1,9 @@ +Truth Seeker Devianne:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 20 Mutated Spirit's Souls. +Intermediate Mission - Collect 40 Mutated Spirit's Souls. +Advanced Mission - Collect 60 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04b.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04b.htm new file mode 100644 index 0000000000..5579b7a31c --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04b.htm @@ -0,0 +1,9 @@ +Truth Seeker Devianne:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 20 Mutated Spirit's Souls. +Intermediate Mission - Collect 40 Mutated Spirit's Souls. +Advanced Mission - Collect 60 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.htm new file mode 100644 index 0000000000..d14a880cb4 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.htm @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 200. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.html new file mode 100644 index 0000000000..a29f787a79 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.html @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Your Unworldly Visitors Faction Level Must be 8 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05a.html new file mode 100644 index 0000000000..fc571759f3 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05a.html @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Your Unworldly Visitors Faction Level Must be 9 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06.html new file mode 100644 index 0000000000..d7b05e749a --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06.html @@ -0,0 +1,6 @@ +Truth Seeker Devianne:
+You have chosen the basic mission to collect 20 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06a.html new file mode 100644 index 0000000000..5b3a886c57 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06a.html @@ -0,0 +1,6 @@ +Truth Seeker Devianne:
+You have chosen the intermediate mission to collect 40 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06b.html new file mode 100644 index 0000000000..8621931c65 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06b.html @@ -0,0 +1,6 @@ +Truth Seeker Devianne:
+You have chosen the advanced mission to collect 60 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07.html new file mode 100644 index 0000000000..c4f0bd6e2b --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07.html @@ -0,0 +1,4 @@ +Truth Seeker Devianne:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 20 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07a.html new file mode 100644 index 0000000000..f258b9eb54 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07a.html @@ -0,0 +1,4 @@ +Truth Seeker Devianne:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 40 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07b.html new file mode 100644 index 0000000000..ef1311cd7d --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07b.html @@ -0,0 +1,4 @@ +Truth Seeker Devianne:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 60 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08.html new file mode 100644 index 0000000000..6cc0bed735 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08.html @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Go to the Garden of Spirits and defeat all type monsters until you collect 20 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08a.html new file mode 100644 index 0000000000..7e3971688d --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08a.html @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Go to the Garden of Spirits and defeat all type monsters until you collect 40 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08b.html new file mode 100644 index 0000000000..a56f1dcf76 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08b.html @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Go to the Garden of Spirits and defeat all type monsters until you collect 60 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-09.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-09.html new file mode 100644 index 0000000000..738e74bda3 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-09.html @@ -0,0 +1,5 @@ +Truth Seeker Devianne:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-10.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-10.html new file mode 100644 index 0000000000..23411c7a99 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-10.html @@ -0,0 +1,4 @@ +Truth Seeker Devianne:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/Q00600_KeyToTheRefiningProcess.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/Q00600_KeyToTheRefiningProcess.java new file mode 100644 index 0000000000..5a2c882166 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/Q00600_KeyToTheRefiningProcess.java @@ -0,0 +1,337 @@ +/* + * 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.Q00600_KeyToTheRefiningProcess; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * Key to the Refining Process (600) + * @URL https://l2wiki.com/Key_to_the_Refining_Process + * @author Dmitri + */ +public class Q00600_KeyToTheRefiningProcess extends Quest +{ + // NPCs + private static final int DEVIANNE = 34427; + // Monsters + private static final int[] MONSTERS = + { + 24148, // Death Pondus 105 + 24153, // Devil Varos 105 + 24158, // Demonic Weiss 105 + 24159, // Atelia Yuyurina 104 + 24160, // Atelia Popobena 105 + 24161, // Harke 105 + 24162, // Ergalion 105 + 24163, // Spira 106 + }; + // Items + private static final int FRAGMENT_OF_CONDENSED_ENERGY = 48549; + // Misc + private static final int MIN_LEVEL = 103; + + public Q00600_KeyToTheRefiningProcess() + { + super(600); + addStartNpc(DEVIANNE); + addTalkId(DEVIANNE); + addKillId(MONSTERS); + registerQuestItems(FRAGMENT_OF_CONDENSED_ENERGY); + addCondMinLevel(MIN_LEVEL, "34427-00.htm"); + addFactionLevel(Faction.BLACKBIRD_CLAN, 4, "34427-00.htm"); + } + + @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 "34427-02.htm": + case "34427-03.htm": + case "34427-04.htm": + case "34427-04a.htm": + case "34427-04b.htm": + case "34427-06.html": + case "34427-06a.html": + case "34427-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 8) && (player.getFactionLevel(Faction.BLACKBIRD_CLAN) < 9)) + { + htmltext = "34427-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 9) + { + htmltext = "34427-04b.htm"; + break; + } + htmltext = "34427-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 8) && (player.getFactionLevel(Faction.BLACKBIRD_CLAN) < 9)) + { + htmltext = "34427-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 9) + { + htmltext = "34427-04b.htm"; + break; + } + htmltext = "34427-04.htm"; + break; + } + case "34427-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34427-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34427-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34427-10.html": + { + switch (qs.getCond()) + { + case 5: + { + if ((getQuestItemsCount(player, FRAGMENT_OF_CONDENSED_ENERGY) == 20) && (player.getLevel() >= MIN_LEVEL)) + { + // if (chance < 30) + // { + // giveItems(player, SAVIORS_WISH, 2); + // } + // else if (chance < 100) + // { + // giveItems(player, SAVIORS_WISH, 1); + // } + giveAdena(player, 2495659, true); + addExpAndSp(player, 27191624760L, 27191610); + addFactionPoints(player, Faction.BLACKBIRD_CLAN, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if ((getQuestItemsCount(player, FRAGMENT_OF_CONDENSED_ENERGY) == 40) && (player.getLevel() >= MIN_LEVEL)) + { + // if (chance < 30) + // { + // giveItems(player, SAVIORS_WISH, 2); + // } + // else if (chance < 100) + // { + // giveItems(player, SAVIORS_WISH, 1); + // } + giveAdena(player, 4991318, true); + addExpAndSp(player, 54383249520L, 54383220); + addFactionPoints(player, Faction.BLACKBIRD_CLAN, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, FRAGMENT_OF_CONDENSED_ENERGY) == 60) && (player.getLevel() >= MIN_LEVEL)) + { + // if (chance < 30) + // { + // giveItems(player, SAVIORS_WISH, 2); + // } + // else if (chance < 100) + // { + // giveItems(player, SAVIORS_WISH, 1); + // } + giveAdena(player, 7486978, true); + addExpAndSp(player, 81574874280L, 81574830); + addFactionPoints(player, Faction.BLACKBIRD_CLAN, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + 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: + { + htmltext = "34427-01.htm"; + // fallthrough + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 8) && (player.getFactionLevel(Faction.BLACKBIRD_CLAN) < 9)) + { + htmltext = "34427-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 9) + { + htmltext = "34427-04b.htm"; + break; + } + htmltext = "34427-04.htm"; + break; + } + case 2: + { + htmltext = "34427-08.html"; + break; + } + case 3: + { + htmltext = "34427-08a.html"; + break; + } + case 4: + { + htmltext = "34427-08b.html"; + break; + } + case 5: + case 6: + case 7: + { + htmltext = "34427-09.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34427-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, FRAGMENT_OF_CONDENSED_ENERGY, 1, 20, 1, true)) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, FRAGMENT_OF_CONDENSED_ENERGY, 1, 40, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, FRAGMENT_OF_CONDENSED_ENERGY, 1, 60, 1, true)) + { + qs.setCond(7, true); + } + break; + } + } + } + } +} diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/QuestMasterHandler.java index bd1ac50630..ad8e647a2d 100644 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -127,6 +127,7 @@ import quests.Q00581_ThePurificationRitual.Q00581_ThePurificationRitual; import quests.Q00582_WashBloodWithBlood.Q00582_WashBloodWithBlood; import quests.Q00583_MeaningOfSurvival.Q00583_MeaningOfSurvival; import quests.Q00584_NeverSayGoodBye.Q00584_NeverSayGoodBye; +import quests.Q00600_KeyToTheRefiningProcess.Q00600_KeyToTheRefiningProcess; import quests.Q00617_GatherTheFlames.Q00617_GatherTheFlames; import quests.Q00618_IntoTheFlame.Q00618_IntoTheFlame; import quests.Q00620_FourGoblets.Q00620_FourGoblets; @@ -603,7 +604,7 @@ public class QuestMasterHandler Q00595_SpecialMissionRaidersCrossroads.class, // TODO: Not done. Q00596_SpecialMissionDefeatBaylor.class, // TODO: Not done. Q00599_DemonsAndDimensionalEnergy.class, // TODO: Not done. - Q00600_KeyToTheRefiningProcess.class, // TODO: Not done. + Q00600_KeyToTheRefiningProcess.class, Q00617_GatherTheFlames.class, Q00618_IntoTheFlame.class, Q00620_FourGoblets.class, diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00600_KeyToTheRefiningProcess.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00600_KeyToTheRefiningProcess.java deleted file mode 100644 index 9bf2291a3c..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00600_KeyToTheRefiningProcess.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package quests.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00600_KeyToTheRefiningProcess extends Quest -{ - private static final int START_NPC = 34427; - - public Q00600_KeyToTheRefiningProcess() - { - super(600); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} 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 32bbc989d2..8ceb102436 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 @@ -60,7 +60,6 @@ 595 Special Mission: Raider's Crossroads 596 Special Mission: Defeat Baylor 599 Demons and Dimensional Energy -600 Key to the Refining Process 655 A Grand Plan for Taming Wild Beasts 665 Basic Training for Hunter Guild Member 666 Knowledgeable Hunter Guild Member diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-00.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-00.htm new file mode 100644 index 0000000000..43f3a28f49 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-00.htm @@ -0,0 +1,5 @@ +Truth Seeker Devianne:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103 and level of trust of the Blackbird Clan fraction level 4 and above.) + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-01.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-01.htm new file mode 100644 index 0000000000..8f492d6c2a --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-01.htm @@ -0,0 +1,6 @@ +Truth Seeker Devianne:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-02.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-02.htm new file mode 100644 index 0000000000..c3bbd09807 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-02.htm @@ -0,0 +1,4 @@ +Truth Seeker Devianne:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-03.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-03.htm new file mode 100644 index 0000000000..dcc5aa8434 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-03.htm @@ -0,0 +1,6 @@ +Truth Seeker Devianne:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04.htm new file mode 100644 index 0000000000..6e050ee882 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04.htm @@ -0,0 +1,9 @@ +Truth Seeker Devianne:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 20 Mutated Spirit's Souls. +Intermediate Mission - Collect 40 Mutated Spirit's Souls. +Advanced Mission - Collect 60 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04a.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04a.htm new file mode 100644 index 0000000000..1860612b92 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04a.htm @@ -0,0 +1,9 @@ +Truth Seeker Devianne:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 20 Mutated Spirit's Souls. +Intermediate Mission - Collect 40 Mutated Spirit's Souls. +Advanced Mission - Collect 60 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04b.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04b.htm new file mode 100644 index 0000000000..5579b7a31c --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-04b.htm @@ -0,0 +1,9 @@ +Truth Seeker Devianne:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 20 Mutated Spirit's Souls. +Intermediate Mission - Collect 40 Mutated Spirit's Souls. +Advanced Mission - Collect 60 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.htm new file mode 100644 index 0000000000..d14a880cb4 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.htm @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 200. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.html new file mode 100644 index 0000000000..a29f787a79 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05.html @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Your Unworldly Visitors Faction Level Must be 8 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05a.html new file mode 100644 index 0000000000..fc571759f3 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-05a.html @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Your Unworldly Visitors Faction Level Must be 9 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06.html new file mode 100644 index 0000000000..d7b05e749a --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06.html @@ -0,0 +1,6 @@ +Truth Seeker Devianne:
+You have chosen the basic mission to collect 20 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06a.html new file mode 100644 index 0000000000..5b3a886c57 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06a.html @@ -0,0 +1,6 @@ +Truth Seeker Devianne:
+You have chosen the intermediate mission to collect 40 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06b.html new file mode 100644 index 0000000000..8621931c65 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-06b.html @@ -0,0 +1,6 @@ +Truth Seeker Devianne:
+You have chosen the advanced mission to collect 60 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07.html new file mode 100644 index 0000000000..c4f0bd6e2b --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07.html @@ -0,0 +1,4 @@ +Truth Seeker Devianne:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 20 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07a.html new file mode 100644 index 0000000000..f258b9eb54 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07a.html @@ -0,0 +1,4 @@ +Truth Seeker Devianne:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 40 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07b.html new file mode 100644 index 0000000000..ef1311cd7d --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-07b.html @@ -0,0 +1,4 @@ +Truth Seeker Devianne:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 60 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08.html new file mode 100644 index 0000000000..6cc0bed735 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08.html @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Go to the Garden of Spirits and defeat all type monsters until you collect 20 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08a.html new file mode 100644 index 0000000000..7e3971688d --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08a.html @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Go to the Garden of Spirits and defeat all type monsters until you collect 40 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08b.html new file mode 100644 index 0000000000..a56f1dcf76 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-08b.html @@ -0,0 +1,3 @@ +Truth Seeker Devianne:
+Go to the Garden of Spirits and defeat all type monsters until you collect 60 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-09.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-09.html new file mode 100644 index 0000000000..738e74bda3 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-09.html @@ -0,0 +1,5 @@ +Truth Seeker Devianne:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-10.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-10.html new file mode 100644 index 0000000000..23411c7a99 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/34427-10.html @@ -0,0 +1,4 @@ +Truth Seeker Devianne:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/Q00600_KeyToTheRefiningProcess.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/Q00600_KeyToTheRefiningProcess.java new file mode 100644 index 0000000000..5a2c882166 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00600_KeyToTheRefiningProcess/Q00600_KeyToTheRefiningProcess.java @@ -0,0 +1,337 @@ +/* + * 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.Q00600_KeyToTheRefiningProcess; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * Key to the Refining Process (600) + * @URL https://l2wiki.com/Key_to_the_Refining_Process + * @author Dmitri + */ +public class Q00600_KeyToTheRefiningProcess extends Quest +{ + // NPCs + private static final int DEVIANNE = 34427; + // Monsters + private static final int[] MONSTERS = + { + 24148, // Death Pondus 105 + 24153, // Devil Varos 105 + 24158, // Demonic Weiss 105 + 24159, // Atelia Yuyurina 104 + 24160, // Atelia Popobena 105 + 24161, // Harke 105 + 24162, // Ergalion 105 + 24163, // Spira 106 + }; + // Items + private static final int FRAGMENT_OF_CONDENSED_ENERGY = 48549; + // Misc + private static final int MIN_LEVEL = 103; + + public Q00600_KeyToTheRefiningProcess() + { + super(600); + addStartNpc(DEVIANNE); + addTalkId(DEVIANNE); + addKillId(MONSTERS); + registerQuestItems(FRAGMENT_OF_CONDENSED_ENERGY); + addCondMinLevel(MIN_LEVEL, "34427-00.htm"); + addFactionLevel(Faction.BLACKBIRD_CLAN, 4, "34427-00.htm"); + } + + @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 "34427-02.htm": + case "34427-03.htm": + case "34427-04.htm": + case "34427-04a.htm": + case "34427-04b.htm": + case "34427-06.html": + case "34427-06a.html": + case "34427-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 8) && (player.getFactionLevel(Faction.BLACKBIRD_CLAN) < 9)) + { + htmltext = "34427-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 9) + { + htmltext = "34427-04b.htm"; + break; + } + htmltext = "34427-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 8) && (player.getFactionLevel(Faction.BLACKBIRD_CLAN) < 9)) + { + htmltext = "34427-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 9) + { + htmltext = "34427-04b.htm"; + break; + } + htmltext = "34427-04.htm"; + break; + } + case "34427-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34427-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34427-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34427-10.html": + { + switch (qs.getCond()) + { + case 5: + { + if ((getQuestItemsCount(player, FRAGMENT_OF_CONDENSED_ENERGY) == 20) && (player.getLevel() >= MIN_LEVEL)) + { + // if (chance < 30) + // { + // giveItems(player, SAVIORS_WISH, 2); + // } + // else if (chance < 100) + // { + // giveItems(player, SAVIORS_WISH, 1); + // } + giveAdena(player, 2495659, true); + addExpAndSp(player, 27191624760L, 27191610); + addFactionPoints(player, Faction.BLACKBIRD_CLAN, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if ((getQuestItemsCount(player, FRAGMENT_OF_CONDENSED_ENERGY) == 40) && (player.getLevel() >= MIN_LEVEL)) + { + // if (chance < 30) + // { + // giveItems(player, SAVIORS_WISH, 2); + // } + // else if (chance < 100) + // { + // giveItems(player, SAVIORS_WISH, 1); + // } + giveAdena(player, 4991318, true); + addExpAndSp(player, 54383249520L, 54383220); + addFactionPoints(player, Faction.BLACKBIRD_CLAN, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, FRAGMENT_OF_CONDENSED_ENERGY) == 60) && (player.getLevel() >= MIN_LEVEL)) + { + // if (chance < 30) + // { + // giveItems(player, SAVIORS_WISH, 2); + // } + // else if (chance < 100) + // { + // giveItems(player, SAVIORS_WISH, 1); + // } + giveAdena(player, 7486978, true); + addExpAndSp(player, 81574874280L, 81574830); + addFactionPoints(player, Faction.BLACKBIRD_CLAN, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + 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: + { + htmltext = "34427-01.htm"; + // fallthrough + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 8) && (player.getFactionLevel(Faction.BLACKBIRD_CLAN) < 9)) + { + htmltext = "34427-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.BLACKBIRD_CLAN) >= 9) + { + htmltext = "34427-04b.htm"; + break; + } + htmltext = "34427-04.htm"; + break; + } + case 2: + { + htmltext = "34427-08.html"; + break; + } + case 3: + { + htmltext = "34427-08a.html"; + break; + } + case 4: + { + htmltext = "34427-08b.html"; + break; + } + case 5: + case 6: + case 7: + { + htmltext = "34427-09.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34427-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, FRAGMENT_OF_CONDENSED_ENERGY, 1, 20, 1, true)) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, FRAGMENT_OF_CONDENSED_ENERGY, 1, 40, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, FRAGMENT_OF_CONDENSED_ENERGY, 1, 60, 1, true)) + { + qs.setCond(7, true); + } + break; + } + } + } + } +} 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 09baa1dde8..1884d8f1bc 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 @@ -57,6 +57,7 @@ import quests.Q00561_BasicMissionHarnakUndergroundRuins.Q00561_BasicMissionHarna import quests.Q00564_BasicMissionKartiasLabyrinthSolo.Q00564_BasicMissionKartiasLabyrinthSolo; import quests.Q00567_BasicMissionIsleOfSouls.Q00567_BasicMissionIsleOfSouls; import quests.Q00580_BeyondTheMemories.Q00580_BeyondTheMemories; +import quests.Q00600_KeyToTheRefiningProcess.Q00600_KeyToTheRefiningProcess; import quests.Q00618_IntoTheFlame.Q00618_IntoTheFlame; import quests.Q00620_FourGoblets.Q00620_FourGoblets; import quests.Q00670_DefeatingTheLordOfSeed.Q00670_DefeatingTheLordOfSeed; @@ -298,7 +299,7 @@ public class QuestMasterHandler Q00595_SpecialMissionRaidersCrossroads.class, // TODO: Not done. Q00596_SpecialMissionDefeatBaylor.class, // TODO: Not done. Q00599_DemonsAndDimensionalEnergy.class, // TODO: Not done. - Q00600_KeyToTheRefiningProcess.class, // TODO: Not done. + Q00600_KeyToTheRefiningProcess.class, Q00618_IntoTheFlame.class, Q00620_FourGoblets.class, Q00655_AGrandPlanForTamingWildBeasts.class, // TODO: Not done. diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00600_KeyToTheRefiningProcess.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00600_KeyToTheRefiningProcess.java deleted file mode 100644 index 9bf2291a3c..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00600_KeyToTheRefiningProcess.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package quests.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00600_KeyToTheRefiningProcess extends Quest -{ - private static final int START_NPC = 34427; - - public Q00600_KeyToTheRefiningProcess() - { - super(600); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -}