Merged with released L2J-Unity files.

This commit is contained in:
mobiusdev
2016-06-12 01:34:09 +00:00
parent e003e87887
commit 635557f5da
18352 changed files with 3245113 additions and 2892959 deletions

View File

@@ -1,5 +1,4 @@
<html><body>Admiral Keucereus:<br>
I have to urgently send a person to the <font color="LEVEL">Seed of Hellfire</font>, but I guess there is nobody except you who I can trust.<br>
Could you go there?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire kserth_q10381_02.htm">"Yes, of course!"</button>
<html><body>Admiral Keucereus:<br>
I have to urgently send a person to the <font color="LEVEL">Seed of Hellfire</font>, but I guess there is nobody except you who I can trust. Could you go there?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire 32548-02.htm">"Yes, of course!"</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Admiral Keucereus:<br>
Well answered! Go and see <font color="LEVEL">Commander Kbaldir</font>. He will not only tell you how to go to the <font color="LEVEL">Seed of Hellfire</font>, but also briefly tell you about the situation over there.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire kserth_q10381_03.html">"I understand."</button>
<html><body>Admiral Keucereus:<br>
Well answered! Go and see <font color="LEVEL">Commander Kbaldir</font>. He will not only tell you how to go to the <font color="LEVEL">Seed of Hellfire</font>, but also briefly tell you about the situation over there.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire 32548-03.html">"Got it."</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Admiral Keucereus:<br>
<font color="LEVEL">Commander Kbaldir</font> is in this <font color="LEVEL">Keucereus Alliance Base</font>. Hurry to him!
<html><body>Admiral Keucereus:<br>
<font color="LEVEL">Commander Kbaldir</font> is in this <font color="LEVEL">Keucereus Alliance Base</font>. Hurry to him!
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Admiral Keucereus:<br>
Huh? Haven't you left for the <font color="LEVEL">Seed of Hellfire</font> yet? Hurry and go find <font color="LEVEL">Commander Kbaldir</font>. He will tell you how to go to the <font color="LEVEL">Seed of Hellfire</font>.
<html><body>Admiral Keucereus:<br>
Huh? Haven't you left for the <font color="LEVEL">Seed of Hellfire</font> yet? Hurry and go find <font color="LEVEL">Commander Kbaldir</font>. He will tell you how to go to the <font color="LEVEL">Seed of Hellfire</font>.
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Admiral Keucereus:<br>
Rest up, friend. You have done well.<br>
(You have already completed this quest.)
<html><body>Admiral Keucereus:<br>
Rest up, friend. You have done well.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Admiral Keucereus:<br>
I'm sorry but I cannot send you there now that I saw your skills. I don't want any more blood on my hands.<br>
(You must be level 97 or above to start this quest.)
<html><body>Admiral Keucereus:<br>
I'm sorry but I cannot send you there now that I saw your skills. I don't want any more blood on my hands.<br>
(You must be level 97 or above to start this quest.)
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Commander Kbaldir:<br>
It's you! I've been waiting for you. Right now the insurgent force is secretly working in the <font color="LEVEL">Seed of Hellfire</font>. But they could use your help, if you were willing to give it.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire kbarldire_q10381_02.html">"Always."</button>
<html><body>Commander Kbaldir:<br>
It's you! I've been waiting for you. Right now the insurgent force is secretly working in the <font color="LEVEL">Seed of Hellfire</font>. But they could use your help, if you were willing to give it.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire 32733-02.html">"Always."</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Commander Kbaldir:<br>
Alright!<br>
Remember, to get to the <font color="LEVEL">Seed of Hellfire</font>, use a <font color="LEVEL">Seed Teleport Device</font>. The nearest <font color="LEVEL">device</font> can be found <font color="LEVEL">on the 2nd floor</font>.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire 32733-03.html">"Got it."</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Commander Kbaldir:<br>
Good. Now hurry and leave for the <font color="LEVEL">Seed of Hellfire</font>. Once there, find <font color="LEVEL">Sizrak</font>. He's a member of the Insurgent force, and will tell you what needs doing.
<html><body>Commander Kbaldir:<br>
Good. Now hurry and leave for the <font color="LEVEL">Seed of Hellfire</font>. Once there, find <font color="LEVEL">Sizrak</font>. He's a member of the Insurgent force, and will tell you what needs doing.
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Commander Kbaldir:<br>
Huh? Why haven't you left for the <font color="LEVEL">Seed of Hellfire</font> yet?<br>
Remember, to get to the <font color="LEVEL">Seed of Hellfire</font>, use a <font color="LEVEL">Flight Device</font>. The nearest <font color="LEVEL">device</font> can be found <font color="LEVEL">by following the road behind me and turning left.</font>.
<html><body>Commander Kbaldir:<br>
Huh? Why haven't you left for the <font color="LEVEL">Seed of Hellfire</font> yet?<br>
Remember, to get to the <font color="LEVEL">Seed of Hellfire</font>, use a <font color="LEVEL">Seed Teleport Device</font>. The nearest <font color="LEVEL">device</font> can be found <font color="LEVEL">on the 2nd floor</font>.
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Sizrak:<br>
Hmm? Do I know you? I'm sorry, I'm busy here and I don't have time for conversation. What? <font color="LEVEL">Keucereus Alliance Base</font> sent you?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire sofa_sizraku_q10381_02.html">"I have a letter from Kbaldir."</button>
<html><body>Sizrak:<br>
Hmm? Do I know you? I'm sorry, I'm busy here and I don't have time for conversation. What? <font color="LEVEL">Keucereus Alliance Base</font> sent you?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire 33669-02.html">"I have a letter from Kbaldir."</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Sizrak:<br>
Do you mind waiting while I read it?<br>
To be honest, I didn't expect <font color="LEVEL">Keucereus Alliance Base</font> to respond to my request for help. Did you come alone?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire sofa_sizraku_q10381_03.html">"I am just the vanguard."</button>
<html><body>Sizrak:<br>
Do you mind waiting while I read it?<br>
To be honest, I didn't expect <font color="LEVEL">Keucereus Alliance Base</font> to respond to my request for help. Did you come alone?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire 33669-03.html">"I am just the vanguard."</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Sizrak:<br>
Hmm... The vanguard of what, I wonder. Well, perhaps you can help us drive <font color="LEVEL">Tauti</font> out... We've had enough trouble with this already, so more blades will be appreciated.
<html><body>Sizrak:<br>
Hmm... The vanguard of what, I wonder. Well, perhaps you can help us drive <font color="LEVEL">Tauti</font> out... We've had enough trouble with this already, so more blades will be appreciated.
</body></html>

