This commit is contained in:
mobius
2015-01-01 20:02:50 +00:00
parent eeae660458
commit a6a3718849
17894 changed files with 2818932 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
<html><body>High Priest Orven:<br>
Do you know the tragedy that has befallen <font color="LEVEL">Gracia</font>? The power of Shilen, the Goddess of Death, has manifested itself in the form of a <font color="LEVEL">Seed</font> that has transformed the entire continent into a land of death. Despite the valiant efforts by a few lords and their warriors, most of Gracia is chaos and evil.<br>
Now we need brave adventurers more than ever. However, I'm afraid you are not yet ready for so great a trial. Perhaps in the future...<br>
(Only characters who are level 75 or higher may undertake this quest.)
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>High Priest Orven:<br>
Do you know the tragedy that has befallen <font color="LEVEL">Gracia</font>? The power of Shilen, the Goddess of Death, has manifested itself in the form of a <font color="LEVEL">Seed</font> that has transformed the entire continent into a land of death. Despite the valiant efforts by a few lords and their warriors, most of Gracia is chaos and evil.<br>
Do you know what this means? When <font color="LEVEL">Gracia has fallen completely into evil, Aden will be targeted next</font>. Our leaders met in what is being called the <font color="LEVEL">Giran Assembly</font> and decided we must face this threat as a unified group. The Kamael were finally welcomed into the alliance at that time.<br>
Now we need brave adventurers to fight this rising tide of darkness. Please help!<br>
<a action="bypass -h Quest Q10267_JourneyToGracia 30857-02.htm">"Tell me what happened in Gracia."</a><br>
<a action="bypass -h Quest Q10267_JourneyToGracia 30857-05.htm">"How can I help?"</a><br>
<a action="bypass -h Quest Q10267_JourneyToGracia 30857-04.html">"Sorry, but this has nothing to do with me."</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>High Priest Orven:<br>
The story begins long ago, during the Elmoreden era. Emperor Shunaiman drove out all of Shilen's followers after years of hard fighting. Some of them found their way to Gracia. There they seemed to disappear from history for a while.<br>
Now we now they were actually infiltrating Gracian society and politics. Then they struck openly, taking advantage of the civil war between <font color="LEVEL">Karneia</font> and <font color="LEVEL">Kserth</font> after their father <font color="LEVEL">King Paris'</font> failed invasion of Aden.<br>
Soon, Shilen's followers dominated Gracia. Clearly they had long prepared for this moment.<br>
<a action="bypass -h Quest Q10267_JourneyToGracia 30857-03.htm">Keep listening.</a>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><body>High Priest Orven:<br>
Finally, Shilen's followers used the dark ceremony they had originally intended for Aden on Gracia. They opened a door to the land of death: the Seed. Horrific monsters entered the land, further devastating it and its people.<br>
Now we must all unite against this threat. That's why need adventurers willing and able to take this battle to the shores of Gracia.<br>
If we fail, that evil will soon find its way here... We desperately need your help!<br>
<a action="bypass -h Quest Q10267_JourneyToGracia 30857-05.htm">"You have it!"</a><br>
<a action="bypass -h Quest Q10267_JourneyToGracia 30857-04.html">"Eh, doesn't sound like it's any of my business."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Priest Orven:<br>
How can you ignore what's happening? Can't you understand that unless we stop the spreading darkness, Aden will be next?!<br>
I hope you'll change your mind when you've thought it over.
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>High Priest Orven:<br>
Excellent! We need all the help we can get. You must leave for Gracia at once.<br>
Of course, since Gracia has long been an enemy of Aden, there is no established means of easily traveling there. No <font color="LEVEL">Gatekeepers</font> can teleport you there. There is another way, however...<br>
<a action="bypass -h Quest Q10267_JourneyToGracia 30857-06.html">"How do I get there?"</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>High Priest Orven:<br>
I appreciate your commitment. All of Aden will be counting on you and your comrades.<br>
Your first challenge will be reaching Gracia. First, go to the <font color="LEVEL">Aden Airship Dock</font>. There you should ask the manager, <font color="LEVEL">Magister Papiku</font>, about the details of the journey.<br>
Take this. It is a letter to <font color="LEVEL">Keucereus</font>, who currently rules Gracia. It designates you as one of the Aden warriors sent to fight the evil in his land. I pray you will be able to help him...and us. May Einhasad shine her blessed light upon your path...
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Priest Orven:<br>
There is no one who knows more about <font color="LEVEL">airships</font> than <font color="LEVEL">Magister Papiku</font> at the <font color="LEVEL">Airship Wharf of Gludio</font>. If you wish to go to Gracia, go see him.<br>
May Einhasad light your path...
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Priest Orven:<br>
Ah, you've returned safely from Gracia! Tell me of your adventures! Gracia is not yet cleansed, however, so I ask you to return there and continue the battle against darkness.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Keucereus:<br>
<font color="LEVEL">Bring death to the betrayer, Karneia! Bring death to the Army of Darkness who violated Gracia!</font><br>
Strange adventurer, what brought you here? You have something to say?<br>
<a action="bypass -h Quest Q10267_JourneyToGracia 32548-02.html">Show him the letter from high Priest Orven.</a>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><body>Keucereus:<br>
Are you one of the soldiers from Aden? You deserve a reward simply for coming such a long way to help us.<br>
Unfortunately, things are happening very quickly here, and I'm afraid I don't have the luxury for long conversations.<br>
Even as we speak, monsters unlike any we've ever seen or heard of are wreaking havoc on my people. They seem to be filled with insane hatred toward all humanoids.<br>
But if you have the <font color="LEVEL">will and skill to fight them</font>, even these enemies can be defeated. I ask for nothing else. Nothing is more fearsome than a mighty warrior fighting in a righteous cause.<br>
To arms! When you're ready to fight, come see me again.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Keucereus:<br>
As I mentioned before, you must have the will to fight and defeat our enemies. That's all I require from you. If you can do that, I will happily tell you more. Prepare yourself for the trials to come. Return to me when you are ready to begin.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Magister Papiku:<br>
Do you know that the airship is a part of the ancient Giants' legacy? Apparently they they left behind quite a few relics in Gracia. Most of the continent has been devastated, but perhaps Keucereus will be able to use these relics to prevail. A surprising twist, isn't it?<br>
Now what brought you here, adventurer?<br>
<a action="bypass -h Quest Q10267_JourneyToGracia 32564-02.html">Show him High Priest Orven's letter.</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Magister Papiku:<br>
Ah, just from the seal on the letter, I surmise that you must be the one dispatched here by High Priest Orven!<br>
If you take the airship, you can reach <font color="LEVEL">Keucereus Alliance Base</font> quickly. Once there, show the letter to the commander, <font color="LEVEL">Admiral Keucereus</font>.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Magister Papiku:<br>
Is there something wrong? Please do not delay!<br>
Take High Priest Orven's letter to the commander at <font color="LEVEL">Keucereus Alliance Base</font>, <font color="LEVEL">Admiral Keucereus</font> himself.
</body></html>

