Addition of quest 10567.

Contributed by Dmitri.
This commit is contained in:
MobiusDevelopment 2020-03-09 16:18:53 +00:00
parent 2037ee3375
commit 92f7d41e1b
100 changed files with 1244 additions and 156 deletions

View File

@ -135,7 +135,6 @@
10563 Control of Power
10564 Prove Progress
10565 Nothing Is Impossible
10567 Special Mission: Nornil's Garden
10570 Hurrah for Kamael's Independence
10572 To Expel the Embryo's Forces
10574 Special Mission: Fortuna

View File

@ -0,0 +1,4 @@
<html><body>Tapoy:<br>
Hello guest, we are very glad to see you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 30499-02.html">"How do I go to the Altar of Evil?"</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Tapoy:<br>
You are a very strong hunter. I look. Yours is not at the legendary level. I've very often been sent to my aid such a fighter.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 30499-03.html">"What's that?"</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Tapoy:<br>
Head Blacksmith Tapoy needs your help with a quest. The necessary quest: Mysterious Journey.<br>
complete the quest <font color="LEVEL">Mysterious Journey</font> and come back to me.<br>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Tapoy:<br>
you are simply inimitable, as always. You easily completed the task.<br>
now go to Hesed. Hesed wants you to complete his task so you could complete the quest of Adventure Guild later. The necessary quest: <font color="LEVEL">Soulless One</font>.<br>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Heset:<br>
I asked the Adventure Guild to send an adventurer but didn't expect they would send you. I'd like to see how good you are.<br>
<font color="LEVEL">(To do "Special Mission: Nornil's Garden" you must do "Soulless One" through Hesed.)</font>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 33780-02.html">"Go on."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Heset:<br>
You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?<br>
Don't tell me you're going to walk all the way up there. I know a better way.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 33780-03.html">"Go on."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Heset:<br>
When setting out for a joumey, veteran adventurers always pack <font color="LEVEL">Scrolls of Escape</font>, it teleports the user immediately to the closest village or to the check point.<br>
If you have these useful items, you can move easily after hunting or when you are far away from the village. Since you've been a great help to me, I'll give you the scroll that can teleport you directly to the Town of Aden.
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Heset:<br>
You can use the scroll now or later. Just don't forget to <font color="LEVEL">pack enough Scrolls of Escape once you retum to town</font>.<br>
You can easily buy Scrolls of Escape at stores. Be safe until we meet again.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 33780-05.html">"Go on."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Heset:<br>
You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?<br>
Don't tell me you're going to walk all the way up there. I know a better way.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden usescroll">"Go on Aden."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Truth Seeker Devianne:<br>
In order to take on this mission, you must first build more trust with us.<br>
<font color="LEVEL">(Only characters with faction level 5 or above with the Blackbird Clan may undertake this quest.)</font><br>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-02.htm">"Sure, no problem!"</button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Herphah wants you to do some missions, and I'll chose an appropriate mission depending on your relationship with us at the Adventure Guild.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-03.htm">"Go on."</button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Your mission is to assist with the task at the Gludin. If successful, our Adventure Guild will give you additional rewards on top of the mission payment and your relationship with our faction will grow even stronger.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-04.htm">"Alright."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Adventure Guildsman Penny:<br>
You've already leamed everything you need to know about the mission. By that I mean, how to go to the Gludin. You should be able to start the mission right away without further explanation.<br>
If you anive successfully, meet the black wizard, Head Blacksmith Tapoy, and ask about the mission.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-05.html">"Receive the mission."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Good choice. Now, go to <font color="LEVEL">Head Blacksmith Tapoy</font> at the <font color="LEVEL">Gludin</font> and do the mission that she gives you. When the mission is done, come back to me.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-06.html">"Yes, I did."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
You must complete the task and return to us. And then we will give you gifts.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-07.html">"Yes, I did."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
then if you have reached level 93, listen carefully to what you need to do.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-08.html">"Yes, I did."</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Adventure Guildsman Penny:<br>
To do the mission, you have to go to <font color="LEVEL">Head Blacksmith Tapoy</font> at the <font color="LEVEL">Gludin</font>. Do the mission that Lapathia gives. Then, come back to me. <br>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Welcome back! So, did you do a good job?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-10.html">"Yes, I did."</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Adventure Guildsman Penny:<br>
Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!
</body></html>

View File

