Sync with L2JServer Feb 7th 2015.

This commit is contained in:
mobius
2015-02-07 23:48:56 +00:00
parent 1e166ca657
commit ecd17fdefb
1949 changed files with 3120 additions and 33466 deletions

View File

@@ -1,5 +0,0 @@
<html><body>Trader Leon:<br>
All right. Guard Cadmon sent you here, didn't he? I'm glad you made it here. A number of young men have tried to come here, but they all ran away even before they reached the Orc barracks. I've sustained a great loss.<br>
As you know, the Ketra Orcs are the most daring and ferocious tribe. They never lag behind in terms of body structure or strength. So those who are weak run away at the sight of those orcs, causing me a great deal of trouble. But since Cadmon sent you here and you seem to possess great skills, I guess I don't have to worry about that. The task is simple. Take this box of supplies to the Ketra Orc outpost and deliver them to <font color="LEVEL">Messenger Wahkan</font>. It won't be difficult to find Wahkan since he's staying in the base center. Although it may be a little difficult to enter the base...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00011_SecretMeetingWithKetraOrcs 31256-02.html">"OK. Entrust me with the task."</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Trader Leon:<br>
Man, you are really a dependable person. Don't forget.
You must take the box of supplies to <font color="LEVEL">Messenger Wahkan of Ketra</font> at the Ketra Orc base.
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Trader Leon:<br>
What are you doing? Take the box of supplies I gave you to Messenger Wahkan of Ketra. You are already running late. Hurry. They're very bad-tempered.
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Guard Cadmon:<br>
Are you interested in the Ketra Orcs, stranger? Well, if you are, I can tell you an interesting story. Right now, the Ketra Orcs are hiring mercenaries! It's a great opportunity to get into their outpost under the pretext of delivering military supplies! Are you interested?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00011_SecretMeetingWithKetraOrcs 31296-03.html">"I'm interested!"</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Guard Cadmon:<br>
I appreciate your interest, but the Ketra Orcs are some dangerous characters! You wouldn't stand a chance against them!<br>
(Only a character of level 74 or above may undertake this quest.)
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Guard Cadmon:<br>
Good! Find Trader Leon at the weapons and armor shop. He'll give you the details. Basically, you're delivering goods to them. The next step is up to you. You will either gain their trust or become their enemy!
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Guard Cadmon:<br>
Find Trader Leon in the weapons and armor shop to deliver military supplies to the Ketra Orcs.
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Ketra's Messenger Wahkan:<br>
What brings you to the land of the Ketra, stranger?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00011_SecretMeetingWithKetraOrcs 31371-02.html">"Here are some military supplies."</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Ketra's Messenger Wahkan:<br>
Good job, stranger.<br>
Well, are you a mercenary? Will you fight alongside the Ketra Orcs?
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Ketra's Messenger Wahkan:<br>
You don't have required items.
</body></html>

View File

