Quest Obligations of the Seeker (10364).
Contributed by spider.
This commit is contained in:
parent
d5a85ec14c
commit
c18488e351
6
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33451-01.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33451-01.htm
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Celin:<br>
|
||||
Those who work together soon understand each other and begin to form bonds, you know.<br>
|
||||
You've heard of espirit de corps, right? That sense of camaraderie can only be made in times of extreme suffering.<br>
|
||||
That's why boot camp is so draining - the do it to establish group mentality... the physical conditional is just a bonus.<br>
|
||||
<button align=left icon=NORMAL action="bypass -h Quest Q10364_ObligationsOfTheSeeker 33451-02.htm">"I see."</button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33451-02.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33451-02.htm
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Celin:<br>
|
||||
Well... good!<br>
|
||||
So you must see how jarring it is when two commandos in the same unit don't see eye to eye! Sadly, I'm not jst spouting hypotheticals here - there are two soldiers in my unit who won't talk to each other. If they were to go into combat, they'd be one hell of a weak link...<br>
|
||||
I want somone to get them talking again. Negotiate, bang their head together... Idon't care.<br>
|
||||
<button align=left icon=NORMAL action="bypass -h Quest Q10364_ObligationsOfTheSeeker 33451-03.htm">"Who are they?"</button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33451-03.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33451-03.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Celin:<br>
|
||||
There's Walter in Exploration Zone 3, and Dep in Exploration Zone4.<br>
|
||||
Go to <font color="LEVEL">Walter</font> first - he's closer, and persuade him to sort things out.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33451-04.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33451-04.htm
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Celin:<br>
|
||||
Have you talked to Walter?
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33452-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33452-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Walter:<br>
|
||||
Did Dep send you? He did, din't he. Well, I have nothing more to say to him. Hrmph!<br>
|
||||
<button align=left icon=NORMAL action="bypass -h Quest Q10364_ObligationsOfTheSeeker 33452-02.html">"No, Celin sent me."</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33452-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33452-02.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Walter:<br>
|
||||
Celin just doesn't know when to give up!<br>
|
||||
Sigh... I tell you, it's about Dep, you can go back and tell Celin it won't work! I simply refuse to get involved with someone who doesn't have a shred of common sense.<br>
|
||||
<button align=left icon=NORMAL action="bypass -h Quest Q10364_ObligationsOfTheSeeker 33452-03.html">"What happened?"</button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33452-03.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33452-03.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Walter:<br>
|
||||
That's the problem, I don't know what happened! We've been working together just fine, then suddenly he gets all bent out of shape and storms off. I tried to find out what the problem was, and smooth things over, but he wouldn't even talk to me.<br>
|
||||
I don't know what he's all worked up about, and frankly, I don't care! Stubborn old... Grr!<br>
|
||||
Well, I have some work related papers that I want to give to him, but I don't want to make waves. Could you take them to him for me?
|
||||
<button align=left icon=NORMAL action="bypass -h Quest Q10364_ObligationsOfTheSeeker 33452-04.html">"What do you need delivered?"</button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33452-04.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33452-04.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Walter:<br>
|
||||
Ah, it's not so difficult. Old <font color="LEVEL">pieces of paper</font> have been appearing around here. I'm not sure what they're regarding, but Dep likes this kind of stuff.<br>
|
||||
I want you to gather 5 or so, then hand them to <font color="LEVEL">Dep</font> in <font color="LEVEL"> Exploration Area 4</font>.<br>
|
||||
You'll find the pieces of paper by defeating the <font color="LEVEL">Husk Kraphers and Husk Avians</font>.<br>
|
||||
And... say hi ti him for me, okay?
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33452-05.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33452-05.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Walter:<br>
|
||||
One more time...<br>
|
||||
I want you to gather 5 or so, then hand them to <font color="LEVEL">Dep</font> in <font color="LEVEL"> Exploration Area 4</font>.<br>
|
||||
You'll find the pieces of paper by defeating the <font color="LEVEL">Husk Kraphers and Husk Avians</font>.<br>
|
||||
And... say hi ti him for me, okay?
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33453-01.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33453-01.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Dep:<br>
|
||||
Sigh...<br>
|
||||
When I'm feeling blue, I want go away, and be alone somewhere quiet. But, when you work as a ranger, you can't get away from busy place like these.<br>
|
||||
Anyway, why are you here?<br>
|
||||
<button align=left icon=NORMAL action="bypass -h Quest Q10364_ObligationsOfTheSeeker 33453-02.html">"I've gathered the dirty papers."</button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33453-02.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33453-02.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Dep:<br>
|
||||
The papers from the Ruins of Ye Sagira?<br>
|
||||
Ye Sagira was the home of the giants - papers discovered there will tell us more about the giants!<br>
|
||||
Show them to me, and tell me... how did you find out about the papers?<br>
|
||||
<button align=left icon=NORMAL action="bypass -h Quest Q10364_ObligationsOfTheSeeker 33453-03.html">"Walter told me."</button>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33453-03.html
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33453-03.html
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<html><body>Dep:<br>
|
||||
Walter? Hm...<br>
|
||||
Actually, I've know about the paper pieces in Ye Sagira for quite some time now...<br>
|
||||
I just wasn't sure exactly where they were. I was looking for them a while back, wandering through Exploration Zone 3 with Walter, but he kept following me and talking to me and... well... I ended up losing my temper and shouting at him... we haven't spoken since.<br>
|
||||
Did he say anything else?<br>
|
||||
<button align=left icon=NORMAL action="bypass -h Quest Q10364_ObligationsOfTheSeeker 33453-04.html">"He said he wanted to talk and make up."</button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33453-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/33453-04.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Dep:<br>
|
||||
R... really?<br>
|
||||
I should apologize to Walter...Well, let me take those pieces of paper. I hope there's information about the giants in them!
|
||||
</body></html>
|
205
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/Q10364_ObligationsOfTheSeeker.java
vendored
Normal file
205
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/Q10364_ObligationsOfTheSeeker.java
vendored
Normal file
@ -0,0 +1,205 @@
|
||||
/*
|
||||
* Copyright (C) 2004-2015 L2J Server
|
||||
*
|
||||
* This file is part of L2J Server.
|
||||
*
|
||||
* L2J Server 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 Server 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.Q10364_ObligationsOfTheSeeker;
|
||||
|
||||
import quests.Q10363_RequestOfTheSeeker.Q10363_RequestOfTheSeeker;
|
||||
|
||||
import com.l2jserver.gameserver.model.actor.L2Npc;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jserver.gameserver.model.holders.ItemHolder;
|
||||
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.util.Util;
|
||||
|
||||
/**
|
||||
* Obligations of the Seeker (10364)
|
||||
* @author spider
|
||||
*/
|
||||
public class Q10364_ObligationsOfTheSeeker extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int CELIN = 33451;
|
||||
private static final int WALTER = 33452;
|
||||
private static final int DEP = 33453;
|
||||
// Monsters
|
||||
private static final int KRAPHER = 22996;
|
||||
private static final int AVIAN = 22994;
|
||||
// Items
|
||||
private static final int DIRTY_PIECE_OF_PAPER = 17578;
|
||||
private static final int DPP_REQUIRED = 5;
|
||||
// Rewards
|
||||
private static final int ADENA_REWARD = 55000;
|
||||
private static final int EXP_REWARD = 95000;
|
||||
private static final int SP_REWARD = 22;
|
||||
private static final ItemHolder LEATHER_SHOES = new ItemHolder(37, 1);
|
||||
private static final ItemHolder HEALING_POTIONS = new ItemHolder(1060, 50);
|
||||
// Requirements
|
||||
private static final int MIN_LEVEL = 14;
|
||||
private static final int MAX_LEVEL = 25;
|
||||
|
||||
public Q10364_ObligationsOfTheSeeker()
|
||||
{
|
||||
super(10364, Q10364_ObligationsOfTheSeeker.class.getSimpleName(), "Obligations of the Seeker");
|
||||
addStartNpc(CELIN);
|
||||
addTalkId(CELIN, WALTER, DEP);
|
||||
addKillId(KRAPHER, AVIAN);
|
||||
registerQuestItems(DIRTY_PIECE_OF_PAPER);
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no_level.htm");
|
||||
addCondCompletedQuest(Q10363_RequestOfTheSeeker.class.getSimpleName(), "no_prequest.html");
|
||||
}
|
||||
|
||||
@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 "33451-02.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33451-03.htm": // start quest
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33452-02.html":
|
||||
case "33452-03.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33452-04.html":
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = event;
|
||||
qs.setCond(2);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "33453-02.html":
|
||||
case "33453-03.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33453-04.html":
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
giveAdena(player, ADENA_REWARD, true);
|
||||
addExpAndSp(player, EXP_REWARD, SP_REWARD);
|
||||
giveItems(player, LEATHER_SHOES);
|
||||
giveItems(player, HEALING_POTIONS);
|
||||
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 = null;
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = npc.getId() == CELIN ? "33451-01.htm" : getNoQuestMsg(player);
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case CELIN:
|
||||
{
|
||||
htmltext = "33451-04.htm";
|
||||
break;
|
||||
}
|
||||
case WALTER:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "33452-01.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33452-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case DEP:
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "33453-01.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = getNoQuestMsg(player);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
|
||||
{
|
||||
final QuestState qs = getRandomPartyMemberState(killer, -1, 3, npc);
|
||||
if ((qs != null) && qs.isCond(2) && Util.checkIfInRange(1500, npc, qs.getPlayer(), false))
|
||||
{
|
||||
if (qs.getQuestItemsCount(DIRTY_PIECE_OF_PAPER) < DPP_REQUIRED)
|
||||
{
|
||||
giveItems(qs.getPlayer(), DIRTY_PIECE_OF_PAPER, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
qs.setCond(3);
|
||||
}
|
||||
}
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
}
|
3
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/no_level.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/no_level.htm
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>You don't meet level requirements<br>
|
||||
(Quest available from level 14 to level 25)
|
||||
</body></html>
|
2
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/no_prequest.html
vendored
Normal file
2
trunk/dist/game/data/scripts/quests/Q10364_ObligationsOfTheSeeker/no_prequest.html
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
<html><body>To begin this quest, you need to complete Request of the Seeker quest first.
|
||||
</body></html>
|
@ -18,6 +18,8 @@
|
||||
*/
|
||||
package quests.Q10365_SeekerEscort;
|
||||
|
||||
import quests.Q10364_ObligationsOfTheSeeker.Q10364_ObligationsOfTheSeeker;
|
||||
|
||||
import com.l2jserver.gameserver.enums.ChatType;
|
||||
import com.l2jserver.gameserver.model.Location;
|
||||
import com.l2jserver.gameserver.model.actor.L2Npc;
|
||||
@ -95,7 +97,7 @@ public final class Q10365_SeekerEscort extends Quest
|
||||
addSpawnId(BLOODHOUND);
|
||||
addMoveFinishedId(BLOODHOUND);
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no_level.html");
|
||||
// addCondCompletedQuest(Q10364_ObligationsOfTheSeeker.class.getSimpleName(), "no_level.html");
|
||||
addCondCompletedQuest(Q10364_ObligationsOfTheSeeker.class.getSimpleName(), "no_level.html");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -207,6 +207,7 @@ import quests.Q10359_SakumsTrace.Q10359_SakumsTrace;
|
||||
import quests.Q10361_RolesOfTheSeeker.Q10361_RolesOfTheSeeker;
|
||||
import quests.Q10362_CertificationOfTheSeeker.Q10362_CertificationOfTheSeeker;
|
||||
import quests.Q10363_RequestOfTheSeeker.Q10363_RequestOfTheSeeker;
|
||||
import quests.Q10364_ObligationsOfTheSeeker.Q10364_ObligationsOfTheSeeker;
|
||||
import quests.Q10365_SeekerEscort.Q10365_SeekerEscort;
|
||||
import quests.Q10368_RebellionOfMonsters.Q10368_RebellionOfMonsters;
|
||||
import quests.Q10390_KekropusLetter.Q10390_KekropusLetter;
|
||||
@ -434,6 +435,7 @@ public class QuestMasterHandler
|
||||
Q10361_RolesOfTheSeeker.class,
|
||||
Q10362_CertificationOfTheSeeker.class,
|
||||
Q10363_RequestOfTheSeeker.class,
|
||||
Q10364_ObligationsOfTheSeeker.class,
|
||||
Q10365_SeekerEscort.class,
|
||||
Q10368_RebellionOfMonsters.class,
|
||||
Q10390_KekropusLetter.class,
|
||||
|
Loading…
Reference in New Issue
Block a user