@ -0,0 +1,222 @@
/*
* 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.Q10567_SpecialMissionNornilsGarden;
import org.l2jmobius.gameserver.enums.Faction;
import org.l2jmobius.gameserver.model.Location;
import org.l2jmobius.gameserver.model.actor.Npc;
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.model.quest.Quest;
import org.l2jmobius.gameserver.model.quest.QuestState;
import org.l2jmobius.gameserver.model.quest.State;
/**
* Special Mission: Nornil's Cave (568)
* @URL https://l2wiki.com/Special_Mission:_Nornil%27s_Cave
* @author Dmitri
*/
public class Q10567_SpecialMissionNornilsGarden extends Quest
{
// NPCs
private static final int PENNY = 34413;
private static final int HESET = 33780;
private static final int TAPOY = 30499;
// Rewards
private static final int SCROLL_OF_ESCAPE_NORNIL_CAVE = 39503;
private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413;
// Misc
private static final int MIN_LEVEL = 93;
private static final int MAX_LEVEL = 96;
// Location
private static final Location TOWN_OF_ADEN = new Location(146632, 26760, -2213);
public Q10567_SpecialMissionNornilsGarden()
{
super(568);
addStartNpc(PENNY);
addTalkId(PENNY, HESET, TAPOY);
addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
addFactionLevel(Faction.ADVENTURE_GUILD, 5, "34413-00.htm");
}
@Override
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return null;
}
String htmltext = null;
switch (event)
{
case "34413-02.htm":
case "34413-03.htm":
case "34413-06.html":
case "34413-07.html":
case "30499-02.html":
case "33780-02.html":
{
htmltext = event;
break;
}
case "34413-04.htm":
{
qs.startQuest();
htmltext = event;
break;
}
case "34413-08.html": // PENNY
{
qs.setCond(2, true);
htmltext = event;
break;
}
case "30499-03.html": // TAPOY
{
qs.setCond(3, true);
htmltext = event;
break;
}
case "33780-03.html": // HESET
{
qs.setCond(5, true);
htmltext = event;
break;
}
case "33780-05.html": // HESET
{
giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1);
htmltext = event;
break;
}
case "usescroll":
{
// TODO: force player to use item SCROLL_OF_ESCAPE_TOWN_OF_ADEN
player.teleToLocation(TOWN_OF_ADEN); // Town of Aden near Npc Penny - temp solution
takeItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, -1); // remove SOE - temp solution
break;
}
case "34413-10.html":
{
// Rewards
giveItems(player, SCROLL_OF_ESCAPE_NORNIL_CAVE, 1);
addExpAndSp(player, 1193302530L, 1193280);
addFactionPoints(player, Faction.ADVENTURE_GUILD, 130); // add FP points to ADVENTURE_GUILD Faction
qs.exitQuest(false, true);
htmltext = event;
break;
}
}
return htmltext;
}
@Override
public String onTalk(Npc npc, PlayerInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
switch (qs.getState())
{
case State.CREATED:
{
if (npc.getId() == PENNY)
{
htmltext = "34413-01.htm";
}
break;
}
case State.STARTED:
{
switch (npc.getId())
{
case PENNY:
{
if (qs.getCond() == 1)
{
htmltext = "34413-05.html";
}
else if (qs.getCond() == 2)
{
htmltext = "34413-08.html";
}
else if (qs.getCond() == 6)
{
htmltext = "34413-09.html";
}
break;
}
case TAPOY:
{
if (qs.getCond() == 2)
{
htmltext = "30499-01.html";
}
else if (qs.getCond() == 3)
{
final QuestState st = player.getQuestState("Q10386_MysteriousJourney");
if ((st != null) && st.isCompleted())
{
qs.setCond(4, true);
htmltext = null;
}
else
{
htmltext = "30499-03.html";
}
}
else if (qs.getCond() == 4)
{
htmltext = "30499-04.html";
}
break;
}
case HESET:
{
if (qs.getCond() == 4)
{
htmltext = "33780-01.html";
}
else if (qs.getCond() == 5)
{
final QuestState st = player.getQuestState("Q10387_SoullessOne");
if ((st != null) && st.isCompleted())
{
qs.setCond(6, true);
htmltext = "33780-04.html";
}
else
{
htmltext = "33780-03.html";
}
}
break;
}
}
break;
}
case State.COMPLETED:
{
htmltext = getAlreadyCompletedMsg(player);
break;
}
}
return htmltext;
}
}

View File

@ -0,0 +1,4 @@
<html><body>Penny:<br>
I don't understand why someone like you is interested in this mission?<br>
(Only characters above Lv.93-96.)
</body></html>

View File

@ -398,6 +398,7 @@ import quests.Q10560_WayOfWanderingKnight.Q10560_WayOfWanderingKnight;
import quests.Q10561_AcrossTheDeathLine.Q10561_AcrossTheDeathLine;
import quests.Q10562_TakeUpArms.Q10562_TakeUpArms;
import quests.Q10566_BestChoice.Q10566_BestChoice;
import quests.Q10567_SpecialMissionNornilsGarden.Q10567_SpecialMissionNornilsGarden;
import quests.Q10568_KamaelsTechnologicalAdvancement.Q10568_KamaelsTechnologicalAdvancement;
import quests.Q10569_DeclarationOfWar.Q10569_DeclarationOfWar;
import quests.Q10571_StrategicReconciliation.Q10571_StrategicReconciliation;
@ -574,7 +575,6 @@ import quests.not_done.Q10559_BeforeTheGuide;
import quests.not_done.Q10563_ControlOfPower;
import quests.not_done.Q10564_ProveProgress;
import quests.not_done.Q10565_NothingIsImpossible;
import quests.not_done.Q10567_SpecialMissionNornilsGarden;
import quests.not_done.Q10570_HurrahForKamaelsIndependence;
import quests.not_done.Q10572_ToExpelTheEmbryosForces;
import quests.not_done.Q10574_SpecialMissionFortuna;
@ -1045,7 +1045,7 @@ public class QuestMasterHandler
Q10564_ProveProgress.class, // TODO: Not done.
Q10565_NothingIsImpossible.class, // TODO: Not done.
Q10566_BestChoice.class,
Q10567_SpecialMissionNornilsGarden.class, // TODO: Not done.
Q10567_SpecialMissionNornilsGarden.class,
Q10568_KamaelsTechnologicalAdvancement.class,
Q10569_DeclarationOfWar.class,
Q10570_HurrahForKamaelsIndependence.class, // TODO: Not done.

View File

@ -1,36 +0,0 @@
/*
* 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.not_done;
import org.l2jmobius.Config;
import org.l2jmobius.gameserver.model.quest.Quest;
/**
* @author Mobius
*/
public class Q10567_SpecialMissionNornilsGarden extends Quest
{
private static final int START_NPC = 34413;
public Q10567_SpecialMissionNornilsGarden()
{
super(10567);
addStartNpc(START_NPC);
addTalkId(START_NPC);
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
}
}

