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,5 @@
<html><body>Admiral Keucereus:<br>
One must always be prepared, in both body and mind. Are you so?<br>
If you are, go straight away to the <font color="LEVEL">Seed of Infinity</font>, and lend a hand to the daily struggles against the undead.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10702_TheRoadToInfinity 32548-02.htm">"Wait, what? Can you explain?"</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Admiral Keucereus:<br>
The Seed of Destruction is north of my base. It's a land of death, ruled by by <font color="LEVEL">Ekimus</font>, the Lord of the Undead. Surprise! He's a follower of Shilen.<br>
Needless to say, it's swarming with the undead. Joy...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10702_TheRoadToInfinity 32548-03.htm">"Indeed."</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Admiral Keucereus:<br>
So this is what I want to ask: go to the Seed of Infinity, and weaken Ekimus' forces. If you could kill Ekimus it would be even better, but there's that.<br>
Well? What do you say?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10702_TheRoadToInfinity 32548-04.html">"I'm as ready as can be."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Admiral Keucereus:<br>
Good. Take this <font color="LEVEL">letter of introduction</font> with you, and my soldiers will look upon you with a friendly eye.<br>
Give this letter to <font color="LEVEL">Officer Tepios</font> at the Seed of Infinity.<br>You can use the <font color="LEVEL">Seed Teleport Device</font> over there. Do be careful, and do go with a group of trustworthy allies. Understood?
</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>
I wish I could send you, but it seems you are not ready. I do not want any more losses.<br>
(Only characters Lv. 95 or above may undertake this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Officer Tepios:<br>
What do you want? You don't look like a passerby.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10702_TheRoadToInfinity 32603-02.html">"I actually have a letter from Keucereus."</Button>
</body></html>

View File

@@ -0,0 +1 @@
<html><head><body>Officer Tepios:<br>A letter from Admiral Keucereus! I have been waiting for someone like you to show up. He has ordered that you be given a small reward.<br>Listen. You have proven your ability to plow through creatures at the Seed of Infinity. Would you not like to take a few missions from me as well? Let me know, and I will have something for you.</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.Q10702_TheRoadToInfinity;
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 Infinity (10702)
* @author Gladicek
*/
public final class Q10702_TheRoadToInfinity extends Quest
{
// NPCs
private static final int KEUCEREUS = 32548;
private static final int TEPIOS = 32603;
// Item
private static final int KEUCEREUS_INTRODUCTION_SOI = 38578;
// Misc
private static final int MIN_LEVEL = 95;
public Q10702_TheRoadToInfinity()
{
super(10702);
addStartNpc(KEUCEREUS);
addTalkId(KEUCEREUS, TEPIOS);
addCondMinLevel(MIN_LEVEL, "32548-06.htm");
registerQuestItems(KEUCEREUS_INTRODUCTION_SOI);
}
@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_SOI, 1);
break;
}
case "32603-02.html":
{
if (qs.isCond(1))
{
giveAdena(player, 18243, true);
addExpAndSp(player, 8_528_625, 2046);
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" : "32603-01.html";
break;
}
case State.COMPLETED:
{
if (npc.getId() == KEUCEREUS)
{
htmltext = getAlreadyCompletedMsg(player);
}
break;
}
}
return htmltext;
}
}