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

@@ -0,0 +1,4 @@
<html><body>Sergeant Allenos:<br>
What? What? What do you want?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10701_TheRoadToDestruction 32526-02.html">"I have a letter from Keucereus."</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Sergeant Allenos:<br>
Oh, a letter from Admiral Keucereus! Here, let me give you a small token of our gratitude.<br>
Apparently you are authorized to enter. Very well, you may.<br>
If only everyone who came along were as strong as...oh, uh? Nothing. I wasn't saying anything.<br>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Admiral Keucereus:<br>
You look like a fight-ready kind of fellow. Would you like to help us?<br>
Go to the <font color="LEVEL">Seed of Destruction</font>, and lend a hand against the senseless destruction that has raged on since the Dragonkin's rampage.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10701_TheRoadToDestruction 32548-02.htm">"Sure, but tell me more."</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Admiral Keucereus:<br>
The Seed of Destruction is west of my base. It's ruled by <font color="LEVEL">Tiat</font>, Lord of the Dragonkin and a follower of Shilen.<br>
Tiat is kin to the <font color="LEVEL">Dark Dragon</font>. Wizards tell us that when Tiat appeared on the land through the Seed, all kinds of crazy started happening -- dead dragons' souls were given bodies, and monsters took the form of Dragonkin. The Seed of Destruction is now a swarming with such creatures.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10701_TheRoadToDestruction 32548-03.htm">"Oh joy."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Admiral Keucereus:<br>
So this is what I want you to do: go to the Seed of Destruction, and help weaken Tiat's forces. It would be great if you could take down Tiat, but any help is appreciated. Will you go?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10701_TheRoadToDestruction 32548-04.html">"Count me in."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Admiral Keucereus:<br>
Here, take this with you. It's a <font color="LEVEL">letter of introduction</font>. Give this to <font color="LEVEL">Sergeant Allenos</font> at the Seed of Destruction.<br>
You can get there by using the <font color="LEVEL">Seed Teleport Device</font> over there. Be careful -- it's a dangerous place. There is always strength in numbers, remember!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Admiral Keucereus:<br>
Wait, you're not thinking of going there with the help of a <font color="LEVEL">Flying Transformed Object</font>, are you? I mean, you could, but...the <font color="LEVEL">Seed Teleport Device</font> is probaby much easier.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Admiral Keucereus:<br>
Hm, perhaps I was too rash to think I could send you over. I wish I could, but I don't want you to die senselessly.<br>
(Only characters Lv. 93 or above may undertake this quest.)
</body></html>

View File

@@ -0,0 +1,126 @@
/*
* 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.Q10701_TheRoadToDestruction;
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;
/**
* The Road to Destruction (10701)
* @author Gladicek
*/
public final class Q10701_TheRoadToDestruction extends Quest
{
// NPCs
private static final int KEUCEREUS = 32548;
private static final int ALLENOS = 32526;
// Item
private static final int KEUCEREUS_INTRODUCTION_SOD = 38577;
// Misc
private static final int MIN_LEVEL = 93;
public Q10701_TheRoadToDestruction()
{
super(10701);
addStartNpc(KEUCEREUS);
addTalkId(KEUCEREUS, ALLENOS);
addCondMinLevel(MIN_LEVEL, "32548-06.htm");
registerQuestItems(KEUCEREUS_INTRODUCTION_SOD);
}
@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":
case "32548-03.htm":
{
htmltext = event;
break;
}
case "32548-04.html":
{
qs.startQuest();
giveItems(player, KEUCEREUS_INTRODUCTION_SOD, 1);
break;
}
case "32526-02.html":
{
if (qs.isCond(1))
{
giveAdena(player, 17612, true);
addExpAndSp(player, 8_173_305, 1961);
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:
{
htmltext = npc.getId() == KEUCEREUS ? "32548-05.html" : "32526-01.html";
break;
}
case State.COMPLETED:
{
if (npc.getId() == KEUCEREUS)
{
htmltext = getAlreadyCompletedMsg(player);
}
break;
}
}
return htmltext;
}
}