View File

@ -145,7 +145,6 @@
10563 Control of Power
10564 Prove Progress
10565 Nothing Is Impossible
10567 Special Mission: Nornil's Garden
10570 Hurrah for Kamael's Independence
10572 To Expel the Embryo's Forces
10574 Special Mission: Fortuna

View File

@ -0,0 +1,4 @@
<html><body>Tapoy:<br>
Hello guest, we are very glad to see you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 30499-02.html">"How do I go to the Altar of Evil?"</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Tapoy:<br>
You are a very strong hunter. I look. Yours is not at the legendary level. I've very often been sent to my aid such a fighter.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 30499-03.html">"What's that?"</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Tapoy:<br>
Head Blacksmith Tapoy needs your help with a quest. The necessary quest: Mysterious Journey.<br>
complete the quest <font color="LEVEL">Mysterious Journey</font> and come back to me.<br>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Tapoy:<br>
you are simply inimitable, as always. You easily completed the task.<br>
now go to Hesed. Hesed wants you to complete his task so you could complete the quest of Adventure Guild later. The necessary quest: <font color="LEVEL">Soulless One</font>.<br>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Heset:<br>
I asked the Adventure Guild to send an adventurer but didn't expect they would send you. I'd like to see how good you are.<br>
<font color="LEVEL">(To do "Special Mission: Nornil's Garden" you must do "Soulless One" through Hesed.)</font>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 33780-02.html">"Go on."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Heset:<br>
You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?<br>
Don't tell me you're going to walk all the way up there. I know a better way.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 33780-03.html">"Go on."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Heset:<br>
When setting out for a joumey, veteran adventurers always pack <font color="LEVEL">Scrolls of Escape</font>, it teleports the user immediately to the closest village or to the check point.<br>
If you have these useful items, you can move easily after hunting or when you are far away from the village. Since you've been a great help to me, I'll give you the scroll that can teleport you directly to the Town of Aden.
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Heset:<br>
You can use the scroll now or later. Just don't forget to <font color="LEVEL">pack enough Scrolls of Escape once you retum to town</font>.<br>
You can easily buy Scrolls of Escape at stores. Be safe until we meet again.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 33780-05.html">"Go on."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Heset:<br>
You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?<br>
Don't tell me you're going to walk all the way up there. I know a better way.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden usescroll">"Go on Aden."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Truth Seeker Devianne:<br>
In order to take on this mission, you must first build more trust with us.<br>
<font color="LEVEL">(Only characters with faction level 5 or above with the Blackbird Clan may undertake this quest.)</font><br>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-02.htm">"Sure, no problem!"</button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Herphah wants you to do some missions, and I'll chose an appropriate mission depending on your relationship with us at the Adventure Guild.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-03.htm">"Go on."</button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Your mission is to assist with the task at the Gludin. If successful, our Adventure Guild will give you additional rewards on top of the mission payment and your relationship with our faction will grow even stronger.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-04.htm">"Alright."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Adventure Guildsman Penny:<br>
You've already leamed everything you need to know about the mission. By that I mean, how to go to the Gludin. You should be able to start the mission right away without further explanation.<br>
If you anive successfully, meet the black wizard, Head Blacksmith Tapoy, and ask about the mission.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-05.html">"Receive the mission."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Good choice. Now, go to <font color="LEVEL">Head Blacksmith Tapoy</font> at the <font color="LEVEL">Gludin</font> and do the mission that she gives you. When the mission is done, come back to me.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-06.html">"Yes, I did."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
You must complete the task and return to us. And then we will give you gifts.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-07.html">"Yes, I did."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
then if you have reached level 93, listen carefully to what you need to do.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-08.html">"Yes, I did."</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Adventure Guildsman Penny:<br>
To do the mission, you have to go to <font color="LEVEL">Head Blacksmith Tapoy</font> at the <font color="LEVEL">Gludin</font>. Do the mission that Lapathia gives. Then, come back to me. <br>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Welcome back! So, did you do a good job?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-10.html">"Yes, I did."</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Adventure Guildsman Penny:<br>
Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!
</body></html>

View File

