This commit is contained in:
4
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-00.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-00.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Commander Kbaldir:<br>
|
||||
I'm afraid you're a 'no go' for launch. Judging from my experience and what I've seen of the Seed of Annihilation, you just wouldn't cut it there. My daddy always said you need the right tool for the job. You aren't the right tool. At least not yet.<br>
|
||||
(Only characters level 84 and above can take this quest.)
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-01.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-01.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Commander Kbaldir:<br>
|
||||
You definitely have the look of a seasoned warrior. I can tell, you and I have seen our share of battles, haven't we? Hehe, one of these days we'll have to share a few pints.<br>
|
||||
But matters of state come first. I have a favor to ask if you're willing.<br>
|
||||
<a action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-02.htm">Ask about the favor.</a>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-02.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-02.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Commander Kbaldir:<br>
|
||||
I need this <font color="LEVEL">order</font> from the Kucereus' outpost sent to the <font color="LEVEL">Seed of Annihilation</font>. That is priority one.<br>
|
||||
The thing is, you need to know how to get to the Seed. Do you?<br>
|
||||
<a action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-03.htm">Nod that you do.</a><br>
|
||||
<a action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-04.htm">Admit that you don't.</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-03.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-03.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Commander Kbaldir:<br>
|
||||
Alright good. Keep in mind, the Seed of Annihilation is farther north than the Seeds of Destruction and Infinity. Just need to be able to fly there.<br>
|
||||
<a action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-04.htm">Nod in acknowledgement.</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-04.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-04.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Commander Kbaldir:<br>
|
||||
Alright, I just need to confirm once more. Will you do this for me? Know that the threat there is significant; it is not a place for the feint of heart.<br>
|
||||
<a action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-07.htm">"I'm ready. Huzzah!"</a>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-05.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-05.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Commander Kbaldir:<br>
|
||||
Like the other Seeds that have floated into Gracia, the easiest, and right now, only way to get to the Seed of Annihilation is by <font color="LEVEL">flight</font>. You either need access to an airship or know the Aura Bird Transformation.<br>
|
||||
If you don't have an airship, the Dwarf they call <font color="LEVEL">Engineer Lekon</font> below is who you should talk to. <font color="LEVEL">Officer Tolonis</font> might also sell you one. As for the Aura Bird Transformation, I couldn't tell you how to learn it, I honestly don't know.<br>
|
||||
<a action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-06.htm">Nod in acknowledgement.</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-06.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-06.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Commander Kbaldir:<br>
|
||||
Once you have some method of flight, head to the Seed of Annihilation. It's farther north than the Seed of Destruction and Seed of Infinity.<br>
|
||||
<a action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-07.htm">"Alright."</a>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-07.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-07.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Commander Kbaldir:<br>
|
||||
Alright, here's the order. Remember, once you've delivered the order, your new priority will be to help the officers and soldiers there who need it. Head out, soldier!
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-08.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-08.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Commander Kbaldir:<br>
|
||||
Move quickly! This won't be easy! Seed of Extermination is farther North than Seed of Destruction or Seed of Infinity. Hop to! Help those in need!
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-09.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32733-09.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Commander Kbaldir:<br>
|
||||
Oh, there you are. I heard that you delivered the order, well done. I wish the fleet was out of danger, but it's not. That's just how it is right now.<br>
|
||||
At least Gracia benefits from the sword of men and women like you. One of these days, we'll share those pints I talked about!<br>
|
||||
(This quest is already complete.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32734-01.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32734-01.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Officer Klemis:<br>
|
||||
Let me see that order you have... ah, you've been sent by <font color="LEVEL">Commander Kbaldir</font> of Keucereus Alliance Base?<br>
|
||||
<a action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32734-02.htm">Nod.</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32734-02.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32734-02.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Officer Klemis:<br>
|
||||
Alright, order officially received. Your help here will be appreciated.<br>
|
||||
Consider this a token of our good faith for you coming here.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32734-03.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10282_ToTheSeedOfAnnihilation/32734-03.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Officer Klemis:<br>
|
||||
If you're finished up here, you should go talk to <font color="LEVEL">Ermian</font>. He has a mission for the men and women arriving here to help.<br>
|
||||
(This quest is already complete.)
|
||||
</body></html>
|
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* 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.Q10282_ToTheSeedOfAnnihilation;
|
||||
|
||||
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;
|
||||
import com.l2jserver.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* To the Seed of Destruction (10269)<br>
|
||||
* Original Jython script by Gnacik 2010-08-13 Based on Freya PTS.
|
||||
* @author nonom
|
||||
*/
|
||||
public class Q10282_ToTheSeedOfAnnihilation extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int KBALDIR = 32733;
|
||||
private static final int KLEMIS = 32734;
|
||||
// Item
|
||||
private static final int SOA_ORDERS = 15512;
|
||||
|
||||
public Q10282_ToTheSeedOfAnnihilation()
|
||||
{
|
||||
super(10282, Q10282_ToTheSeedOfAnnihilation.class.getSimpleName(), "To the Seed of Annihilation");
|
||||
addStartNpc(KBALDIR);
|
||||
addTalkId(KBALDIR, KLEMIS);
|
||||
registerQuestItems(SOA_ORDERS);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = event;
|
||||
final QuestState st = getQuestState(player, false);
|
||||
if (st == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case "32733-07.htm":
|
||||
st.startQuest();
|
||||
st.giveItems(SOA_ORDERS, 1);
|
||||
break;
|
||||
case "32734-02.htm":
|
||||
st.addExpAndSp(1148480, 99110);
|
||||
st.exitQuest(false);
|
||||
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;
|
||||
}
|
||||
|
||||
final int npcId = npc.getId();
|
||||
switch (st.getState())
|
||||
{
|
||||
case State.COMPLETED:
|
||||
if (npcId == KBALDIR)
|
||||
{
|
||||
htmltext = "32733-09.htm";
|
||||
}
|
||||
else if (npcId == KLEMIS)
|
||||
{
|
||||
htmltext = "32734-03.htm";
|
||||
}
|
||||
break;
|
||||
case State.CREATED:
|
||||
htmltext = (player.getLevel() < 84) ? "32733-00.htm" : "32733-01.htm";
|
||||
break;
|
||||
case State.STARTED:
|
||||
if (st.isCond(1))
|
||||
{
|
||||
if (npcId == KBALDIR)
|
||||
{
|
||||
htmltext = "32733-08.htm";
|
||||
}
|
||||
else if (npcId == KLEMIS)
|
||||
{
|
||||
htmltext = "32734-01.htm";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user