Addition of quest Memories of the Wind (931).
Contributed by Dmitri.
This commit is contained in:
@@ -52,7 +52,6 @@
|
||||
925 Hunter Guild Request - Garden of Spirits
|
||||
929 Seeker Rescue
|
||||
930 Disparaging the Phantoms
|
||||
931 Memories of the Wind
|
||||
932 Sayha's Energy
|
||||
938 The Fisherman's Other Hobby
|
||||
940 Hunter Guild Request - Atelia Fortress
|
||||
|
5
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-00.htm
vendored
Normal file
5
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-00.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
I don't think you'll be able to complete this. You seem passionate, but you don't have enough experience.<br>
|
||||
Please come back when you've become stronger.<br>
|
||||
(Only characters above Lv. 102.)
|
||||
</body></html>
|
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-01.htm
vendored
Normal file
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-01.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
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.<br>
|
||||
What do you say? if you don't remember what to do, I can tell you again.
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-02.htm">"Please tell me again."</Button>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind select_mission">"I know what I should do."</Button>
|
||||
</body></html>
|
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-01a.htm
vendored
Normal file
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-01a.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Ah, adventurer! There you are again. How about helping us some more? <br>
|
||||
What do you say? If you don't remember what the mission was, I can tell you again.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-01.htm">"Please tell me about the mission again."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-05.htm">"I know what I've got to do."</Button>
|
||||
</body></html>
|
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-01b.htm
vendored
Normal file
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-01b.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Adventurer! Good to see you. Since you've helped us so much already, how about helping us some more? <br>
|
||||
What do you say? If you don't remember what the mission was, I can tell you again.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-01.htm">"Please tell me about the mission again."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-05.htm">"I know what I've got to do."</Button>
|
||||
</body></html>
|
5
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-01c.htm
vendored
Normal file
5
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-01c.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
I've been waiting for you, adventurer. Well since you are here now, will you listen to me? I know I can trust you, but if you complete this mission, we'll become better allies and your pockets will get heavier. What do you say? Or do you need me to explain the mission again?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-01.htm">"Please tell me about the mission again."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-05.htm">"I know what I've got to do."</Button>
|
||||
</body></html>
|
4
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-02.htm
vendored
Normal file
4
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-02.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
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.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-03.htm">"What is it you need to do?"</Button>
|
||||
</body></html>
|
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-03.htm
vendored
Normal file
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-03.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
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.<br>
|
||||
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.<br>
|
||||
That's about it.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind select_mission">"Yes, sure."</Button>
|
||||
</body></html>
|
7
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-04.htm
vendored
Normal file
7
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-04.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Good. Let me tell you what to do. Just choose the mission that you are capable of doing.<br>
|
||||
Basic Mission - Collect <font color="LEVEL">12</font> Mutated Spirit's Souls.<br1>
|
||||
Intermediate Mission - Collect <font color="LEVEL">24</font> Mutated Spirit's Souls.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-06.html">"I'll take the basic mission."</Button>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-05.html"><font color="A62F31">"I'll take the intermediate mission."</font></Button>
|
||||
</body></html>
|
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-04.html
vendored
Normal file
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-04.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
This isn't the first time we've met? You've completed a mission before? I see... Well, I don't really have a good memory.<br>
|
||||
If you have completed a mission before, then that means you must have a Mark of Trust. What? You don't have one?<br>
|
||||
Then you are either a liar, or you haven't been here in a long time. My trust is something you must continously try to maintain. Will you listen to me?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-01.htm">"Yes, tell me about the mission."</Button>
|
||||
</body></html>
|
7
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-04a.htm
vendored
Normal file
7
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-04a.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Good. Let me tell you what to do. Just choose the mission that you are capable of doing.<br>
|
||||
Basic Mission - Collect <font color="LEVEL">12</font> Mutated Spirit's Souls.<br1>
|
||||
Intermediate Mission - Collect <font color="LEVEL">24</font> Mutated Spirit's Souls.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-06.html">"I'll take the basic mission."</Button>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-06a.html">"I'll take the intermediate mission."</Button>
|
||||
</body></html>
|
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-05.htm
vendored
Normal file
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-05.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Alright. Here's the mission. Hunt the <font color="LEVEL">Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero</font>, and collect their <font color="LEVEL">Mutated Spirit's Souls</font> as proof.<br>You can get rewards only if you bring at least 200. Of course, you'll get more rewards if you bring more.
|
||||
</body></html>
|
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-05.html
vendored
Normal file
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-05.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Your Unworldly Visitors Faction Level Must be 3 or above may undertake this mission.
|
||||
</body></html>
|
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-06.html
vendored
Normal file
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-06.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
You have chosen the basic mission to collect 200 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.<br>
|
||||
Are you sure you want to proceed with this mission?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-07.html">"Yes, I've made my decision."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest Q00931_MemoriesOfTheWind return">"Let me reconsider."</Button>
|
||||
</body></html>
|
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-06a.html
vendored
Normal file
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-06a.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
You have chosen the intermediate mission to collect 400 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.<br>
|
||||
Are you sure you want to proceed with this mission?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-07a.html">"Yes, I've made my decision."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest Q00931_MemoriesOfTheWind return">"Let me reconsider."</Button>
|
||||
</body></html>
|
4
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-07.html
vendored
Normal file
4
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-07.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Good. Left me explain the details. Go to the <font color="LEVEL">Garden of Spirits</font>, defeat the <font color="LEVEL">Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero</font>, and put them to rest.<br>
|
||||
As evidence, please bring back <font color="LEVEL">12 Mutated Spirit's Souls</font>. It should be manageable.
|
||||
</body></html>
|
4
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-07a.html
vendored
Normal file
4
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-07a.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Good. Left me explain the details. Go to the <font color="LEVEL">Garden of Spirits</font>, defeat the <font color="LEVEL">Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero</font>, and put them to rest.<br>
|
||||
As evidence, please bring back <font color="LEVEL">24 Mutated Spirit's Souls</font>. It should be manageable.
|
||||
</body></html>
|
5
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-07c.html
vendored
Normal file
5
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-07c.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
You want to finish already? Well, I can still give you a reward... But it won't be something good. Are you sure?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-08.html">"I'll keep hunting, then."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-09c.html">"Yes, I'm sure."</Button>
|
||||
</body></html>
|
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-08.html
vendored
Normal file
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-08.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Go to the <font color="LEVEL">Garden of Spirits</font> and defeat all type monsters until you collect <font color="LEVEL">12 Mutated Spirit's Souls</font>.
|
||||
</body></html>
|
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-08a.html
vendored
Normal file
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-08a.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Go to the <font color="LEVEL">Garden of Spirits</font> and defeat all type monsters until you collect <font color="LEVEL">24 Mutated Spirit's Souls</font>.
|
||||
</body></html>
|
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-09.html
vendored
Normal file
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-09.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.<br>
|
||||
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.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-10.html">"I did my best to earn your trust."</Button>
|
||||
<!-- <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-12.html">"Here is the Faction Amity Token."</Button> -->
|
||||
</body></html>
|
4
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-09a.html
vendored
Normal file
4
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-09a.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
You completed the mission! <br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-10a.html">"I did my best."</Button>
|
||||
</body></html>
|
4
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-09c.html
vendored
Normal file
4
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-09c.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
You completed the mission! <br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-10c.html">"I did my best."</Button>
|
||||
</body></html>
|
4
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-10.html
vendored
Normal file
4
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-10.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.<br>
|
||||
As long as you don't forget us, that is. We thank you for your hard work.
|
||||
</body></html>
|
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-10a.html
vendored
Normal file
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-10a.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><head><body>Master Cyphona:<br>
|
||||
Here's your reward. We'll be able to maintain our trust. As long as you don't forget about us, that is.
|
||||
</body></html>
|
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-10b.html
vendored
Normal file
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-10b.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Here's your reward, I'll remember how you've helped us all those times. Here's a higher level Mark of Trust. Thank you for all of your help.
|
||||
</body></html>
|
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-10c.html
vendored
Normal file
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-10c.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Here's your reward for helping us. Although you didn't get all the Marks, I still remember how you helped us. I have no doubt the trust between us has deepened even more.
|
||||
</body></html>
|
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q00931_MemoriesOfTheWind;
|
||||
|
||||
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;
|
||||
|
||||
import quests.Q10831_UnbelievableSight.Q10831_UnbelievableSight;
|
||||
|
||||
/**
|
||||
* Memories of the Wind (931)
|
||||
* @URL: https://l2wiki.com/Memories_of_the_Wind
|
||||
* @author Dmitri
|
||||
*/
|
||||
public class Q00931_MemoriesOfTheWind extends Quest
|
||||
{
|
||||
// NPC
|
||||
private static final int CYPHONA = 34055;
|
||||
// Monsters
|
||||
private static final int EL_FERA = 23797;
|
||||
private static final int EL_FLOATO = 23559;
|
||||
private static final int ENERGY_OF_WIND = 19647;
|
||||
private static final int KERBEROS_LAGER_N = 23550; // (night)
|
||||
private static final int KERBEROS_LAGER = 23541;
|
||||
private static final int KERBEROS_FORT_N = 23551; // (night)
|
||||
private static final int KERBEROS_FORT = 23542;
|
||||
private static final int KERBEROS_NERO_N = 23552; // (night)
|
||||
private static final int KERBEROS_NERO = 23543;
|
||||
private static final int FURY_SYLPH_BARRENA_N = 23553; // (night)
|
||||
private static final int FURY_SYLPH_BARRENA = 23544;
|
||||
private static final int FURY_SYLPH_TEMPTRESS_N = 23555; // (night)
|
||||
private static final int FURY_SYLPH_TEMPTRESS = 23546;
|
||||
private static final int FURY_SYLPH_PURKA_N = 23556; // (night)
|
||||
private static final int FURY_SYLPH_PURKA = 23547;
|
||||
private static final int FURY_KERBEROS_LEGER_N = 23557; // (night)
|
||||
private static final int FURY_KERBEROS_LEGER = 23545;
|
||||
private static final int FURY_KERBEROS_NERO_N = 23558; // (night)
|
||||
private static final int FURY_KERBEROS_NERO = 23549;
|
||||
// Items
|
||||
private static final int MEMORIES_OF_THE_WIND = 47188;
|
||||
private static final int UNWORLDLY_VISITORS_BASIC_SUPPLY_BOX = 47181;
|
||||
private static final int UNWORLDLY_VISITORS_INTERMEDIATE_SUPPLY_BOX = 47182;
|
||||
private static final int UNWORLDLY_VISITORS_ADVANCED_SUPPLY_BOX = 47183;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 102;
|
||||
|
||||
public Q00931_MemoriesOfTheWind()
|
||||
{
|
||||
super(931);
|
||||
addStartNpc(CYPHONA);
|
||||
addTalkId(CYPHONA);
|
||||
addKillId(EL_FERA, EL_FLOATO);
|
||||
addKillId(ENERGY_OF_WIND, KERBEROS_LAGER, KERBEROS_FORT, KERBEROS_NERO, FURY_SYLPH_BARRENA, FURY_SYLPH_TEMPTRESS, FURY_SYLPH_PURKA, FURY_KERBEROS_LEGER, FURY_KERBEROS_NERO);
|
||||
registerQuestItems(MEMORIES_OF_THE_WIND);
|
||||
addCondMinLevel(MIN_LEVEL, "34055-00.htm");
|
||||
addCondCompletedQuest(Q10831_UnbelievableSight.class.getSimpleName(), "34055-00.htm");
|
||||
addFactionLevel(Faction.UNWORLDLY_VISITORS, 2, "34055-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 "34055-02.htm":
|
||||
case "34055-03.htm":
|
||||
case "34055-04.htm":
|
||||
case "34055-04a.htm":
|
||||
case "34055-06.html":
|
||||
case "34055-06a.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "select_mission":
|
||||
{
|
||||
qs.startQuest();
|
||||
if (player.getFactionLevel(Faction.UNWORLDLY_VISITORS) >= 3)
|
||||
{
|
||||
htmltext = "34055-04a.htm";
|
||||
break;
|
||||
}
|
||||
htmltext = "34055-04.htm";
|
||||
break;
|
||||
}
|
||||
case "return":
|
||||
{
|
||||
if (player.getFactionLevel(Faction.UNWORLDLY_VISITORS) >= 3)
|
||||
{
|
||||
htmltext = "34055-04a.htm";
|
||||
break;
|
||||
}
|
||||
htmltext = "34055-04.htm";
|
||||
break;
|
||||
}
|
||||
case "34055-07.html":
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34055-07a.html":
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34055-10.html":
|
||||
{
|
||||
final int chance = getRandom(100);
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 4:
|
||||
{
|
||||
if ((getQuestItemsCount(player, MEMORIES_OF_THE_WIND) == 12) && (player.getLevel() >= MIN_LEVEL))
|
||||
{
|
||||
if (chance < 2)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_ADVANCED_SUPPLY_BOX, 1);
|
||||
}
|
||||
else if (chance < 20)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_INTERMEDIATE_SUPPLY_BOX, 1);
|
||||
}
|
||||
else if (chance < 100)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_BASIC_SUPPLY_BOX, 1);
|
||||
}
|
||||
addExpAndSp(player, 22_221_427_950L, 22_221_360);
|
||||
addFactionPoints(player, Faction.UNWORLDLY_VISITORS, 100);
|
||||
qs.exitQuest(QuestType.DAILY, true);
|
||||
htmltext = event;
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = getNoQuestLevelRewardMsg(player);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
if ((getQuestItemsCount(player, MEMORIES_OF_THE_WIND) == 24) && (player.getLevel() >= MIN_LEVEL))
|
||||
{
|
||||
if (chance < 2)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_ADVANCED_SUPPLY_BOX, 1);
|
||||
}
|
||||
else if (chance < 20)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_BASIC_SUPPLY_BOX, 1);
|
||||
}
|
||||
else if (chance < 100)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_INTERMEDIATE_SUPPLY_BOX, 1);
|
||||
}
|
||||
addExpAndSp(player, 44_442_855_900L, 44_442_720);
|
||||
addFactionPoints(player, Faction.UNWORLDLY_VISITORS, 200);
|
||||
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 = "34055-01.htm";
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
if (player.getFactionLevel(Faction.UNWORLDLY_VISITORS) >= 3)
|
||||
{
|
||||
htmltext = "34055-04a.htm";
|
||||
break;
|
||||
}
|
||||
htmltext = "34055-04.htm";
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
htmltext = "34055-08.html";
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
htmltext = "34055-08a.html";
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
case 5:
|
||||
{
|
||||
htmltext = "34055-09.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
if (!qs.isNowAvailable())
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
|
||||
}
|
||||
else
|
||||
{
|
||||
qs.setState(State.CREATED);
|
||||
htmltext = "34055-01.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(Npc npc, PlayerInstance killer, boolean isSummon)
|
||||
{
|
||||
final QuestState qs = getQuestState(killer, false);
|
||||
if ((qs != null) && (qs.getCond() > 1) && killer.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE))
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case KERBEROS_LAGER:
|
||||
case KERBEROS_FORT:
|
||||
case KERBEROS_NERO:
|
||||
case FURY_SYLPH_BARRENA:
|
||||
case FURY_SYLPH_TEMPTRESS:
|
||||
case FURY_SYLPH_PURKA:
|
||||
case FURY_KERBEROS_LEGER:
|
||||
case FURY_KERBEROS_NERO:
|
||||
case KERBEROS_LAGER_N:
|
||||
case KERBEROS_FORT_N:
|
||||
case KERBEROS_NERO_N:
|
||||
case FURY_SYLPH_BARRENA_N:
|
||||
case FURY_SYLPH_TEMPTRESS_N:
|
||||
case FURY_SYLPH_PURKA_N:
|
||||
case FURY_KERBEROS_LEGER_N:
|
||||
case FURY_KERBEROS_NERO_N:
|
||||
{
|
||||
if (getRandom(100) < 50)
|
||||
{
|
||||
final Npc mob = addSpawn(ENERGY_OF_WIND, npc.getX(), npc.getY(), npc.getZ(), 0, true, 120000);
|
||||
addAttackPlayerDesire(mob, killer, 5);
|
||||
}
|
||||
else if (getRandom(100) < 25)
|
||||
{
|
||||
final Npc mob = addSpawn(EL_FERA, npc.getX(), npc.getY(), npc.getZ(), 0, true, 120000);
|
||||
addAttackPlayerDesire(mob, killer, 5);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ENERGY_OF_WIND:
|
||||
{
|
||||
if (getRandom(100) < 50)
|
||||
{
|
||||
final Npc mob = addSpawn(EL_FLOATO, npc.getX(), npc.getY(), npc.getZ(), 0, true, 120000);
|
||||
addAttackPlayerDesire(mob, killer, 5);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case EL_FERA:
|
||||
case EL_FLOATO:
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 2:
|
||||
{
|
||||
if (giveItemRandomly(killer, npc, MEMORIES_OF_THE_WIND, 1, 12, 0.5, true))
|
||||
{
|
||||
qs.setCond(4, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
if (giveItemRandomly(killer, npc, MEMORIES_OF_THE_WIND, 1, 24, 0.5, true))
|
||||
{
|
||||
qs.setCond(5, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
}
|
@@ -206,6 +206,7 @@ import quests.Q00907_DragonTrophyValakas.Q00907_DragonTrophyValakas;
|
||||
import quests.Q00923_ShinedustExtraction.Q00923_ShinedustExtraction;
|
||||
import quests.Q00926_30DaySearchOperation.Q00926_30DaySearchOperation;
|
||||
import quests.Q00928_100DaySubjugationOperation.Q00928_100DaySubjugationOperation;
|
||||
import quests.Q00931_MemoriesOfTheWind.Q00931_MemoriesOfTheWind;
|
||||
import quests.Q00937_ToReviveTheFishingGuild.Q00937_ToReviveTheFishingGuild;
|
||||
import quests.Q10273_GoodDayToFly.Q10273_GoodDayToFly;
|
||||
import quests.Q10274_CollectingInTheAir.Q10274_CollectingInTheAir;
|
||||
@@ -500,7 +501,6 @@ import quests.not_done.Q00914_RedLibraRequestLv5;
|
||||
import quests.not_done.Q00924_GiantOfTheRestorationRoom;
|
||||
import quests.not_done.Q00929_SeekerRescue;
|
||||
import quests.not_done.Q00930_DisparagingThePhantoms;
|
||||
import quests.not_done.Q00931_MemoriesOfTheWind;
|
||||
import quests.not_done.Q00932_SayhasEnergy;
|
||||
import quests.not_done.Q00938_TheFishermansOtherHobby;
|
||||
import quests.not_done.Q10298_WastelandQueen;
|
||||
@@ -763,7 +763,7 @@ public class QuestMasterHandler
|
||||
Q00928_100DaySubjugationOperation.class,
|
||||
Q00929_SeekerRescue.class, // TODO: Not done.
|
||||
Q00930_DisparagingThePhantoms.class, // TODO: Not done.
|
||||
Q00931_MemoriesOfTheWind.class, // TODO: Not done.
|
||||
Q00931_MemoriesOfTheWind.class,
|
||||
Q00932_SayhasEnergy.class, // TODO: Not done.
|
||||
Q00937_ToReviveTheFishingGuild.class,
|
||||
Q00938_TheFishermansOtherHobby.class, // TODO: Not done.
|
||||
|
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.not_done;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
|
||||
/**
|
||||
* @author Mobius
|
||||
*/
|
||||
public class Q00931_MemoriesOfTheWind extends Quest
|
||||
{
|
||||
private static final int START_NPC = 34055;
|
||||
|
||||
public Q00931_MemoriesOfTheWind()
|
||||
{
|
||||
super(931);
|
||||
addStartNpc(START_NPC);
|
||||
addTalkId(START_NPC);
|
||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
||||
}
|
||||
}
|
@@ -112,7 +112,6 @@
|
||||
925 Hunter Guild Request - Garden of Spirits
|
||||
929 Seeker Rescue
|
||||
930 Disparaging the Phantoms
|
||||
931 Memories of the Wind
|
||||
932 Sayha's Energy
|
||||
938 The Fisherman's Other Hobby
|
||||
940 Hunter Guild Request - Atelia Fortress
|
||||
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
I don't think you'll be able to complete this. You seem passionate, but you don't have enough experience.<br>
|
||||
Please come back when you've become stronger.<br>
|
||||
(Only characters above Lv. 102.)
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
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.<br>
|
||||
What do you say? if you don't remember what to do, I can tell you again.
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-02.htm">"Please tell me again."</Button>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind select_mission">"I know what I should do."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Ah, adventurer! There you are again. How about helping us some more? <br>
|
||||
What do you say? If you don't remember what the mission was, I can tell you again.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-01.htm">"Please tell me about the mission again."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-05.htm">"I know what I've got to do."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Adventurer! Good to see you. Since you've helped us so much already, how about helping us some more? <br>
|
||||
What do you say? If you don't remember what the mission was, I can tell you again.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-01.htm">"Please tell me about the mission again."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-05.htm">"I know what I've got to do."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
I've been waiting for you, adventurer. Well since you are here now, will you listen to me? I know I can trust you, but if you complete this mission, we'll become better allies and your pockets will get heavier. What do you say? Or do you need me to explain the mission again?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-01.htm">"Please tell me about the mission again."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-05.htm">"I know what I've got to do."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
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.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-03.htm">"What is it you need to do?"</Button>
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
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.<br>
|
||||
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.<br>
|
||||
That's about it.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind select_mission">"Yes, sure."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,7 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Good. Let me tell you what to do. Just choose the mission that you are capable of doing.<br>
|
||||
Basic Mission - Collect <font color="LEVEL">12</font> Mutated Spirit's Souls.<br1>
|
||||
Intermediate Mission - Collect <font color="LEVEL">24</font> Mutated Spirit's Souls.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-06.html">"I'll take the basic mission."</Button>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-05.html"><font color="A62F31">"I'll take the intermediate mission."</font></Button>
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
This isn't the first time we've met? You've completed a mission before? I see... Well, I don't really have a good memory.<br>
|
||||
If you have completed a mission before, then that means you must have a Mark of Trust. What? You don't have one?<br>
|
||||
Then you are either a liar, or you haven't been here in a long time. My trust is something you must continously try to maintain. Will you listen to me?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-01.htm">"Yes, tell me about the mission."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,7 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Good. Let me tell you what to do. Just choose the mission that you are capable of doing.<br>
|
||||
Basic Mission - Collect <font color="LEVEL">12</font> Mutated Spirit's Souls.<br1>
|
||||
Intermediate Mission - Collect <font color="LEVEL">24</font> Mutated Spirit's Souls.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-06.html">"I'll take the basic mission."</Button>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-06a.html">"I'll take the intermediate mission."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Alright. Here's the mission. Hunt the <font color="LEVEL">Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero</font>, and collect their <font color="LEVEL">Mutated Spirit's Souls</font> as proof.<br>You can get rewards only if you bring at least 200. Of course, you'll get more rewards if you bring more.
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Your Unworldly Visitors Faction Level Must be 3 or above may undertake this mission.
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
You have chosen the basic mission to collect 200 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.<br>
|
||||
Are you sure you want to proceed with this mission?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-07.html">"Yes, I've made my decision."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest Q00931_MemoriesOfTheWind return">"Let me reconsider."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
You have chosen the intermediate mission to collect 400 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.<br>
|
||||
Are you sure you want to proceed with this mission?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-07a.html">"Yes, I've made my decision."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest Q00931_MemoriesOfTheWind return">"Let me reconsider."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Good. Left me explain the details. Go to the <font color="LEVEL">Garden of Spirits</font>, defeat the <font color="LEVEL">Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero</font>, and put them to rest.<br>
|
||||
As evidence, please bring back <font color="LEVEL">12 Mutated Spirit's Souls</font>. It should be manageable.
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Good. Left me explain the details. Go to the <font color="LEVEL">Garden of Spirits</font>, defeat the <font color="LEVEL">Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero</font>, and put them to rest.<br>
|
||||
As evidence, please bring back <font color="LEVEL">24 Mutated Spirit's Souls</font>. It should be manageable.
|
||||
</body></html>
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
You want to finish already? Well, I can still give you a reward... But it won't be something good. Are you sure?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-08.html">"I'll keep hunting, then."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-09c.html">"Yes, I'm sure."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Go to the <font color="LEVEL">Garden of Spirits</font> and defeat all type monsters until you collect <font color="LEVEL">12 Mutated Spirit's Souls</font>.
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Go to the <font color="LEVEL">Garden of Spirits</font> and defeat all type monsters until you collect <font color="LEVEL">24 Mutated Spirit's Souls</font>.
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.<br>
|
||||
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.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-10.html">"I did my best to earn your trust."</Button>
|
||||
<!-- <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-12.html">"Here is the Faction Amity Token."</Button> -->
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
You completed the mission! <br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-10a.html">"I did my best."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
You completed the mission! <br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-10c.html">"I did my best."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.<br>
|
||||
As long as you don't forget us, that is. We thank you for your hard work.
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><head><body>Master Cyphona:<br>
|
||||
Here's your reward. We'll be able to maintain our trust. As long as you don't forget about us, that is.
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Here's your reward, I'll remember how you've helped us all those times. Here's a higher level Mark of Trust. Thank you for all of your help.
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Here's your reward for helping us. Although you didn't get all the Marks, I still remember how you helped us. I have no doubt the trust between us has deepened even more.
|
||||
</body></html>
|
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q00931_MemoriesOfTheWind;
|
||||
|
||||
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;
|
||||
|
||||
import quests.Q10831_UnbelievableSight.Q10831_UnbelievableSight;
|
||||
|
||||
/**
|
||||
* Memories of the Wind (931)
|
||||
* @URL: https://l2wiki.com/Memories_of_the_Wind
|
||||
* @author Dmitri
|
||||
*/
|
||||
public class Q00931_MemoriesOfTheWind extends Quest
|
||||
{
|
||||
// NPC
|
||||
private static final int CYPHONA = 34055;
|
||||
// Monsters
|
||||
private static final int EL_FERA = 23797;
|
||||
private static final int EL_FLOATO = 23559;
|
||||
private static final int ENERGY_OF_WIND = 19647;
|
||||
private static final int KERBEROS_LAGER_N = 23550; // (night)
|
||||
private static final int KERBEROS_LAGER = 23541;
|
||||
private static final int KERBEROS_FORT_N = 23551; // (night)
|
||||
private static final int KERBEROS_FORT = 23542;
|
||||
private static final int KERBEROS_NERO_N = 23552; // (night)
|
||||
private static final int KERBEROS_NERO = 23543;
|
||||
private static final int FURY_SYLPH_BARRENA_N = 23553; // (night)
|
||||
private static final int FURY_SYLPH_BARRENA = 23544;
|
||||
private static final int FURY_SYLPH_TEMPTRESS_N = 23555; // (night)
|
||||
private static final int FURY_SYLPH_TEMPTRESS = 23546;
|
||||
private static final int FURY_SYLPH_PURKA_N = 23556; // (night)
|
||||
private static final int FURY_SYLPH_PURKA = 23547;
|
||||
private static final int FURY_KERBEROS_LEGER_N = 23557; // (night)
|
||||
private static final int FURY_KERBEROS_LEGER = 23545;
|
||||
private static final int FURY_KERBEROS_NERO_N = 23558; // (night)
|
||||
private static final int FURY_KERBEROS_NERO = 23549;
|
||||
// Items
|
||||
private static final int MEMORIES_OF_THE_WIND = 47188;
|
||||
private static final int UNWORLDLY_VISITORS_BASIC_SUPPLY_BOX = 47181;
|
||||
private static final int UNWORLDLY_VISITORS_INTERMEDIATE_SUPPLY_BOX = 47182;
|
||||
private static final int UNWORLDLY_VISITORS_ADVANCED_SUPPLY_BOX = 47183;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 102;
|
||||
|
||||
public Q00931_MemoriesOfTheWind()
|
||||
{
|
||||
super(931);
|
||||
addStartNpc(CYPHONA);
|
||||
addTalkId(CYPHONA);
|
||||
addKillId(EL_FERA, EL_FLOATO);
|
||||
addKillId(ENERGY_OF_WIND, KERBEROS_LAGER, KERBEROS_FORT, KERBEROS_NERO, FURY_SYLPH_BARRENA, FURY_SYLPH_TEMPTRESS, FURY_SYLPH_PURKA, FURY_KERBEROS_LEGER, FURY_KERBEROS_NERO);
|
||||
registerQuestItems(MEMORIES_OF_THE_WIND);
|
||||
addCondMinLevel(MIN_LEVEL, "34055-00.htm");
|
||||
addCondCompletedQuest(Q10831_UnbelievableSight.class.getSimpleName(), "34055-00.htm");
|
||||
addFactionLevel(Faction.UNWORLDLY_VISITORS, 2, "34055-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 "34055-02.htm":
|
||||
case "34055-03.htm":
|
||||
case "34055-04.htm":
|
||||
case "34055-04a.htm":
|
||||
case "34055-06.html":
|
||||
case "34055-06a.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "select_mission":
|
||||
{
|
||||
qs.startQuest();
|
||||
if (player.getFactionLevel(Faction.UNWORLDLY_VISITORS) >= 3)
|
||||
{
|
||||
htmltext = "34055-04a.htm";
|
||||
break;
|
||||
}
|
||||
htmltext = "34055-04.htm";
|
||||
break;
|
||||
}
|
||||
case "return":
|
||||
{
|
||||
if (player.getFactionLevel(Faction.UNWORLDLY_VISITORS) >= 3)
|
||||
{
|
||||
htmltext = "34055-04a.htm";
|
||||
break;
|
||||
}
|
||||
htmltext = "34055-04.htm";
|
||||
break;
|
||||
}
|
||||
case "34055-07.html":
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34055-07a.html":
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34055-10.html":
|
||||
{
|
||||
final int chance = getRandom(100);
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 4:
|
||||
{
|
||||
if ((getQuestItemsCount(player, MEMORIES_OF_THE_WIND) == 12) && (player.getLevel() >= MIN_LEVEL))
|
||||
{
|
||||
if (chance < 2)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_ADVANCED_SUPPLY_BOX, 1);
|
||||
}
|
||||
else if (chance < 20)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_INTERMEDIATE_SUPPLY_BOX, 1);
|
||||
}
|
||||
else if (chance < 100)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_BASIC_SUPPLY_BOX, 1);
|
||||
}
|
||||
addExpAndSp(player, 22_221_427_950L, 22_221_360);
|
||||
addFactionPoints(player, Faction.UNWORLDLY_VISITORS, 100);
|
||||
qs.exitQuest(QuestType.DAILY, true);
|
||||
htmltext = event;
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = getNoQuestLevelRewardMsg(player);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
if ((getQuestItemsCount(player, MEMORIES_OF_THE_WIND) == 24) && (player.getLevel() >= MIN_LEVEL))
|
||||
{
|
||||
if (chance < 2)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_ADVANCED_SUPPLY_BOX, 1);
|
||||
}
|
||||
else if (chance < 20)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_BASIC_SUPPLY_BOX, 1);
|
||||
}
|
||||
else if (chance < 100)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_INTERMEDIATE_SUPPLY_BOX, 1);
|
||||
}
|
||||
addExpAndSp(player, 44_442_855_900L, 44_442_720);
|
||||
addFactionPoints(player, Faction.UNWORLDLY_VISITORS, 200);
|
||||
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 = "34055-01.htm";
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
if (player.getFactionLevel(Faction.UNWORLDLY_VISITORS) >= 3)
|
||||
{
|
||||
htmltext = "34055-04a.htm";
|
||||
break;
|
||||
}
|
||||
htmltext = "34055-04.htm";
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
htmltext = "34055-08.html";
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
htmltext = "34055-08a.html";
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
case 5:
|
||||
{
|
||||
htmltext = "34055-09.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
if (!qs.isNowAvailable())
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
|
||||
}
|
||||
else
|
||||
{
|
||||
qs.setState(State.CREATED);
|
||||
htmltext = "34055-01.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(Npc npc, PlayerInstance killer, boolean isSummon)
|
||||
{
|
||||
final QuestState qs = getQuestState(killer, false);
|
||||
if ((qs != null) && (qs.getCond() > 1) && killer.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE))
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case KERBEROS_LAGER:
|
||||
case KERBEROS_FORT:
|
||||
case KERBEROS_NERO:
|
||||
case FURY_SYLPH_BARRENA:
|
||||
case FURY_SYLPH_TEMPTRESS:
|
||||
case FURY_SYLPH_PURKA:
|
||||
case FURY_KERBEROS_LEGER:
|
||||
case FURY_KERBEROS_NERO:
|
||||
case KERBEROS_LAGER_N:
|
||||
case KERBEROS_FORT_N:
|
||||
case KERBEROS_NERO_N:
|
||||
case FURY_SYLPH_BARRENA_N:
|
||||
case FURY_SYLPH_TEMPTRESS_N:
|
||||
case FURY_SYLPH_PURKA_N:
|
||||
case FURY_KERBEROS_LEGER_N:
|
||||
case FURY_KERBEROS_NERO_N:
|
||||
{
|
||||
if (getRandom(100) < 50)
|
||||
{
|
||||
final Npc mob = addSpawn(ENERGY_OF_WIND, npc.getX(), npc.getY(), npc.getZ(), 0, true, 120000);
|
||||
addAttackPlayerDesire(mob, killer, 5);
|
||||
}
|
||||
else if (getRandom(100) < 25)
|
||||
{
|
||||
final Npc mob = addSpawn(EL_FERA, npc.getX(), npc.getY(), npc.getZ(), 0, true, 120000);
|
||||
addAttackPlayerDesire(mob, killer, 5);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ENERGY_OF_WIND:
|
||||
{
|
||||
if (getRandom(100) < 50)
|
||||
{
|
||||
final Npc mob = addSpawn(EL_FLOATO, npc.getX(), npc.getY(), npc.getZ(), 0, true, 120000);
|
||||
addAttackPlayerDesire(mob, killer, 5);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case EL_FERA:
|
||||
case EL_FLOATO:
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 2:
|
||||
{
|
||||
if (giveItemRandomly(killer, npc, MEMORIES_OF_THE_WIND, 1, 12, 0.5, true))
|
||||
{
|
||||
qs.setCond(4, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
if (giveItemRandomly(killer, npc, MEMORIES_OF_THE_WIND, 1, 24, 0.5, true))
|
||||
{
|
||||
qs.setCond(5, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
}
|
@@ -205,6 +205,7 @@ import quests.Q00906_TheCallOfValakas.Q00906_TheCallOfValakas;
|
||||
import quests.Q00923_ShinedustExtraction.Q00923_ShinedustExtraction;
|
||||
import quests.Q00926_30DaySearchOperation.Q00926_30DaySearchOperation;
|
||||
import quests.Q00928_100DaySubjugationOperation.Q00928_100DaySubjugationOperation;
|
||||
import quests.Q00931_MemoriesOfTheWind.Q00931_MemoriesOfTheWind;
|
||||
import quests.Q00937_ToReviveTheFishingGuild.Q00937_ToReviveTheFishingGuild;
|
||||
import quests.Q10273_GoodDayToFly.Q10273_GoodDayToFly;
|
||||
import quests.Q10274_CollectingInTheAir.Q10274_CollectingInTheAir;
|
||||
@@ -501,7 +502,6 @@ import quests.not_done.Q00846_BuildingUpStrength;
|
||||
import quests.not_done.Q00924_GiantOfTheRestorationRoom;
|
||||
import quests.not_done.Q00929_SeekerRescue;
|
||||
import quests.not_done.Q00930_DisparagingThePhantoms;
|
||||
import quests.not_done.Q00931_MemoriesOfTheWind;
|
||||
import quests.not_done.Q00932_SayhasEnergy;
|
||||
import quests.not_done.Q00985_AdventureGuildsSpecialRequestLv1;
|
||||
import quests.not_done.Q00986_AdventureGuildsSpecialRequestLv2;
|
||||
@@ -784,7 +784,7 @@ public class QuestMasterHandler
|
||||
Q00928_100DaySubjugationOperation.class,
|
||||
Q00929_SeekerRescue.class, // TODO: Not done.
|
||||
Q00930_DisparagingThePhantoms.class, // TODO: Not done.
|
||||
Q00931_MemoriesOfTheWind.class, // TODO: Not done.
|
||||
Q00931_MemoriesOfTheWind.class,
|
||||
Q00932_SayhasEnergy.class, // TODO: Not done.
|
||||
Q00937_ToReviveTheFishingGuild.class,
|
||||
Q00985_AdventureGuildsSpecialRequestLv1.class, // TODO: Not done.
|
||||
|
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.not_done;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
|
||||
/**
|
||||
* @author Mobius
|
||||
*/
|
||||
public class Q00931_MemoriesOfTheWind extends Quest
|
||||
{
|
||||
private static final int START_NPC = 34055;
|
||||
|
||||
public Q00931_MemoriesOfTheWind()
|
||||
{
|
||||
super(931);
|
||||
addStartNpc(START_NPC);
|
||||
addTalkId(START_NPC);
|
||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
||||
}
|
||||
}
|
@@ -132,7 +132,6 @@
|
||||
925 Hunter Guild Request - Garden of Spirits
|
||||
929 Seeker Rescue
|
||||
930 Disparaging the Phantoms
|
||||
931 Memories of the Wind
|
||||
932 Sayha's Energy
|
||||
938 The Fisherman's Other Hobby
|
||||
940 Hunter Guild Request - Atelia Fortress
|
||||
|
5
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-00.htm
vendored
Normal file
5
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-00.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
I don't think you'll be able to complete this. You seem passionate, but you don't have enough experience.<br>
|
||||
Please come back when you've become stronger.<br>
|
||||
(Only characters above Lv. 102.)
|
||||
</body></html>
|
6
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-01.htm
vendored
Normal file
6
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-01.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
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.<br>
|
||||
What do you say? if you don't remember what to do, I can tell you again.
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-02.htm">"Please tell me again."</Button>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind select_mission">"I know what I should do."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Ah, adventurer! There you are again. How about helping us some more? <br>
|
||||
What do you say? If you don't remember what the mission was, I can tell you again.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-01.htm">"Please tell me about the mission again."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-05.htm">"I know what I've got to do."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Adventurer! Good to see you. Since you've helped us so much already, how about helping us some more? <br>
|
||||
What do you say? If you don't remember what the mission was, I can tell you again.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-01.htm">"Please tell me about the mission again."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-05.htm">"I know what I've got to do."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
I've been waiting for you, adventurer. Well since you are here now, will you listen to me? I know I can trust you, but if you complete this mission, we'll become better allies and your pockets will get heavier. What do you say? Or do you need me to explain the mission again?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-01.htm">"Please tell me about the mission again."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-05.htm">"I know what I've got to do."</Button>
|
||||
</body></html>
|
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-02.htm
vendored
Normal file
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-02.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
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.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-03.htm">"What is it you need to do?"</Button>
|
||||
</body></html>
|
6
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-03.htm
vendored
Normal file
6
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-03.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
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.<br>
|
||||
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.<br>
|
||||
That's about it.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind select_mission">"Yes, sure."</Button>
|
||||
</body></html>
|
7
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-04.htm
vendored
Normal file
7
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-04.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Good. Let me tell you what to do. Just choose the mission that you are capable of doing.<br>
|
||||
Basic Mission - Collect <font color="LEVEL">12</font> Mutated Spirit's Souls.<br1>
|
||||
Intermediate Mission - Collect <font color="LEVEL">24</font> Mutated Spirit's Souls.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-06.html">"I'll take the basic mission."</Button>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-05.html"><font color="A62F31">"I'll take the intermediate mission."</font></Button>
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
This isn't the first time we've met? You've completed a mission before? I see... Well, I don't really have a good memory.<br>
|
||||
If you have completed a mission before, then that means you must have a Mark of Trust. What? You don't have one?<br>
|
||||
Then you are either a liar, or you haven't been here in a long time. My trust is something you must continously try to maintain. Will you listen to me?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-01.htm">"Yes, tell me about the mission."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,7 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Good. Let me tell you what to do. Just choose the mission that you are capable of doing.<br>
|
||||
Basic Mission - Collect <font color="LEVEL">12</font> Mutated Spirit's Souls.<br1>
|
||||
Intermediate Mission - Collect <font color="LEVEL">24</font> Mutated Spirit's Souls.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-06.html">"I'll take the basic mission."</Button>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-06a.html">"I'll take the intermediate mission."</Button>
|
||||
</body></html>
|
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-05.htm
vendored
Normal file
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00931_MemoriesOfTheWind/34055-05.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Alright. Here's the mission. Hunt the <font color="LEVEL">Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero</font>, and collect their <font color="LEVEL">Mutated Spirit's Souls</font> as proof.<br>You can get rewards only if you bring at least 200. Of course, you'll get more rewards if you bring more.
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Your Unworldly Visitors Faction Level Must be 3 or above may undertake this mission.
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
You have chosen the basic mission to collect 200 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.<br>
|
||||
Are you sure you want to proceed with this mission?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-07.html">"Yes, I've made my decision."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest Q00931_MemoriesOfTheWind return">"Let me reconsider."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
You have chosen the intermediate mission to collect 400 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.<br>
|
||||
Are you sure you want to proceed with this mission?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-07a.html">"Yes, I've made my decision."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest Q00931_MemoriesOfTheWind return">"Let me reconsider."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Good. Left me explain the details. Go to the <font color="LEVEL">Garden of Spirits</font>, defeat the <font color="LEVEL">Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero</font>, and put them to rest.<br>
|
||||
As evidence, please bring back <font color="LEVEL">12 Mutated Spirit's Souls</font>. It should be manageable.
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Good. Left me explain the details. Go to the <font color="LEVEL">Garden of Spirits</font>, defeat the <font color="LEVEL">Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero</font>, and put them to rest.<br>
|
||||
As evidence, please bring back <font color="LEVEL">24 Mutated Spirit's Souls</font>. It should be manageable.
|
||||
</body></html>
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
You want to finish already? Well, I can still give you a reward... But it won't be something good. Are you sure?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-08.html">"I'll keep hunting, then."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-09c.html">"Yes, I'm sure."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Go to the <font color="LEVEL">Garden of Spirits</font> and defeat all type monsters until you collect <font color="LEVEL">12 Mutated Spirit's Souls</font>.
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Go to the <font color="LEVEL">Garden of Spirits</font> and defeat all type monsters until you collect <font color="LEVEL">24 Mutated Spirit's Souls</font>.
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.<br>
|
||||
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.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-10.html">"I did my best to earn your trust."</Button>
|
||||
<!-- <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-12.html">"Here is the Faction Amity Token."</Button> -->
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
You completed the mission! <br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-10a.html">"I did my best."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
You completed the mission! <br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-10c.html">"I did my best."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.<br>
|
||||
As long as you don't forget us, that is. We thank you for your hard work.
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><head><body>Master Cyphona:<br>
|
||||
Here's your reward. We'll be able to maintain our trust. As long as you don't forget about us, that is.
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Here's your reward, I'll remember how you've helped us all those times. Here's a higher level Mark of Trust. Thank you for all of your help.
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Here's your reward for helping us. Although you didn't get all the Marks, I still remember how you helped us. I have no doubt the trust between us has deepened even more.
|
||||
</body></html>
|
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q00931_MemoriesOfTheWind;
|
||||
|
||||
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;
|
||||
|
||||
import quests.Q10831_UnbelievableSight.Q10831_UnbelievableSight;
|
||||
|
||||
/**
|
||||
* Memories of the Wind (931)
|
||||
* @URL: https://l2wiki.com/Memories_of_the_Wind
|
||||
* @author Dmitri
|
||||
*/
|
||||
public class Q00931_MemoriesOfTheWind extends Quest
|
||||
{
|
||||
// NPC
|
||||
private static final int CYPHONA = 34055;
|
||||
// Monsters
|
||||
private static final int EL_FERA = 23797;
|
||||
private static final int EL_FLOATO = 23559;
|
||||
private static final int ENERGY_OF_WIND = 19647;
|
||||
private static final int KERBEROS_LAGER_N = 23550; // (night)
|
||||
private static final int KERBEROS_LAGER = 23541;
|
||||
private static final int KERBEROS_FORT_N = 23551; // (night)
|
||||
private static final int KERBEROS_FORT = 23542;
|
||||
private static final int KERBEROS_NERO_N = 23552; // (night)
|
||||
private static final int KERBEROS_NERO = 23543;
|
||||
private static final int FURY_SYLPH_BARRENA_N = 23553; // (night)
|
||||
private static final int FURY_SYLPH_BARRENA = 23544;
|
||||
private static final int FURY_SYLPH_TEMPTRESS_N = 23555; // (night)
|
||||
private static final int FURY_SYLPH_TEMPTRESS = 23546;
|
||||
private static final int FURY_SYLPH_PURKA_N = 23556; // (night)
|
||||
private static final int FURY_SYLPH_PURKA = 23547;
|
||||
private static final int FURY_KERBEROS_LEGER_N = 23557; // (night)
|
||||
private static final int FURY_KERBEROS_LEGER = 23545;
|
||||
private static final int FURY_KERBEROS_NERO_N = 23558; // (night)
|
||||
private static final int FURY_KERBEROS_NERO = 23549;
|
||||
// Items
|
||||
private static final int MEMORIES_OF_THE_WIND = 47188;
|
||||
private static final int UNWORLDLY_VISITORS_BASIC_SUPPLY_BOX = 47181;
|
||||
private static final int UNWORLDLY_VISITORS_INTERMEDIATE_SUPPLY_BOX = 47182;
|
||||
private static final int UNWORLDLY_VISITORS_ADVANCED_SUPPLY_BOX = 47183;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 102;
|
||||
|
||||
public Q00931_MemoriesOfTheWind()
|
||||
{
|
||||
super(931);
|
||||
addStartNpc(CYPHONA);
|
||||
addTalkId(CYPHONA);
|
||||
addKillId(EL_FERA, EL_FLOATO);
|
||||
addKillId(ENERGY_OF_WIND, KERBEROS_LAGER, KERBEROS_FORT, KERBEROS_NERO, FURY_SYLPH_BARRENA, FURY_SYLPH_TEMPTRESS, FURY_SYLPH_PURKA, FURY_KERBEROS_LEGER, FURY_KERBEROS_NERO);
|
||||
registerQuestItems(MEMORIES_OF_THE_WIND);
|
||||
addCondMinLevel(MIN_LEVEL, "34055-00.htm");
|
||||
addCondCompletedQuest(Q10831_UnbelievableSight.class.getSimpleName(), "34055-00.htm");
|
||||
addFactionLevel(Faction.UNWORLDLY_VISITORS, 2, "34055-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 "34055-02.htm":
|
||||
case "34055-03.htm":
|
||||
case "34055-04.htm":
|
||||
case "34055-04a.htm":
|
||||
case "34055-06.html":
|
||||
case "34055-06a.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "select_mission":
|
||||
{
|
||||
qs.startQuest();
|
||||
if (player.getFactionLevel(Faction.UNWORLDLY_VISITORS) >= 3)
|
||||
{
|
||||
htmltext = "34055-04a.htm";
|
||||
break;
|
||||
}
|
||||
htmltext = "34055-04.htm";
|
||||
break;
|
||||
}
|
||||
case "return":
|
||||
{
|
||||
if (player.getFactionLevel(Faction.UNWORLDLY_VISITORS) >= 3)
|
||||
{
|
||||
htmltext = "34055-04a.htm";
|
||||
break;
|
||||
}
|
||||
htmltext = "34055-04.htm";
|
||||
break;
|
||||
}
|
||||
case "34055-07.html":
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34055-07a.html":
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34055-10.html":
|
||||
{
|
||||
final int chance = getRandom(100);
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 4:
|
||||
{
|
||||
if ((getQuestItemsCount(player, MEMORIES_OF_THE_WIND) == 12) && (player.getLevel() >= MIN_LEVEL))
|
||||
{
|
||||
if (chance < 2)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_ADVANCED_SUPPLY_BOX, 1);
|
||||
}
|
||||
else if (chance < 20)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_INTERMEDIATE_SUPPLY_BOX, 1);
|
||||
}
|
||||
else if (chance < 100)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_BASIC_SUPPLY_BOX, 1);
|
||||
}
|
||||
addExpAndSp(player, 22_221_427_950L, 22_221_360);
|
||||
addFactionPoints(player, Faction.UNWORLDLY_VISITORS, 100);
|
||||
qs.exitQuest(QuestType.DAILY, true);
|
||||
htmltext = event;
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = getNoQuestLevelRewardMsg(player);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
if ((getQuestItemsCount(player, MEMORIES_OF_THE_WIND) == 24) && (player.getLevel() >= MIN_LEVEL))
|
||||
{
|
||||
if (chance < 2)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_ADVANCED_SUPPLY_BOX, 1);
|
||||
}
|
||||
else if (chance < 20)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_BASIC_SUPPLY_BOX, 1);
|
||||
}
|
||||
else if (chance < 100)
|
||||
{
|
||||
giveItems(player, UNWORLDLY_VISITORS_INTERMEDIATE_SUPPLY_BOX, 1);
|
||||
}
|
||||
addExpAndSp(player, 44_442_855_900L, 44_442_720);
|
||||
addFactionPoints(player, Faction.UNWORLDLY_VISITORS, 200);
|
||||
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 = "34055-01.htm";
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
if (player.getFactionLevel(Faction.UNWORLDLY_VISITORS) >= 3)
|
||||
{
|
||||
htmltext = "34055-04a.htm";
|
||||
break;
|
||||
}
|
||||
htmltext = "34055-04.htm";
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
htmltext = "34055-08.html";
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
htmltext = "34055-08a.html";
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
case 5:
|
||||
{
|
||||
htmltext = "34055-09.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
if (!qs.isNowAvailable())
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
|
||||
}
|
||||
else
|
||||
{
|
||||
qs.setState(State.CREATED);
|
||||
htmltext = "34055-01.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(Npc npc, PlayerInstance killer, boolean isSummon)
|
||||
{
|
||||
final QuestState qs = getQuestState(killer, false);
|
||||
if ((qs != null) && (qs.getCond() > 1) && killer.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE))
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case KERBEROS_LAGER:
|
||||
case KERBEROS_FORT:
|
||||
case KERBEROS_NERO:
|
||||
case FURY_SYLPH_BARRENA:
|
||||
case FURY_SYLPH_TEMPTRESS:
|
||||
case FURY_SYLPH_PURKA:
|
||||
case FURY_KERBEROS_LEGER:
|
||||
case FURY_KERBEROS_NERO:
|
||||
case KERBEROS_LAGER_N:
|
||||
case KERBEROS_FORT_N:
|
||||
case KERBEROS_NERO_N:
|
||||
case FURY_SYLPH_BARRENA_N:
|
||||
case FURY_SYLPH_TEMPTRESS_N:
|
||||
case FURY_SYLPH_PURKA_N:
|
||||
case FURY_KERBEROS_LEGER_N:
|
||||
case FURY_KERBEROS_NERO_N:
|
||||
{
|
||||
if (getRandom(100) < 50)
|
||||
{
|
||||
final Npc mob = addSpawn(ENERGY_OF_WIND, npc.getX(), npc.getY(), npc.getZ(), 0, true, 120000);
|
||||
addAttackPlayerDesire(mob, killer, 5);
|
||||
}
|
||||
else if (getRandom(100) < 25)
|
||||
{
|
||||
final Npc mob = addSpawn(EL_FERA, npc.getX(), npc.getY(), npc.getZ(), 0, true, 120000);
|
||||
addAttackPlayerDesire(mob, killer, 5);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ENERGY_OF_WIND:
|
||||
{
|
||||
if (getRandom(100) < 50)
|
||||
{
|
||||
final Npc mob = addSpawn(EL_FLOATO, npc.getX(), npc.getY(), npc.getZ(), 0, true, 120000);
|
||||
addAttackPlayerDesire(mob, killer, 5);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case EL_FERA:
|
||||
case EL_FLOATO:
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 2:
|
||||
{
|
||||
if (giveItemRandomly(killer, npc, MEMORIES_OF_THE_WIND, 1, 12, 0.5, true))
|
||||
{
|
||||
qs.setCond(4, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
if (giveItemRandomly(killer, npc, MEMORIES_OF_THE_WIND, 1, 24, 0.5, true))
|
||||
{
|
||||
qs.setCond(5, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
}
|
@@ -212,6 +212,7 @@ import quests.Q00906_TheCallOfValakas.Q00906_TheCallOfValakas;
|
||||
import quests.Q00923_ShinedustExtraction.Q00923_ShinedustExtraction;
|
||||
import quests.Q00926_30DaySearchOperation.Q00926_30DaySearchOperation;
|
||||
import quests.Q00928_100DaySubjugationOperation.Q00928_100DaySubjugationOperation;
|
||||
import quests.Q00931_MemoriesOfTheWind.Q00931_MemoriesOfTheWind;
|
||||
import quests.Q00937_ToReviveTheFishingGuild.Q00937_ToReviveTheFishingGuild;
|
||||
import quests.Q10273_GoodDayToFly.Q10273_GoodDayToFly;
|
||||
import quests.Q10274_CollectingInTheAir.Q10274_CollectingInTheAir;
|
||||
@@ -733,7 +734,7 @@ public class QuestMasterHandler
|
||||
Q00928_100DaySubjugationOperation.class,
|
||||
Q00929_SeekerRescue.class, // TODO: Not done.
|
||||
Q00930_DisparagingThePhantoms.class, // TODO: Not done.
|
||||
Q00931_MemoriesOfTheWind.class, // TODO: Not done.
|
||||
Q00931_MemoriesOfTheWind.class,
|
||||
Q00932_SayhasEnergy.class, // TODO: Not done.
|
||||
Q00937_ToReviveTheFishingGuild.class,
|
||||
Q00985_AdventureGuildsSpecialRequestLv1.class, // TODO: Not done.
|
||||
|
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.not_done;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
|
||||
/**
|
||||
* @author Mobius
|
||||
*/
|
||||
public class Q00931_MemoriesOfTheWind extends Quest
|
||||
{
|
||||
private static final int START_NPC = 34055;
|
||||
|
||||
public Q00931_MemoriesOfTheWind()
|
||||
{
|
||||
super(931);
|
||||
addStartNpc(START_NPC);
|
||||
addTalkId(START_NPC);
|
||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
||||
}
|
||||
}
|
@@ -143,7 +143,6 @@
|
||||
925 Hunter Guild Request - Garden of Spirits
|
||||
929 Seeker Rescue
|
||||
930 Disparaging the Phantoms
|
||||
931 Memories of the Wind
|
||||
932 Sayha's Energy
|
||||
938 The Fisherman's Other Hobby
|
||||
940 Hunter Guild Request - Atelia Fortress
|
||||
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
I don't think you'll be able to complete this. You seem passionate, but you don't have enough experience.<br>
|
||||
Please come back when you've become stronger.<br>
|
||||
(Only characters above Lv. 102.)
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
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.<br>
|
||||
What do you say? if you don't remember what to do, I can tell you again.
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-02.htm">"Please tell me again."</Button>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind select_mission">"I know what I should do."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Ah, adventurer! There you are again. How about helping us some more? <br>
|
||||
What do you say? If you don't remember what the mission was, I can tell you again.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-01.htm">"Please tell me about the mission again."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-05.htm">"I know what I've got to do."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Adventurer! Good to see you. Since you've helped us so much already, how about helping us some more? <br>
|
||||
What do you say? If you don't remember what the mission was, I can tell you again.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-01.htm">"Please tell me about the mission again."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-05.htm">"I know what I've got to do."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
I've been waiting for you, adventurer. Well since you are here now, will you listen to me? I know I can trust you, but if you complete this mission, we'll become better allies and your pockets will get heavier. What do you say? Or do you need me to explain the mission again?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-01.htm">"Please tell me about the mission again."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-05.htm">"I know what I've got to do."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
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.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-03.htm">"What is it you need to do?"</Button>
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
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.<br>
|
||||
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.<br>
|
||||
That's about it.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00931_MemoriesOfTheWind select_mission">"Yes, sure."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,7 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
Good. Let me tell you what to do. Just choose the mission that you are capable of doing.<br>
|
||||
Basic Mission - Collect <font color="LEVEL">12</font> Mutated Spirit's Souls.<br1>
|
||||
Intermediate Mission - Collect <font color="LEVEL">24</font> Mutated Spirit's Souls.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-06.html">"I'll take the basic mission."</Button>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-05.html"><font color="A62F31">"I'll take the intermediate mission."</font></Button>
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Cyphona:<br>
|
||||
This isn't the first time we've met? You've completed a mission before? I see... Well, I don't really have a good memory.<br>
|
||||
If you have completed a mission before, then that means you must have a Mark of Trust. What? You don't have one?<br>
|
||||
Then you are either a liar, or you haven't been here in a long time. My trust is something you must continously try to maintain. Will you listen to me?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00931_MemoriesOfTheWind 34055-01.htm">"Yes, tell me about the mission."</Button>
|
||||
</body></html>
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user