@ -0,0 +1,222 @@
/*
* 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.Q10567_SpecialMissionNornilsGarden;
import org.l2jmobius.gameserver.enums.Faction;
import org.l2jmobius.gameserver.model.Location;
import org.l2jmobius.gameserver.model.actor.Npc;
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.model.quest.Quest;
import org.l2jmobius.gameserver.model.quest.QuestState;
import org.l2jmobius.gameserver.model.quest.State;
/**
* Special Mission: Nornil's Cave (568)
* @URL https://l2wiki.com/Special_Mission:_Nornil%27s_Cave
* @author Dmitri
*/
public class Q10567_SpecialMissionNornilsGarden extends Quest
{
// NPCs
private static final int PENNY = 34413;
private static final int HESET = 33780;
private static final int TAPOY = 30499;
// Rewards
private static final int SCROLL_OF_ESCAPE_NORNIL_CAVE = 39503;
private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413;
// Misc
private static final int MIN_LEVEL = 93;
private static final int MAX_LEVEL = 96;
// Location
private static final Location TOWN_OF_ADEN = new Location(146632, 26760, -2213);
public Q10567_SpecialMissionNornilsGarden()
{
super(568);
addStartNpc(PENNY);
addTalkId(PENNY, HESET, TAPOY);
addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
addFactionLevel(Faction.ADVENTURE_GUILD, 5, "34413-00.htm");
}
@Override
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return null;
}
String htmltext = null;
switch (event)
{
case "34413-02.htm":
case "34413-03.htm":
case "34413-06.html":
case "34413-07.html":
case "30499-02.html":
case "33780-02.html":
{
htmltext = event;
break;
}
case "34413-04.htm":
{
qs.startQuest();
htmltext = event;
break;
}
case "34413-08.html": // PENNY
{
qs.setCond(2, true);
htmltext = event;
break;
}
case "30499-03.html": // TAPOY
{
qs.setCond(3, true);
htmltext = event;
break;
}
case "33780-03.html": // HESET
{
qs.setCond(5, true);
htmltext = event;
break;
}
case "33780-05.html": // HESET
{
giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1);
htmltext = event;
break;
}
case "usescroll":
{
// TODO: force player to use item SCROLL_OF_ESCAPE_TOWN_OF_ADEN
player.teleToLocation(TOWN_OF_ADEN); // Town of Aden near Npc Penny - temp solution
takeItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, -1); // remove SOE - temp solution
break;
}
case "34413-10.html":
{
// Rewards
giveItems(player, SCROLL_OF_ESCAPE_NORNIL_CAVE, 1);
addExpAndSp(player, 1193302530L, 1193280);
addFactionPoints(player, Faction.ADVENTURE_GUILD, 130); // add FP points to ADVENTURE_GUILD Faction
qs.exitQuest(false, true);
htmltext = event;
break;
}
}
return htmltext;
}
@Override
public String onTalk(Npc npc, PlayerInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
switch (qs.getState())
{
case State.CREATED:
{
if (npc.getId() == PENNY)
{
htmltext = "34413-01.htm";
}
break;
}
case State.STARTED:
{
switch (npc.getId())
{
case PENNY:
{
if (qs.getCond() == 1)
{
htmltext = "34413-05.html";
}
else if (qs.getCond() == 2)
{
htmltext = "34413-08.html";
}
else if (qs.getCond() == 6)
{
htmltext = "34413-09.html";
}
break;
}
case TAPOY:
{
if (qs.getCond() == 2)
{
htmltext = "30499-01.html";
}
else if (qs.getCond() == 3)
{
final QuestState st = player.getQuestState("Q10386_MysteriousJourney");
if ((st != null) && st.isCompleted())
{
qs.setCond(4, true);
htmltext = null;
}
else
{
htmltext = "30499-03.html";
}
}
else if (qs.getCond() == 4)
{
htmltext = "30499-04.html";
}
break;
}
case HESET:
{
if (qs.getCond() == 4)
{
htmltext = "33780-01.html";
}
else if (qs.getCond() == 5)
{
final QuestState st = player.getQuestState("Q10387_SoullessOne");
if ((st != null) && st.isCompleted())
{
qs.setCond(6, true);
htmltext = "33780-04.html";
}
else
{
htmltext = "33780-03.html";
}
}
break;
}
}
break;
}
case State.COMPLETED:
{
htmltext = getAlreadyCompletedMsg(player);
break;
}
}
return htmltext;
}
}

View File

@ -0,0 +1,4 @@
<html><body>Penny:<br>
I don't understand why someone like you is interested in this mission?<br>
(Only characters above Lv.93-96.)
</body></html>

View File

@ -356,6 +356,7 @@ import quests.Q10560_WayOfWanderingKnight.Q10560_WayOfWanderingKnight;
import quests.Q10561_AcrossTheDeathLine.Q10561_AcrossTheDeathLine;
import quests.Q10562_TakeUpArms.Q10562_TakeUpArms;
import quests.Q10566_BestChoice.Q10566_BestChoice;
import quests.Q10567_SpecialMissionNornilsGarden.Q10567_SpecialMissionNornilsGarden;
import quests.Q10568_KamaelsTechnologicalAdvancement.Q10568_KamaelsTechnologicalAdvancement;
import quests.Q10569_DeclarationOfWar.Q10569_DeclarationOfWar;
import quests.Q10571_StrategicReconciliation.Q10571_StrategicReconciliation;
@ -533,7 +534,6 @@ import quests.not_done.Q10559_BeforeTheGuide;
import quests.not_done.Q10563_ControlOfPower;
import quests.not_done.Q10564_ProveProgress;
import quests.not_done.Q10565_NothingIsImpossible;
import quests.not_done.Q10567_SpecialMissionNornilsGarden;
import quests.not_done.Q10570_HurrahForKamaelsIndependence;
import quests.not_done.Q10572_ToExpelTheEmbryosForces;
import quests.not_done.Q10574_SpecialMissionFortuna;
@ -971,7 +971,7 @@ public class QuestMasterHandler
Q10564_ProveProgress.class, // TODO: Not done.
Q10565_NothingIsImpossible.class, // TODO: Not done.
Q10566_BestChoice.class,
Q10567_SpecialMissionNornilsGarden.class, // TODO: Not done.
Q10567_SpecialMissionNornilsGarden.class,
Q10568_KamaelsTechnologicalAdvancement.class,
Q10569_DeclarationOfWar.class,
Q10570_HurrahForKamaelsIndependence.class, // TODO: Not done.

View File

@ -1,36 +0,0 @@
/*
* 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.not_done;
import org.l2jmobius.Config;
import org.l2jmobius.gameserver.model.quest.Quest;
/**
* @author Mobius
*/
public class Q10567_SpecialMissionNornilsGarden extends Quest
{
private static final int START_NPC = 34413;
public Q10567_SpecialMissionNornilsGarden()
{
super(10567);
addStartNpc(START_NPC);
addTalkId(START_NPC);
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
}
}

