Quest Reporting the status of Windmill Hill (10334).
Contributed by spider.
This commit is contained in:
4
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/30332-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/30332-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
What is it? Schunain sent you? Did something happen at Windmill Hill? I want a full report!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10334_ReportingTheStatusOfWindmillHill 30332-02.html">Describe what happened</Button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/30332-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/30332-02.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
Sakum was being resurrected by a mysterious organization? It's a shame the were all killed, because now we can't even figure out what they were up to.<br>
|
||||
Well, I suppose we should start on the clean-up.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10334_ReportingTheStatusOfWindmillHill 30332-03.html">"What will you do?"</Button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/30332-03.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/30332-03.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
Curses! That roving monster is rampaging through Gludio territory. We're going to have to take it down. Unfortunately we won't gain much from the task, but it's got to be done.<br>
|
||||
I've been told that it was spotted over near Windmill Hill, towards the Ruins of Despair. We're going to need to send soldiers to the ruins right away!<br>
|
||||
Anyways, thanks a lot. I'll let you know when I need your help again.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/30332-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/30332-04.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
You should move on. There so many more things you should do.<br>
|
||||
(You have already completed this quest.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/33508-01.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/33508-01.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Guard Schunain:<br>
|
||||
Well, that took care of the smaller monsters, but what should we do about Sakum? are you saying I should have caught him? Are you kidding me? You should have seen his eyes, like something from the depths of hell. I don't even want to think about it again... I'm...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10334_ReportingTheStatusOfWindmillHill 33508-02.htm">"No, nobody expects you to fight him."</Button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/33508-02.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/33508-02.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Guard Schunain:<br>
|
||||
Oh, great. Now I have some weakling kid heaping pity on me? Well, if you want to do something useful, you could go to the Town of Gludio to save me the trouble.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10334_ReportingTheStatusOfWindmillHill 33508-03.htm">"What do you need in Gludio?"</Button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/33508-03.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/33508-03.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Guard Schunain:<br>
|
||||
<font color="LEVEL">Run over to the center of Gludio Village</font> and tell <font color="LEVEL">Chief Bathis</font> that he needs to go after Sakum right away. He just passed Windmill Hill and is headed for the Ruins of Grief!<br>
|
||||
Use a <font color="LEVEL">Return Scroll</font> or the <font color="LEVEL">Teleporter</font> near entrance of the Windmill Hill. Scoot!
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/33508-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/33508-04.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Guard Schunain:<br>
|
||||
Oh, it's you! Please don't tell anyone how scared I got that one time.<br>
|
||||
(You have already completed this quest.)
|
||||
</body></html>
|
@ -0,0 +1,119 @@
|
||||
/*
|
||||
* 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.Q10334_ReportingTheStatusOfWindmillHill;
|
||||
|
||||
import quests.Q10333_DisappearedSakum.Q10333_DisappearedSakum;
|
||||
|
||||
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;
|
||||
|
||||
/**
|
||||
* Reporting the status of Windmill Hill (10334)
|
||||
* @author spider
|
||||
*/
|
||||
public class Q10334_ReportingTheStatusOfWindmillHill extends Quest
|
||||
{
|
||||
// Npcs
|
||||
private static final int SCHUNAIN = 33508;
|
||||
private static final int BATHIS = 30332;
|
||||
// Rewards
|
||||
private static final int ADENA_REWARD = 850;
|
||||
private static final int EXP_REWARD = 200000;
|
||||
private static final int SP_REWARD = 48;
|
||||
// Other
|
||||
private static final int MIN_LEVEL = 22;
|
||||
private static final int MAX_LEVEL = 40;
|
||||
|
||||
public Q10334_ReportingTheStatusOfWindmillHill()
|
||||
{
|
||||
super(10334, Q10334_ReportingTheStatusOfWindmillHill.class.getSimpleName(), "Reporting the status of Windmill Hill");
|
||||
addStartNpc(SCHUNAIN);
|
||||
addTalkId(SCHUNAIN, BATHIS);
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no_level.htm");
|
||||
addCondCompletedQuest(Q10333_DisappearedSakum.class.getSimpleName(), "no_prequest.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 "33508-03.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
qs.setCond(2); // arrow hack, required for that quest
|
||||
qs.setCond(1);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33508-02.htm":
|
||||
case "33508-04.html":
|
||||
case "30332-02.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30332-03.html":
|
||||
{
|
||||
giveAdena(player, ADENA_REWARD, true);
|
||||
addExpAndSp(player, EXP_REWARD, SP_REWARD);
|
||||
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() == SCHUNAIN ? "33508-01.htm" : getNoQuestMsg(player);
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
htmltext = npc.getId() == SCHUNAIN ? "33508-03.htm" : "30332-01.html";
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = npc.getId() == SCHUNAIN ? "33508-04.html" : "30332-04.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
3
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/no_level.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/no_level.htm
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>You don't meet level requirements<br>
|
||||
(Quest available from level 22 to level 40)
|
||||
</body></html>
|
2
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/no_prequest.htm
vendored
Normal file
2
trunk/dist/game/data/scripts/quests/Q10334_ReportingTheStatusOfWindmillHill/no_prequest.htm
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
<html><body>This quest may only be undertaken by characters who have cleared the quest "Disappeared Sakum".
|
||||
</body></html>
|
@ -197,6 +197,7 @@ import quests.Q10330_ToTheRuinsOfYeSagira.Q10330_ToTheRuinsOfYeSagira;
|
||||
import quests.Q10331_StartOfFate.Q10331_StartOfFate;
|
||||
import quests.Q10332_ToughRoad.Q10332_ToughRoad;
|
||||
import quests.Q10333_DisappearedSakum.Q10333_DisappearedSakum;
|
||||
import quests.Q10334_ReportingTheStatusOfWindmillHill.Q10334_ReportingTheStatusOfWindmillHill;
|
||||
import quests.Q10338_SeizeYourDestiny.Q10338_SeizeYourDestiny;
|
||||
import quests.Q10390_KekropusLetter.Q10390_KekropusLetter;
|
||||
import quests.Q10393_KekropusLetter_AClueCompleted.Q10393_KekropusLetter_AClueCompleted;
|
||||
@ -413,6 +414,7 @@ public class QuestMasterHandler
|
||||
Q10331_StartOfFate.class,
|
||||
Q10332_ToughRoad.class,
|
||||
Q10333_DisappearedSakum.class,
|
||||
Q10334_ReportingTheStatusOfWindmillHill.class,
|
||||
Q10338_SeizeYourDestiny.class,
|
||||
Q10390_KekropusLetter.class,
|
||||
Q10393_KekropusLetter_AClueCompleted.class,
|
||||
|
Reference in New Issue
Block a user