This commit is contained in:
5
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32974-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32974-01.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Shannon:<br>
|
||||
Eh? You want to be a seeker<br>
|
||||
You look weak.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10321_QualificationsOfTheSeeker 32974-02.html">"Don't underestimate me."</Button>
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32974-02.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32974-02.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Shannon:<br>
|
||||
Woah! Slow down, shouty! There's no screaming test!<br>
|
||||
Tell you what: how about you keep practising away, and I'll promise to keep an eye on you. When the time's right, I might well give you a tap on the shoulder.
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32974-03.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32974-03.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Shannon:<br>
|
||||
Nice day, eh?<br>
|
||||
(you have already completed the quest.)
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32975-01.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32975-01.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><head><body>Theodore:<br>
|
||||
Haa... There are so many things to do around here!<br>
|
||||
There's one problem here, and there another problem... I get a steady influx of seekers, but the pile of work just gets higher and higher. I'm not sure there are enough Seekers in the world to tackle this amount of work...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10321_QualificationsOfTheSeeker 32975-02.htm">"What are the Seekers?"</Button>
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32975-01a.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32975-01a.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Theodore:<br>
|
||||
Not now! Can't you see I'm busy? Come back later.<br>
|
||||
(You must be level 20 or above to start this quest.)
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32975-01b.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32975-01b.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Theodore:<br>
|
||||
You are Ertheia. You should continue your learning somewhere else. <br>
|
||||
(This quest is only available for characters of a non-Ertheia class.)
|
||||
<br>
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32975-02.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32975-02.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><head><body>Theodore:<br>
|
||||
Seekers are scholars and warriors dedicated to searching through the Ruins of Ye Sagira.<br>
|
||||
However, they recently ran into a spot of bother after the local monsters decided to get all territorial. Now, a good number of my Seekers are injured, and the work just keeps on piling up...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10321_QualificationsOfTheSeeker 32975-03.htm">"Where do I sign up? I want to be a Seeker."</Button>
|
||||
</body></html>
|
||||
7
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32975-03.htm
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32975-03.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><head><body>Theodore:<br>
|
||||
You what? Really? Even after what I just told you?? <br>
|
||||
Well, anyone can become a seeker, but you must first get certified. <font color="LEVEL">Shannon</font> can start you on that path - head to the <font color="LEVEL">Training Grounds</font> to see her, and she'll teach you about scouts. <br>
|
||||
Now get going - speed is of the essence and all that!<br>
|
||||
I will briefly tell you how to get there.
|
||||
<br>
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32975-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32975-04.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><head><body>Theodore:<br>
|
||||
Have you met Shannon yet? She's in the <font color="LEVEL">Training Area</font>.
|
||||
<br>
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32975-05.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10321_QualificationsOfTheSeeker/32975-05.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><head><body>Theodore:<br>
|
||||
Ah... Thanks for your help. If you can handle it again next time, that would be great.
|
||||
<br>
|
||||
</body></html>
|
||||
@@ -0,0 +1,124 @@
|
||||
/*
|
||||
* 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.Q10321_QualificationsOfTheSeeker;
|
||||
|
||||
import quests.Q10320_LetsGoToTheCentralSquare.Q10320_LetsGoToTheCentralSquare;
|
||||
|
||||
import com.l2jserver.gameserver.enums.Race;
|
||||
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.network.serverpackets.TutorialShowHtml;
|
||||
|
||||
/**
|
||||
* Qualifications Of The Seeker (10321)
|
||||
* @author ivantotov
|
||||
*/
|
||||
public final class Q10321_QualificationsOfTheSeeker extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int SHANNON = 32974;
|
||||
private static final int THEODORE = 32975;
|
||||
// Misc
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q10321_QualificationsOfTheSeeker()
|
||||
{
|
||||
super(10321, Q10321_QualificationsOfTheSeeker.class.getSimpleName(), "Qualifications Of The Seeker");
|
||||
addStartNpc(THEODORE);
|
||||
addTalkId(THEODORE, SHANNON);
|
||||
addCondMaxLevel(MAX_LEVEL, "32975-01a.htm");
|
||||
addCondNotRace(Race.ERTHEIA, "32975-01b.htm");
|
||||
addCondCompletedQuest(Q10320_LetsGoToTheCentralSquare.class.getSimpleName(), "32975-01a.htm");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "32975-03.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
player.sendPacket(new TutorialShowHtml(npc.getObjectId(), "..\\L2Text\\QT_027_Quest_01.htm", TutorialShowHtml.LARGE_WINDOW));
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32975-02.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32974-02.html":
|
||||
{
|
||||
giveAdena(player, 50, true);
|
||||
addExpAndSp(player, 40, 5);
|
||||
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.isCreated())
|
||||
{
|
||||
if (npc.getId() == THEODORE)
|
||||
{
|
||||
htmltext = "32975-01.htm";
|
||||
}
|
||||
}
|
||||
else if (qs.isStarted())
|
||||
{
|
||||
if (npc.getId() == THEODORE)
|
||||
{
|
||||
htmltext = "32975-04.html";
|
||||
}
|
||||
else if (npc.getId() == SHANNON)
|
||||
{
|
||||
htmltext = "32974-01.html";
|
||||
}
|
||||
}
|
||||
else if (qs.isCompleted())
|
||||
{
|
||||
if (npc.getId() == THEODORE)
|
||||
{
|
||||
htmltext = "32975-05.html";
|
||||
}
|
||||
else if (npc.getId() == SHANNON)
|
||||
{
|
||||
htmltext = "32974-03.html";
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user