View File

@ -144,7 +144,6 @@
10563 Control of Power
10564 Prove Progress
10565 Nothing Is Impossible
10567 Special Mission: Nornil's Garden
10570 Hurrah for Kamael's Independence
10572 To Expel the Embryo's Forces
10577 Temper a Rusting Blade

View File

@ -0,0 +1,4 @@
<html><body>Tapoy:<br>
Hello guest, we are very glad to see you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 30499-02.html">"How do I go to the Altar of Evil?"</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Tapoy:<br>
You are a very strong hunter. I look. Yours is not at the legendary level. I've very often been sent to my aid such a fighter.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 30499-03.html">"What's that?"</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Tapoy:<br>
Head Blacksmith Tapoy needs your help with a quest. The necessary quest: Mysterious Journey.<br>
complete the quest <font color="LEVEL">Mysterious Journey</font> and come back to me.<br>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Tapoy:<br>
you are simply inimitable, as always. You easily completed the task.<br>
now go to Hesed. Hesed wants you to complete his task so you could complete the quest of Adventure Guild later. The necessary quest: <font color="LEVEL">Soulless One</font>.<br>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Heset:<br>
I asked the Adventure Guild to send an adventurer but didn't expect they would send you. I'd like to see how good you are.<br>
<font color="LEVEL">(To do "Special Mission: Nornil's Garden" you must do "Soulless One" through Hesed.)</font>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 33780-02.html">"Go on."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Heset:<br>
You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?<br>
Don't tell me you're going to walk all the way up there. I know a better way.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 33780-03.html">"Go on."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Heset:<br>
When setting out for a joumey, veteran adventurers always pack <font color="LEVEL">Scrolls of Escape</font>, it teleports the user immediately to the closest village or to the check point.<br>
If you have these useful items, you can move easily after hunting or when you are far away from the village. Since you've been a great help to me, I'll give you the scroll that can teleport you directly to the Town of Aden.
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Heset:<br>
You can use the scroll now or later. Just don't forget to <font color="LEVEL">pack enough Scrolls of Escape once you retum to town</font>.<br>
You can easily buy Scrolls of Escape at stores. Be safe until we meet again.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 33780-05.html">"Go on."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Heset:<br>
You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?<br>
Don't tell me you're going to walk all the way up there. I know a better way.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden usescroll">"Go on Aden."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Truth Seeker Devianne:<br>
In order to take on this mission, you must first build more trust with us.<br>
<font color="LEVEL">(Only characters with faction level 5 or above with the Blackbird Clan may undertake this quest.)</font><br>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-02.htm">"Sure, no problem!"</button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Herphah wants you to do some missions, and I'll chose an appropriate mission depending on your relationship with us at the Adventure Guild.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-03.htm">"Go on."</button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Your mission is to assist with the task at the Gludin. If successful, our Adventure Guild will give you additional rewards on top of the mission payment and your relationship with our faction will grow even stronger.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-04.htm">"Alright."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Adventure Guildsman Penny:<br>
You've already leamed everything you need to know about the mission. By that I mean, how to go to the Gludin. You should be able to start the mission right away without further explanation.<br>
If you anive successfully, meet the black wizard, Head Blacksmith Tapoy, and ask about the mission.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-05.html">"Receive the mission."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Good choice. Now, go to <font color="LEVEL">Head Blacksmith Tapoy</font> at the <font color="LEVEL">Gludin</font> and do the mission that she gives you. When the mission is done, come back to me.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-06.html">"Yes, I did."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
You must complete the task and return to us. And then we will give you gifts.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-07.html">"Yes, I did."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
then if you have reached level 93, listen carefully to what you need to do.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-08.html">"Yes, I did."</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Adventure Guildsman Penny:<br>
To do the mission, you have to go to <font color="LEVEL">Head Blacksmith Tapoy</font> at the <font color="LEVEL">Gludin</font>. Do the mission that Lapathia gives. Then, come back to me. <br>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Welcome back! So, did you do a good job?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-10.html">"Yes, I did."</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Adventure Guildsman Penny:<br>
Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!
</body></html>

View File

