Quests 10327 to 10330.

Contributed by Neanrakyr.
This commit is contained in:
MobiusDev
2015-04-17 12:10:03 +00:00
parent ebfe860e5a
commit ed7940cda0
60 changed files with 1427 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
<html><body>Pa'agrio Lord Kakai:<br>
What... what do you have there in your hand? Whatever it is, it's giving me a killer headache... Oh, you've got yourself a nasty little Evil Fragment, huh. You've seen Pantheon, have you? Hand that thing over and let me quench it before we both get migraines.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10328_RequestToSealTheEvilFragment 30565-02.htm">"Here is the Evil Fragment."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><head><body>Pa'agrio Lord Kakai:<br>
Whoa! Step back a bit, that's one potent and nasty Evil Fragment you've got there. From Pantheon, huh? What does he want me to do with it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10328_RequestToSealTheEvilFragment 30565-03.htm">"He wants you to seal this."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Pa'agrio Lord Kakai:<br>
Hmm, good idea. Sealing it is probably safer than destroying it. This stuff tends to cause quite the explosion if you mess up when trying to destroy it. I can weave the power of Pa'agrio around it. That should make a sufficient seal. Nasty piece of work.<br>
Did you know that these things were parasitic? Yah. There's been an influx of Evil Fragments in Ruins of Ye Sagira. When anyone dies out there, the pieces latch on to the corpse. Gross. But it's even worse when they latch on to living bodies! We've had a few outbreaks in the village lately. The damage those things inflict is incredible and down right disturbing!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Pa'agrio Lord Kakai:<br>
If you're wondering about that Evil Fragment, no worries, It's been nullified.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Pantheon:<br>
I have a favor to ask of you.<br1>
As I mentioned, the people who attacked you in the museum have broken in before, and we want to find out who they are. As luck would have it, they dropped this little beauty. I want you to take it to a friend of mine...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10328_RequestToSealTheEvilFragment 32972-02.htm">"Take what?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10328_RequestToSealTheEvilFragment 32972-03.htm">"What should I do?"</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><head><body>Pantheon:<br>
It's an Evil Fragment. Our research has shown that by itself it is completely harmless.<br>
However, when they incubate in the corpses buried under Ye Sagira they create horrible creatures.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10328_RequestToSealTheEvilFragment 32972-03.htm">"Well that's disgusting. What do you want me to do with it?"</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Pantheon:<br>
Well, we don't know when the monster will hatch, so we want you to destroy it as soon as possible! Asterios, the head of the elves, is away, so the only one that can seal the seed is Kakai, leader of the Orcs.<br>
We want you to take the seed to <font color="LEVEL">Pa'agrio Lord Kakai</font>, he's in the Administration Office.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10328_RequestToSealTheEvilFragment 32972-04.htm">"Sounds easy. I'll do it."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Pantheon:<br>
Thank you!<br1>
Here it is, now hurry to <font color="LEVEL">Pa'agrio Lord Kakai</font> before the fragment hatches!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Pantheon:<br>
If the fragment hatches in the museum, it'ill be a complete disaster! Go to <font color="LEVEL">Pa'agrio Lord Kakai</font> in the <font color="LEVEL">Administration Office</font> and have him destroy it!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Pantheon:<br>
I'm sorry. The time hasn't come for you.<br>
(Only characters under level 20, who have completed the "Looking for New Power" quest, may start this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Pantheon:<br>
Evil Fragment is a walking corpse! It's horriable, don't you think?<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,126 @@
/*
* Copyright (C) 2004-2015 L2J DataPack
*
* This file is part of L2J DataPack.
*
* L2J DataPack 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.
*
* L2J DataPack 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.Q10328_RequestToSealTheEvilFragment;
import quests.Q10327_IntruderWhoWantsTheBookOfGiants.Q10327_IntruderWhoWantsTheBookOfGiants;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.quest.Quest;
import com.l2jserver.gameserver.model.quest.QuestState;
import com.l2jserver.gameserver.model.quest.State;
/**
* @author Neanrakyr
*/
public final class Q10328_RequestToSealTheEvilFragment extends Quest
{
// Npcs
private static final int PANTHEON = 32972;
private static final int KAKAI = 30565;
// Items
private static final int EVIL_FRAGMENT = 17577;
// Level Condition
private static final int MAX_LEVEL = 20;
public Q10328_RequestToSealTheEvilFragment()
{
super(10328, Q10328_RequestToSealTheEvilFragment.class.getSimpleName(), "Request to Seal the Evil Fragment");
addStartNpc(PANTHEON);
addTalkId(PANTHEON, KAKAI);
addCondMaxLevel(MAX_LEVEL, "32972-06.htm");
registerQuestItems(EVIL_FRAGMENT);
addCondCompletedQuest(Q10327_IntruderWhoWantsTheBookOfGiants.class.getSimpleName(), "32972-06.htm");
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return null;
}
String htmltext = null;
switch (event)
{
case "32972-04.htm":
{
qs.startQuest();
qs.giveItems(EVIL_FRAGMENT, 1);
htmltext = event;
break;
}
case "32972-02.htm":
case "32972-03.htm":
case "30565-02.htm":
{
htmltext = event;
break;
}
case "30565-03.htm":
{
if (qs.isStarted())
{
giveAdena(player, 20000, true);
addExpAndSp(player, 13000, 5);
qs.exitQuest(false, true);
htmltext = event;
break;
}
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = null;
switch (qs.getState())
{
case State.CREATED:
{
if (npc.getId() == PANTHEON)
{
htmltext = "32972-01.htm";
break;
}
break;
}
case State.STARTED:
{
htmltext = npc.getId() == PANTHEON ? "32972-05.htm" : "30565-01.htm";
break;
}
case State.COMPLETED:
{
htmltext = npc.getId() == PANTHEON ? "32972-07.htm" : "30565-04.htm";
break;
}
}
return htmltext;
}
}