This commit is contained in:
4
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-00.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-00.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Isael Silvershadow:<br>
|
||||
There's something putting me in a difficult situation. But it is too dangerous to ask you to take on the job. Get some more experience first.<br>
|
||||
(Only characters at level 80 or higher can perform the quest.)
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-01.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-01.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Isael Silvershadow:<br>
|
||||
May the blessing of the starlight be with you. Welcome to the Hunters Village!<br>
|
||||
I'd love to welcome you here... or ask you to tell me your stories, but... circumstance forces me not to do any of that.<br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 30655-02.htm">"Is something wrong?"</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-02.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-02.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Isael Silvershadow:<br>
|
||||
There's something putting me in a difficult situation. I have a favor to ask, but it is a request that I would not ask of someone without skills, and someone I didn't deem trustworthy. I believe that you may be qualified to do the job...<br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 30655-03.htm">"I'd like to hear more about it."</a>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-03.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-03.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Isael Silvershadow:<br>
|
||||
In fact, you should deliver a <font color="LEVEL">Special Item</font> to the Dragon valley. The atmosphere there has been changed, so the porters are refusing to deliver it even under double pay.<br>
|
||||
Nevertheless, I have contracts with the merchants in the valley, so have no choice but to deliver the thing. I'm in trouble.<br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 30655-04.html">"Well, what is the favor that you wanted to ask me?"</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-04.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Isael Silvershadow:<br>
|
||||
Okay. He'd like you to deliver this to <font color="LEVEL">Valley Trader Kitzka</font>. He's staying in the Dragon Valley. Once you deliver the item, you will receive your wages from him. How about it?<br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 30655-05.html">"It's tempting".</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-05.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-05.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Isael Silvershadow:<br>
|
||||
But, please promise one thing before you receive the item. Promise <font color="LEVEL">that you will never covet the item</font>. If you swear to it, I will give you the item now. And I, too, pledge my honor as a knight that I will remember the trust and effort you have shown me.<br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 30655-06.html">"I swear".</a>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-06.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-06.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Isael Silvershadow:<br>
|
||||
Thank you for your trust. Valley Trader Kitzka is in the Dragon Valley. It is too dangerous to secure your safety there, so it might be a good idea for you to travel with a colleague you can trust. Safe trip, friend - may Saiha of Wind guide you to a safe journey...
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-07.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-07.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Isael Silvershadow:<br>
|
||||
Valley Trader Kitzka is in the Dragon Valley. Again, it is a very dangerous place, so I recommend you go there with your colleagues. May the Saiha of Wind guide you to a safe journey...
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-08.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/30655-08.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Isael Silvershadow:<br>
|
||||
You are back! Now, I apologize for testing you, but I couldn't find someone trustworthy for my task. Thank you for all your help!<br>
|
||||
(You have already completed this quest.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-01.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Valley Trader Kitzka:<br>
|
||||
Yes? Do you need something else?<br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 31045-02.html">"I brought the item that Isael Silvershadow requested..."</a>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-02.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Valley Trader Kitzka:<br>
|
||||
Ah, you mean the entrusted item?! Yes, I was waiting. Please, hand it over!<br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 31045-03.html">"You said that the item inside is valuable? I want a suitable reward in return."</a><br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 31045-04.html">"Here."</a>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-03.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-03.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Valley Trader Kitzka:<br>
|
||||
Oh... Was your pledge to Sir Silvershadow a lie? This item has no value, you fool. It was a simple test to see if you could be trusted. You have failed. Leave.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-04.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-04.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Valley Trader Kitzka:<br>
|
||||
You are truly a trustworthy person. Most adventurers get greedy about these items, so they take my items during delivery and disappear, or they try to provoke me into fighting them. But you... you have shown me a different side your breed.<br>
|
||||
As it turns out, Sir Silvershadow entrusted me with items for trustworthy adventurers such as yourself. There are three types; I will give you one.<br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 31045-05.html">"What are they?"</a>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-05.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-05.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Valley Trader Kitzka:<br>
|
||||
I can give you the following items. <font color="LEVEL">Listen to the explanations first, tell me what interests you, then I will give you that item</font>. Is it difficult for you to decide? Then think it over some more and come back. Don't worry, I'll remember your face!<br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 31045-06.html">Large Dragon Bone</a><br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 31045-07.html">Will of Antharas</a><br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 31045-08.html">Sealed Blood Crystal</a>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-06.html
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-06.html
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Valley Trader Kitzka:<br>
|
||||
The <font color="LEVEL">Large Dragon Bone</font> is an item for calling forth a powerful fragon.<br>
|
||||
There are four <font color="LEVEL">Dragon Vortexes</font> within the Dragon Valley. If you use the dragon bone by them, you will summon one of the following raid monsters: the <font color="LEVEL">Emerald Horn, Dust Rider, Bleeding Fly, Blackdagger Wing, Shadow Summoner, Spike Slasher, Muscle Bomber.</font><br>
|
||||
The Large Dragon Bone can be obtained by hunting the following monsters within Dragon Valley: <font color="LEVEL">Drakos Guardian, Drakos Warrior, Drakos Hunter, Drakos Assasin, Giant Scorpion Bones, Hard Scorpion Bones, Scorpion Bones, Batwing Drake, Parasitic Leech, Emerald Drake, Hungry Parasitic Leech, Gem Dragon, Dragon Tracker of the Valley, Dragon Scout of the Valley, Sand Drake Tracker, Dust Dragon Tracker.</font><br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 31045-10.html">"I'll take the bone."</a><br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 31045-09.html">"Tell me about the other items."</a>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-07.html
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-07.html
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Valley Trader Kitzka:<br>
|
||||
<font color="LEVEL">Will of Antharas</font> is a command stone that Antharas implanted into its mostly powerful subordinates, thus gaining control over their movements.<br>
|
||||
It is also a tool that maximizes the magic powers of Antharas's Subordinates. If you were to combine it with a <font color="LEVEL">Sealed Blood Crystal</font>, you could obtain an item with tremendous magic power. For instance, by using it, you can <font color="LEVEL">resurrect multiple people simultaneously!</font><br>
|
||||
Will of Antharas can be obtained by hunting the <font color="LEVEL">Emerald Horn, Dust Rider, Bleeding Fly, Blackdagger Wing, Shadow Summoner, Spike Slasher, and Muscle Bomber</font>, which can be summoned from the Dragon Vortex in Dragon Valley.<br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 31045-11.html">"I'll take the Will."</a><br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 31045-09.html">"And what of the other items?"</a>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-08.html
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-08.html
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Valley Trader Kitzka:<br>
|
||||
The <font color="LEVEL">Sealed Blood Crystal</font> is formed over time from Antharas's spilled blood.<br>
|
||||
His blood has lost its magic power, but if you combine it with <font color="LEVEL">Will of Antharas</font>, you can still obtain an item with tremendous magic power. Use it, and you will be able to <font color="LEVEL">resurrect several people simultaneously.</font><br>
|
||||
This Sealed Blood Crystal can be obtained by hunting the <font color="LEVEL">Drake Lord, Behemoth Leader, and Dragon Beast</font> inside Antharas' Lair.<br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 31045-12.html">"May I take the crystal?"</a><br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 31045-09.html">""Tell me about something else."</a>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-09.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-09.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Valley Trader Kitzka:<br>
|
||||
Did you think it was over? As I said before, I can give you the following items. <font color="LEVEL">Please listen to the explanations first, tell me what interests you, then I will give you that item</font>. If it's difficult for you to decide, then think it over some more and come back. Don't worry, I'll remember your face!<br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 31045-06.html">Large Dragon Bone</a><br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 31045-07.html">Will of Antharas</a><br>
|
||||
<a action="bypass -h Quest Q00026_TiredOfWaiting 31045-08.html">Sealed Blood Crystal</a>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-10.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-10.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Valley Trader Kitzka:<br>
|
||||
You selected the <font color="LEVEL">Large Dragon Bone</font>. Here it is. Good luck!
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-11.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-11.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Valley Trader Kitzka:<br>
|
||||
You selected <font color="LEVEL">Will of Antharas</font>. Here is is. If you obtain the Sealed Blood Crystal later, ask the Separated Soul to combine it for you. If you do, you will realize the true value of this item. Good luck!
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-12.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/31045-12.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Valley Trader Kitzka:<br>
|
||||
You selected the <font color="LEVEL">Sealed Blood Crystal</font>. Here is is. If you obtain Will of Antharas later, ask the Separated Soul to combine it for you. If you do, you will realize the true value of this item. Good luck!
|
||||
</body></html>
|
145
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/Q00026_TiredOfWaiting.java
vendored
Normal file
145
trunk/dist/game/data/scripts/quests/Q00026_TiredOfWaiting/Q00026_TiredOfWaiting.java
vendored
Normal file
@@ -0,0 +1,145 @@
|
||||
/*
|
||||
* 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.Q00026_TiredOfWaiting;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import com.l2jserver.gameserver.model.actor.L2Npc;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jserver.gameserver.model.quest.Quest;
|
||||
import com.l2jserver.gameserver.model.quest.QuestState;
|
||||
|
||||
/**
|
||||
* Tired Of Waiting (26)
|
||||
* @author corbin12
|
||||
*/
|
||||
public final class Q00026_TiredOfWaiting extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int ISAEL_SILVERSHADOW = 30655;
|
||||
private static final int KITZKA = 31045;
|
||||
// Items
|
||||
private static final int DELIVERY_BOX = 17281;
|
||||
private static final Map<String, Integer> REWARDS = new HashMap<>();
|
||||
static
|
||||
{
|
||||
REWARDS.put("31045-10.html", 17248); // Large Dragon Bone
|
||||
REWARDS.put("31045-11.html", 17266); // Will of Antharas
|
||||
REWARDS.put("31045-12.html", 17267); // Sealed Blood Crystal
|
||||
}
|
||||
|
||||
public Q00026_TiredOfWaiting()
|
||||
{
|
||||
super(26, Q00026_TiredOfWaiting.class.getSimpleName(), "Tired of Waiting");
|
||||
addStartNpc(ISAEL_SILVERSHADOW);
|
||||
addTalkId(ISAEL_SILVERSHADOW, KITZKA);
|
||||
registerQuestItems(DELIVERY_BOX);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
final QuestState st = getQuestState(player, false);
|
||||
if (st == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case "30655-02.htm":
|
||||
case "30655-03.htm":
|
||||
case "30655-05.html":
|
||||
case "30655-06.html":
|
||||
case "31045-02.html":
|
||||
case "31045-03.html":
|
||||
case "31045-05.html":
|
||||
case "31045-06.html":
|
||||
case "31045-07.html":
|
||||
case "31045-08.html":
|
||||
case "31045-09.html":
|
||||
htmltext = event;
|
||||
break;
|
||||
case "30655-04.html":
|
||||
if (st.isCreated())
|
||||
{
|
||||
st.giveItems(DELIVERY_BOX, 1);
|
||||
st.startQuest();
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
case "31045-04.html":
|
||||
if (st.isStarted())
|
||||
{
|
||||
st.takeItems(DELIVERY_BOX, -1);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
case "31045-10.html":
|
||||
case "31045-11.html":
|
||||
case "31045-12.html":
|
||||
if (st.isStarted())
|
||||
{
|
||||
st.giveItems(REWARDS.get(event), 1);
|
||||
st.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
final QuestState st = getQuestState(player, true);
|
||||
if (st == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
switch (npc.getId())
|
||||
{
|
||||
case ISAEL_SILVERSHADOW:
|
||||
if (st.isCreated())
|
||||
{
|
||||
htmltext = ((player.getLevel() >= 80) ? "30655-01.htm" : "30655-00.html");
|
||||
}
|
||||
else if (st.isStarted())
|
||||
{
|
||||
htmltext = "30655-07.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "30655-08.html";
|
||||
}
|
||||
break;
|
||||
case KITZKA:
|
||||
if (st.isStarted())
|
||||
{
|
||||
htmltext = (st.hasQuestItems(DELIVERY_BOX) ? "31045-01.html" : "31045-09.html");
|
||||
}
|
||||
break;
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user