Merged with released L2J-Unity files.
This commit is contained in:
@@ -1,4 +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.)
|
||||
<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 85 and above can take this quest.)
|
||||
</body></html>
|
||||
@@ -1,5 +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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-02.htm">Ask about the favor.</Button>
|
||||
<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-02.htm">"What is it?"</Button>
|
||||
</body></html>
|
||||
@@ -1,6 +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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-03.htm">Nod that you do.</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-04.htm">Admit that you don't.</Button>
|
||||
<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-03.htm">"Yeah, I do"</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-04.htm">"Not really."</Button>
|
||||
</body></html>
|
||||
@@ -1,4 +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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-04.htm">Nod in acknowledgement.</Button>
|
||||
<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-04.htm">Nod in acknowledgement.</Button>
|
||||
</body></html>
|
||||
@@ -1,4 +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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-07.htm">"I'm ready. Huzzah!"</Button>
|
||||
<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-07.htm">"I'm ready. Huzzah!"</Button>
|
||||
</body></html>
|
||||
@@ -1,5 +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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-06.htm">Nod in acknowledgement.</Button>
|
||||
<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-06.htm">"Oh joy."</Button>
|
||||
</body></html>
|
||||
@@ -1,4 +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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-07.htm">"Alright."</Button>
|
||||
<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32733-07.htm">"Thanks for the info."</Button>
|
||||
</body></html>
|
||||
@@ -1,3 +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!
|
||||
<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>
|
||||
@@ -1,3 +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!
|
||||
<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>
|
||||
@@ -1,5 +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.)
|
||||
<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>
|
||||
@@ -1,4 +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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32734-02.htm">Nod.</Button>
|
||||
<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10282_ToTheSeedOfAnnihilation 32734-02.htm">I have no idea what you're saying, but sure</Button>
|
||||
</body></html>
|
||||
@@ -1,4 +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.
|
||||
<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>
|
||||
@@ -1,4 +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.)
|
||||
<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>
|
||||
@@ -1,122 +1,131 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* 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.Q10282_ToTheSeedOfAnnihilation;
|
||||
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.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)
|
||||
{
|
||||
final String htmltext = event;
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case "32733-07.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
giveItems(player, SOA_ORDERS, 1);
|
||||
break;
|
||||
}
|
||||
case "32734-02.htm":
|
||||
{
|
||||
addExpAndSp(player, 1148480, 99110);
|
||||
qs.exitQuest(false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
if (qs == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
final int npcId = npc.getId();
|
||||
switch (qs.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 (qs.isCond(1))
|
||||
{
|
||||
if (npcId == KBALDIR)
|
||||
{
|
||||
htmltext = "32733-08.htm";
|
||||
}
|
||||
else if (npcId == KLEMIS)
|
||||
{
|
||||
htmltext = "32734-01.htm";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* 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.Q10282_ToTheSeedOfAnnihilation;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.QuestType;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* To the Seed of Destruction (10269)
|
||||
* @author nonom
|
||||
*/
|
||||
public final 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;
|
||||
private static final int EAR = 17527; // Scroll: Enchant Armor (R-grade)
|
||||
// Misc
|
||||
private static final int MIN_LV = 85;
|
||||
|
||||
public Q10282_ToTheSeedOfAnnihilation()
|
||||
{
|
||||
super(10282);
|
||||
addStartNpc(KBALDIR);
|
||||
addTalkId(KBALDIR, KLEMIS);
|
||||
registerQuestItems(SOA_ORDERS);
|
||||
addCondMinLevel(MIN_LV, "32733-00.htm");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final String htmltext = event;
|
||||
final QuestState st = getQuestState(player, false);
|
||||
if (st == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case "32733-07.htm":
|
||||
{
|
||||
st.startQuest();
|
||||
giveItems(player, SOA_ORDERS, 1);
|
||||
break;
|
||||
}
|
||||
case "32734-02.htm":
|
||||
{
|
||||
giveAdena(player, 212182, true);
|
||||
giveItems(player, EAR, 5);
|
||||
addExpAndSp(player, 1148480, 275);
|
||||
st.exitQuest(QuestType.ONE_TIME);
|
||||
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:
|
||||
{
|
||||
if (npcId == KBALDIR)
|
||||
{
|
||||
htmltext = "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