View File

@@ -1,131 +1,169 @@
/*
* 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.Q10381_ToTheSeedOfHellfire;
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;
/**
* @author hlwrave
*/
public class Q10381_ToTheSeedOfHellfire extends Quest
{
// NPCS
private static final int KEUCEREUS = 32548;
private static final int KBALDIR = 32733;
private static final int SIZRAK = 33669;
// Items
private static final int KBALDIRS_LETTER = 34957;
// Misc
private static final int MIN_LEVEL = 97;
public Q10381_ToTheSeedOfHellfire()
{
super(10381, Q10381_ToTheSeedOfHellfire.class.getSimpleName(), "To the Seed of Hellfire");
addStartNpc(KEUCEREUS);
addTalkId(KEUCEREUS, KBALDIR, SIZRAK);
registerQuestItems(KBALDIRS_LETTER);
addCondMinLevel(MIN_LEVEL, "kserth_q10381_04.html");
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final String htmltext = event;
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return getNoQuestMsg(player);
}
switch (event)
{
case "kserth_q10381_03.html":
{
qs.startQuest();
break;
}
case "kbarldire_q10381_03.html":
{
qs.setCond(2);
giveItems(player, KBALDIRS_LETTER, 1);
break;
}
case "sofa_sizraku_q10381_03.html":
{
takeItems(player, KBALDIRS_LETTER, -1);
addExpAndSp(player, 951127800, 435041400);
giveAdena(player, 3256740, true);
qs.exitQuest(QuestType.ONE_TIME, true);
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
switch (npc.getId())
{
case KEUCEREUS:
{
if (qs.isCreated())
{
htmltext = "kserth_q10381_01.htm";
}
else if (qs.isStarted())
{
htmltext = "kserth_q10381_06.html";
}
else if (qs.isCompleted())
{
htmltext = "kserth_q10381_05.html";
}
break;
}
case KBALDIR:
{
if (qs.isCond(1))
{
htmltext = "kbarldire_q10381_01.html";
}
else if (qs.isCond(2))
{
htmltext = "kbarldire_q10381_04.html";
}
break;
}
case SIZRAK:
{
if (qs.isCond(2))
{
htmltext = "sofa_sizraku_q10381_01.html";
}
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.Q10381_ToTheSeedOfHellfire;
import com.l2jmobius.gameserver.enums.ChatType;
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;
import com.l2jmobius.gameserver.network.NpcStringId;
/**
* To The Seed of Hellfire (10381)
* @author Gladicek
*/
public final class Q10381_ToTheSeedOfHellfire extends Quest
{
// NPCs
private static final int KEUCEREUS = 32548;
private static final int KBALDIR = 32733;
private static final int SIZRAK = 33669;
// Item
private static final int KBALDIR_LETTER = 34957;
// Misc
private static final int MIN_LEVEL = 97;
public Q10381_ToTheSeedOfHellfire()
{
super(10381);
addStartNpc(KEUCEREUS);
addTalkId(KEUCEREUS, KBALDIR, SIZRAK);
addCondMinLevel(MIN_LEVEL, "32548-06.htm");
registerQuestItems(KBALDIR_LETTER);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return null;
}
String htmltext = event;
switch (event)
{
case "32548-02.htm":
{
htmltext = event;
break;
}
case "32548-03.html":
{
qs.startQuest();
npc.broadcastSay(ChatType.NPC_GENERAL, NpcStringId.HURRY_AND_GO_FIND_COMMANDER_KBALDIR);
break;
}
case "32733-03.html":
{
if (qs.isCond(1))
{
qs.setCond(2, true);
giveItems(player, KBALDIR_LETTER, 1);
npc.broadcastSay(ChatType.NPC_GENERAL, NpcStringId.YOU_CAN_REACH_THE_SEED_OF_HELLFIRE_THROUGH_THE_SEED_TELEPORT_DEVICE);
}
break;
}
case "33669-03.html":
{
if (qs.isCond(2))
{
npc.broadcastSay(ChatType.NPC_GENERAL, NpcStringId.I_WILL_LOOK_FORWARD_TO_YOUR_ACTIVITY);
giveAdena(player, 3_256_740, true);
addExpAndSp(player, 951_127_800, 228_270);
qs.exitQuest(false, true);
htmltext = event;
}
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
if (qs == null)
{
return htmltext;
}
switch (qs.getState())
{
case State.CREATED:
{
if (npc.getId() == KEUCEREUS)
{
htmltext = "32548-01.htm";
}
break;
}
case State.STARTED:
{
switch (npc.getId())
{
case KEUCEREUS:
{
if (qs.isCond(1))
{
htmltext = "32548-04.html";
}
break;
}
case KBALDIR:
{
if (qs.isCond(1))
{
htmltext = "32733-01.html";
}
else if (qs.isCond(2))
{
htmltext = "32733-04.html";
}
break;
}
case SIZRAK:
{
if (qs.isCond(2))
{
htmltext = "33669-01.html";
}
break;
}
}
break;
}
case State.COMPLETED:
{
if (npc.getId() == KEUCEREUS)
{
htmltext = "32548-05.html";
}
break;
}
}
return htmltext;
}
}

View File

@@ -1,5 +0,0 @@
<html><body>Commander Kbaldir:<br>
Alright!<br>
To get to the <font color="LEVEL">Seed of Hellfire</font>, use a <font color="LEVEL">Flight Device</font>. The nearest <font color="LEVEL">device</font> can be found <font color="LEVEL">by following the road behind me and turning left</font>.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire kbarldire_q10381_03.html">"Got it."</button>
</body></html>