This commit is contained in:
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/30832-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/30832-01.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Hardin:<br>
|
||||
Embryo... The information miss Elcadia was looking for was regarding Embryo. Unfortunately, I couldn't satisfy her desire for answers... I remember very vaguely finding that there are others who whisper its name.<br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt 30832-02.html">"Tell me more."</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/30832-02.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/30832-02.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Hardin:<br>
|
||||
Wait a sec... I didn't mean that the information is right here, I just remember seeing a book mentioning Embryo when I last stayed at the Ivory Tower. I don't know what the book was about exactly, though, but, if you find the book, you might be able to find the information you have been looking for.<br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt 30832-03.html">"Where is the book?"</a>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/30832-03.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/30832-03.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Hardin:<br>
|
||||
Library of Sages holds so many ancient books. I believe you might be able to find whatever you seek there, friend. Please tell Elcadia she should head there first.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/30832-04.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/30832-04.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Hardin:<br>
|
||||
Library of Sages holds so many ancient books. I believe you might be able to find whatever you seek there, friend. Please tell Elcadia she should head there first.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32593-01.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32593-01.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Priest Wood:<br>
|
||||
You are a difficult person to find. Lord Franz wishes something of you. Can you go and speak with Lord Franz?<br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt 32593-04.htm">Accept request.</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32593-02.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32593-02.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Priest Wood:<br>
|
||||
Thanks to you, we've moved another step forward.<br>
|
||||
(This is an already completed quest.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32593-03.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32593-03.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Priest Wood:<br>
|
||||
There is more you must do first. Return when you can help me.<br>
|
||||
(Only characters with level 81 or above can take on this quest.)
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32593-04.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32593-04.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Priest Wood:<br>
|
||||
Lord Franz requests you, I'm afraid this is an urgent matter. Can you see Lord Franz right away?<br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt 32593-05.htm">I will go right now.</a><br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt 32593-06.htm">I will go later.</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32593-05.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32593-05.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Priest Wood:<br>
|
||||
Very well. If you must, go ahead and meet Lord Franz.<br>
|
||||
<a action="bypass -h npc_%objectId%_Quest HideoutOfTheDawn">Enter.</a>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32593-06.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32593-06.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Priest Wood:<br>
|
||||
Are you busy right now? Alright, but tell me as soon as you are ready.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32593-07.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32593-07.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Priest Wood:<br>
|
||||
Alright. Go ahead, you may meet Lord Franz.<br>
|
||||
<a action="bypass -h npc_%objectId%_Quest HideoutOfTheDawn">Enter.</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32597-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32597-01.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Priest Franz:<br>
|
||||
Ahh!!! It's been a long time. How have you been? I contacted you because I have a request....<br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt 32597-02.html">"Go on..."</a>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32597-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32597-02.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Priest Franz:<br>
|
||||
I had a good deal of results ever since the research on the Seven Signs was completed. Also, I received information suggesting that the Revolutionaries of Dusk had uncovered more information too. We're going to send someone to uncover their findings, and I want you to accompany him and find out what they know.<br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt 32597-07.html">"Sure."</a><br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt 32597-06.html">"Not interested."</a>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32597-03.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32597-03.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Priest Franz:<br>
|
||||
How did the job I requested go?
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32597-04.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32597-04.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Priest Franz:<br>
|
||||
Is the job I requested going well?
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32597-05.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32597-05.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Priest Franz:<br>
|
||||
We don't have accurate information regarding the figure dispatched from the Dusk. But, the only thing is, that person is looking for an adventurer who has skills to accompany him. I thought that you would be qualified to work with him because you have skill, no? It was said that he's taken on the job very secretively, so approach him cautiously.<br>
|
||||
<a action="bypass -h menu_select?ask=10292&reply=2">"Okay."</a>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32597-06.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32597-06.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Priest Franz:<br>
|
||||
Is that so? That's too bad. But, there is nobody other than you who is qualified, so I hope that you think about it again.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32597-07.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32597-07.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Priest Franz:<br>
|
||||
It is said that he has been looking for a companion. According to our intelligence, he is staying at a place in the Beast Farm. I want you to go find out what's going on.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-01.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
Are you here to help me? Hm... you have an air of confidence about you, perhaps you will do. But you will have to earn my trust, and I cannot promise your safety. Are you sure you want to become involved?<br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt 32784-02.html">I will help you.</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-02.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-02.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
Alright. If you think you have what it takes, I'll just require a small demonstration. But know this, those who have come before you quickly discovered it takes more than confidence to pass this test. We shall see soon enough if you have what it takes, do you accept?<br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt 32784-03.html">Accept the test.</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-03.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-03.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
Really? In a place called Pavel Ruins, northeast from here, are Golems. I've placed tokens on them using a bit of magic. Defeat them and collect the tokens. Your test is to earn 10 tokens.<br>
|
||||
Don't look so glum. Maybe it's harder than you think, but either way I have to know who I'm dealing with.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-04.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
You've heard of a place called Pavel Ruins, just northeast from here? There are Golems there, with magically placed tokens hung by yours truly. Your test is to defeat the Golems until you've collected 10 tokens.<br>
|
||||
You almost look disappointed. I'll take that as a good sign, if your abilities match your confidence.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-05.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-05.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
Hm.. You are better than I thought. But that was just a small test.<br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt 32784-06.html">Did I pass the test?</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-06.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-06.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
Not yet... This is just a basic test. Let's call it research for a client. Can you demonstrate your abilities so I can see for myself?<br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt 32784-08.html">Continue with the testing.</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-07.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-07.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
I love your confidence, especially if you can back it up. Why not show me firsthand what you can do? Are you ready?<br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt SPAWN">Puh-leez, I'm always ready.</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-08.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-08.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
Yes, you certainly sound confident in battle... But can you prove it, here and now? What do you think? Are you ready?<br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt SPAWN">Am I ready? I was BORN ready! Prepare to be impressed.</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-09.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-09.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
I'm suprised, and not in a good way. What happened to you? Are you better now? Ready to show me your true skills?<br>
|
||||
<a action="bypass -h menu_select?ask=10292&reply=5">I'm always ready. I had something in my eye last time.</a>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-10.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-10.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
Alright. Time to see what you are made of, adventurer. Defeat the monsters I have prepared for you, and I'll know there's more to you than just a pretty face.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-11.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-11.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
You are very skilled, and I am not easily impressed... Alright. Consider this a formal request. I'm in need of someone who I can count on in a number of ways, especially someone who can keep a secret. What do you say, are you willing to help me?<br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt 32784-12.html">Accept the request.</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-12.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-12.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
My request is simple, just accompany me until I get the information I need. Right now I need information on a place called Embryo. I don't even know if its a place or a person, but whatever it is I need to know.<br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt 32784-13.html">Ask what I should do.</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-13.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-13.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
Have you heard of the great wizard Hardin? He used to reside in Ivory Tower, and now he is studying dark magic at Hardin's Academy. He knows more than most will forget in their lifetime, he will know the information we need. I want you to find Hardin.<br>
|
||||
<a action="bypass -h Quest Q10292_SevenSignsGirlOfDoubt 32784-14.html">Come back after meeting with Hardin.</a>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-14.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-14.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
If you meet Hardin, remember to ask him about Embryo. If he asks who sent you, give him my name. He knows who I am.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-15.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-15.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
If you meet Hardin, ask him about the word Embryo. When he asks who sent you, give him my name. We're not close, but he knows who I am.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-16.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-16.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
You think the book where Embryo is mentioned is in the Rune Library? Hmm... I see. Well, that was easier than I thought it would be, but don't worry. This is just the beginning.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-17.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-17.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
Hey, pay attention to detail. See all these monsters around here? I said defeat them.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-18.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/32784-18.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Abyssal Saintess Elcadia:<br>
|
||||
Oh? You're different than when I first met you. If you changed your class or if you're in a different state, you would have to come back to your original state. (You cannot complete the quest when you're in a sub job condition.)
|
||||
</body></html>
|
346
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/Q10292_SevenSignsGirlOfDoubt.java
vendored
Normal file
346
trunk/dist/game/data/scripts/quests/Q10292_SevenSignsGirlOfDoubt/Q10292_SevenSignsGirlOfDoubt.java
vendored
Normal file
@@ -0,0 +1,346 @@
|
||||
/*
|
||||
* 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.Q10292_SevenSignsGirlOfDoubt;
|
||||
|
||||
import quests.Q00198_SevenSignsEmbryo.Q00198_SevenSignsEmbryo;
|
||||
|
||||
import com.l2jserver.gameserver.ThreadPoolManager;
|
||||
import com.l2jserver.gameserver.enums.QuestSound;
|
||||
import com.l2jserver.gameserver.model.actor.L2Npc;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jserver.gameserver.model.holders.ItemHolder;
|
||||
import com.l2jserver.gameserver.model.quest.Quest;
|
||||
import com.l2jserver.gameserver.model.quest.QuestState;
|
||||
import com.l2jserver.gameserver.util.Util;
|
||||
|
||||
/**
|
||||
* Seven Signs, Girl of Doubt (10292)
|
||||
* @author Adry_85
|
||||
*/
|
||||
public final class Q10292_SevenSignsGirlOfDoubt extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int HARDIN = 30832;
|
||||
private static final int WOOD = 32593;
|
||||
private static final int FRANZ = 32597;
|
||||
private static final int JAINA = 32617;
|
||||
private static final int ELCADIA = 32784;
|
||||
// Item
|
||||
private static final ItemHolder ELCADIAS_MARK = new ItemHolder(17226, 10);
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 81;
|
||||
boolean isBusy = false;
|
||||
// Monster
|
||||
private static final int CREATURE_OF_THE_DUSK1 = 27422;
|
||||
private static final int CREATURE_OF_THE_DUSK2 = 27424;
|
||||
private static final int[] MOBS =
|
||||
{
|
||||
22801, // Cruel Pincer Golem
|
||||
22802, // Cruel Pincer Golem
|
||||
22803, // Cruel Pincer Golem
|
||||
22804, // Horrifying Jackhammer Golem
|
||||
22805, // Horrifying Jackhammer Golem
|
||||
22806, // Horrifying Jackhammer Golem
|
||||
};
|
||||
|
||||
public Q10292_SevenSignsGirlOfDoubt()
|
||||
{
|
||||
super(10292, Q10292_SevenSignsGirlOfDoubt.class.getSimpleName(), "Seven Signs, Girl of Doubt");
|
||||
addStartNpc(WOOD);
|
||||
addTalkId(WOOD, FRANZ, JAINA, ELCADIA, HARDIN);
|
||||
addKillId(MOBS);
|
||||
addKillId(CREATURE_OF_THE_DUSK1, CREATURE_OF_THE_DUSK2);
|
||||
registerQuestItems(ELCADIAS_MARK.getId());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, false);
|
||||
if (st == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "32593-04.htm":
|
||||
case "32593-06.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32593-05.htm":
|
||||
{
|
||||
st.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32597-02.html":
|
||||
case "32597-06.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32597-07.html":
|
||||
{
|
||||
st.setCond(2, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32784-02.html":
|
||||
{
|
||||
if (st.isCond(2))
|
||||
{
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "32784-03.html":
|
||||
{
|
||||
if (st.isCond(2))
|
||||
{
|
||||
st.setCond(3, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "32784-06.html":
|
||||
{
|
||||
if (st.isCond(4) && hasItem(player, ELCADIAS_MARK))
|
||||
{
|
||||
playSound(player, QuestSound.ITEMSOUND_QUEST_MIDDLE);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "32784-08.html":
|
||||
{
|
||||
if (st.isCond(4) && hasItem(player, ELCADIAS_MARK))
|
||||
{
|
||||
takeItem(player, ELCADIAS_MARK);
|
||||
st.setCond(5, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "32784-12.html":
|
||||
case "32784-13.html":
|
||||
{
|
||||
if (st.isCond(6))
|
||||
{
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "32784-14.html":
|
||||
{
|
||||
if (st.isCond(6))
|
||||
{
|
||||
st.setCond(7, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "SPAWN":
|
||||
{
|
||||
if (st.isCond(5))
|
||||
{
|
||||
isBusy = true;
|
||||
final L2Npc creature1 = addSpawn(CREATURE_OF_THE_DUSK1, 89440, -238016, -9632, 335, false, 0, false, player.getInstanceId());
|
||||
creature1.setIsNoRndWalk(true);
|
||||
final L2Npc creature2 = addSpawn(CREATURE_OF_THE_DUSK2, 89524, -238131, -9632, 56, false, 0, false, player.getInstanceId());
|
||||
creature2.setIsNoRndWalk(true);
|
||||
ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
|
||||
{
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
creature1.deleteMe();
|
||||
creature2.deleteMe();
|
||||
st.unset("ex");
|
||||
isBusy = false;
|
||||
}
|
||||
}, 60000);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "30832-02.html":
|
||||
{
|
||||
if (st.isCond(7))
|
||||
{
|
||||
st.setCond(8, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "30832-03.html":
|
||||
{
|
||||
if (st.isCond(8))
|
||||
{
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
|
||||
{
|
||||
if (Util.contains(MOBS, npc.getId()))
|
||||
{
|
||||
final QuestState st = getRandomPartyMemberState(player, 3, 3, npc);
|
||||
if ((st != null) && giveItemRandomly(st.getPlayer(), npc, ELCADIAS_MARK.getId(), 1, ELCADIAS_MARK.getCount(), 1.0, true))
|
||||
{
|
||||
st.setCond(4, true);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
final QuestState st = getQuestState(player, false);
|
||||
if ((st != null) && st.isCond(5))
|
||||
{
|
||||
final int value = st.getInt("ex") + 1;
|
||||
st.set("ex", value);
|
||||
if (value == 2)
|
||||
{
|
||||
st.setCond(6, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
return super.onKill(npc, player, isSummon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
QuestState st = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
switch (npc.getId())
|
||||
{
|
||||
case WOOD:
|
||||
{
|
||||
if (st.isCompleted())
|
||||
{
|
||||
htmltext = "32593-02.html";
|
||||
}
|
||||
else if (st.isCreated())
|
||||
{
|
||||
st = player.getQuestState(Q00198_SevenSignsEmbryo.class.getSimpleName());
|
||||
htmltext = ((player.getLevel() >= MIN_LEVEL) && (st != null) && (st.isCompleted())) ? "32593-01.htm" : "32593-03.htm";
|
||||
}
|
||||
else if (st.isStarted())
|
||||
{
|
||||
htmltext = "32593-07.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case FRANZ:
|
||||
{
|
||||
if (st.isCond(1))
|
||||
{
|
||||
htmltext = "32597-01.html";
|
||||
}
|
||||
else if (st.isCond(2))
|
||||
{
|
||||
htmltext = "32597-03.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ELCADIA:
|
||||
{
|
||||
switch (st.getCond())
|
||||
{
|
||||
case 2:
|
||||
{
|
||||
htmltext = "32784-01.html";
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
htmltext = "32784-04.html";
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
if (hasItem(player, ELCADIAS_MARK))
|
||||
{
|
||||
playSound(player, QuestSound.ITEMSOUND_QUEST_MIDDLE);
|
||||
htmltext = "32784-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
if (isBusy)
|
||||
{
|
||||
htmltext = "32784-17.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "32784-07.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 6:
|
||||
{
|
||||
htmltext = "32784-11.html";
|
||||
break;
|
||||
}
|
||||
case 7:
|
||||
{
|
||||
htmltext = "32784-15.html";
|
||||
break;
|
||||
}
|
||||
case 8:
|
||||
{
|
||||
if (player.isSubClassActive())
|
||||
{
|
||||
htmltext = "32784-18.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
addExpAndSp(player, 10000000, 1000000);
|
||||
st.exitQuest(false, true);
|
||||
htmltext = "32784-16.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case HARDIN:
|
||||
{
|
||||
if (st.isCond(7))
|
||||
{
|
||||
htmltext = "30832-01.html";
|
||||
}
|
||||
else if (st.isCond(8))
|
||||
{
|
||||
htmltext = "30832-04.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user