Quest Exalted, One Who Overcomes the Limit (10817).
This commit is contained in:
parent
28510f165c
commit
35b6e8110d
5
trunk/dist/game/data/scripts/quests/Q10817_ExaltedOneWhoOvercomesTheLimit/33907-01.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10817_ExaltedOneWhoOvercomesTheLimit/33907-01.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Eva's Knight Lionel Hunter:<br>
|
||||
You've done better than I expected on your first test. You've got what it takes to overcome the limit.<br>
|
||||
You are now ready to take the second test. Would you like to hear about it?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10817_ExaltedOneWhoOvercomesTheLimit 33907-03.htm">"I'm listening."</Button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10817_ExaltedOneWhoOvercomesTheLimit/33907-02.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10817_ExaltedOneWhoOvercomesTheLimit/33907-02.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Eva's Knight Lionel Hunter:<br>
|
||||
You are not ready to be called by me. Come back when you are ready.<br>
|
||||
(Only characters who have completed the Exalted, One Who Faces the Limit quest may take this quest.)
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10817_ExaltedOneWhoOvercomesTheLimit/33907-03.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10817_ExaltedOneWhoOvercomesTheLimit/33907-03.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Eva's Knight Lionel Hunter:<br>
|
||||
You may think that you can overcome your limit, but you've barely learned what that limit is.<br>
|
||||
In order to overcome that limit, you must go through more tests. Now that you are ready for the second test, would you like to hear about it?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10817_ExaltedOneWhoOvercomesTheLimit 33907-04.htm">"Yes, I'm ready."</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10817_ExaltedOneWhoOvercomesTheLimit/33907-04.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10817_ExaltedOneWhoOvercomesTheLimit/33907-04.htm
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Eva's Knight Lionel Hunter:<br>
|
||||
You should've had a taste of what those who overcome their limits will obtain. But that was just part of it. You've barely learned about the limit, and haven't been able to overcome it yet.<br>
|
||||
If you really want to overcome your limit, and are willing to work for it, I'll let you take the second test.<br>
|
||||
Are you ready?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10817_ExaltedOneWhoOvercomesTheLimit 33907-05.html">"Yes, I am."</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10817_ExaltedOneWhoOvercomesTheLimit/33907-05.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10817_ExaltedOneWhoOvercomesTheLimit/33907-05.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Eva's Knight Lionel Hunter:<br>
|
||||
I'll tell you about the second test.<br>
|
||||
First, you must reach <font color="LEVEL">Lv. 100</font>. You must truly overcome the limit that was set in the past. You must also pass the tests from the following people and receive their certificates.<br>
|
||||
The ones who will be testing you are <font color="LEVEL">Head Priest of the Earth Daichir</font> in the <font color="LEVEL">Town of Schuttgart</font>, the <font color="LEVEL">Olympiad Manager</font>, <font color="LEVEL">Maestro Ishuma</font> in the <font color="LEVEL">Wharf of Gludio Airships</font>, and <font color="LEVEL">Sir Kristof Rodemai</font> in the <font color="LEVEL">Town of Giran</font>. <br><br><br>Only they know what they'll test you on, so go talk to them.<br>
|
||||
If you forget who you must go to, refer to the guide I'll be giving you.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10817_ExaltedOneWhoOvercomesTheLimit/33907-06.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10817_ExaltedOneWhoOvercomesTheLimit/33907-06.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Eva's Knight Lionel Hunter:<br>
|
||||
It looks like you haven't passed all the tests. I'll tell you again, so remember it this time. First, you must reach <font color="LEVEL">Lv. 100</font>. You must truly overcome the limit that was set in the past. You must also pass the tests from the following people and receive their certificates.<br>
|
||||
The ones who will be testing you are <font color="LEVEL">Head Priest of the Earth Daichir</font> in the <font color="LEVEL">Town of Schuttgart</font>, the <font color="LEVEL">Olympiad Manager</font>, <font color="LEVEL">Maestro Ishuma</font> in the <font color="LEVEL">Wharf of Gludio Airships</font>, and <font color="LEVEL">Sir Kristof Rodemai</font> in the <font color="LEVEL">Town of Giran</font>.<br>
|
||||
Only they know what they'll test you on, so go talk to them.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10817_ExaltedOneWhoOvercomesTheLimit/33907-07.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10817_ExaltedOneWhoOvercomesTheLimit/33907-07.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Eva's Knight Lionel Hunter:<br>
|
||||
Have you completed all the tests?<br>
|
||||
Congratulations on passing them all. Did you bring back all the certificates?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10817_ExaltedOneWhoOvercomesTheLimit 33907-08.html">"Yes, here."</Button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10817_ExaltedOneWhoOvercomesTheLimit/33907-08.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10817_ExaltedOneWhoOvercomesTheLimit/33907-08.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Eva's Knight Lionel Hunter:<br>
|
||||
You are on track to overcoming your limit. Congratulations on passing the second test.<br>
|
||||
Don't get complacent, though. You'll soon be taking the third test, once you are ready for it.<br>
|
||||
I'll call you when you are ready.
|
||||
</body></html>
|
@ -0,0 +1,125 @@
|
||||
/*
|
||||
* 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.Q10817_ExaltedOneWhoOvercomesTheLimit;
|
||||
|
||||
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 quests.Q10811_ExaltedOneWhoFacesTheLimit.Q10811_ExaltedOneWhoFacesTheLimit;
|
||||
|
||||
/**
|
||||
* Exalted, One Who Overcomes the Limit (10817)
|
||||
* @author Mobius
|
||||
*/
|
||||
public final class Q10817_ExaltedOneWhoOvercomesTheLimit extends Quest
|
||||
{
|
||||
// NPC
|
||||
private static final int LIONEL = 33907;
|
||||
// Items
|
||||
private static final int DAICHIR_SERTIFICATE = 45628;
|
||||
private static final int OLYMPIAD_MANAGER_CERTIFICATE = 45629;
|
||||
private static final int ISHUMA_CERTIFICATE = 45630;
|
||||
private static final int SIR_KRISTOF_RODEMAI_CERTIFICATE = 45631;
|
||||
// Rewards
|
||||
private static final int SPELLBOOK_DIGNITY_OF_THE_EXALTED = 45923;
|
||||
private static final int SPELLBOOK_BELIEF_OF_THE_EXALTED = 45925;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 99;
|
||||
private static final int MIN_COMPLETE_LEVEL = 100;
|
||||
|
||||
public Q10817_ExaltedOneWhoOvercomesTheLimit()
|
||||
{
|
||||
super(10817);
|
||||
addStartNpc(LIONEL);
|
||||
addTalkId(LIONEL);
|
||||
addCondMinLevel(MIN_LEVEL, "33907-07.html");
|
||||
addCondCompletedQuest(Q10811_ExaltedOneWhoFacesTheLimit.class.getSimpleName(), "33907-02.html");
|
||||
registerQuestItems(DAICHIR_SERTIFICATE, OLYMPIAD_MANAGER_CERTIFICATE, ISHUMA_CERTIFICATE, SIR_KRISTOF_RODEMAI_CERTIFICATE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case "33907-03.htm":
|
||||
case "33907-04.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33907-05.html":
|
||||
{
|
||||
if (qs.isCreated())
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "33907-08.html":
|
||||
{
|
||||
if (hasQuestItems(player, DAICHIR_SERTIFICATE, OLYMPIAD_MANAGER_CERTIFICATE, ISHUMA_CERTIFICATE, SIR_KRISTOF_RODEMAI_CERTIFICATE) && (player.getLevel() >= MIN_COMPLETE_LEVEL))
|
||||
{
|
||||
giveItems(player, SPELLBOOK_DIGNITY_OF_THE_EXALTED, 1);
|
||||
giveItems(player, SPELLBOOK_BELIEF_OF_THE_EXALTED, 1);
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
if (qs == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
if (qs.isCreated())
|
||||
{
|
||||
htmltext = "33907-01.htm";
|
||||
}
|
||||
else if (qs.isStarted())
|
||||
{
|
||||
if (hasQuestItems(player, DAICHIR_SERTIFICATE, OLYMPIAD_MANAGER_CERTIFICATE, ISHUMA_CERTIFICATE, SIR_KRISTOF_RODEMAI_CERTIFICATE) && (player.getLevel() >= MIN_COMPLETE_LEVEL))
|
||||
{
|
||||
htmltext = "33907-07.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33907-06.html";
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
@ -353,6 +353,7 @@ import quests.Q10812_FacingSadness.Q10812_FacingSadness;
|
||||
import quests.Q10813_ForGlory.Q10813_ForGlory;
|
||||
import quests.Q10814_BefittingOfTheStatus.Q10814_BefittingOfTheStatus;
|
||||
import quests.Q10815_StepUp.Q10815_StepUp;
|
||||
import quests.Q10817_ExaltedOneWhoOvercomesTheLimit.Q10817_ExaltedOneWhoOvercomesTheLimit;
|
||||
|
||||
/**
|
||||
* @author NosBit
|
||||
@ -696,7 +697,8 @@ public class QuestMasterHandler
|
||||
Q10812_FacingSadness.class,
|
||||
Q10813_ForGlory.class,
|
||||
Q10814_BefittingOfTheStatus.class,
|
||||
Q10815_StepUp.class
|
||||
Q10815_StepUp.class,
|
||||
Q10817_ExaltedOneWhoOvercomesTheLimit.class
|
||||
};
|
||||
|
||||
public static void main(String[] args)
|
||||
|
Loading…
Reference in New Issue
Block a user