View File

@@ -0,0 +1,121 @@
/*
* Copyright (C) 2004-2014 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.Q10267_JourneyToGracia;
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;
/**
* Journey To Gracia (10267)<br>
* Original Jython script by Kerberos.
* @author nonom
*/
public class Q10267_JourneyToGracia extends Quest
{
// NPCs
private static final int ORVEN = 30857;
private static final int KEUCEREUS = 32548;
private static final int PAPIKU = 32564;
// Item
private static final int LETTER = 13810;
public Q10267_JourneyToGracia()
{
super(10267, Q10267_JourneyToGracia.class.getSimpleName(), "Journey to Gracia");
addStartNpc(ORVEN);
addTalkId(ORVEN, KEUCEREUS, PAPIKU);
registerQuestItems(LETTER);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final QuestState st = getQuestState(player, false);
if (st == null)
{
return getNoQuestMsg(player);
}
switch (event)
{
case "30857-06.html":
st.startQuest();
st.giveItems(LETTER, 1);
break;
case "32564-02.html":
st.setCond(2, true);
break;
case "32548-02.html":
st.giveAdena(92500, true);
st.addExpAndSp(75480, 7570);
st.exitQuest(false, true);
break;
}
return event;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
String htmltext = getNoQuestMsg(player);
final QuestState st = getQuestState(player, true);
if (st == null)
{
return htmltext;
}
switch (npc.getId())
{
case ORVEN:
switch (st.getState())
{
case State.CREATED:
htmltext = (player.getLevel() < 75) ? "30857-00.html" : "30857-01.htm";
break;
case State.STARTED:
htmltext = "30857-07.html";
break;
case State.COMPLETED:
htmltext = "30857-0a.html";
break;
}
break;
case PAPIKU:
if (st.isStarted())
{
htmltext = st.isCond(1) ? "32564-01.html" : "32564-03.html";
}
break;
case KEUCEREUS:
if (st.isStarted() && st.isCond(2))
{
htmltext = "32548-01.html";
}
else if (st.isCompleted())
{
htmltext = "32548-03.html";
}
break;
}
return htmltext;
}
}