diff --git a/L2J_DataPack_BETA/dist/game/data/scripts.cfg b/L2J_DataPack_BETA/dist/game/data/scripts.cfg index 57d5192c8107326e55d89984f1f3134eec7ef6d8..78209d6cfc3f18800cc08599e322f6c06f6894f8 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts.cfg +++ b/L2J_DataPack_BETA/dist/game/data/scripts.cfg @@ -426,7 +426,7 @@ quests/189_Contract_Completion/__init__.py quests/190_Lost_Dream/__init__.py quests/191_Vain_Conclusion/__init__.py quests/Q00192_SevenSignSeriesOfDoubt/Q00192_SevenSignSeriesOfDoubt.java -quests/193_SevenSignDyingMessage/__init__.py +quests/Q00193_SevenSignsDyingMessage/Q00193_SevenSignsDyingMessage.java quests/194_SevenSignContractOfMammon/__init__.py #quests/195_SevenSignSecretRitualOfThePriests/__init__.py #quests/196_SevenSignSealOfTheEmperor/__init__.py diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30191-00.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30191-00.htm deleted file mode 100644 index 74b1d108a2aadeaa46821f41a19f276780543363..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30191-00.htm +++ /dev/null @@ -1,7 +0,0 @@ -<html> -<head> -<body> -High Priest Hollint:<br> -Only characters who are level 79 or higher and who have already completed the <font color="LEVEL">Seven Signs, Series of Doubt</font> quests may undertake this quest.<br> -</body> -</html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30191-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30191-01.htm deleted file mode 100644 index e49fc0f4e407a949b33aa6b111a7d0749929e091..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30191-01.htm +++ /dev/null @@ -1,8 +0,0 @@ -<html> -<head> -<body> -High Priest Hollint:<br> -So, are you ready for young Jacob's memorial service?<br> -<a action="bypass -h Quest 193_SevenSignDyingMessage 30191-02.htm">"Yes, I am."</a> -</body> -</html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30191-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30191-02.htm deleted file mode 100644 index 1b8a7027bbd90803d4cd8b37c6467737166646f4..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30191-02.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> -<head> -<body> -High Priest Hollint:<br> -Good. Now as I trust you're aware, the memorial services aren't actually held here. Unfortunately our time is more often than not spent calming the masses these days, and memorial services aren't particularly good at raising spirits.<br> -Instead we've passed those duties onto the priests of the <font color="LEVEL">Service Altar near Oren's lake</font>.<br> -I believe <font color="LEVEL">Priest Cain</font> is ready to receive you actually.<br> -All you need to do is bring him Jacob's necklace....<br> -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30760-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30760-01.htm deleted file mode 100644 index 80fd897bedf176977484aa530a6161fbcbbd8b52..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30760-01.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> -<head> -<body> -Sir Gustav Athebaldt:<br> -Aha! The good priest told me about you! As fast as your legs are, nothing spreads faster than gossip my friend!<br> -So you're here for your reward are you? Let's see what I can dig out for you....<br> -<a action="bypass -h Quest 193_SevenSignDyingMessage 30760-02.htm">"Actually I came to offer my services, but I won't say no to a reward."</a><br> -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30760-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30760-02.htm deleted file mode 100644 index f2abfee5e81e49d65881b1da2671ef80be57c004..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30760-02.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> -<head> -<body> -Sir Gustav Athebaldt:<br> -Ha! Good! I don't trust people who turn down money. Means they've already been paid, usually, and THAT means they aren't in my employ.<br> -Ah yes, here. I believe this should be about right.<br> -Now, there's much I need to tell you, but a man's ears are near useless when his stomach's empty. How about you rest up and get a good fill. Come back when you're good and ready for the next chapter in this messy, messy story, hear?<br> -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-01.htm deleted file mode 100644 index 7cefd07c5288ed0027cb2796e45e31c3404a9d79..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-01.htm +++ /dev/null @@ -1,8 +0,0 @@ -<html> -<head> -<body>Priest Cain:<br> -Men and women come into this world screaming and crying, and leave it silent as a winter's night. Still, they each deserve a moment's pause for reflection and consideration.<br> -You see, some walk through life and leave shallow footprints, while some leave marks as deep as trenches, and are remembered forever. I wonder which sort this Jacob fellow is... and will be.<br> -<a action="bypass -h Quest 193_SevenSignDyingMessage 32569-02.htm">"He was just a simple contractor. This necklace was his only valuable possession."</a><br> -</body> -</html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-02.htm deleted file mode 100644 index b1f89583f7849ead07564590dca6c72ae4e341bd..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-02.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> -<head> -<body> -Priest Cain:<br> -Hmm... a contractor? That makes two in two days.<br> -I'm not believer in coincidences, you know. Perhaps there are patterns here that can be discerned--pinpoints that alone mean little, but together map something significant.<br> -This Jacob fellow, where was he based?<br> -<a action="bypass -h Quest 193_SevenSignDyingMessage 32569-03.htm">"In Oren."</a><br> -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-03.htm deleted file mode 100644 index 75ac4bd1e1be9302807b4cccbf415e206c734298..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-03.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> -<head> -<body> -Priest Cain:<br> -So then Jacob ran the errands between the Merchants of Mammon and Oren, while the man I buried yesterday was from... where was it... ah yes--Goddard.<br> -Hmm. I will have to think on this for a while. I have heard whispers of others being killed too, but will have to speak with my associates to ascertain the rumors that have foundation, and those which do not.<br> -So what part did you play in this act? I assume you are not family.<br> -<a action="bypass -h Quest 193_SevenSignDyingMessage 32569-04.htm">"No. I was hired to find Jacob by Crook, his cousin."</a><br> -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-04.htm deleted file mode 100644 index 12a5607291273703ab642dd055f6748d80d523e2..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-04.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> -<head> -<body> -Priest Cain:<br> -I see. Well then, I can only offer you my heartfelt thanks for doing far more than you were initially hired to do.<br> -Now I'm afraid I have to ask you to do something more. You see, a memorial service cannot be performed without incense, and incense cannot be made without the full complement of herbs.<br> -We've been burning through much incense than normal, what with all the recent deaths, and now I'm completely out of the <font color="LEVEL">Deadman's Herb</font>. It's a key ingredient.<br> -<a action="bypass -h Quest 193_SevenSignDyingMessage 32569-05.htm">"So you want me to pick it?"</a><br> -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-06.htm deleted file mode 100644 index a076d23afd3eec6986e7dbf05a7f6627e49cc8a6..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-06.htm +++ /dev/null @@ -1,8 +0,0 @@ -<html> -<head> -<body> -Priest Cain:<br> -You'll find <font color="LEVEL">Herb Collector Eric</font> in the <font color="LEVEL">Enchanted Valley</font>.<br> -Don't forget to bring back the herbs I need!<br> -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-07.htm deleted file mode 100644 index 9da02752ff9bd2c6b0455ea6389b9df49ec9ea6d..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-07.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> -<head> -<body> -Priest Cain:<br> -Ah good--I assume that package is full of the herbs Eric collected? Pass it here won't you?<br> -Now we can begin the service. Close your eyes, my child, and pray with me....<br> -<a action="bypass -h Quest 193_SevenSignDyingMessage 9">Close your eyes.</a><br> -</body> -</html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-08.htm deleted file mode 100644 index b603b107f3cc25d2659e2346bc56054729dd383d..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-08.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> -<head> -<body> -Priest Cain:<br> -What was that?! You did see it, right? The black flames billowing out the moment I put Jacob's necklace on the altar?<br> -Something's wrong. Something is very wrong. This has never happened before... now I fear I have released an evil spirit into our very mids....<br> -Look! Behind you!<br> -<a action="bypass -h Quest 193_SevenSignDyingMessage 32569-09.htm">Look around.</a><br> -</body> -</html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-09.htm deleted file mode 100644 index 72d1dd0214a32f4390deaa286d6a179c944ae5e6..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-09.htm +++ /dev/null @@ -1,7 +0,0 @@ -<html> -<head> -<body> -Priest Cain:<br> -Don't just stand there! Destroy that... thing!<br> -</body> -</html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-10.htm deleted file mode 100644 index 47b558c0bbc1a6641ff09ff1b2c360070f2a3482..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-10.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> -<head> -<body> -Priest Cain:<br> -Oh my! I... I've never seen anything killed before! I don't know quite how I'm supposed to feel.<br> -Come on, Cain--gather yourself--now is not the time for soul-searching! Breathe in... and breathe out. Breathe in... and out....<br> -Okay, that's better. Now let's analyze what just happened. I placed the necklace on the altar, and dark flames erupted in an instant. Now why would that... of course! Dwarven magic!<br> -<a action="bypass -h Quest 193_SevenSignDyingMessage 32569-11.htm">"You're going to have to explain this."</a><br> -</body> -</html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-11.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-11.htm deleted file mode 100644 index 7b7743a911e7fe3ff74bf07b134f8d2f534c5df8..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-11.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> -<head> -<body> -Priest Cain:<br> -Dwarves have been able to inscribe weapons and armor with incantations, friend--their skills with metals are unrivalled throughout Aden.<br> -But what if Jacob were inscribe his necklace with something other than an incantation? What if he left a message within his necklace as he lay dying? A message that would pinpoint his killer?<br> -It seems that somehow that creature was able to hide itself in the message, and when the necklace touched the burning incense... we must have released it.<br> -<a action="bypass -h Quest 193_SevenSignDyingMessage 32569-12.htm">"I see... I think."</a><br> -</body> -</html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-12.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-12.htm deleted file mode 100644 index d16458d957c5daafd0382544ffdba6c7d3a8edd2..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-12.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> -<head> -<body> -Priest Cain:<br> -While you were gone I did some research, by the by, and I believe the Contractor deaths have something to do with the <font color="LEVEL">Seven Signs</font>.<br> -As I'm sure you know, the forces of dawn wage war with the forces of dusk for control over the three Seals. I may as well tell you now; I belong to the Order of the Dawn. That's actually how I came to be in charge of this place.<br> -You've had first-hand experiences of these murders, as well as the murderers, and I feel I would be remiss in not extending our hand to you. Help us, and we will reward you well.<br> -<a action="bypass -h Quest 193_SevenSignDyingMessage 32569-13.htm">"I'll help you, certainly."</a> -</body> -</html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-13.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-13.htm deleted file mode 100644 index 08a2e0f20652a1f6badbccccd93536ec5dd9067c..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-13.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> -<head> -<body> -Priest Cain:<br> -Thank you, friend! Thank you!<br> -Now I will study the necklace and see if my theory regarding Jacob's message holds water. You should hurry to <font color="LEVEL">Sir Gustav Athebaldt in Oren</font>. He coordinates our efforts, and will be able to tell you far more than I.<br> -Go - hurry, and keep your sword arm free.<br> -</body> -</html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32570-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32570-01.htm deleted file mode 100644 index ba873e32865e3cd1b11d4e9667e1a4c19b7d139d..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32570-01.htm +++ /dev/null @@ -1,8 +0,0 @@ -<html> -<head> -<body>Herb Collector Eric:<br> -Now can I do for you, eh? I'm Eric, master gatherer and general do-gooder. Yessir, need something found, just come to me. Need something killed, then... go to someone else. Heh.<br> -Oh lord... you've only gone and made me forget what I was lookin' for, haven't you? I wonder if I still have that letter on me....<br> -<a action="bypass -h Quest 193_SevenSignDyingMessage 32570-02.htm">"Actually, I'm here to pick up Priest Cain's shipment. You forgot to send it."</a><br> -</body> -</html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32570-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32570-02.htm deleted file mode 100644 index 3fcb5fe77c4f109b9d1aae32513d04feae706c8e..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32570-02.htm +++ /dev/null @@ -1,8 +0,0 @@ -<html> -<head> -<body>Herb Collector Eric:<br> -Priest Ca... oh! Oh... that's what this package was then.<br> -See, least I remembered to pick the herbs, eh? Picked an' packaged, then just forgot who they were going to.<br> -Well, here you are. Send along my apologies to the good priest, won't you?<br> -</body> -</html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32570-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32570-03.htm deleted file mode 100644 index d034de7d23c31e11575859f459467e58ffe8d561..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32570-03.htm +++ /dev/null @@ -1,7 +0,0 @@ -<html> -<head> -<body> -Herb Collector Eric:<br> -Hurry and take the package to Cain, won't you? Lord knows I'm in enough trouble without you loping around here.<br> -</body> -</html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/__init__.py deleted file mode 100644 index 0141f6cf68e2beffb1dec45439dea41fb44ac3c6..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/__init__.py +++ /dev/null @@ -1,130 +0,0 @@ -# 2010-06-26 by Gnacik -# Based on official server Franz - -import sys -from com.l2jserver.gameserver.ai import CtrlIntention -from com.l2jserver.gameserver.model.quest import State -from com.l2jserver.gameserver.model.quest import QuestState -from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest -from com.l2jserver.gameserver.network.serverpackets import ExStartScenePlayer -from com.l2jserver.gameserver.network.serverpackets import NpcSay - -qn = "193_SevenSignDyingMessage" - -# NPCs -HOLLINT = 30191 -CAIN = 32569 -ERIC = 32570 -ATHEBALDT = 30760 -SHILENSEVIL = 27343 - -# ITEMS -JACOB_NECK = 13814 -DEADMANS_HERB = 13816 -SCULPTURE = 14353 - -class Quest (JQuest) : - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = [JACOB_NECK, DEADMANS_HERB, SCULPTURE] - - def onAdvEvent(self, event, npc, player) : - htmltext = event - st = player.getQuestState(qn) - if not st : return - - if event == "30191-02.htm" : - st.set("cond","1") - st.setState(State.STARTED) - st.giveItems(JACOB_NECK, 1) - st.playSound("ItemSound.quest_accept") - elif event == "32569-05.htm" : - st.set("cond","2") - st.takeItems(JACOB_NECK,1) - st.playSound("ItemSound.quest_middle") - elif event == "32570-02.htm" : - st.set("cond","3") - st.giveItems(DEADMANS_HERB, 1) - st.playSound("ItemSound.quest_middle") - elif event.isdigit() : - if int(event) == 9 : - st.takeItems(DEADMANS_HERB,1) - st.set("cond","4") - st.playSound("ItemSound.quest_middle") - player.showQuestMovie(int(event)) - return "" - elif event == "32569-09.htm" : - npc.broadcastPacket(NpcSay(npc.getObjectId(),0,npc.getNpcId(),player.getName() + "! That stranger must be defeated!")) - monster = self.addSpawn(SHILENSEVIL, 82624, 47422, -3220, 0, False, 60000, True) - monster.broadcastPacket(NpcSay(monster.getObjectId(),0,monster.getNpcId(),"You are not the owner of that item!")) - monster.setRunning() - monster.addDamageHate(player,0,999) - monster.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, st.getPlayer()) - elif event == "32569-13.htm" : - st.set("cond","6") - st.takeItems(SCULPTURE,1) - st.playSound("ItemSound.quest_middle") - elif event == "30760-02.htm" : - st.addExpAndSp(52518015,5817677) - st.unset("cond") - st.setState(State.COMPLETED) - st.exitQuest(False) - st.playSound("ItemSound.quest_finish") - return htmltext - - def onTalk (self, npc, player) : - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - - npcId = npc.getNpcId() - cond = st.getInt("cond") - - if npcId == HOLLINT : - first = player.getQuestState("Q00192_SevenSignSeriesOfDoubt") - if st.getState() == State.COMPLETED : - htmltext = Quest.getAlreadyCompletedMsg(player) - elif first and first.getState() == State.COMPLETED and st.getState() == State.CREATED and player.getLevel() >= 79 : - htmltext = "30191-01.htm" - elif cond == 1 : - htmltext = "30191-03.htm" - else : - htmltext = "30191-00.htm" - st.exitQuest(True) - elif npcId == CAIN : - if cond == 1 : - htmltext = "32569-01.htm" - elif cond == 2 : - htmltext = "32569-06.htm" - elif cond == 3 : - htmltext = "32569-07.htm" - elif cond == 4 : - htmltext = "32569-08.htm" - elif cond == 5 : - htmltext = "32569-10.htm" - elif npcId == ERIC : - if cond == 2 : - htmltext = "32570-01.htm" - elif cond == 3 : - htmltext = "32570-03.htm" - elif npcId == ATHEBALDT and cond == 6: - htmltext = "30760-01.htm" - return htmltext - - def onKill(self, npc, player, isPet) : - st = player.getQuestState(qn) - if not st : return - if npc.getNpcId() == SHILENSEVIL and st.getInt("cond") == 4 : - npc.broadcastPacket(NpcSay(npc.getObjectId(),0,npc.getNpcId(),player.getName() + "... You may have won this time... But next time, I will surely capture you!")) - st.giveItems(SCULPTURE, 1) - st.set("cond", "5") - return - -QUEST = Quest(193,qn,"Seven Signs Dying Message") - -QUEST.addStartNpc(HOLLINT) -QUEST.addTalkId(HOLLINT) -QUEST.addTalkId(CAIN) -QUEST.addTalkId(ERIC) -QUEST.addTalkId(ATHEBALDT) -QUEST.addKillId(SHILENSEVIL) diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30191-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30191-01.htm new file mode 100644 index 0000000000000000000000000000000000000000..376b4457296d7215230d2359c89d73c2d9476a7e --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30191-01.htm @@ -0,0 +1,4 @@ +<html><body>High Priest Hollint:<br> +So, are you ready for young Jacob's memorial service?<br> +<a action="bypass -h Quest Q00193_SevenSignsDyingMessage 30191-02.html">"Yes, I am."</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30191-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30191-02.html new file mode 100644 index 0000000000000000000000000000000000000000..da0dfd90562aeeda3de8baecc89279f22b85df43 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30191-02.html @@ -0,0 +1,3 @@ +<html><body>High Priest Hollint:<br> +Good. Now as I trust you're aware, the memorial services aren't actually held here. Unfortunately our time is more often than not spent calming the masses these days, and memorial services aren't particularly good at raising spirits.<br>Instead we've passed those duties onto the priests of the <font color="LEVEL">Service Altar near Oren's lake</font>. I believe <font color="LEVEL">Priest Cain</font> is ready to receive you actually.<br>All you need to do is bring him Jacob's necklace.... +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30191-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30191-03.html new file mode 100644 index 0000000000000000000000000000000000000000..747203ad1f744b3f7511306f9a9eead683050099 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30191-03.html @@ -0,0 +1,3 @@ +<html><body>High Priest Hollint:<br> +(Only characters who are level 79 or higher and who have already completed the <font color="LEVEL">Seven Signs and Series of Mysterious Events</font> quests may undertake this quest.) +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30191-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30191-04.html similarity index 61% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30191-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30191-04.html index 3665a23d92062f8cc910d029d0a878f5b9aabe1b..2b2509354351dae5ac2cec38056481b5ea2de303 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/30191-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30191-04.html @@ -1,7 +1,3 @@ -<html> -<head> -<body> -High Priest Hollint:<br> -I've imbued it with a blessing to ward off evil spirits, and safeguard Jacob's passage. <font color="LEVEL">Priest Cain</font> will need it for the service though, so be sure to hand it to him.<br>Einhasad's grace, my child. Safe travels.<br> -</body> -</html> +<html><body>High Priest Hollint:<br> +I've imbued it with a blessing to ward off evil spirits, and safeguard Jacob's passage. <font color="LEVEL">Priest Cain</font> will need it for the service though, so be sure to hand it to him.<br>Einhasad's grace, my child. Safe travels. +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30760-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30760-01.html new file mode 100644 index 0000000000000000000000000000000000000000..d72c98bd3e852482a1cd8342095dde2bc0ada166 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30760-01.html @@ -0,0 +1,4 @@ +<html><body>Sir Gustav Athebaldt:<br> +Aha! The good priest told me about you! As fast as your legs are, nothing spreads faster than gossip my friend!<br>So you're here for your reward are you? Let's see what I can dig out for you....<br> +<a action="bypass -h Quest Q00193_SevenSignsDyingMessage 30760-02.html">"Actually I came to offer my services, but I won't say no to a reward."</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30760-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30760-02.html new file mode 100644 index 0000000000000000000000000000000000000000..bde9c6ba1c26b27bf077b15eb91b6c849baaaed7 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/30760-02.html @@ -0,0 +1,3 @@ +<html><body>Sir Gustav Athebaldt:<br> +Ha! Good! I don't trust people who turn down money. Means they've already been paid, usually, and THAT means they aren't in my employ.<br>Ah yes, here. I believe this should be about right.<br>Now, there's much I need to tell you, but a man's ears are near useless when his stomach's empty. How about you rest up and get a good fill. Come back when you're good and ready for the next chapter in this messy, messy story, hear? +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-01.html new file mode 100644 index 0000000000000000000000000000000000000000..8c8ffe23e31e8ea9b11124a365ff4be182e632d1 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-01.html @@ -0,0 +1,4 @@ +<html><body>Priest Cain:<br> +Men and women come into this world screaming and crying, and leave it silent as a winter's night. Still, they each deserve a moment's pause for reflection and consideration.<br>You see, some walk through life and leave shallow footprints, while some leave marks as deep as trenches, and are remembered forever. I wonder which sort this Jacob fellow is... and will be.<br> +<a action="bypass -h Quest Q00193_SevenSignsDyingMessage 32569-02.html">"He was just a simple contractor. This necklace was his only valuable possession."</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-02.html new file mode 100644 index 0000000000000000000000000000000000000000..4397e3befd4401050427ae6cc9dfabb250bfe5cf --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-02.html @@ -0,0 +1,4 @@ +<html><body>Priest Cain:<br> +Hmm... a contractor? That makes two in two days.<br>I'm not believer in coincidences, you know. Perhaps there are patterns here that can be discerned--pinpoints that alone mean little, but together map something significant.<br>This Jacob fellow, where was he based?<br> +<a action="bypass -h Quest Q00193_SevenSignsDyingMessage 32569-03.html">"In Oren."</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-03.html new file mode 100644 index 0000000000000000000000000000000000000000..a48fdaa5445ff0177fb8817d8284b8aee9556445 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-03.html @@ -0,0 +1,4 @@ +<html><body>Priest Cain:<br> +So then Jacob ran the errands between the Merchants of Mammon and Oren, while the man I buried yesterday was from... where was it... ah yes--Goddard.<br>Hmm. I will have to think on this for a while. I have heard whispers of others being killed too, but will have to speak with my associates to ascertain the rumors that have foundation, and those which do not.<br>So what part did you play in this act? I assume you are not family.<br> +<a action="bypass -h Quest Q00193_SevenSignsDyingMessage 32569-04.html">"No. I was hired to find Jacob by Crook, his cousin."</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-04.html new file mode 100644 index 0000000000000000000000000000000000000000..5de0ae2b2048450f8bd8267b140041889e94c1b4 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-04.html @@ -0,0 +1,4 @@ +<html><body>Priest Cain:<br> +I see. Well then, I can only offer you my heartfelt thanks for doing far more than you were initially hired to do.<br>Now I'm afraid I have to ask you to do something more. You see, a memorial service cannot be performed without incense, and incense cannot be made without the full complement of herbs.<br>We've been burning through much incense than normal, what with all the recent deaths, and now I'm completely out of the <font color="LEVEL">Deadman's Herb</font>. It's a key ingredient.<br> +<a action="bypass -h Quest Q00193_SevenSignsDyingMessage 32569-05.html">"So you want me to pick it?"</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-05.html similarity index 77% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-05.html index ca7c263ee89350f8f997d5448bc33d6ac3fbb76f..7f32d2203ae91c7d5ce6921eb30065537a8ad098 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/193_SevenSignDyingMessage/32569-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-05.html @@ -1,9 +1,3 @@ -<html> -<head> -<body> -Priest Cain:<br> -Pick it? No no--I have a supplier already, only he's a forgetful type and I fear he's just forgotten to send me the package.<br> -I need you to visit my supplier, <font color="LEVEL">Herb Collector Eric</font>, and bring me the herbs that he should have already gathered. He's normally found in the <font color="LEVEL">Enchanted Valley</font>, so I'd suggest you start your search for him there.<br> -Godspeed my friend. Be safe.<br> -</body> -</html> +<html><body>Priest Cain:<br> +Pick it? No no--I have a supplier already, only he's a forgetful type and I fear he's just forgotten to send me the package.<br>I need you to visit my supplier, <font color="LEVEL">Herb Collector Eric</font>, and bring me the herbs that he should have already gathered. He's normally found in the <font color="LEVEL">Enchanted Valley</font>, so I'd suggest you start your search for him there.<br>Godspeed my friend. Be safe. +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-06.html new file mode 100644 index 0000000000000000000000000000000000000000..a62cdacaa5cf8d2eb86b379c367243394e100115 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-06.html @@ -0,0 +1,3 @@ +<html><body>Priest Cain:<br> +You'll find <font color="LEVEL">Herb Collector Eric</font> in the <font color="LEVEL">Enchanted Valley</font>.<br>Don't forget to bring back the herbs I need! +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-07.html new file mode 100644 index 0000000000000000000000000000000000000000..1fa2d731332e54c645da469f9dc1b136b51bc95d --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-07.html @@ -0,0 +1,4 @@ +<html><body>Priest Cain:<br> +Ah good--I assume that package is full of the herbs Eric collected? Pass it here won't you?<br>Now we can begin the service. Close your eyes, my child, and pray with me....<br> +<a action="bypass -h Quest Q00193_SevenSignsDyingMessage showmovie">Close your eyes.</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-08.html new file mode 100644 index 0000000000000000000000000000000000000000..4c34947cce649b5c242ac2a67251142172834f35 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-08.html @@ -0,0 +1,4 @@ +<html><body>Priest Cain:<br> +What was that?! You did see it, right? The black flames billowing out the moment I put Jacob's necklace on the altar?<br>Something's wrong. Something is very wrong. This has never happened before... now I fear I have released an evil spirit into our very mids....<br>Look! Behind you!<br> +<a action="bypass -h Quest Q00193_SevenSignsDyingMessage fight">Look around.</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-09.html new file mode 100644 index 0000000000000000000000000000000000000000..2aba2f132ef29921772bbea6c483e85a5ad9ca28 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-09.html @@ -0,0 +1,4 @@ +<html><body>Priest Cain:<br> +Oh my! I... I've never seen anything killed before! I don't know quite how I'm supposed to feel.<br>Come on, Cain--gather yourself--now is not the time for soul-searching! Breathe in... and breathe out. Breathe in... and out....<br>Okay, that's better. Now let's analyze what just happened. I placed the necklace on the altar, and dark flames erupted in an instant. Now why would that... of course! Dwarven magic!<br> +<a action="bypass -h Quest Q00193_SevenSignsDyingMessage 32569-10.html">"You're going to have to explain this."</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-10.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-10.html new file mode 100644 index 0000000000000000000000000000000000000000..37b6a820794bc94214281f9d2df923436f7878a5 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-10.html @@ -0,0 +1,4 @@ +<html><body>Priest Cain:<br> +Dwarves have been able to inscribe weapons and armor with incantations, friend--their skills with metals are unrivalled throughout Aden.<br>But what if Jacob were inscribe his necklace with something other than an incantation? What if he left a message within his necklace as he lay dying? A message that would pinpoint his killer?<br>It seems that somehow that creature was able to hide itself in the message, and when the necklace touched the burning incense... we must have released it.<br> +<a action="bypass -h Quest Q00193_SevenSignsDyingMessage 32569-11.html">"I see... I think."</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-11.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-11.html new file mode 100644 index 0000000000000000000000000000000000000000..a12db67ef8f9cef51e189d275ca04074750218af --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-11.html @@ -0,0 +1,4 @@ +<html><body>Priest Cain:<br> +While you were gone I did some research, by the by, and I believe the Contractor deaths have something to do with the <font color="LEVEL">Seven Signs</font>.<br>As I'm sure you know, the forces of dawn wage war with the forces of dusk for control over the three Seals. I may as well tell you now; I belong to the Order of the Dawn. That's actually how I came to be in charge of this place.<br>You've had first-hand experiences of these murders, as well as the murderers, and I feel I would be remiss in not extending our hand to you. Help us, and we will reward you well.<br> +<a action="bypass -h Quest Q00193_SevenSignsDyingMessage 32569-12.html">"I'll help you, certainly."</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-12.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-12.html new file mode 100644 index 0000000000000000000000000000000000000000..86758272d8e5edee7a1b4307d2bdf0e0a5a8565e --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-12.html @@ -0,0 +1,3 @@ +<html><body>Priest Cain:<br> +Thank you, friend! Thank you!<br>Now I will study the necklace and see if my theory regarding Jacob's message holds water. You should hurry to <font color="LEVEL">Sir Gustav Athebaldt in Oren</font>. He coordinates our efforts, and will be able to tell you far more than I.<br>Go - hurry, and keep your sword arm free. +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-13.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-13.html new file mode 100644 index 0000000000000000000000000000000000000000..ef43a649d065f1b97f85c23da0e285c11d759764 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-13.html @@ -0,0 +1,3 @@ +<html><body>Priest Cain:<br> +(Priest Cain is focused on fighting the strange-looking creature. He does not notice you trying to talk to him.)<br>(Another player is currently speaking with him.) +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-14.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-14.html new file mode 100644 index 0000000000000000000000000000000000000000..762c44e0a8b5335546522d05935aed35c5ea986e --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32569-14.html @@ -0,0 +1,3 @@ +<html><body>Priest Cain:<br> +Don't just stand there! Destroy that... thing! +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32570-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32570-01.html new file mode 100644 index 0000000000000000000000000000000000000000..82ea73363dbb73361d2c125f3da909b9b064cdc8 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32570-01.html @@ -0,0 +1,4 @@ +<html><body>Herb Collector Eric:<br> +Now can I do for you, eh? I'm Eric, master gatherer and general do-gooder. Yessir, need something found, just come to me. Need something killed, then... go to someone else. Heh.<br>Oh lord... you've only gone and made me forget what I was lookin' for, haven't you? I wonder if I still have that letter on me....<br> +<a action="bypass -h Quest Q00193_SevenSignsDyingMessage 32570-02.html">"Actually, I'm here to pick up Priest Cain's shipment. You forgot to send it."</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32570-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32570-02.html new file mode 100644 index 0000000000000000000000000000000000000000..89b0731df03ef0bc7b569b2523ab0abfc449f7a3 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32570-02.html @@ -0,0 +1,3 @@ +<html><body>Herb Collector Eric:<br> +Priest Ca... oh! Oh... that's what this package was then.<br>See, least I remembered to pick the herbs, eh? Picked an' packaged, then just forgot who they were going to.<br>Well, here you are. Send along my apologies to the good priest, won't you? +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32570-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32570-03.html new file mode 100644 index 0000000000000000000000000000000000000000..2318970ed5184968aca1ef234a981ba477c1b522 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/32570-03.html @@ -0,0 +1,3 @@ +<html><body>Herb Collector Eric:<br> +Hurry and take the package to Cain, won't you? Lord knows I'm in enough trouble without you loping around here. +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/Q00193_SevenSignsDyingMessage.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/Q00193_SevenSignsDyingMessage.java new file mode 100644 index 0000000000000000000000000000000000000000..514823b9cf817febdc2bfdf53b6b3f7f0ac52595 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00193_SevenSignsDyingMessage/Q00193_SevenSignsDyingMessage.java @@ -0,0 +1,367 @@ +/* + * 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.Q00193_SevenSignsDyingMessage; + +import com.l2jserver.gameserver.ai.CtrlIntention; +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.holders.SkillHolder; +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; +import com.l2jserver.util.Rnd; + +/** + * Seven Signs, Dying Message (193) + * @author Adry_85 + */ +public class Q00193_SevenSignsDyingMessage extends Quest +{ + // NPCs + private static final int SHILENS_EVIL_THOUGHTS = 27343; + private static final int HOLLINT = 30191; + private static final int SIR_GUSTAV_ATHEBALDT = 30760; + private static final int CAIN = 32569; + private static final int ERIC = 32570; + // Items + private static final int JACOBS_NECKLACE = 13814; + private static final int DEADMANS_HERB = 13816; + private static final int SCULPTURE_OF_DOUBT = 14353; + // Misc + private static final int MIN_LEVEL = 79; + private boolean isBusy = false; + // Skill + private static SkillHolder NPC_HEAL = new SkillHolder(4065, 8); + + public Q00193_SevenSignsDyingMessage(int questId, String name, String descr) + { + super(questId, name, descr); + + addStartNpc(HOLLINT); + addTalkId(HOLLINT, CAIN, ERIC, SIR_GUSTAV_ATHEBALDT); + addKillId(SHILENS_EVIL_THOUGHTS); + registerQuestItems(JACOBS_NECKLACE, DEADMANS_HERB, SCULPTURE_OF_DOUBT); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + if ((npc.getNpcId() == SHILENS_EVIL_THOUGHTS) && "despawn".equals(event)) + { + if (!npc.isDead()) + { + isBusy = false; + npc.broadcastPacket(new NpcSay(npc.getObjectId(), Say2.ALL, npc.getNpcId(), NpcStringId.NEXT_TIME_YOU_WILL_NOT_ESCAPE)); + npc.deleteMe(); + } + return super.onAdvEvent(event, npc, player); + } + + final QuestState st = player.getQuestState(getName()); + if (st == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "30191-02.html": + { + st.giveItems(JACOBS_NECKLACE, 1); + st.startQuest(); + htmltext = event; + break; + } + case "32569-02.html": + { + if (st.isCond(1) && st.hasQuestItems(JACOBS_NECKLACE)) + { + htmltext = event; + } + break; + } + case "32569-03.html": + { + if (st.isCond(1) && st.hasQuestItems(JACOBS_NECKLACE)) + { + htmltext = event; + } + break; + } + case "32569-04.html": + { + if (st.isCond(1) && st.hasQuestItems(JACOBS_NECKLACE)) + { + htmltext = event; + } + break; + } + case "32569-05.html": + { + if (st.isCond(1) && st.hasQuestItems(JACOBS_NECKLACE)) + { + st.takeItems(JACOBS_NECKLACE, -1); + st.setCond(2, true); + htmltext = event; + } + break; + } + case "showmovie": + { + if (st.isCond(3) && st.hasQuestItems(DEADMANS_HERB)) + { + st.takeItems(DEADMANS_HERB, -1); + st.setCond(4, true); + player.showQuestMovie(9); + return ""; + } + break; + } + case "32569-10.html": + { + if (st.isCond(5) && st.hasQuestItems(SCULPTURE_OF_DOUBT)) + { + htmltext = event; + } + break; + } + case "32569-11.html": + { + if (st.isCond(5) && st.hasQuestItems(SCULPTURE_OF_DOUBT)) + { + htmltext = event; + } + break; + } + case "32569-12.html": + { + if (st.isCond(5) && st.hasQuestItems(SCULPTURE_OF_DOUBT)) + { + st.takeItems(SCULPTURE_OF_DOUBT, -1); + st.setCond(6, true); + htmltext = event; + } + break; + } + case "32570-02.html": + { + if (st.isCond(2)) + { + st.giveItems(DEADMANS_HERB, 1); + st.setCond(3, true); + htmltext = event; + } + break; + } + case "fight": + { + htmltext = "32569-14.html"; + if (st.isCond(4)) + { + isBusy = true; + NpcSay ns = new NpcSay(npc.getObjectId(), Say2.ALL, npc.getNpcId(), NpcStringId.S1_THAT_STRANGER_MUST_BE_DEFEATED_HERE_IS_THE_ULTIMATE_HELP); + ns.addStringParameter(player.getName()); + npc.broadcastPacket(ns); + startQuestTimer("heal", 30000 - Rnd.get(20000), npc, player); + L2MonsterInstance monster = (L2MonsterInstance) addSpawn(SHILENS_EVIL_THOUGHTS, 82425, 47232, -3216, 0, false, 0, false); + monster.broadcastPacket(new NpcSay(monster.getObjectId(), Say2.ALL, monster.getNpcId(), 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 "heal": + { + if (!npc.isInsideRadius(player, 600, true, false)) + { + NpcSay ns = new NpcSay(npc.getObjectId(), Say2.ALL, npc.getNpcId(), NpcStringId.LOOK_HERE_S1_DONT_FALL_TOO_FAR_BEHIND); + ns.addStringParameter(player.getName()); + npc.broadcastPacket(ns); + } + else if (!player.isDead()) + { + npc.setTarget(player); + npc.doCast(NPC_HEAL.getSkill()); + } + startQuestTimer("heal", 30000 - Rnd.get(20000), npc, player); + break; + } + case "30760-02.html": + { + if (st.isCond(6)) + { + st.addExpAndSp(52518015, 5817677); + st.exitQuest(false, true); + htmltext = event; + } + break; + } + } + + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + QuestState st = player.getQuestState(getName()); + String htmltext = getNoQuestMsg(player); + if (st == null) + { + return htmltext; + } + + switch (st.getState()) + { + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + case State.CREATED: + { + if (npc.getNpcId() == HOLLINT) + { + st = player.getQuestState("Q00192_SevenSignSeriesOfDoubt"); + htmltext = ((player.getLevel() >= MIN_LEVEL) && (st != null) && (st.isCompleted())) ? "30191-01.htm" : "30191-03.html"; + } + break; + } + case State.STARTED: + { + if (npc.getNpcId() == HOLLINT) + { + if (st.isCond(1) && st.hasQuestItems(JACOBS_NECKLACE)) + { + htmltext = "30191-04.html"; + } + } + else if (npc.getNpcId() == CAIN) + { + switch (st.getCond()) + { + case 1: + { + if (st.hasQuestItems(JACOBS_NECKLACE)) + { + htmltext = "32569-01.html"; + } + break; + } + case 2: + { + htmltext = "32569-06.html"; + break; + } + case 3: + { + if (st.hasQuestItems(DEADMANS_HERB)) + { + htmltext = "32569-07.html"; + } + break; + } + case 4: + { + if (isBusy) + { + htmltext = "32569-13.html"; + } + else + { + htmltext = "32569-08.html"; + } + break; + } + case 5: + { + if (st.hasQuestItems(SCULPTURE_OF_DOUBT)) + { + htmltext = "32569-09.html"; + } + break; + } + } + } + else if (npc.getNpcId() == ERIC) + { + switch (st.getCond()) + { + case 2: + { + htmltext = "32570-01.html"; + break; + } + case 3: + { + htmltext = "32570-03.html"; + break; + } + } + } + else if (npc.getNpcId() == SIR_GUSTAV_ATHEBALDT) + { + if (st.isCond(6)) + { + htmltext = "30760-01.html"; + } + } + break; + } + } + + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance player, boolean isPet) + { + final L2PcInstance partyMember = getRandomPartyMember(player, "4"); + if (partyMember == null) + { + return null; + } + + final QuestState st = partyMember.getQuestState(getName()); + + if (npc.isInsideRadius(player, 1500, true, false)) + { + st.giveItems(SCULPTURE_OF_DOUBT, 1); + st.playSound("ItemSound.quest_finish"); + st.setCond(5); + } + + isBusy = false; + cancelQuestTimers("despawn"); + cancelQuestTimers("heal"); + NpcSay ns = new NpcSay(npc.getObjectId(), Say2.ALL, npc.getNpcId(), NpcStringId.S1_YOU_MAY_HAVE_WON_THIS_TIME_BUT_NEXT_TIME_I_WILL_SURELY_CAPTURE_YOU); + ns.addStringParameter(player.getName()); + npc.broadcastPacket(ns); + + return super.onKill(npc, player, isPet); + } + + public static void main(String args[]) + { + new Q00193_SevenSignsDyingMessage(193, Q00193_SevenSignsDyingMessage.class.getSimpleName(), "Seven Signs, Dying Message"); + } +}