Sync with L2JServer Jan 28th 2015.

This commit is contained in:
mobius
2015-01-29 05:18:04 +00:00
parent 59e1db4a68
commit 2cb3a52ed2
224 changed files with 4690 additions and 835 deletions

View File

@@ -1,5 +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>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10321_QualificationsOfTheSeeker 32974-02.htm">"Don't underestimate me."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Shannon:<br>
Nice day, eh?<br>
(you have already completed the quest.)
(You have already completed the quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Shannon:<br>
You're wasting my time. Go away.<br>
(The quest is not in progress, or the conditions have not been satisfied.)
</body></html>

View File

@@ -1,4 +1,4 @@
<html><head><body>Theodore:<br>
<html><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>

View File

@@ -1,5 +0,0 @@
<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>

View File

@@ -1,4 +1,4 @@
<html><head><body>Theodore:<br>
<html><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>

View File

@@ -1,7 +1,6 @@
<html><head><body>Theodore:<br>
<html><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>
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>

View File

@@ -1,4 +1,3 @@
<html><head><body>Theodore:<br>
Have you met Shannon yet? She's in the <font color="LEVEL">Training Area</font>.
<br>
<html><body>Theodore:<br>
Have you met Shannon yet? She's in the <font color="LEVEL">Training Area</font>.
</body></html>

View File

@@ -1,4 +1,3 @@
<html><head><body>Theodore:<br>
<html><body>Theodore:<br>
Ah... Thanks for your help. If you can handle it again next time, that would be great.
<br>
</body></html>

View File

@@ -20,16 +20,20 @@ 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.model.quest.State;
import com.l2jserver.gameserver.network.NpcStringId;
import com.l2jserver.gameserver.network.clientpackets.Say2;
import com.l2jserver.gameserver.network.serverpackets.NpcSay;
import com.l2jserver.gameserver.network.serverpackets.TutorialShowHtml;
import com.l2jserver.gameserver.util.Broadcast;
/**
* Qualifications Of The Seeker (10321)
* @author ivantotov
* @author ivantotov, Gladicek
*/
public final class Q10321_QualificationsOfTheSeeker extends Quest
{
@@ -45,7 +49,6 @@ public final class Q10321_QualificationsOfTheSeeker extends Quest
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");
}
@@ -73,11 +76,12 @@ public final class Q10321_QualificationsOfTheSeeker extends Quest
htmltext = event;
break;
}
case "32974-02.html":
case "32974-02.htm":
{
giveAdena(player, 50, true);
addExpAndSp(player, 40, 5);
qs.exitQuest(false, true);
Broadcast.toKnownPlayers(npc, new NpcSay(npc.getObjectId(), Say2.NPC_ALL, npc.getTemplate().getDisplayId(), NpcStringId.HM_DON_T_JUST_GO_I_STILL_HAVE_TONS_TO_TEACH_YOU));
htmltext = event;
break;
}
@@ -89,34 +93,24 @@ public final class Q10321_QualificationsOfTheSeeker extends Quest
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
if (qs.isCreated())
String htmltext = null;
switch (qs.getState())
{
if (npc.getId() == THEODORE)
case State.CREATED:
{
htmltext = "32975-01.htm";
htmltext = npc.getId() == THEODORE ? "32975-01.htm" : "32974-04.htm";
break;
}
}
else if (qs.isStarted())
{
if (npc.getId() == THEODORE)
case State.STARTED:
{
htmltext = "32975-04.html";
htmltext = npc.getId() == THEODORE ? "32975-04.htm" : "32974-01.htm";
break;
}
else if (npc.getId() == SHANNON)
case State.COMPLETED:
{
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";
htmltext = npc.getId() == THEODORE ? "32975-05.htm" : "32974-03.htm";
break;
}
}
return htmltext;