@@ -1,133 +0,0 @@
/*
* 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.Q00011_SecretMeetingWithKetraOrcs;
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;
/**
* Secret Meeting With Ketra Orcs (11)<br>
* Original Jython script by Emperorc.
* @author nonom
*/
public class Q00011_SecretMeetingWithKetraOrcs extends Quest
{
// NPCs
private static final int CADMON = 31296;
private static final int LEON = 31256;
private static final int WAHKAN = 31371;
// Item
private static final int BOX = 7231;
public Q00011_SecretMeetingWithKetraOrcs()
{
super(11, Q00011_SecretMeetingWithKetraOrcs.class.getSimpleName(), "Secret Meeting With Ketra Orcs");
addStartNpc(CADMON);
addTalkId(CADMON, LEON, WAHKAN);
registerQuestItems(BOX);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = event;
final QuestState st = getQuestState(player, false);
if (st == null)
{
return htmltext;
}
switch (event)
{
case "31296-03.html":
st.startQuest();
break;
case "31256-02.html":
if (st.isCond(1))
{
st.setCond(2, true);
st.giveItems(BOX, 1);
}
break;
case "31371-02.html":
if (st.isCond(2) && st.hasQuestItems(BOX))
{
st.addExpAndSp(233125, 18142);
st.exitQuest(false, true);
}
else
{
htmltext = "31371-03.html";
}
break;
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
String htmltext = getNoQuestMsg(player);
final QuestState st = getQuestState(player, true);
if (st == null)
{
return htmltext;
}
int npcId = npc.getId();
switch (st.getState())
{
case State.COMPLETED:
htmltext = getAlreadyCompletedMsg(player);
break;
case State.CREATED:
if (npcId == CADMON)
{
htmltext = (player.getLevel() >= 74) ? "31296-01.htm" : "31296-02.html";
}
break;
case State.STARTED:
if ((npcId == CADMON) && st.isCond(1))
{
htmltext = "31296-04.html";
}
else if (npcId == LEON)
{
if (st.isCond(1))
{
htmltext = "31256-01.html";
}
else if (st.isCond(2))
{
htmltext = "31256-03.html";
}
}
else if ((npcId == WAHKAN) && st.isCond(2))
{
htmltext = "31371-01.html";
}
break;
}
return htmltext;
}
}

View File

@@ -1,6 +0,0 @@
<html><body>Trader Helmut:<br>
Did Guard Cadmon send you? All right. I guess you are good enough.<br>
Bear in mind that the Varka Silenos are different from other Silenos. They may look alike, but the Varka Silenos have traditionally been fearless soldiers. They are completely different from other Silenos who are engaged in stock farming. They are very particular about manners. You should try not to offend them.<br>
Okay, here's the task. You need to take this box of supplies to the <font color="LEVEL">Varka Silenos base</font>. Sounds simple, right? Even a three year old can do this.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00012_SecretMeetingWithVarkaSilenos 31258-02.html">"All right. Entrust me with the task."</Button>
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Trader Helmut:<br>
Good, good. I like your straight-forward personality. Now take this box of supplies to <font color="LEVEL">Naran Ashanuk Herald of Varka</font> at the Varka Silenos base.
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Trader Helmut:<br>
What are you still doing here? Take the box of supplies to <font color="LEVEL">Naran Ashanuk Herald of Varka</font>!
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Guard Cadmon:<br>
Are you interested in the Varka Silenos, stranger? Well, if you are, I know an interesting story. They've been hiring mercenaries lately! It's a great opportunity to gain access to their barracks on the pretext of smuggling weapons in!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00012_SecretMeetingWithVarkaSilenos 31296-03.html">"I'll do it."</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Guard Cadmon:<br>
I appreciate your interest, but the Varkas aren't your average Silenos! They're some very rough characters! You wouldn't stand a chance!<br>
(Only a character of level 74 or above may undertake this quest.)
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Guard Cadmon:<br>
Good! Find Trader Helmut at the weapons and armor shop. He'll give you the details. Basically, you're delivering goods to them. It won't be very difficult. After the delivery, the next step is up to you. It depends entirely on how you act as to whether you gain their trust or become their enemy. Good luck!
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Guard Cadmon:<br>
Go to the weapons and armor shop, and tell Trader Helmut. Hurry up.
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Varka's Messenger Naran Ashanuk:<br>
What brings you to this land of the Varka, traveler of Zephyr Winds?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00012_SecretMeetingWithVarkaSilenos 31378-02.html">"Hand over Helmut's chest of military supplies."</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Varka's Messenger Naran Ashanuk:<br>
Were these supplies sent by Helmut of Goddard? Thank you for bringing them so far! We Varkas never forget our debts!<br>
You look like a very strong person! We Varka have been at war with the Ketra Orcs for a very long time. Will you help us? We never forget our friends!
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Varka's Messenger Naran Ashanuk:<br>
You don't have required items.
</body></html>

View File

@@ -1,133 +0,0 @@
/*
* 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.Q00012_SecretMeetingWithVarkaSilenos;
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;
/**
* Secret Meeting With Varka Silenos (12)<br>
* Original Jython script by Emperorc.
* @author nonom
*/
public class Q00012_SecretMeetingWithVarkaSilenos extends Quest
{
// NPCs
private static final int CADMON = 31296;
private static final int HELMUT = 31258;
private static final int NARAN = 31378;
// Item
private static final int BOX = 7232;
public Q00012_SecretMeetingWithVarkaSilenos()
{
super(12, Q00012_SecretMeetingWithVarkaSilenos.class.getSimpleName(), "Secret Meeting With Varka Silenos");
addStartNpc(CADMON);
addTalkId(CADMON, HELMUT, NARAN);
registerQuestItems(BOX);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = event;
final QuestState st = getQuestState(player, false);
if (st == null)
{
return htmltext;
}
switch (event)
{
case "31296-03.html":
st.startQuest();
break;
case "31258-02.html":
if (st.isCond(1))
{
st.setCond(2, true);
giveItems(player, BOX, 1);
}
break;
case "31378-02.html":
if (st.isCond(2) && st.hasQuestItems(BOX))
{
st.addExpAndSp(233125, 18142);
st.exitQuest(false, true);
}
else
{
htmltext = "31378-03.html";
}
break;
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
String htmltext = getNoQuestMsg(player);
final QuestState st = getQuestState(player, true);
if (st == null)
{
return htmltext;
}
final int npcId = npc.getId();
switch (st.getState())
{
case State.COMPLETED:
htmltext = getAlreadyCompletedMsg(player);
break;
case State.CREATED:
if (npcId == CADMON)
{
htmltext = (player.getLevel() >= 74) ? "31296-01.htm" : "31296-02.html";
}
break;
case State.STARTED:
final int cond = st.getInt("cond");
if ((npcId == CADMON) && (cond == 1))
{
htmltext = "31296-04.html";
}
else if (npcId == HELMUT)
{
if (cond == 1)
{
htmltext = "31258-01.html";
}
else if (cond == 2)
{
htmltext = "31258-03.html";
}
}
else if ((npcId == NARAN) && (cond == 2))
{
htmltext = "31378-01.html";
}
break;
}
return htmltext;
}
}

View File

@@ -1,5 +0,0 @@
<html><body>Trader Liesel:<br>
My friend left home to study archaeology a couple of years ago. His mother was just overcome by disease.<br>
Could you deliver her last letter to him?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00014_WhereaboutsOfTheArchaeologist 31263-02.html">Yes</Button>
</body></html>

View File

@@ -1,5 +0,0 @@
<html><body>Trader Liesel:<br>
My friend left to study archaeology at the Imperial Tomb a few years ago. I have a letter for him,
but I think you aren't capable enough to handle this delivery yet.<br>
(This quest may only be undertaken by a character of level 74 or above.)
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Trader Liesel:<br>
He may be hard to find, but his last letter mentioned the <font color="LEVEL">Imperial Tomb</font>. Maybe you can find him there!
</body></html>

View File

@@ -1,5 +0,0 @@
<html><body>Ghost of Adventurer:<br>
Huh? You were asked to give me this letter? Who writes a letter to a dead person? Hmm...Let me see...<br>
Oh, it's from my mother! It's been so long since I've seen her! How is she?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00014_WhereaboutsOfTheArchaeologist 31538-01.html">Your mother is dead.</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Ghost of Adventurer:<br>
Oh, yes, I see. Well, I could never let her see me like this, anyway!<br>
Thank you for bringing the letter to me. Please accept this token of my appreciation.
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Ghost of Adventurer:<br>
You don't have the required items.
</body></html>

View File

@@ -1,119 +0,0 @@
/*
* 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.Q00014_WhereaboutsOfTheArchaeologist;
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;
/**
* Whereabouts of the Archaeologist (14)<br>
* Original Jython script by disKret.
* @author nonom
*/
public class Q00014_WhereaboutsOfTheArchaeologist extends Quest
{
// NPCs
private static final int LIESEL = 31263;
private static final int GHOST_OF_ADVENTURER = 31538;
// Item
private static final int LETTER = 7253;
public Q00014_WhereaboutsOfTheArchaeologist()
{
super(14, Q00014_WhereaboutsOfTheArchaeologist.class.getSimpleName(), "Whereabouts of the Archaeologist");
addStartNpc(LIESEL);
addTalkId(LIESEL, GHOST_OF_ADVENTURER);
registerQuestItems(LETTER);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = event;
final QuestState st = getQuestState(player, false);
if (st == null)
{
return htmltext;
}
switch (event)
{
case "31263-02.html":
st.startQuest();
st.giveItems(LETTER, 1);
break;
case "31538-01.html":
if (st.isCond(1) && st.hasQuestItems(LETTER))
{
st.giveAdena(136928, true);
st.addExpAndSp(325881, 32524);
st.exitQuest(false, true);
}
else
{
htmltext = "31538-02.html";
}
break;
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
String htmltext = getNoQuestMsg(player);
final QuestState st = getQuestState(player, true);
if (st == null)
{
return htmltext;
}
final int npcId = npc.getId();
switch (st.getState())
{
case State.COMPLETED:
htmltext = getAlreadyCompletedMsg(player);
break;
case State.CREATED:
if (npcId == LIESEL)
{
htmltext = (player.getLevel() < 74) ? "31263-01.html" : "31263-00.htm";
}
break;
case State.STARTED:
if (st.isCond(1))
{
switch (npcId)
{
case LIESEL:
htmltext = "31263-02.html";
break;
case GHOST_OF_ADVENTURER:
htmltext = "31538-00.html";
break;
}
}
break;
}
return htmltext;
}
}

View File

@@ -1,4 +0,0 @@
<html><body>Warehouse Chief Donal:<br>
The Golden Ram Mercenary Force are in the the Swamp of Screams fighting stakatos. I'm looking for someone to deliver war supplies, are you interested?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00018_MeetingWithTheGoldenRam 31314-03.html">Say you are interested.</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Warehouse Chief Donal:<br>
This is too difficult for you.<br>
(This quest may be undertaken only by characters of level 66 or above.)
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Warehouse Chief Donal:<br>
Get the supplies from my niece Daisy. I heard the Golden Ram might be recruiting if you are interested.
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Warehouse Chief Donal:<br>
Get the supplies from my niece Daisy and take them to the Swamp of Screams.
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body> Warehouse Freightman Daisy:<br>
Uncle Donal sent you? Here's the box! Heavy, isn't it? Deliver it quickly before the winter comes!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00018_MeetingWithTheGoldenRam 31315-02.html">"You can count on me."</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Warehouse Freightman Daisy:<br>
Take it to the mercenary forces temporary outpost in the east part of the Swamp of Screams. I'll mark it on your Map. Speak with Mercenary Supplier Abercrombie.<br>
Thanks, and be careful!
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Warehouse Freightman Daisy:<br>
Hurry and deliver the box to Mercenary Supplier Abercrombie! I marked the Map, didn't I?
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Mercenary Supplier Abercrombie:<br>
Are these the supplies from Daisy?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00018_MeetingWithTheGoldenRam 31555-02.html">"Here's the box."</Button>
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Mercenary Supplier Abercrombie:<br>
Hey, ale and mutton pie! You want a drink? What do you think of mercenary life? We're recruiting!
</body></html>

View File

@@ -1,126 +0,0 @@
/*
* 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.Q00018_MeetingWithTheGoldenRam;
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;
/**
* Meeting With The Golden Ram (18)<br>
* Original jython script by disKret.
* @author nonom
*/
public class Q00018_MeetingWithTheGoldenRam extends Quest
{
// NPCs
private static final int DONAL = 31314;
private static final int DAISY = 31315;
private static final int ABERCROMBIE = 31555;
// Item
private static final int BOX = 7245;
public Q00018_MeetingWithTheGoldenRam()
{
super(18, Q00018_MeetingWithTheGoldenRam.class.getSimpleName(), "Meeting With The Golden Ram");
addStartNpc(DONAL);
addTalkId(DONAL, DAISY, ABERCROMBIE);
registerQuestItems(BOX);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = event;
final QuestState st = getQuestState(player, false);
if (st == null)
{
return htmltext;
}
switch (event)
{
case "31314-03.html":
if (player.getLevel() >= 66)
{
st.startQuest();
}
else
{
htmltext = "31314-02.html";
}
break;
case "31315-02.html":
st.setCond(2, true);
st.giveItems(BOX, 1);
break;
case "31555-02.html":
if (st.hasQuestItems(BOX))
{
st.giveAdena(40000, true);
st.addExpAndSp(126668, 11731);
st.exitQuest(false, true);
}
break;
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
String htmltext = getNoQuestMsg(player);
final QuestState st = getQuestState(player, true);
if (st == null)
{
return htmltext;
}
final int npcId = npc.getId();
switch (st.getState())
{
case State.COMPLETED:
htmltext = getAlreadyCompletedMsg(player);
break;
case State.CREATED:
if (npcId == DONAL)
{
htmltext = "31314-01.htm";
}
break;
case State.STARTED:
if (npcId == DONAL)
{
htmltext = "31314-04.html";
}
else if (npcId == DAISY)
{
htmltext = (st.getCond() < 2) ? "31315-01.html" : "31315-03.html";
}
else if ((npcId == ABERCROMBIE) && st.isCond(2) && st.hasQuestItems(BOX))
{
htmltext = "31555-01.html";
}
break;
}
return htmltext;
}
}

View File

@@ -1,4 +0,0 @@
<html><body>Innocentin:<br>
You came all this way just to find me? Yes, I was once a high priest, until some unfortunate political developments landed me here in this blasted library! But lately, I've seen signs that my luck might be changing...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31328-02.html">"Check out this crucifix!"</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Innocentin:<br>
Zounds! Where did you find this?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31328-03.html">"Truthfully, ..."</Button>
</body></html>

View File

@@ -1,6 +0,0 @@
<html><body>Innocentin:<br>
He was always a dutiful Warrior, even after his death... may the gods watch over his soul!<br>
... Why would he have you deliver this to me in person?<br>
Lately I've been having the same dream every night...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31328-04.html">"What is in your dream?"</Button>
</body></html>

View File

@@ -1,6 +0,0 @@
<html><body>Innocentin:<br>
In my dream, I'm looking down upon the Forest of the Dead... Suddenly, huge explosions rock the forest, and an army of undead rush towards me...<br>
This is bound to be a message from the gods!<br>
That's why I sent the one who held this crucifix there!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31328-05.html">"But he's dead!"</Button>
</body></html>

View File

@@ -1,5 +0,0 @@
<html><body>Innocentin:<br>
I've learned much of the ways of the wild since my days at the temple.<br>
In times like these, dead souls must be appeased!<br>
<font color="LEVEL">Take this crucifix to Grand Magister Tifaren of the Dark Elves and ask her to perform necromancy.</font>She should be able to tell us what actually happened in the Forest of the Dead...
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Innocentin:<br>
Take the crucifix to Grand Magister Tifaren of the Dark Elves and perform the necromancy to summon the soul of the priest.<br>
Ask him what happened in the Forest of the Dead...
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>High Priest Agripel:<br>
Is Innocentin one of those devil worshippers executed in the old witch trials? I never heard of him, ask someone else.
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>High Priest Agripel:<br>
Maybe he was the guy who long ago was expelled for keeping a devil worshipper with him! He's probably a beggar now. I don't waste my time on such filth.
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>High Priest Agripel:<br>
Maybe the devil worshippers are hiding in a library somewhere, they still need to acquire knowledge. They couldn't be here in the temple!
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Benedict:<br>
Is Innocentin one of those devil worshippers executed in the old witch trials? I never heard of him, ask someone else.
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Benedict:<br>
Maybe he was the guy who long ago was expelled for keeping a devil worshipper with him! He's probably a beggar now. I don't waste my time with such filth.
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Benedict:<br>
Maybe the devil worshippers are hiding in a library somewhere, they still need to acquire knowledge. They couldn't be here in the temple!
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Priest Dominic:<br>
Is Innocentin one of those devil worshippers executed in the old witch trials? I never heard of him, ask someone else.
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Dominic:<br>
Maybe he was the guy who long ago was expelled for keeping a devil worshipper with him! He's probably a beggar now. I don't waste my time with such filth.
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Dominic:<br>
Maybe the devil worshippers are hiding in a library somewhere, they still need to acquire knowledge. They couldn't be here in the temple!
</body></html>

View File

@@ -1,6 +0,0 @@
<html><body>Mysterious Wizard:<br>
There's a ghost hanging around that tombstone that's been bothering me lately.<br>
Could you help me get rid of it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31522-02.htm">"I'll handle it."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31522-04.html">"Why is it bothering you?"</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Mysterious Wizard:<br>
You think you're up to it?<br>
Look for the ghost in the tombstone.
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Mysterious Wizard:<br>
Come back when the Forest of the Dead won't eat you alive!<br>
(Only characters of level 63 or above may undertake this quest.)
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Mysterious Wizard:<br>
It may sound funny coming from a Dark Mage, but I don't like dealing with the dead. It's only trouble.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31522-01.htm">Back</Button>
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Mysterious Wizard:<br>
What's this? Weren't you supposed to check the tombstone for that noisy ghost?
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Tombstone:<br>
After pushing away the moss, words appear engraved upon the stone. Could these words be used to conjure a ghost?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31523-02.html">Say the words loudly.</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Tombstone:<br>
<font color="LEVEL">A jeweled scepter for the King and two Silver Spears for the von Hellmann family who protect him.</font><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31523-03.html">Wait.</Button>
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Tombstone:<br>
Soon a ghostly being appears...
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Tombstone:<br>
Don't look now, but there's a ghost behind you!
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Ghost of von Hellmann:<br>
Who is calling me? Why am I stuck here? Why can't I sleep?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31524-02.html">"Who are you? What's wrong?"</Button>
</body></html>

View File

@@ -1,5 +0,0 @@
<html><body>Ghost of von Hellmann:<br>
I'm Duke Adolf von Hellmann, father of Alfred von Hellmann, who King Astor struck down with his spear.<br>
Why can't I rest in peace?! Who dares interrupt my sleep?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31524-03.html">"Tell me more."</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Ghost of von Hellmann:<br>
Woe is me! This was once our home, but now we have no authority! Does this land still belong to the Elmore Kingdom?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31524-04.html">"Elmore still rules here."</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Ghost of von Hellmann:<br>
Elmore? Why can't I feel the King's grace? What's happened here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31524-05.html">"I don't know."</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Ghost of von Hellmann:<br>
Find out what happened here and who has owned this land while I was sleeping! What's become of my family?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31524-06.html">"I'll find out."</Button>
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Ghost of von Hellmann:<br>
Thank you. Find out what has transpired! Follow my servant and bring me the news!
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Ghost of von Hellmann:<br>
Find out what's happened in the forest.<br>
I'd have one of my servants show you the way, but they're all busy. Come back later!
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Ghost of von Hellmann:<br>
Thank you! Please find out what's happened in the forest. Follow my servant and bring me the news!
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Ghost of von Hellmann:<br>
Find out what has happened in the forest!<br>
I'd have one of my servants show you the way, but they're all busy. Come back later!
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Ghost of von Hellmann:<br>
I've repeatedly sent my servants to help you! Find the bookshelf that contains the history of the forest. It's somewhere in the south.
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Ghost of von Hellmann:<br>
You haven't found out enough to tell me why I can't rest in peace!<br>
Be gone!
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Ghost of Hellmann Page:<br>
I'm a guide of the Forest of the Dead. By the Lord's order, I'll lead you.
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Ghost of von Hellmann's Page:<br>
Find a book that discusses an old grudge.
</body></html>

View File

@@ -1,5 +0,0 @@
<html><body>Broken Bookshelf:<br>
The book that the ghost spoke of was easily found. The padlock was firmly locked.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31526-02.html">Examine the padlock.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31526-03.html">Take the book from the shelf.</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Broken Bookshelf:<br>
The padlock is engraved with the mark of the Hellmann family. In spite of it's many years outside, once the outer layer of dust and soil is brushed away, it shines silvery in the light! This lock won't be easy to break.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31526-01.html">Return</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Broken Bookshelf:<br>
The book's cover is lambskin that's been discolored by dark, red-colored stains.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31526-04.html">Try opening the book.</Button>
</body></html>

View File

@@ -1,5 +0,0 @@
<html><body>Broken Bookshelf:<br>
The dark red stains have damaged the pages of the book as well. Not much text is legible. All the years outside couldn't have helped, either!<br>
Do you want to read it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31526-05.html">Try to read the book.</Button>
</body></html>

View File

@@ -1,7 +0,0 @@
<html><body>
"Chapter 5, The Lord of the Forest of the Dead<br>
... The lord of the Forest of the Dead... has existed from the beginning of...<br>
... the ruling is, ... the form of taxation...<br>
... rather than that, life and death itself... under the ruling authority..."<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31526-06.html">Turn the page.</Button>
</body></html>

View File

@@ -1,5 +0,0 @@
<html><body>
"Basically, to her, taxation means... no different from... Due to... who's the master of the Moon Face Flower and the Forest of the Dead... went under her... are vampires<br>
... this is.... when examining the characteristics of..... sucking... by that one's power... that is... necessary to the subordinate of the lord of the forest..."<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31526-07.html">Turn the page.</Button>
</body></html>

View File

@@ -1,6 +0,0 @@
<html><body>
".... vampire.............. of the Forest of Dead...............<br>
............... cursed............... working at..............."<br>
The rest of the text is obscured by the red stains.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31526-08.html">Put the book back onto the shelf.</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>
When you're about to replace the book, you notice something lying on the ground. Maybe it fell out of the book...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31526-12.html">Examine the object closely.</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>
While examining the bookshelf, you notice something lying on the ground. Maybe it fell out of the book.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31526-12.html">Examine the object closely.</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>
When you're about to replace the book, you notice something lying on the ground. Maybe it fell out of the book.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31526-12.html">Examine the object closely.</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>
While examining the area around the bookshelf, you see something lying on the ground. Perhaps it fell when you were taking out the book.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31526-12.html">Examine the object closely.</Button>
</body></html>

View File

@@ -1,5 +0,0 @@
<html><body>
It's a metallic cross. It seems to be an Einhasad's Crucifix!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31526-14.html">Pick up the cross.</Button>
<br><Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31526-13.html">Ignore the cross.</Button>
</body></html>

View File

@@ -1,5 +0,0 @@
<html><body>
An old bookshelf is standing in front of you. It's extremely worn, and the lower section is used as a locker. A few books are arranged on the shelves, and the locker is secured with a padlock which bears the mark of the Hellmann Family.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31526-04.html">Take out a book and read it.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00021_HiddenTruth 31526-08.html">Examine the area around the bookshelf.</Button>
</body></html>

View File

@@ -1,5 +0,0 @@
<html><body>
You feel the cold metallic surface of the Einhasad's Crucifix. Since it's been inside the bookshelf for a long time, it's a little rusty.<br>
At the moment you touch the crucifix, you hear a whisper in your ear!<br>
<font color="LEVEL">Take it to Einhasad Temple in the Rune Township... to Priest Innocentin there... </font>
</body></html>

View File

@@ -1,5 +0,0 @@
<html><body>
You feel the cold metallic surface of the Einhasad's Crucifix. Since it's been inside the bookshelf for a long time, it's a little rusty.<br>
At the moment you touch the crucifix, you hear a whisper in your ear!<br>
<font color="LEVEL">Take it to Einhasad Temple in the Rune Township... to Priest Innocentin there... </font>
</body></html>

View File

@@ -1,456 +0,0 @@
/*
* 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.Q00021_HiddenTruth;
import com.l2jserver.gameserver.enums.QuestSound;
import com.l2jserver.gameserver.instancemanager.WalkingManager;
import com.l2jserver.gameserver.model.L2World;
import com.l2jserver.gameserver.model.Location;
import com.l2jserver.gameserver.model.actor.L2Character;
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;
import com.l2jserver.gameserver.network.NpcStringId;
import com.l2jserver.gameserver.network.clientpackets.Say2;
import com.l2jserver.gameserver.network.serverpackets.NpcSay;
/**
* Hidden Truth (21)
* @author xban1x
*/
public class Q00021_HiddenTruth extends Quest
{
// NPCs
private static final int INNOCENTIN = 31328;
private static final int AGRIPEL = 31348;
private static final int BENEDICT = 31349;
private static final int DOMINIC = 31350;
private static final int MYSTERIOUS_WIZARD = 31522;
private static final int TOMBSTONE = 31523;
private static final int GHOST_OF_VON_HELLMAN = 31524;
private static final int GHOST_OF_VON_HELLMANS_PAGE = 31525;
private static final int BROKEN_BOOKSHELF = 31526;
// Location
private static final Location GHOST_LOC = new Location(51432, -54570, -3136, 0);
private static final Location PAGE_LOC = new Location(51446, -54514, -3136, 0);
// Items
private static final int CROSS_OF_EINHASAD = 7140;
private static final int CROSS_OF_EINHASAD2 = 7141;
// Misc
private static final int MIN_LVL = 63;
private static final String PAGE_ROUTE_NAME = "rune_ghost1b";
private static int PAGE_COUNT = 0;
private static boolean GHOST_SPAWNED = false;
private boolean PAGE_SPAWNED = false;
private boolean MOVE_ENDED = false;
public Q00021_HiddenTruth()
{
super(21, Q00021_HiddenTruth.class.getSimpleName(), "Hidden Truth");
addStartNpc(MYSTERIOUS_WIZARD);
addTalkId(MYSTERIOUS_WIZARD, TOMBSTONE, GHOST_OF_VON_HELLMAN, GHOST_OF_VON_HELLMANS_PAGE, BROKEN_BOOKSHELF, AGRIPEL, BENEDICT, DOMINIC, INNOCENTIN);
addSeeCreatureId(GHOST_OF_VON_HELLMANS_PAGE);
addRouteFinishedId(GHOST_OF_VON_HELLMANS_PAGE);
registerQuestItems(CROSS_OF_EINHASAD);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
QuestState st = getQuestState(player, false);
String htmltext = null;
if (st != null)
{
switch (event)
{
case "31328-02.html":
case "31328-03.html":
case "31328-04.html":
case "31522-01.htm":
case "31522-04.html":
case "31523-02.html":
case "31524-02.html":
case "31524-03.html":
case "31524-04.html":
case "31524-05.html":
case "31526-01.html":
case "31526-02.html":
case "31526-04.html":
case "31526-05.html":
case "31526-06.html":
case "31526-12.html":
case "31526-13.html":
{
htmltext = event;
break;
}
case "31328-05.html":
{
if (st.isCond(7))
{
st.giveItems(CROSS_OF_EINHASAD2, 1);
st.addExpAndSp(131228, 11978);
st.exitQuest(false, true);
htmltext = event;
}
break;
}
case "31522-02.htm":
{
if (player.getLevel() < MIN_LVL)
{
htmltext = "31522-03.htm";
}
else
{
st.startQuest();
htmltext = event;
}
break;
}
case "31523-03.html":
{
if (GHOST_SPAWNED)
{
htmltext = "31523-04.html";
st.playSound(QuestSound.SKILLSOUND_HORROR_2);
}
else
{
final L2Npc ghost = addSpawn(GHOST_OF_VON_HELLMAN, GHOST_LOC, false, 0);
ghost.broadcastPacket(new NpcSay(ghost.getObjectId(), 0, ghost.getId(), NpcStringId.WHO_AWOKE_ME));
GHOST_SPAWNED = true;
st.startQuestTimer("DESPAWN_GHOST", 1000 * 300, ghost);
st.setCond(2);
st.playSound(QuestSound.SKILLSOUND_HORROR_2);
htmltext = event;
}
break;
}
case "31524-06.html":
{
if (PAGE_COUNT < 5)
{
final L2Npc page = addSpawn(GHOST_OF_VON_HELLMANS_PAGE, PAGE_LOC, false, 0);
page.setScriptValue(player.getObjectId());
page.broadcastPacket(new NpcSay(page.getObjectId(), Say2.NPC_ALL, page.getId(), NpcStringId.MY_MASTER_HAS_INSTRUCTED_ME_TO_BE_YOUR_GUIDE_S1).addStringParameter(player.getName()));
WalkingManager.getInstance().startMoving(page, PAGE_ROUTE_NAME);
PAGE_COUNT++;
st.setCond(3);
htmltext = event;
}
else
{
htmltext = "31524-06a.html";
}
break;
}
case "31526-03.html":
{
st.playSound(QuestSound.ITEMSOUND_ARMOR_CLOTH);
htmltext = event;
break;
}
case "31526-07.html":
{
st.setCond(4);
htmltext = event;
break;
}
case "31526-08.html":
{
if (!st.isCond(5))
{
st.playSound(QuestSound.AMDSOUND_ED_CHIMES);
st.setCond(5);
htmltext = event;
}
else
{
htmltext = "31526-09.html";
}
break;
}
case "31526-14.html":
{
st.giveItems(CROSS_OF_EINHASAD, 1);
st.setCond(6);
htmltext = event;
break;
}
case "DESPAWN_GHOST":
{
GHOST_SPAWNED = false;
npc.deleteMe();
break;
}
case "DESPAWN":
{
PAGE_COUNT--;
npc.deleteMe();
break;
}
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
QuestState st = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
if (st != null)
{
switch (npc.getId())
{
case MYSTERIOUS_WIZARD:
{
switch (st.getState())
{
case State.CREATED:
{
htmltext = "31522-01.htm";
break;
}
case State.STARTED:
{
htmltext = "31522-05.html";
break;
}
case State.COMPLETED:
{
htmltext = getAlreadyCompletedMsg(player);
break;
}
}
break;
}
case TOMBSTONE:
{
htmltext = "31523-01.html";
break;
}
case GHOST_OF_VON_HELLMAN:
{
switch (st.getCond())
{
case 2:
{
htmltext = "31524-01.html";
break;
}
case 3:
{
if (PAGE_SPAWNED)
{
htmltext = "31524-07b.html";
}
else
{
if (PAGE_COUNT < 5)
{
final L2Npc PAGE = addSpawn(GHOST_OF_VON_HELLMANS_PAGE, PAGE_LOC, true, 0);
PAGE_COUNT++;
PAGE_SPAWNED = true;
PAGE.setScriptValue(player.getObjectId());
WalkingManager.getInstance().startMoving(PAGE, PAGE_ROUTE_NAME);
htmltext = "31524-07.html";
}
else
{
htmltext = "31524-07a.html";
}
}
break;
}
case 4:
{
htmltext = "31524-07c.html";
break;
}
}
break;
}
case GHOST_OF_VON_HELLMANS_PAGE:
{
if (st.isCond(3))
{
if (MOVE_ENDED)
{
htmltext = "31525-02.html";
st.startQuestTimer("DESPAWN", 3000, npc);
}
else
{
htmltext = "31525-01.html";
}
}
break;
}
case BROKEN_BOOKSHELF:
{
switch (st.getCond())
{
case 3:
{
htmltext = "31526-01.html";
break;
}
case 4:
{
st.setCond(5);
st.playSound(QuestSound.AMDSOUND_ED_CHIMES);
htmltext = "31526-10.html";
break;
}
case 5:
{
htmltext = "31526-11.html";
break;
}
case 6:
{
htmltext = "31526-15.html";
break;
}
}
break;
}
case AGRIPEL:
{
if (st.hasQuestItems(CROSS_OF_EINHASAD) && st.isCond(6))
{
st.set("AGRIPEL", "1");
if ((st.getInt("AGRIPEL") == 1) && (st.getInt("DOMINIC") == 1) && (st.getInt("BENEDICT") == 1))
{
htmltext = "31348-03.html";
st.setCond(7);
}
else if ((st.getInt("DOMINIC") == 1) || (st.getInt("BENEDICT") == 1))
{
htmltext = "31348-02.html";
}
else
{
htmltext = "31348-01.html";
}
}
else if (st.isCond(7))
{
htmltext = "31348-03.html";
}
break;
}
case BENEDICT:
{
if (st.hasQuestItems(CROSS_OF_EINHASAD) && st.isCond(6))
{
st.set("BENEDICT", "1");
if ((st.getInt("AGRIPEL") == 1) && (st.getInt("DOMINIC") == 1) && (st.getInt("BENEDICT") == 1))
{
htmltext = "31349-03.html";
st.setCond(7);
}
else if ((st.getInt("AGRIPEL") == 1) || (st.getInt("DOMINIC") == 1))
{
htmltext = "31349-02.html";
}
else
{
htmltext = "31349-01.html";
}
}
else if (st.isCond(7))
{
htmltext = "31349-03.html";
}
break;
}
case DOMINIC:
{
if (st.hasQuestItems(CROSS_OF_EINHASAD) && st.isCond(6))
{
st.set("DOMINIC", "1");
if ((st.getInt("AGRIPEL") == 1) && (st.getInt("DOMINIC") == 1) && (st.getInt("BENEDICT") == 1))
{
htmltext = "31350-03.html";
st.setCond(7);
}
else if ((st.getInt("AGRIPEL") == 1) || (st.getInt("BENEDICT") == 1))
{
htmltext = "31350-02.html";
}
else
{
htmltext = "31350-01.html";
}
}
else if (st.isCond(7))
{
htmltext = "31350-03.html";
}
break;
}
case INNOCENTIN:
{
if (st.isCond(7) && st.hasQuestItems(CROSS_OF_EINHASAD))
{
htmltext = "31328-01.html";
}
else if (st.isCompleted())
{
st = player.getQuestState("22_TragedyInVonHellmanForest");
if (st == null)
{
htmltext = "31328-06.html";
}
}
break;
}
}
}
return htmltext;
}
@Override
public String onSeeCreature(L2Npc npc, L2Character creature, boolean isSummon)
{
if (creature.isPlayer())
{
playSound((L2PcInstance) creature, QuestSound.HORROR_01);
}
return super.onSeeCreature(npc, creature, isSummon);
}
@Override
public void onRouteFinished(L2Npc npc)
{
final QuestState st = L2World.getInstance().getPlayer(npc.getScriptValue()).getQuestState(getName());
if (st != null)
{
st.startQuestTimer("DESPAWN", 15000, npc);
MOVE_ENDED = true;
}
}
}

View File

@@ -1,4 +0,0 @@
<html><body>Innocentin:<br>
You've been a great help to me in the past, and I'd like to thank you again for bringing me that report! There's one more thing... Could you help me out again?<br>
<a action="bypass -h Quest Q00023_LidiasHeart ACCEPT">"OK, whatever."</a>
</body></html>

View File

@@ -1,6 +0,0 @@
<html><body>Innocentin:<br>
This is something you can get started on immediately!<br>
There's a vast conspiracy afoot in the Rune Township and the Forest of the Dead!<br>
The roots of this conspiracy lie in that forest, and you should seek the truth there.<br>
(This quest may only be undertaken by a character of level 64 or above who has completed the Hidden Truth and Tragedy of Hellmann Forest quests.)
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Innocentin:<br>
You look tired, my friend! Why don't you take a break, improve your ability and then come back! This next mission is much more challenging than the last one...<br>
(This quest may only be undertaken by a character of level 64 or above who has completed the Tragedy of Hellmann Forest quest.)
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Innocentin:<br>
Here's the Map and key he left behind. Take them and find out what he was searching for.<br>
<a action="bypass -h Quest Q00023_LidiasHeart 31328-05.html">"Tell me more about the Map and key."</a>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Innocentin:<br>
He probably drew this Map while exploring the Forest of the Dead. As for the key... I'm not sure. The only clue I've found is the Silver Spear engraved upon it.<br>
<a action="bypass -h Quest Q00023_LidiasHeart 31328-06.html">"Tell me more about the Silver Spear."</a>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Innocentin:<br>
He probably drew this Map while exploring the Forest of the Dead. As for the key... I'm not sure. The only clue I've found is the Silver Spear engraved upon it.<br>
<a action="bypass -h Quest Q00023_LidiasHeart 31328-06.html">"Tell me more about the Silver Spear."</a>
</body></html>

View File

@@ -1,6 +0,0 @@
<html><body>Innocentin:<br>
According to a custom from the Elmoreden period, a Silver Spear was the symbol of the family responsible for guarding the royal family.<br>
An ancient proverb says, <font color="LEVEL">"A jeweled scepter for the mighty King of Elmore and two Silver Spears for his protectors"</font>.<br>
I'll wager that somewhere is a lock that matches this key...<br>
<a action="bypass -h Quest Q00023_LidiasHeart 31328-07.html">"Who holds the spear now?"</a>
</body></html>

View File

@@ -1,5 +0,0 @@
<html><body>High Priestess Innocentin:<br>
Today's silver spears are dedicated to the people who worked hard to suppress the rebellion. One is for the protectors of the royal family, who captured and punished the rebels, and one is for those who fought against the undead and captured the demon's followers... and it will therefore be a dedication that upholds the false accusations against our former priests.<br>
The one responsible for all this is staying at the temple in Rune Castle Town.<br>
Please don't ask any more questions. Just take the records that he left behind, and find out where that key fits.
</body></html>

Some files were not shown because too many files have changed in this diff Show More