@ -0,0 +1,222 @@
/*
* 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.Q10567_SpecialMissionNornilsGarden;
import org.l2jmobius.gameserver.enums.Faction;
import org.l2jmobius.gameserver.model.Location;
import org.l2jmobius.gameserver.model.actor.Npc;
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.model.quest.Quest;
import org.l2jmobius.gameserver.model.quest.QuestState;
import org.l2jmobius.gameserver.model.quest.State;
/**
* Special Mission: Nornil's Cave (568)
* @URL https://l2wiki.com/Special_Mission:_Nornil%27s_Cave
* @author Dmitri
*/
public class Q10567_SpecialMissionNornilsGarden extends Quest
{
// NPCs
private static final int PENNY = 34413;
private static final int HESET = 33780;
private static final int TAPOY = 30499;
// Rewards
private static final int SCROLL_OF_ESCAPE_NORNIL_CAVE = 39503;
private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413;
// Misc
private static final int MIN_LEVEL = 93;
private static final int MAX_LEVEL = 96;
// Location
private static final Location TOWN_OF_ADEN = new Location(146632, 26760, -2213);
public Q10567_SpecialMissionNornilsGarden()
{
super(568);
addStartNpc(PENNY);
addTalkId(PENNY, HESET, TAPOY);
addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
addFactionLevel(Faction.ADVENTURE_GUILD, 5, "34413-00.htm");
}
@Override
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return null;
}
String htmltext = null;
switch (event)
{
case "34413-02.htm":
case "34413-03.htm":
case "34413-06.html":
case "34413-07.html":
case "30499-02.html":
case "33780-02.html":
{
htmltext = event;
break;
}
case "34413-04.htm":
{
qs.startQuest();
htmltext = event;
break;
}
case "34413-08.html": // PENNY
{
qs.setCond(2, true);
htmltext = event;
break;
}
case "30499-03.html": // TAPOY
{
qs.setCond(3, true);
htmltext = event;
break;
}
case "33780-03.html": // HESET
{
qs.setCond(5, true);
htmltext = event;
break;
}
case "33780-05.html": // HESET
{
giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1);
htmltext = event;
break;
}
case "usescroll":
{
// TODO: force player to use item SCROLL_OF_ESCAPE_TOWN_OF_ADEN
player.teleToLocation(TOWN_OF_ADEN); // Town of Aden near Npc Penny - temp solution
takeItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, -1); // remove SOE - temp solution
break;
}
case "34413-10.html":
{
// Rewards
giveItems(player, SCROLL_OF_ESCAPE_NORNIL_CAVE, 1);
addExpAndSp(player, 1193302530L, 1193280);
addFactionPoints(player, Faction.ADVENTURE_GUILD, 130); // add FP points to ADVENTURE_GUILD Faction
qs.exitQuest(false, true);
htmltext = event;
break;
}
}
return htmltext;
}
@Override
public String onTalk(Npc npc, PlayerInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
switch (qs.getState())
{
case State.CREATED:
{
if (npc.getId() == PENNY)
{
htmltext = "34413-01.htm";
}
break;
}
case State.STARTED:
{
switch (npc.getId())
{
case PENNY:
{
if (qs.getCond() == 1)
{
htmltext = "34413-05.html";
}
else if (qs.getCond() == 2)
{
htmltext = "34413-08.html";
}
else if (qs.getCond() == 6)
{
htmltext = "34413-09.html";
}
break;
}
case TAPOY:
{
if (qs.getCond() == 2)
{
htmltext = "30499-01.html";
}
else if (qs.getCond() == 3)
{
final QuestState st = player.getQuestState("Q10386_MysteriousJourney");
if ((st != null) && st.isCompleted())
{
qs.setCond(4, true);
htmltext = null;
}
else
{
htmltext = "30499-03.html";
}
}
else if (qs.getCond() == 4)
{
htmltext = "30499-04.html";
}
break;
}
case HESET:
{
if (qs.getCond() == 4)
{
htmltext = "33780-01.html";
}
else if (qs.getCond() == 5)
{
final QuestState st = player.getQuestState("Q10387_SoullessOne");
if ((st != null) && st.isCompleted())
{
qs.setCond(6, true);
htmltext = "33780-04.html";
}
else
{
htmltext = "33780-03.html";
}
}
break;
}
}
break;
}
case State.COMPLETED:
{
htmltext = getAlreadyCompletedMsg(player);
break;
}
}
return htmltext;
}
}

View File

@ -0,0 +1,4 @@
<html><body>Penny:<br>
I don't understand why someone like you is interested in this mission?<br>
(Only characters above Lv.93-96.)
</body></html>

View File

@ -361,6 +361,7 @@ import quests.Q10560_WayOfWanderingKnight.Q10560_WayOfWanderingKnight;
import quests.Q10561_AcrossTheDeathLine.Q10561_AcrossTheDeathLine;
import quests.Q10562_TakeUpArms.Q10562_TakeUpArms;
import quests.Q10566_BestChoice.Q10566_BestChoice;
import quests.Q10567_SpecialMissionNornilsGarden.Q10567_SpecialMissionNornilsGarden;
import quests.Q10568_KamaelsTechnologicalAdvancement.Q10568_KamaelsTechnologicalAdvancement;
import quests.Q10569_DeclarationOfWar.Q10569_DeclarationOfWar;
import quests.Q10571_StrategicReconciliation.Q10571_StrategicReconciliation;
@ -551,7 +552,6 @@ import quests.not_done.Q10559_BeforeTheGuide;
import quests.not_done.Q10563_ControlOfPower;
import quests.not_done.Q10564_ProveProgress;
import quests.not_done.Q10565_NothingIsImpossible;
import quests.not_done.Q10567_SpecialMissionNornilsGarden;
import quests.not_done.Q10570_HurrahForKamaelsIndependence;
import quests.not_done.Q10572_ToExpelTheEmbryosForces;
import quests.not_done.Q10580_SpecialMissionDefeatSpezion;
@ -1002,7 +1002,7 @@ public class QuestMasterHandler
Q10564_ProveProgress.class, // TODO: Not done.
Q10565_NothingIsImpossible.class, // TODO: Not done.
Q10566_BestChoice.class,
Q10567_SpecialMissionNornilsGarden.class, // TODO: Not done.
Q10567_SpecialMissionNornilsGarden.class,
Q10568_KamaelsTechnologicalAdvancement.class,
Q10569_DeclarationOfWar.class, // TODO: Not done.
Q10570_HurrahForKamaelsIndependence.class, // TODO: Not done.

View File

@ -1,36 +0,0 @@
/*
* 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.not_done;
import org.l2jmobius.Config;
import org.l2jmobius.gameserver.model.quest.Quest;
/**
* @author Mobius
*/
public class Q10567_SpecialMissionNornilsGarden extends Quest
{
private static final int START_NPC = 34413;
public Q10567_SpecialMissionNornilsGarden()
{
super(10567);
addStartNpc(START_NPC);
addTalkId(START_NPC);
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
}
}

View File

