Sync with L2JServer Jan 12th 2015.
This commit is contained in:
6
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/32615-01.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/32615-01.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Maestro Ishuma:<br>
|
||||
Judging by the way you’re standing and the huge sack you are holding, it looks like you have quite a large task in store for me.<br>
|
||||
Tell me, what do you have in store for me?<br>
|
||||
Just tell me.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00177_SplitDestiny 32615-02.htm">"These..."</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/32615-02.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/32615-02.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Maestro Ishuma:<br>
|
||||
What do you want me to do with a bunch of rocks? Giant’s fragments you say and you want me to restore them? Hmm… that isn’t exactly in the description of my profession… but you know what I’ll give it a try.<br>
|
||||
Now let’s discuss my fee...<br>
|
||||
If you don't mind...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00177_SplitDestiny 32615-03.htm">"Hadel says ‘It’s for that time he took care of that thing."</Button>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/32615-03.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/32615-03.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Maestro Ishuma:<br>
|
||||
What! He told you about that… hmm well if he is calling in that favor this must be pretty important. Alright give me a few moments to work my magic.
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/32615-04.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/32615-04.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Maestro Ishuma:<br>
|
||||
It took a bit of doing but I was able to put all the pieces back together again.<br>
|
||||
Interestingly enough, it wasn’t just a hand and foot…<br>
|
||||
You have yourself a pair of hands and feet.<br>
|
||||
Now if you excuse me, I need to wash my hands, eat some food, and take a nap after all that work... and preferably in that order. Go see <font color="LEVEL">Giant's Minion Hadel</font> at the <font color="LEVEL">Ruins of Ye Sagira</font>.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/32615-05.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/32615-05.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Maestro Ishuma:<br>
|
||||
I need to rest a little. If you don't have any other business, please go.
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-01.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-01.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
I can see that you have managed to absorb the power of the Giants. Good for you... but I don't think you quite have a firm grasp on the true power you could potentially possess.<br>
|
||||
Do you know what the <font color="LEVEL">Power of Ascension</font> is? Awakening is simply the unlocking the power hidden within the body, while Power of Ascension taps into the true strength of the Giants and pushes your body past its physical limits.<br>
|
||||
Show me that you are capable of wielding such power and I will help you learn how to harness the Power of Ascension.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00177_SplitDestiny 33344-13.htm">"I need to increase my power!"</Button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-02.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-02.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
I have no business with you. Leave.<br>
|
||||
(This quest can only be accessed while in a subclass, at subclass level 80 or above, and after completing a 3rd class transfer.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-03.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-03.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
I have no business with you. Leave me.<br>
|
||||
(This quest is only available for characters who have transferred their main class to a specialized awakened class. They can transfer their class to a <font color="LEVEL">specialized awakened class</font> through <font color="LEVEL">Agent of Chaos Hardin</font> at the <font color="LEVEL">Reliquary of the Giants</font>.)
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-12.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-12.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
It won't be easy to use the powers you received from the giant. It's amazing that you received them at all!<br>
|
||||
However, I know you can do it. Stay focused. Continue your training. Then, you too can become an invaluable presence, the same way as my master was a long time ago.<br>
|
||||
(You already completed this quest.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-13.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-13.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
You have freed Hermuncus’s Soul from the binding light. However, in order for him to regain his power we must restore his physical form. If you recall the last time we spoke I mentioned about Hermuncus’ fate and what happened to his body, correct? We need to find the remains of his body in order to resurrect him. If you help us, we will in turn help you with your Power of Ascension. Do we have a deal? If so your first task would be to find the hand of Hermuncus!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00177_SplitDestiny 33344-14.htm">"The hand of Hermuncus? Is that even possible?"</Button>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-14.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-14.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
Yes, when Einhasad chopped off Hermuncus’ hand, it fell to the land of Aden. The power contained within the hand preserved itself by becoming petrified until it could rejoin the rest of Hermuncus’ body… Quite an amazing defense mechanism, with the exception of the whole being hacked off part. Creatures in the area would be drawn to its power and probably keep it as a trophy. Hurry to the <font color="LEVEL">Forest of the Dead</font> and collect the pieces of Hermuncus' petrified hand that the <font color="LEVEL">Vampire Berises</font> have in their possession.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-15.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-15.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
Hurry to the Forest of the Dead and collect the pieces of Hermuncus' petrified hand that the <font color="LEVEL">Vampire Berises</font> have in their possession.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-16.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-16.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
If you want acknowledgment as the inheritor of the true power of the giants, go now. Return when you are once again in the same subclass you were in when you promised to help with Hermuncus' resurrection.<br>
|
||||
(This quest can only be fulfilled if the character is in the same subclass state as when the quest was accepted.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-17.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-17.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
Yes, yes. I can feel the power of Hermuncus as you draw near. Show me, show me the hand!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00177_SplitDestiny 33344-18.htm">"Yeah, about the hand..."</Button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-18.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-18.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
What did you do the hand? It's broke in so many places. I can't tell if that is a finger or a charred piece of wood, Hermuncus is going to be so mad. Alright, I think I can fix this, I just need to find out which piece goes where. Man, I'll need more time to figure this out. In the mean time, go to Isle of Prayer and find the foot of Hermuncus, and try not to break it this time.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00177_SplitDestiny 33344-19.htm">"I didn't break the hand! It was like that when found it!"</Button>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-19.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-19.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
Forget about the hand and focus on the foot! Same story as the hand... it most likely landed somewhere in the <font color="LEVEL">Isle of Prayer</font>. Creatures in this area that would be attracted to its power would be the <font color="LEVEL">Island Guardian</font>, <font color="LEVEL">White Sand Mirage</font>, <font color="LEVEL">Muddy Coral</font>, and <font color="LEVEL">Crinaeae</font>. One of these creatures must have the foot.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-20.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-20.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
Hurry to the <font color="LEVEL">Isle of Prayer</font> and collect the petrified pieces of Hermuncus' foot that the <font color="LEVEL">Island Guardian</font>, <font color="LEVEL">White Sand Mirage</font>, <font color="LEVEL">Muddy Coral</font>, and <font color="LEVEL">Crinaeae</font> have in their possession.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-21.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-21.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
I can feel the power of Hermuncus' foot. Do you have the foot? Please tell me you brought it to me intact. Otherwise you might feel the power of Hermuncus' foot in a very different way.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00177_SplitDestiny 33344-22.htm">"You're not going to believe this..."</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-22.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-22.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
Seriously? Well, this is great.<br>
|
||||
We have both a foot and a hand, but they are completely useless in their current state.<br>
|
||||
My current methods of reassembling these pieces failed so we are going to need someone who is a little bit more skilled in the area of reconstructing body parts of ancient extinct races, such as the Giants. I know a guy, <font color="LEVEL">Maestro Ishuma</font>, on Gludio Airship Field who can restore the pieces of the hand and foot.<br>
|
||||
Bring the pieces of the hand and foot to <font color="LEVEL">Maestro Ishuma</font>. And if he brings up the subject of payment, tell him, "It's for the time that I took care of that thing." He'll know what it means. Just be sure to inspect the work before you bring them back here.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-23.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-23.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
Why are you still here?<br>
|
||||
Take the pieces of Hermuncus' hand and foot to <font color="LEVEL">Maestro Ishuma</font>. Bring them back once they have been restored to their glory.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-24.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-24.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
Well... did it work? Was Maestro Ishuma able to restore the foot and hand of Hermuncus?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00177_SplitDestiny 33344-25.htm">"Yes, and then some."</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-25.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-25.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
Both hands and feet! Let me see. Yes, the workmanship is quite nice although there appear to be some minor blemishes here and there. It’s nothing that we wouldn’t be able to repair ourselves. I’m sure Hermuncus wouldn’t even notice...<br>
|
||||
Now, the real reason why you have assisted me… you wish to receive an Ascension of Power. Before we begin, please understand my words carefully. <font color="LEVEL">You must understand that this can only be done for one subclass. The Ascension of Power cannot be reverted once it has been complete. Be sure you are on the subclass profession you wish to receive this power</font>.<br1>
|
||||
Have you listened to my words? Are you ready with your final decision?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00177_SplitDestiny 33344-26.htm">"Yes, I am ready to receive the Ascension of Power."</Button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-26.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-26.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
I'm not trying to be pedantic, but I'm going to ask you one more time, since the extension of power <font color="LEVEL">cannot be reverted</font> once you decide. Are you ready with your final decision?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00177_SplitDestiny 33344-27.htm">"Yes, already! This is my final decision."</Button>
|
||||
</body></html>
|
9
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-27.htm
vendored
Normal file
9
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-27.htm
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
I like your spirit, kid.<br>
|
||||
I will be sure to keep an eye on your progress… there are still other pieces of the Giant to be found and I’m sure our paths will cross again.<br>
|
||||
But, before you leave, I have one more thing I wish to give you. Call it a little bonus for all the work you have done.<br>
|
||||
I would like to provide you with a Soul Crystal to enhance your weapon.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00177_SplitDestiny red_crystal">"Shiny, I like… the red one"</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00177_SplitDestiny green_crystal">"Shiny, I like… the green one"</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00177_SplitDestiny blue_crystal">"Shiny, I like… the blue one"</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-28.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-28.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
And on that final note, our business here is concluded. Go forth and continue to develop your powers.<br>
|
||||
When you reach <font color="LEVEL">level 85</font>, you can learn <font color="LEVEL">dual skills</font>. I look forward to seeing you grow stronger.<br>
|
||||
Absorber of the giants' power...<br1>
|
||||
Do not forget Hermuncus and the giants.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-aeore.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-aeore.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
You emanate the essence of an Aeore Healer. One cannot have duplicate powers.<br>
|
||||
(You cannot expand the power to the same class as your main character.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-feoh.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-feoh.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
I can feel the presence of a Feoh Wizard emanating from you. One cannot have duplicate powers.<br>
|
||||
(You cannot expand the power to the same class as your main character.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-iss.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-iss.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
I can feel the essence of an Iss Enchanter emanating from you. One cannot have duplicate powers.<br>
|
||||
(You cannot expand the power to the same class as your main character.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-othell.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-othell.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
I can feel the presence of an Othell Rogue emanating from you. One cannot have duplicate powers.<br>
|
||||
(You cannot expand the power to the same class as your main character.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-sigel.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-sigel.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
You radiate the essence of a Sigel Knight. You cannot duplicate that power.<br>
|
||||
(As the same class with the main character, the power cannot be expanded.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-tyrr.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-tyrr.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
I can feel a Tyrr Warrior's presence emanating from you. One cannot have duplicate powers.<br>
|
||||
(You cannot expand the power to the same class as your main character.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-wynn.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-wynn.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
I can feel the presence of a Wynn Summoner emanating from you. One cannot have duplicate powers.<br>
|
||||
(You cannot expand the power to the same class as your main character.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-yul.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/33344-yul.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hadel:<br>
|
||||
I can feel a Yul Archer's presence surrounding you. One cannot have duplicate powers.<br>
|
||||
(You cannot expand the power to the same class as your main character.)
|
||||
</body></html>
|
391
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/Q00177_SplitDestiny.java
vendored
Normal file
391
trunk/dist/game/data/scripts/quests/Q00177_SplitDestiny/Q00177_SplitDestiny.java
vendored
Normal file
@@ -0,0 +1,391 @@
|
||||
/*
|
||||
* Copyright (C) 2004-2015 L2J DataPack
|
||||
*
|
||||
* This file is part of L2J DataPack.
|
||||
*
|
||||
* L2J DataPack is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* L2J DataPack is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q00177_SplitDestiny;
|
||||
|
||||
import com.l2jserver.gameserver.datatables.CategoryData;
|
||||
import com.l2jserver.gameserver.enums.CategoryType;
|
||||
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.network.SystemMessageId;
|
||||
import com.l2jserver.gameserver.network.serverpackets.ExSubjobInfo;
|
||||
import com.l2jserver.gameserver.network.serverpackets.SocialAction;
|
||||
import com.l2jserver.gameserver.network.serverpackets.SystemMessage;
|
||||
import com.l2jserver.gameserver.util.Util;
|
||||
|
||||
/**
|
||||
* @author Sdw
|
||||
*/
|
||||
public class Q00177_SplitDestiny extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int HADEL = 33344;
|
||||
private static final int ISHUMA = 32615;
|
||||
// Items
|
||||
private static final ItemHolder PETRIFIED_GIANTS_HAND = new ItemHolder(17718, 2);
|
||||
private static final ItemHolder PETRIFIED_GIANTS_FOOT = new ItemHolder(17719, 2);
|
||||
private static final int PETRIFIED_GIANTS_HAND_PIECE = 17720;
|
||||
private static final int PETRIFIED_GIANTS_FOOT_PIECE = 17721;
|
||||
// Rewards
|
||||
private static final ItemHolder RECIPE_TWILIGHT_NECKLACE = new ItemHolder(36791, 1);
|
||||
private static final ItemHolder CRYSTAL_R = new ItemHolder(17371, 1);
|
||||
private static final ItemHolder RED_SOUL_CRYSTAL_15 = new ItemHolder(10480, 1);
|
||||
private static final ItemHolder BLUE_SOUL_CRYSTAL_15 = new ItemHolder(10481, 1);
|
||||
private static final ItemHolder GREEN_SOUL_CRYSTAL_15 = new ItemHolder(10482, 1);
|
||||
// Variable
|
||||
private static final String VAR_SUB_INDEX = "split_destiny_sub_id";
|
||||
|
||||
// Mobs
|
||||
private static final int[] GIANTS_HAND_MONSTERS =
|
||||
{
|
||||
21549, // Corrupted Guard
|
||||
21550, // Corrupted Guard
|
||||
21547, // Corrupted Knight
|
||||
21548, // Resurrected Knight
|
||||
21587, // Vampire Warrior
|
||||
};
|
||||
|
||||
private static final int[] GIANTS_FOOT_MONSTERS =
|
||||
{
|
||||
22257, // Island Guardian
|
||||
22258, // White Sand Mirage
|
||||
22259, // Muddy Coral
|
||||
22260, // Kleopora
|
||||
};
|
||||
|
||||
public Q00177_SplitDestiny()
|
||||
{
|
||||
super(177, Q00177_SplitDestiny.class.getSimpleName(), "Split Destiny");
|
||||
addStartNpc(HADEL);
|
||||
addTalkId(HADEL, ISHUMA);
|
||||
addKillId(GIANTS_HAND_MONSTERS);
|
||||
addKillId(GIANTS_FOOT_MONSTERS);
|
||||
registerQuestItems(PETRIFIED_GIANTS_HAND.getId(), PETRIFIED_GIANTS_FOOT.getId(), PETRIFIED_GIANTS_HAND_PIECE, PETRIFIED_GIANTS_FOOT_PIECE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = null;
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case "33344-14.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
qs.set(VAR_SUB_INDEX, player.getClassIndex());
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33344-19.htm":
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
qs.setCond(4, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "33344-22.htm":
|
||||
{
|
||||
if (qs.isCond(6))
|
||||
{
|
||||
qs.setCond(7, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "32615-03.htm":
|
||||
{
|
||||
if (qs.isCond(7) && (getQuestItemsCount(player, PETRIFIED_GIANTS_HAND_PIECE) >= 10) && (getQuestItemsCount(player, PETRIFIED_GIANTS_FOOT_PIECE) >= 10))
|
||||
{
|
||||
takeItems(player, PETRIFIED_GIANTS_HAND_PIECE, 10);
|
||||
takeItems(player, PETRIFIED_GIANTS_FOOT_PIECE, 10);
|
||||
qs.setCond(8, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "33344-25.htm":
|
||||
{
|
||||
if (qs.isCond(9) && hasItem(player, PETRIFIED_GIANTS_HAND) && hasItem(player, PETRIFIED_GIANTS_FOOT))
|
||||
{
|
||||
takeItem(player, PETRIFIED_GIANTS_HAND);
|
||||
takeItem(player, PETRIFIED_GIANTS_FOOT);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "blue_crystal":
|
||||
case "green_crystal":
|
||||
case "red_crystal":
|
||||
{
|
||||
if (qs.isCond(9))
|
||||
{
|
||||
if (player.getClassIndex() != qs.getInt(VAR_SUB_INDEX))
|
||||
{
|
||||
return "33344-16.htm";
|
||||
}
|
||||
|
||||
player.getSubClasses().get(player.getClassIndex()).setIsDualClass(true);
|
||||
|
||||
final SystemMessage msg = SystemMessage.getSystemMessage(SystemMessageId.SUBCLASS_S1_HAS_BEEN_UPGRADED_TO_DUEL_CLASS_S2_CONGRATULATIONS);
|
||||
msg.addClassId(player.getClassId().getId());
|
||||
msg.addClassId(player.getClassId().getId());
|
||||
player.sendPacket(msg);
|
||||
|
||||
player.sendPacket(new ExSubjobInfo(player));
|
||||
player.broadcastSocialAction(SocialAction.LEVEL_UP);
|
||||
|
||||
if (event.equals("red_crystal"))
|
||||
{
|
||||
giveItems(player, RED_SOUL_CRYSTAL_15);
|
||||
}
|
||||
else if (event.equals("blue_crystal"))
|
||||
{
|
||||
giveItems(player, BLUE_SOUL_CRYSTAL_15);
|
||||
}
|
||||
else if (event.equals("green_crystal"))
|
||||
{
|
||||
giveItems(player, GREEN_SOUL_CRYSTAL_15);
|
||||
}
|
||||
|
||||
giveItems(player, RECIPE_TWILIGHT_NECKLACE);
|
||||
giveItems(player, CRYSTAL_R);
|
||||
addExpAndSp(player, 175739575, 42177);
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = "33344-28.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "33344-13.htm":
|
||||
case "33344-18.htm":
|
||||
case "32615-02.htm":
|
||||
case "33344-26.htm":
|
||||
case "33344-27.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
|
||||
if (npc.getId() == HADEL)
|
||||
{
|
||||
if (qs.isStarted())
|
||||
{
|
||||
if (player.getClassIndex() == qs.getInt(VAR_SUB_INDEX))
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 1:
|
||||
case 2:
|
||||
{
|
||||
htmltext = "33344-15.htm";
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
htmltext = "33344-17.htm";
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
case 5:
|
||||
{
|
||||
htmltext = "33344-20.htm";
|
||||
break;
|
||||
}
|
||||
case 6:
|
||||
{
|
||||
htmltext = "33344-21.htm";
|
||||
break;
|
||||
}
|
||||
case 7:
|
||||
case 8:
|
||||
{
|
||||
htmltext = "33344-23.htm";
|
||||
break;
|
||||
}
|
||||
case 9:
|
||||
{
|
||||
htmltext = "33344-24.htm";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33344-16.htm";
|
||||
}
|
||||
}
|
||||
else if (qs.isCompleted())
|
||||
{
|
||||
htmltext = "33344-12.htm";
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!player.isSubClassActive() || !player.isInCategory(CategoryType.FOURTH_CLASS_GROUP) || (player.getLevel() < 80))
|
||||
{
|
||||
htmltext = "33344-02.htm";
|
||||
}
|
||||
else if (!CategoryData.getInstance().isInCategory(CategoryType.AWAKEN_GROUP, player.getBaseClass()))
|
||||
{
|
||||
htmltext = "33344-03.htm";
|
||||
}
|
||||
else if (CategoryData.getInstance().isInCategory(CategoryType.SIGEL_GROUP, player.getBaseClass()) && player.isInCategory(CategoryType.SIGEL_CANDIDATE))
|
||||
{
|
||||
htmltext = "33344-sigel.htm";
|
||||
}
|
||||
else if (CategoryData.getInstance().isInCategory(CategoryType.TYRR_GROUP, player.getBaseClass()) && player.isInCategory(CategoryType.TYRR_CANDIDATE))
|
||||
{
|
||||
htmltext = "33344-tyrr.htm";
|
||||
}
|
||||
else if (CategoryData.getInstance().isInCategory(CategoryType.OTHELL_GROUP, player.getBaseClass()) && player.isInCategory(CategoryType.OTHELL_CANDIDATE))
|
||||
{
|
||||
htmltext = "33344-othell.htm";
|
||||
}
|
||||
else if (CategoryData.getInstance().isInCategory(CategoryType.YUL_GROUP, player.getBaseClass()) && player.isInCategory(CategoryType.YUL_CANDIDATE))
|
||||
{
|
||||
htmltext = "33344-yul.htm";
|
||||
}
|
||||
else if (CategoryData.getInstance().isInCategory(CategoryType.FEOH_GROUP, player.getBaseClass()) && player.isInCategory(CategoryType.FEOH_CANDIDATE))
|
||||
{
|
||||
htmltext = "33344-feoh.htm";
|
||||
}
|
||||
else if (CategoryData.getInstance().isInCategory(CategoryType.ISS_GROUP, player.getBaseClass()) && player.isInCategory(CategoryType.ISS_CANDIDATE))
|
||||
{
|
||||
htmltext = "33344-iss.htm";
|
||||
}
|
||||
else if (CategoryData.getInstance().isInCategory(CategoryType.WYNN_GROUP, player.getBaseClass()) && player.isInCategory(CategoryType.WYNN_CANDIDATE))
|
||||
{
|
||||
htmltext = "33344-wynn.htm";
|
||||
}
|
||||
else if (CategoryData.getInstance().isInCategory(CategoryType.AEORE_GROUP, player.getBaseClass()) && player.isInCategory(CategoryType.AEORE_CANDIDATE))
|
||||
{
|
||||
htmltext = "33344-aeore.htm";
|
||||
}
|
||||
else if (player.hasDualClass())
|
||||
{
|
||||
htmltext = "33344-12.htm";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33344-01.htm";
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ((npc.getId() == ISHUMA) && qs.isStarted())
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 7:
|
||||
{
|
||||
htmltext = "32615-01.htm";
|
||||
break;
|
||||
}
|
||||
case 8:
|
||||
{
|
||||
qs.setCond(9, true);
|
||||
giveItems(player, PETRIFIED_GIANTS_HAND);
|
||||
giveItems(player, PETRIFIED_GIANTS_FOOT);
|
||||
htmltext = "32615-04.htm";
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
htmltext = "32615-05.htm";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
|
||||
{
|
||||
final QuestState qs = getQuestState(killer, false);
|
||||
|
||||
if ((qs != null) && (killer.getClassIndex() == qs.getInt(VAR_SUB_INDEX)))
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
if (Util.contains(GIANTS_HAND_MONSTERS, npc.getId()))
|
||||
{
|
||||
giveItems(killer, PETRIFIED_GIANTS_HAND_PIECE, 1);
|
||||
qs.setCond(2, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
if (Util.contains(GIANTS_HAND_MONSTERS, npc.getId()))
|
||||
{
|
||||
if (giveItemRandomly(killer, npc, PETRIFIED_GIANTS_HAND_PIECE, 1, 10, 1.0, true))
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
if (Util.contains(GIANTS_FOOT_MONSTERS, npc.getId()))
|
||||
{
|
||||
qs.giveItems(PETRIFIED_GIANTS_FOOT_PIECE, 1);
|
||||
qs.setCond(5, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
if (Util.contains(GIANTS_FOOT_MONSTERS, npc.getId()))
|
||||
{
|
||||
if (giveItemRandomly(killer, npc, PETRIFIED_GIANTS_FOOT_PIECE, 1, 10, 1.0, true))
|
||||
{
|
||||
qs.setCond(6, true);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
}
|
@@ -87,6 +87,7 @@ import quests.Q00146_TheZeroHour.Q00146_TheZeroHour;
|
||||
import quests.Q00147_PathtoBecominganEliteMercenary.Q00147_PathtoBecominganEliteMercenary;
|
||||
import quests.Q00148_PathtoBecominganExaltedMercenary.Q00148_PathtoBecominganExaltedMercenary;
|
||||
import quests.Q00176_StepsForHonor.Q00176_StepsForHonor;
|
||||
import quests.Q00177_SplitDestiny.Q00177_SplitDestiny;
|
||||
import quests.Q00183_RelicExploration.Q00183_RelicExploration;
|
||||
import quests.Q00184_ArtOfPersuasion.Q00184_ArtOfPersuasion;
|
||||
import quests.Q00185_NikolasCooperation.Q00185_NikolasCooperation;
|
||||
@@ -386,6 +387,7 @@ public class QuestMasterHandler
|
||||
Q00147_PathtoBecominganEliteMercenary.class,
|
||||
Q00148_PathtoBecominganExaltedMercenary.class,
|
||||
Q00176_StepsForHonor.class,
|
||||
Q00177_SplitDestiny.class,
|
||||
Q00183_RelicExploration.class,
|
||||
Q00184_ArtOfPersuasion.class,
|
||||
Q00185_NikolasCooperation.class,
|
||||
|
Reference in New Issue
Block a user