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,4 @@
<html><body>High Priest Orven:<br>
Why have you come to see this old priest? You don't seem like one of our typical supplicants....<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 30857-02.html">"Priest Wood sent me."</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>High Priest Orven:<br>
Ah, yes, of course. I heard you were coming.<br>
You're searching for the Sacred Book of Seals, aren't you? When I received Wood's missive, I remembered a text I'd read a few years ago that might be helpful to you.<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 30857-03.html">"What did it say?"</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>High Priest Orven:<br>
Well, the Emperor's Key is not a key at all, but a prayer. It dates back to the Elmoreden era, and is rather brief compared to other prayers of the time.<br>
I suspect there is a secret message hidden in that prayer, which will reveal how it relates to the Sacred Book. I don't know anything more, but I think I know someone who can help.<br>
A friend of mine is a cryptologist -- a codebreaker. He might be able to determine the hidden meaning of the prayer. What do you think? Would you like to speak with him?<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 30857-04.html">"Absolutely."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Priest Orven:<br>
His name is <font color="LEVEL">Leopard</font>, and he's a genius. I feel certain he'll be able to help you. You'll find him in the <font color="LEVEL">Town of Goddard</font>--you should arrange to travel there immediately.<br>
I'll send my copy of the prayer to Leopard myself. Now hurry! I will pray to Einhasad for your success.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>High Priest Orven:<br>
Remember, you're looking for <font color="LEVEL">Leopard</font> the cryptologist, in the <font color="LEVEL">Town of Goddard</font>. Mention my name!
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Priest Wood:<br>
You've come to see Franz, yes?<br>
I'm afraid you just missed him. He left for a meeting with the High Priests. If you're unable to await his return, then perhaps I can help. I'm his secretary. I assure you, I'm very trustworthy.<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 32593-02.htm">"Well, there's this sacred book..."</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Priest Wood:<br>
The Sacred Book of Seals? I thought that was a myth. How fascinating....<br>
What have you learned about it?<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 32593-03.htm">"First tell me. What do you know about the 'Emperor's Key'?"</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Priest Wood:<br>
The Emperor's Key...the Emperor's Key... It does sound familiar... Hmm....<br>
No, I don't think I can quite place it. Franz will certainly know more than I, but I don't think you can afford to wait. You really ought to search for that book.<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 32593-04.html">"Agreed."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Priest Wood:<br>
Oh, I know!<br><font color="LEVEL">High Priest Orven</font> reads every scroll he can get his hands on. Perhaps he knows something about the Emperor's Key. He's at the <font color="LEVEL">Temple of Einhasad in the Town of Aden</font>. Tell him I sent you.<br>
I'll send a messenger ahead of you. But hurry!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Priest Wood:<br>
(Only characters who are level 79 or higher and who have completed the <font color="LEVEL">Seven Signs and Emperor's Seal</font> quests may undertake this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Priest Wood:<br>
I believe it is of paramount importance that we find the <font color="LEVEL">Sacred Book of Seals</font> immediately.<br>
Hurry to <font color="LEVEL">High Priest Orven in the Temple of Einhasad in the Town of Aden</font>. I will send a messenger ahead of you. Now, go!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Priest Wood:<br>
I'm sorry, Franz has not yet returned. Have you learned anything new about the Book of Seals? Did you decipher the Emperor's Key? I'm dying of suspense!<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 32593-08.html">"I have an imperfect copy of the book."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Priest Wood:<br>
A copy? This morning I believed the book itself to be a myth, and now you have a copy! Unbelievable! How on earth did you find it? Well done, well done! Say, what's that in your other hand?<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 32593-09.html">"This? It came from a monster that attacked me earlier."</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Priest Wood:<br>
Oh my... I wonder if it was after you...or the sacred text?<br>
Well, that settles it. Give me that manuscript and the object you found and I'll keep them safe. You must be exhausted! Rest for a while. When you've refreshed yourself, then come back and see me.<br>
By then, perhaps Franz will be back as well.
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Cipher Officer Leopard:<br>
You're the adventurer that High Priest Orven sent word of! I owe a great deal to him, and if I can repay him by helping you, then I'll do all I can.<br>
Now, what can I do for you?<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 32594-02.html">"Tell me about the prayer known as the Emperor's Key."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Cipher Officer Leopard:<br>
I know that prayer... it's very simple and straightforward. Why do you ask about it?<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 32594-03.html">"I believe it may contain a hidden message..."</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Cipher Officer Leopard:<br>
Really? That's... surprising. But some of the simplest-appearing ciphers are the hardest to decode. Hmm... let me think....<br>
Sigh.... No, this is beyond my abilities, I'm afraid. However, my old cryptology teacher, <font color="LEVEL">Lawrence</font>, is here in Goddard. If anyone can help, it's him. They don't call him the Great Master for nothing.<br>
You should be able to find him walking just <font color="LEVEL">outside the castle walls</font>....
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Cipher Officer Leopard:<br>
Great Master Lawrence just went for a walk nearby, so he won't be far. Check outside the castle walls.
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Great Master Lawrence:<br>
Hello stranger, do you know who I am? Almost no one around here does these days. Perhaps I should spend less time reading, and more time restoring the value to my name.<br>
Well? Who are you?<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 32595-02.html">"Your student, Leopard, recommended I speak with you."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Great Master Lawrence:<br>
Leopard, eh? Smart as a whip, that one. Well, what have you got for me? Let's have a look...<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 32595-03.html">"You may recognize this..."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Great Master Lawrence:<br>
Isn't this the Emperor's Key Prayer? What's to decipher here? What are you looking for?<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 32595-04.html">"The Book of Seals, actually..."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Great Master Lawrence:<br>
What?! The Book of Seals?! A myth!<br>
Why do you waste my time with... w-what in the world is that?! We're going to die! Kill it, quickly!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Great Master Lawrence:<br>
Give me a moment, please. I'm otherwise engaged.
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Great Master Lawrence:<br>
I've lived a very long time, and I've seen a great many things... but nothing like that. The myth... perhaps it's true after all.<br>
Let's take another look at that prayer, shall we?<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 32595-07.html">"Here it is."</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Great Master Lawrence:<br>
Let me read the prayer quietly..<br>
<font color="LEVEL">The Emperor's Key!! Hmm... Back then the emperor of Elmore-Aden started the holy war. A winged messenger of Einhasad appeared, turning the tides of battle...</font><br>
<font color="LEVEL">The 6 catacombs became graves to followers of darkness.. The 7 Necropolis turned to battlefields for the army of death... This is how the divine Einhasad tells the tale.</font><br>
Hm..<br>
Right... Now I've got it. It couldn't be simpler. Ha ha ha!<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 32595-08.html">Please tell me as well.</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Great Master Lawrence:<br>
Betimes the most obvious things escape our notice the longest. See here: a number is called out in each of the first four lines.<br>
One emperor, three pairs of wings, six catacombs, seven Necropolises... <font color="LEVEL">1-6-6-7</font>! That's the answer!<br>
Heh... how about that? Not bad for an old man!<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 32595-09.html">"But... where is the book?"</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Great Master Lawrence:<br>
Sigh... don't you see? "These are the records..." Now, where are records kept? The library! Start with the <font color="LEVEL">Library of Sages in Rune</font>--they have the oldest records collection in the kingdom.<br>
I believe <font color="LEVEL">Sophia</font> is still the director there, and she has one of the most gifted minds in all of Aden.<br>
Give her the number, and mention my name--I'm sure she'll give you all the help she can. But hurry... I fear the worst is yet to come.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Great Master Lawrence:<br>
Remember: 1-6-6-7. Give that number to <font color="LEVEL">Sophia at the Library of Sages in Rune</font>.<br>
Waste no more time! That monster you slew was only the beginning, unless I'm mistaken.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Library of Sages Director Sophia:<br>
A sacred book? Well, all books are sacred to one such as me. In any case, a title would help. Or better yet, a reference number. You don't happen to have one, do you?<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 32596-02.html">"1-6-6-7."</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Library of Sages Director Sophia:<br>
Only four digits? Hmm... that must be very old text. We use 12-digits these days. Unfortunately, many of our old records were destroyed, so we may not be able to locate it.<br>
Let me look.<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 32596-03.html">"I'll wait."</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Library of Sages Director Sophia:<br>
I'm so sorry: document number 1667 was lost in the great fire. However, there is a copy... a handwritten, incomplete copy. It is a mysterious record in its own right--we have no record of its title, year of publication, author, or subject.<br>
I wonder if anyone has actually read it? Well, I'm going to need to see some identification before I can turn this over. Do you have a library card?<br>
<a action="bypass -h Quest Q00197_SevenSignsTheSacredBookOfSeal 32596-04.html">"I have a letter of introduction from High Priest Orven. This record is to be delivered to Franz, the Witness of Dawn."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Library of Sages Director Sophia:<br>
Orven! Well, why didn't you say so? And you're working with Franz, too? This must be an important mission you've undertaken.<br>
Of course you may have the text with my compliments.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Library of Sages Director Sophia:<br>
Good luck to you, stranger. Please give my best to Franz... and Orven!
</body></html>

View File

@@ -0,0 +1,365 @@
/*
* 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.Q00197_SevenSignsTheSacredBookOfSeal;
import quests.Q00196_SevenSignsSealOfTheEmperor.Q00196_SevenSignsSealOfTheEmperor;
import com.l2jserver.gameserver.ai.CtrlIntention;
import com.l2jserver.gameserver.enums.QuestSound;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2MonsterInstance;
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;
/**
* Seven Signs, The Sacred Book of Seal (197)
* @author Adry_85
*/
public final class Q00197_SevenSignsTheSacredBookOfSeal extends Quest
{
// NPCs
private static final int SHILENS_EVIL_THOUGHTS = 27396;
private static final int ORVEN = 30857;
private static final int WOOD = 32593;
private static final int LEOPARD = 32594;
private static final int LAWRENCE = 32595;
private static final int SOPHIA = 32596;
// Items
private static final int MYSTERIOUS_HAND_WRITTEN_TEXT = 13829;
private static final int SCULPTURE_OF_DOUBT = 14354;
// Misc
private static final int MIN_LEVEL = 79;
private boolean isBusy = false;
public Q00197_SevenSignsTheSacredBookOfSeal()
{
super(197, Q00197_SevenSignsTheSacredBookOfSeal.class.getSimpleName(), "Seven Signs, the Sacred Book of Seal");
addStartNpc(WOOD);
addTalkId(WOOD, ORVEN, LEOPARD, LAWRENCE, SOPHIA);
addKillId(SHILENS_EVIL_THOUGHTS);
registerQuestItems(MYSTERIOUS_HAND_WRITTEN_TEXT, SCULPTURE_OF_DOUBT);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
if ((npc.getId() == SHILENS_EVIL_THOUGHTS) && "despawn".equals(event))
{
if (!npc.isDead())
{
isBusy = false;
npc.broadcastPacket(new NpcSay(npc.getObjectId(), Say2.NPC_ALL, npc.getId(), NpcStringId.NEXT_TIME_YOU_WILL_NOT_ESCAPE));
npc.deleteMe();
}
return super.onAdvEvent(event, npc, player);
}
final QuestState st = getQuestState(player, false);
if (st == null)
{
return null;
}
String htmltext = null;
switch (event)
{
case "32593-02.htm":
case "32593-03.htm":
{
htmltext = event;
break;
}
case "32593-04.html":
{
st.startQuest();
htmltext = event;
break;
}
case "32593-08.html":
{
if (st.isCond(6) && st.hasQuestItems(MYSTERIOUS_HAND_WRITTEN_TEXT, SCULPTURE_OF_DOUBT))
{
htmltext = event;
}
break;
}
case "32593-09.html":
{
if (st.isCond(6))
{
if (player.getLevel() >= MIN_LEVEL)
{
st.addExpAndSp(52518015, 5817677);
st.exitQuest(false, true);
htmltext = event;
}
else
{
htmltext = "level_check.html";
}
}
break;
}
case "30857-02.html":
case "30857-03.html":
{
if (st.isCond(1))
{
htmltext = event;
}
break;
}
case "30857-04.html":
{
if (st.isCond(1))
{
st.setCond(2, true);
htmltext = event;
}
break;
}
case "32594-02.html":
{
if (st.isCond(2))
{
htmltext = event;
}
break;
}
case "32594-03.html":
{
if (st.isCond(2))
{
st.setCond(3, true);
htmltext = event;
}
break;
}
case "32595-02.html":
case "32595-03.html":
{
if (st.isCond(3))
{
htmltext = event;
}
break;
}
case "32595-04.html":
{
if (st.isCond(3))
{
isBusy = true;
npc.broadcastPacket(new NpcSay(npc.getObjectId(), Say2.NPC_ALL, npc.getId(), NpcStringId.S1_THAT_STRANGER_MUST_BE_DEFEATED_HERE_IS_THE_ULTIMATE_HELP).addStringParameter(player.getName()));
final L2MonsterInstance monster = (L2MonsterInstance) addSpawn(SHILENS_EVIL_THOUGHTS, 152520, -57502, -3408, 0, false, 0, false);
monster.broadcastPacket(new NpcSay(monster.getObjectId(), Say2.NPC_ALL, monster.getId(), NpcStringId.YOU_ARE_NOT_THE_OWNER_OF_THAT_ITEM));
monster.setRunning();
monster.addDamageHate(player, 0, 999);
monster.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player);
startQuestTimer("despawn", 300000, monster, null);
}
break;
}
case "32595-06.html":
case "32595-07.html":
case "32595-08.html":
{
if (st.isCond(4) && st.hasQuestItems(SCULPTURE_OF_DOUBT))
{
htmltext = event;
}
break;
}
case "32595-09.html":
{
if (st.isCond(4) && st.hasQuestItems(SCULPTURE_OF_DOUBT))
{
st.setCond(5, true);
htmltext = event;
}
break;
}
case "32596-02.html":
case "32596-03.html":
{
if (st.isCond(5) && st.hasQuestItems(SCULPTURE_OF_DOUBT))
{
htmltext = event;
}
break;
}
case "32596-04.html":
{
if (st.isCond(5) && st.hasQuestItems(SCULPTURE_OF_DOUBT))
{
st.giveItems(MYSTERIOUS_HAND_WRITTEN_TEXT, 1);
st.setCond(6, true);
htmltext = event;
}
break;
}
}
return htmltext;
}
@Override
public String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
{
final L2PcInstance partyMember = getRandomPartyMember(player, 3);
if (partyMember == null)
{
return null;
}
final QuestState st = getQuestState(partyMember, false);
if (npc.isInsideRadius(partyMember, 1500, true, false))
{
st.giveItems(SCULPTURE_OF_DOUBT, 1);
st.playSound(QuestSound.ITEMSOUND_QUEST_FINISH);
st.setCond(4);
}
isBusy = false;
cancelQuestTimers("despawn");
npc.broadcastPacket(new NpcSay(npc.getObjectId(), Say2.NPC_ALL, npc.getId(), NpcStringId.S1_YOU_MAY_HAVE_WON_THIS_TIME_BUT_NEXT_TIME_I_WILL_SURELY_CAPTURE_YOU).addStringParameter(partyMember.getName()));
return super.onKill(npc, player, isSummon);
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
QuestState st = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
switch (st.getState())
{
case State.COMPLETED:
{
htmltext = getAlreadyCompletedMsg(player);
break;
}
case State.CREATED:
{
if (npc.getId() == WOOD)
{
st = player.getQuestState(Q00196_SevenSignsSealOfTheEmperor.class.getSimpleName());
htmltext = ((player.getLevel() >= MIN_LEVEL) && (st != null) && (st.isCompleted())) ? "32593-01.htm" : "32593-05.html";
}
break;
}
case State.STARTED:
{
switch (npc.getId())
{
case WOOD:
{
if ((st.getCond() > 0) && (st.getCond() < 6))
{
htmltext = "32593-06.html";
}
else if (st.isCond(6))
{
if (st.hasQuestItems(MYSTERIOUS_HAND_WRITTEN_TEXT, SCULPTURE_OF_DOUBT))
{
htmltext = "32593-07.html";
}
}
break;
}
case ORVEN:
{
if (st.isCond(1))
{
htmltext = "30857-01.html";
}
else if (st.getCond() >= 2)
{
htmltext = "30857-05.html";
}
break;
}
case LEOPARD:
{
if (st.isCond(2))
{
htmltext = "32594-01.html";
}
else if (st.getCond() >= 3)
{
htmltext = "32594-04.html";
}
break;
}
case LAWRENCE:
{
if (st.isCond(3))
{
if (isBusy)
{
htmltext = "32595-05.html";
}
else
{
htmltext = "32595-01.html";
}
}
else if (st.isCond(4))
{
if (st.hasQuestItems(SCULPTURE_OF_DOUBT))
{
htmltext = "32595-06.html";
}
}
else if (st.getCond() >= 5)
{
if (st.hasQuestItems(SCULPTURE_OF_DOUBT))
{
htmltext = "32595-10.html";
}
}
break;
}
case SOPHIA:
{
if (st.isCond(5))
{
if (st.hasQuestItems(SCULPTURE_OF_DOUBT))
{
htmltext = "32596-01.html";
}
}
else if (st.getCond() >= 6)
{
if (st.hasQuestItems(SCULPTURE_OF_DOUBT, MYSTERIOUS_HAND_WRITTEN_TEXT))
{
htmltext = "32596-05.html";
}
}
break;
}
}
break;
}
}
return htmltext;
}
}

View File

@@ -0,0 +1,3 @@
<html><body>
Characters who are <font color="LEVEL">level 79 or above</font> may redeem the <font color="LEVEL">Reward for the Current Quest</font>.
</body></html>