@ -140,7 +140,6 @@
10563 To Weaken the Giants
10564 Kamael's Technological Advancement
10565 Kamael's Technological Advancement
10567 Special Mission: Nornil's Garden
10570 Hurrah for Kamael's Independence
10572 To Expel the Embryo's Forces
10577 Temper a Rusting Blade

View File

@ -0,0 +1,4 @@
<html><body>Tapoy:<br>
Hello guest, we are very glad to see you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 30499-02.html">"How do I go to the Altar of Evil?"</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Tapoy:<br>
You are a very strong hunter. I look. Yours is not at the legendary level. I've very often been sent to my aid such a fighter.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 30499-03.html">"What's that?"</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Tapoy:<br>
Head Blacksmith Tapoy needs your help with a quest. The necessary quest: Mysterious Journey.<br>
complete the quest <font color="LEVEL">Mysterious Journey</font> and come back to me.<br>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Tapoy:<br>
you are simply inimitable, as always. You easily completed the task.<br>
now go to Hesed. Hesed wants you to complete his task so you could complete the quest of Adventure Guild later. The necessary quest: <font color="LEVEL">Soulless One</font>.<br>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Heset:<br>
I asked the Adventure Guild to send an adventurer but didn't expect they would send you. I'd like to see how good you are.<br>
<font color="LEVEL">(To do "Special Mission: Nornil's Garden" you must do "Soulless One" through Hesed.)</font>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 33780-02.html">"Go on."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Heset:<br>
You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?<br>
Don't tell me you're going to walk all the way up there. I know a better way.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 33780-03.html">"Go on."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Heset:<br>
When setting out for a joumey, veteran adventurers always pack <font color="LEVEL">Scrolls of Escape</font>, it teleports the user immediately to the closest village or to the check point.<br>
If you have these useful items, you can move easily after hunting or when you are far away from the village. Since you've been a great help to me, I'll give you the scroll that can teleport you directly to the Town of Aden.
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Heset:<br>
You can use the scroll now or later. Just don't forget to <font color="LEVEL">pack enough Scrolls of Escape once you retum to town</font>.<br>
You can easily buy Scrolls of Escape at stores. Be safe until we meet again.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 33780-05.html">"Go on."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Heset:<br>
You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?<br>
Don't tell me you're going to walk all the way up there. I know a better way.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden usescroll">"Go on Aden."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Truth Seeker Devianne:<br>
In order to take on this mission, you must first build more trust with us.<br>
<font color="LEVEL">(Only characters with faction level 5 or above with the Blackbird Clan may undertake this quest.)</font><br>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-02.htm">"Sure, no problem!"</button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Herphah wants you to do some missions, and I'll chose an appropriate mission depending on your relationship with us at the Adventure Guild.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-03.htm">"Go on."</button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Your mission is to assist with the task at the Gludin. If successful, our Adventure Guild will give you additional rewards on top of the mission payment and your relationship with our faction will grow even stronger.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-04.htm">"Alright."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Adventure Guildsman Penny:<br>
You've already leamed everything you need to know about the mission. By that I mean, how to go to the Gludin. You should be able to start the mission right away without further explanation.<br>
If you anive successfully, meet the black wizard, Head Blacksmith Tapoy, and ask about the mission.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-05.html">"Receive the mission."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Good choice. Now, go to <font color="LEVEL">Head Blacksmith Tapoy</font> at the <font color="LEVEL">Gludin</font> and do the mission that she gives you. When the mission is done, come back to me.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-06.html">"Yes, I did."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
You must complete the task and return to us. And then we will give you gifts.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-07.html">"Yes, I did."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
then if you have reached level 93, listen carefully to what you need to do.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-08.html">"Yes, I did."</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Adventure Guildsman Penny:<br>
To do the mission, you have to go to <font color="LEVEL">Head Blacksmith Tapoy</font> at the <font color="LEVEL">Gludin</font>. Do the mission that Lapathia gives. Then, come back to me. <br>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Adventure Guildsman Penny:<br>
Welcome back! So, did you do a good job?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10567_SpecialMissionNornilsGarden 34413-10.html">"Yes, I did."</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Adventure Guildsman Penny:<br>
Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!
</body></html>

View File

