Merged with released L2J-Unity files.
This commit is contained in:
7
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-01.htm
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-01.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Eva's Knight Lionel Hunter:<br>
|
||||
Welcome. Thank you for coming despite the lack of an explanation.<br>
|
||||
I've been watching your growth by Eva's request. Now, I'll be teaching you the way you must go.<br>
|
||||
What do you think of the changes in the continent?<br>
|
||||
Would you like to hear about the changes taking place in the continent first?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10811_ExaltedOneWhoFacesTheLimit movieStart">"Yes, sure."</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-02.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-02.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Eva's Knight Lionel Hunter:<br>
|
||||
The gods are no longer protecting the Material Realm. Only Eva has been looking over us for this long.<br>
|
||||
But even Eva hasn't been listening to us as of late. I don't think she'll be able to help us any longer.<br>
|
||||
But if I tell you that we can keep improving without the help of the gods... Will you believe me?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10811_ExaltedOneWhoFacesTheLimit 33383-03.html">"What do you mean?"</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-03.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-03.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Eva's Knight Lionel Hunter:<br>
|
||||
The limit you've hit was overcome a long time ago. A few others and I have known this, but were disheartened that no one tried overcoming the limit.<br>
|
||||
You, who are a Noblesse, can overcome that status on your own. You can become <font color="LEVEL">Exalted</font>.<br>
|
||||
Do you trust my words?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10811_ExaltedOneWhoFacesTheLimit 33383-04.html">"Really?"</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-04.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-04.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Eva's Knight Lionel Hunter:<br>
|
||||
I was doubtful at first as well. How could we live without the protection of the gods?<br>
|
||||
But after I accepted the truth and looked back on myself, I started seeing something new. We had been ready to improve ourselves. The only thing holding us back was the memory of the limit set by the gods...<br>
|
||||
I'm sure now. And I can teach you how to get stronger without the help of the gods. Do you wish to know?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10811_ExaltedOneWhoFacesTheLimit 33383-05.html">"Enlighten me."</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-05.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-05.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Eva's Knight Lionel Hunter:<br>
|
||||
I'll be seeing whether you have what it takes to become stronger.<br>
|
||||
First, you must prove that you are capable of using <font color="LEVEL">16 Ability Points</font>. Learn a skill with Ability Points and prove your strength.<br>
|
||||
Then, pass the tests set by the following people and bring back certificates. The people who will test you are <font color="LEVEL">Verdure Elder Elikia</font> in <font color="LEVEL">Heine</font>, the <font color="LEVEL">Mysterious Butler</font>, <font color="LEVEL">Trader Galladucci</font> in the <font color="LEVEL">Town of Giran</font>, and <font color="LEVEL">Sir Eric Rodemai</font> in the <font color="LEVEL">Town of Aden</font>.<br>
|
||||
Go talk to them to find out what their tests are about. I'll be waiting for you to return with the certificates. If you forget who you must go to, refer to the guide I'll be giving you.
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-06.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-06.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Eva's Knight Lionel Hunter:<br>
|
||||
Still? I'll explain again, so remember it.<br>
|
||||
Use <font color="LEVEL">16 Ability Points</font> to learn a skill and prove your strength. After that, pass the tests of the following people and bring back their certificates.<br>
|
||||
The first people who will test you are <font color="LEVEL">Verdure Elder Elikia</font> in <font color="LEVEL">Heine</font>, the <font color="LEVEL">Mysterious Butler</font>, <font color="LEVEL">Trader Galladucci</font> in the <font color="LEVEL">Town of Giran</font>, and <font color="LEVEL">Sir Eric Rodemai</font> in the <font color="LEVEL">Town of Aden</font>.<br>
|
||||
Go talk to them to find out what their tests are about. I'll be waiting for you to return with the certificates.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-07.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-07.htm
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 Noblesse characters Lv. 99 or above can perform this quest.)
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-08.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-08.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Eva's Knight Lionel Hunter:<br>
|
||||
Have you completed all the tests?<br>
|
||||
I'm sure they weren't easy, but you did well in not giving up. You have all the certificates?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10811_ExaltedOneWhoFacesTheLimit 33383-09.html">"Yes, here."</Button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-09.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10811_ExaltedOneWhoFacesTheLimit/33383-09.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Eva's Knight Lionel Hunter:<br>
|
||||
Congratulations on passing the first test to overcome your limit. You still have a long way to go, so go rest for now.<br>
|
||||
I'll call you when you are ready to take the second test.
|
||||
</body></html>
|
@@ -0,0 +1,157 @@
|
||||
/*
|
||||
* 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.Q10811_ExaltedOneWhoFacesTheLimit;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.enums.Movie;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.events.EventType;
|
||||
import com.l2jmobius.gameserver.model.events.ListenerRegisterType;
|
||||
import com.l2jmobius.gameserver.model.events.annotations.RegisterEvent;
|
||||
import com.l2jmobius.gameserver.model.events.annotations.RegisterType;
|
||||
import com.l2jmobius.gameserver.model.events.impl.character.player.OnPlayerAbilityPointsChanged;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* Exalted, One Who Faces the Limit (10811)
|
||||
* @author Gladicek
|
||||
*/
|
||||
|
||||
public final class Q10811_ExaltedOneWhoFacesTheLimit extends Quest
|
||||
{
|
||||
// Npc
|
||||
private static final int LIONEL = 33907;
|
||||
// Items
|
||||
private static final int LIONEL_HUNTER_MISSING_LIST = 45627;
|
||||
private static final int ELIKIA_CERTIFICATE = 45623;
|
||||
private static final int MYSTERIOUS_BUTLER_CERTIFICATE = 45624;
|
||||
private static final int SIR_ERIC_RODEMAI_CERTIFICATE = 45626;
|
||||
private static final int GALLADUCI_RODEMAI_CERTIFICATE = 45625;
|
||||
private static final int SPELLBOOK_DIGNITY_OF_THE_EXALTED = 45922;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 99;
|
||||
|
||||
public Q10811_ExaltedOneWhoFacesTheLimit()
|
||||
{
|
||||
super(10811);
|
||||
addStartNpc(LIONEL);
|
||||
addTalkId(LIONEL);
|
||||
registerQuestItems(LIONEL_HUNTER_MISSING_LIST, ELIKIA_CERTIFICATE, MYSTERIOUS_BUTLER_CERTIFICATE, SIR_ERIC_RODEMAI_CERTIFICATE, GALLADUCI_RODEMAI_CERTIFICATE);
|
||||
}
|
||||
|
||||
@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 "33383-03.html":
|
||||
case "33383-04.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "movieStart":
|
||||
{
|
||||
qs.startQuest();
|
||||
playMovie(player, Movie.SC_HONORS);
|
||||
break;
|
||||
}
|
||||
case "33383-05.html":
|
||||
{
|
||||
qs.setCond(2);
|
||||
giveItems(player, LIONEL_HUNTER_MISSING_LIST, 1);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33383-09.html":
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
giveItems(player, SPELLBOOK_DIGNITY_OF_THE_EXALTED, 1);
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "SUBQUEST_FINISHED_NOTIFY":
|
||||
{
|
||||
if (hasQuestItems(player, ELIKIA_CERTIFICATE, MYSTERIOUS_BUTLER_CERTIFICATE, SIR_ERIC_RODEMAI_CERTIFICATE, GALLADUCI_RODEMAI_CERTIFICATE) && (player.getAbilityPointsUsed() >= Config.ABILITY_MAX_POINTS))
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getLevel() >= MIN_LEVEL) && player.isNoble() ? "33383-01.htm" : "33383-07.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "33383-02.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "33383-06.html";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "33383-08.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@RegisterEvent(EventType.ON_PLAYER_ABILITY_POINTS_CHANGED)
|
||||
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
||||
private void OnPlayerAbilityPointsChanged(OnPlayerAbilityPointsChanged event)
|
||||
{
|
||||
notifyEvent("SUBQUEST_FINISHED_NOTIFY", null, event.getActiveChar());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user