Quest Anomaly in the Enchanted Valley (10843).
Contributed by gigilo1968.
This commit is contained in:
parent
2e7852ee8f
commit
70cdde48be
@ -122,7 +122,6 @@
|
||||
10806 The Dimensional Warp, Part 6
|
||||
10807 The Dimensional Warp, Part 7
|
||||
10809 The Hero's Journey: Blazing Swamp
|
||||
10843 Anomaly in the Enchanted Valley
|
||||
10844 Bloody Battle - Seizing Supplies
|
||||
10845 Bloody Battle - Rescue the Smiths
|
||||
10846 Bloody Battle - Meeting the Commander
|
@ -0,0 +1,4 @@
|
||||
<html><body>Elder Cronos:<br>
|
||||
Why are you here? You are not strong enough to be here.<br>
|
||||
(Only characters above Lv. 100.)
|
||||
</body></html>
|
@ -0,0 +1,6 @@
|
||||
<html><body>Elder Cronos:<br>
|
||||
I feel like we've met before. Have we?<br>
|
||||
Well, I've been alive since before your grandfather's grandfather was born, so we've probably met somewhere.<br>
|
||||
Anyway, since you've come here, I'll tell you an interesting story.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10843_AnomalyInTheEnchantedValley 30610-02.htm">"What is it?"</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Elder Cronos:<br>
|
||||
I've been friends with Fairy Mimyu for a long time. I'm sure no one in the continent has become such good friends with a fairy.<br>
|
||||
Hmm... Well, Mimyu came to me last night and asked for help. Interesting, right?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10843_AnomalyInTheEnchantedValley 30610-03.htm">"Go on."</Button>
|
||||
</body></html>
|
@ -0,0 +1,6 @@
|
||||
<html><body>Elder Cronos:<br>
|
||||
She said that things have changed in the Enchanted Valley, and asked me to help her find the cause. Have you heard anything? I wonder what could have happened...<br>
|
||||
Mimyu seemed like she wanted me to help her, but I can't just leave this place whenever I want.<br>
|
||||
It's not like I can just ignore her request, though.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10843_AnomalyInTheEnchantedValley 30610-04.htm">"Why not?"</Button>
|
||||
</body></html>
|
@ -0,0 +1,6 @@
|
||||
<html><body>Elder Cronos:<br>
|
||||
Because I made a promise to Mimyu.<br>One must keep their promises to fairies. Have you not heard stories about what happens to those who don't?<br>
|
||||
Well, if you haven't lived for as long as I, it's no wonder you don't know. Anyway, I would like to ask you to go help Fairy Mimyu. What do you say?<br>
|
||||
I'll make sure to reward you well for helping Mimyu. Well, not me, but Mimyu will.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10843_AnomalyInTheEnchantedValley 30610-05.htm">"I will help."</Button>
|
||||
</body></html>
|
@ -0,0 +1,6 @@
|
||||
<html><body>Elder Cronos:<br>
|
||||
You are smarter than I thought.<br>
|
||||
The way to the Enchanted Valley has changed as well. Just teleport to the <font color="LEVEL">center of the Enchanted Valley</font> and talk to <font color="LEVEL">Fairy Mimyu</font>.<br>
|
||||
Fairy Mimyu will tell you what you need to do.<br>
|
||||
Mimyu is very worried, so I'll give you a Scroll of Escape so that you can get there faster.
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Elder Cronos:<br>
|
||||
I thought I told you to go see Fairy Mimyu.<br>
|
||||
There have been some transformations going around in the Enchanted Valley, and Fairy Mimyu is at the center of the area.<br>
|
||||
Use the Scroll of Escape: Enchanted Valley that I gave you.
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Fairy Mimyu:<br>
|
||||
Hey, you! Did Cronos send you?<br>
|
||||
I guess Cronos kept our promise. Did you hear what happened?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10843_AnomalyInTheEnchantedValley 30747-02.html">"I was told to hear it from you."</Button>
|
||||
</body></html>
|
@ -0,0 +1,6 @@
|
||||
<html><body>Fairy Mimyu:<br>
|
||||
Hmm... It will be easier if I tell you.<br>
|
||||
Something happened in the Enchanted Valley and all the fairies disappeared. Well, everyone but me. I'm glad you came all the way here.<br>
|
||||
If you are willing to help me, can you find out where all the fairies went, and why this place changed?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10843_AnomalyInTheEnchantedValley 30747-03.html">"Will do."</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Fairy Mimyu:<br>
|
||||
Thank you! I was scared all by myself.<br>
|
||||
I was worried that we would still be treated as some kind of ornament. <br>
|
||||
Oh, thank you for helping, but make sure you are safe! And don't go chasing Cronos at night by yourself!
|
||||
</body></html>
|
@ -0,0 +1,136 @@
|
||||
/*
|
||||
* 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.Q10843_AnomalyInTheEnchantedValley;
|
||||
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
import com.l2jmobius.gameserver.network.NpcStringId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
|
||||
|
||||
/**
|
||||
* Anomaly in the Enchanted Valley (10843)
|
||||
* @URL https://l2wiki.com/Anomaly_in_the_Enchanted_Valley
|
||||
* @author Gigi
|
||||
*/
|
||||
public final class Q10843_AnomalyInTheEnchantedValley extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int CRONOS = 30610;
|
||||
private static final int MIMYU = 30747;
|
||||
// Items
|
||||
private static final int SOE = 46257; // Scroll of Escape: Enchanted Valley
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 100;
|
||||
|
||||
public Q10843_AnomalyInTheEnchantedValley()
|
||||
{
|
||||
super(10843);
|
||||
addStartNpc(CRONOS);
|
||||
addTalkId(CRONOS, MIMYU);
|
||||
addCondMinLevel(MIN_LEVEL, "30610-00.htm");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case "30610-02.htm":
|
||||
case "30610-03.htm":
|
||||
case "30610-04.htm":
|
||||
case "30747-02.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30610-05.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
giveItems(player, SOE, 1);
|
||||
showOnScreenMsg(player, NpcStringId.TALK_TO_MIMYU, ExShowScreenMessage.TOP_CENTER, 8000);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30747-03.html":
|
||||
{
|
||||
giveItems(player, SOE, 3);
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
if (npc.getId() == CRONOS)
|
||||
{
|
||||
htmltext = "30610-01.htm";
|
||||
break;
|
||||
}
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case CRONOS:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "30610-06.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
case MIMYU:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "30747-01.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
@ -419,6 +419,7 @@ import quests.Q10838_TheReasonForNotBeingAbleToGetOut.Q10838_TheReasonForNotBein
|
||||
import quests.Q10839_BlackbirdsNameValue.Q10839_BlackbirdsNameValue;
|
||||
import quests.Q10840_TimeToRecover.Q10840_TimeToRecover;
|
||||
import quests.Q10841_DeepInsideAteliaFortress.Q10841_DeepInsideAteliaFortress;
|
||||
import quests.Q10843_AnomalyInTheEnchantedValley.Q10843_AnomalyInTheEnchantedValley;
|
||||
|
||||
/**
|
||||
* @author NosBit
|
||||
@ -828,7 +829,8 @@ public class QuestMasterHandler
|
||||
Q10838_TheReasonForNotBeingAbleToGetOut.class,
|
||||
Q10839_BlackbirdsNameValue.class,
|
||||
Q10840_TimeToRecover.class,
|
||||
Q10841_DeepInsideAteliaFortress.class
|
||||
Q10841_DeepInsideAteliaFortress.class,
|
||||
Q10843_AnomalyInTheEnchantedValley.class
|
||||
};
|
||||
|
||||
public static void main(String[] args)
|
||||
|
Loading…
Reference in New Issue
Block a user