@ -0,0 +1,222 @@
/*
* 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.Q10567_SpecialMissionNornilsGarden;
import org.l2jmobius.gameserver.enums.Faction;
import org.l2jmobius.gameserver.model.Location;
import org.l2jmobius.gameserver.model.actor.Npc;
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.model.quest.Quest;
import org.l2jmobius.gameserver.model.quest.QuestState;
import org.l2jmobius.gameserver.model.quest.State;
/**
* Special Mission: Nornil's Cave (568)
* @URL https://l2wiki.com/Special_Mission:_Nornil%27s_Cave
* @author Dmitri
*/
public class Q10567_SpecialMissionNornilsGarden extends Quest
{
// NPCs
private static final int PENNY = 34413;
private static final int HESET = 33780;
private static final int TAPOY = 30499;
// Rewards
private static final int SCROLL_OF_ESCAPE_NORNIL_CAVE = 39503;
private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413;
// Misc
private static final int MIN_LEVEL = 93;
private static final int MAX_LEVEL = 96;
// Location
private static final Location TOWN_OF_ADEN = new Location(146632, 26760, -2213);
public Q10567_SpecialMissionNornilsGarden()
{
super(568);
addStartNpc(PENNY);
addTalkId(PENNY, HESET, TAPOY);
addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
addFactionLevel(Faction.ADVENTURE_GUILD, 5, "34413-00.htm");
}
@Override
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return null;
}
String htmltext = null;
switch (event)
{
case "34413-02.htm":
case "34413-03.htm":
case "34413-06.html":
case "34413-07.html":
case "30499-02.html":
case "33780-02.html":
{
htmltext = event;
break;
}
case "34413-04.htm":
{
qs.startQuest();
htmltext = event;
break;
}
case "34413-08.html": // PENNY
{
qs.setCond(2, true);
htmltext = event;
break;
}
case "30499-03.html": // TAPOY
{
qs.setCond(3, true);
htmltext = event;
break;
}
case "33780-03.html": // HESET
{
qs.setCond(5, true);
htmltext = event;
break;
}
case "33780-05.html": // HESET
{
giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1);
htmltext = event;
break;
}
case "usescroll":
{
// TODO: force player to use item SCROLL_OF_ESCAPE_TOWN_OF_ADEN
player.teleToLocation(TOWN_OF_ADEN); // Town of Aden near Npc Penny - temp solution
takeItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, -1); // remove SOE - temp solution
break;
}
case "34413-10.html":
{
// Rewards
giveItems(player, SCROLL_OF_ESCAPE_NORNIL_CAVE, 1);
addExpAndSp(player, 1193302530L, 1193280);
addFactionPoints(player, Faction.ADVENTURE_GUILD, 130); // add FP points to ADVENTURE_GUILD Faction
qs.exitQuest(false, true);
htmltext = event;
break;
}
}
return htmltext;
}
@Override
public String onTalk(Npc npc, PlayerInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
switch (qs.getState())
{
case State.CREATED:
{
if (npc.getId() == PENNY)
{
htmltext = "34413-01.htm";
}
break;
}
case State.STARTED:
{
switch (npc.getId())
{
case PENNY:
{
if (qs.getCond() == 1)
{
htmltext = "34413-05.html";
}
else if (qs.getCond() == 2)
{
htmltext = "34413-08.html";
}
else if (qs.getCond() == 6)
{
htmltext = "34413-09.html";
}
break;
}
case TAPOY:
{
if (qs.getCond() == 2)
{
htmltext = "30499-01.html";
}
else if (qs.getCond() == 3)
{
final QuestState st = player.getQuestState("Q10386_MysteriousJourney");
if ((st != null) && st.isCompleted())
{
qs.setCond(4, true);
htmltext = null;
}
else
{
htmltext = "30499-03.html";
}
}
else if (qs.getCond() == 4)
{
htmltext = "30499-04.html";
}
break;
}
case HESET:
{
if (qs.getCond() == 4)
{
htmltext = "33780-01.html";
}
else if (qs.getCond() == 5)
{
final QuestState st = player.getQuestState("Q10387_SoullessOne");
if ((st != null) && st.isCompleted())
{
qs.setCond(6, true);
htmltext = "33780-04.html";
}
else
{
htmltext = "33780-03.html";
}
}
break;
}
}
break;
}
case State.COMPLETED:
{
htmltext = getAlreadyCompletedMsg(player);
break;
}
}
return htmltext;
}
}

View File

@ -0,0 +1,4 @@
<html><body>Penny:<br>
I don't understand why someone like you is interested in this mission?<br>
(Only characters above Lv.93-96.)
</body></html>

View File

@ -164,6 +164,7 @@ import quests.Q10538_GiantsEvolution.Q10538_GiantsEvolution;
import quests.Q10539_EnergySupplyCutoffPlan.Q10539_EnergySupplyCutoffPlan;
import quests.Q10540_ThwartingMimirsPlan.Q10540_ThwartingMimirsPlan;
import quests.Q10566_BestChoice.Q10566_BestChoice;
import quests.Q10567_SpecialMissionNornilsGarden.Q10567_SpecialMissionNornilsGarden;
import quests.Q10568_KamaelsTechnologicalAdvancement.Q10568_KamaelsTechnologicalAdvancement;
import quests.Q10569_DeclarationOfWar.Q10569_DeclarationOfWar;
import quests.Q10571_StrategicReconciliation.Q10571_StrategicReconciliation;
@ -299,7 +300,6 @@ import quests.not_done.Q10457_KefensisIllusion;
import quests.not_done.Q10514_NewPathToGlory;
import quests.not_done.Q10515_NewWayForPride;
import quests.not_done.Q10535_BlacksmithsSoul3;
import quests.not_done.Q10567_SpecialMissionNornilsGarden;
import quests.not_done.Q10570_HurrahForKamaelsIndependence;
import quests.not_done.Q10572_ToExpelTheEmbryosForces;
import quests.not_done.Q10594_FergasonsScheme;
@ -534,7 +534,7 @@ public class QuestMasterHandler
Q10539_EnergySupplyCutoffPlan.class,
Q10540_ThwartingMimirsPlan.class,
Q10566_BestChoice.class,
Q10567_SpecialMissionNornilsGarden.class, // TODO: Not done.
Q10567_SpecialMissionNornilsGarden.class,
Q10568_KamaelsTechnologicalAdvancement.class,
Q10569_DeclarationOfWar.class,
Q10570_HurrahForKamaelsIndependence.class, // TODO: Not done.

View File

@ -1,36 +0,0 @@
/*
* 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.not_done;
import org.l2jmobius.Config;
import org.l2jmobius.gameserver.model.quest.Quest;
/**
* @author Mobius
*/
public class Q10567_SpecialMissionNornilsGarden extends Quest
{
private static final int START_NPC = 34413;
public Q10567_SpecialMissionNornilsGarden()
{
super(10567);
addStartNpc(START_NPC);
addTalkId(START_NPC);
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
}
}