Addition of quests 569, 682, 10896, 10897 and 10898.
Contributed by Dmitri.
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
556 Red Libra Request - Fallen Emperor's Throne
|
||||
557 Red Libra Request - Fall of Etina
|
||||
568 Special Mission: Nornil's Cave
|
||||
569 Basic Mission: Seal of Shilen
|
||||
570 Special Mission: Kartia's Labyrinth (Party)
|
||||
571 Special Mission: Proof of Unity (Field Raid)
|
||||
572 Special Mission: Proof of Courage (Field Raid)
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<html><body>Gatekeeper Bella:<br>
|
||||
Do you have something else you need?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00569_BasicMissionSealOfShilen 33515-02.html">"How do I go to the Altar of Evil?"</Button>
|
||||
</body></html>
|
||||
@@ -0,0 +1,6 @@
|
||||
<html><body>Gatekeeper Bella:<br>
|
||||
Are you here on a mission from the Adventure Guild? I've seen many who are. If so, I'll explain the details.<br>
|
||||
You'll have to select <font color="LEVEL">Dark Elf Village</font> from the teleport link I give you and go there. The area for an active mission will appear <font color="LEVEL">at the top of the teleport list</font> so it won't be hard to find.<br>
|
||||
But you have to watch out for one thing.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00569_BasicMissionSealOfShilen 33515-03.html">"What's that?"</Button>
|
||||
</body></html>
|
||||
@@ -0,0 +1,4 @@
|
||||
<html><body>Gatekeeper Bella:<br>
|
||||
There's no Gatekeeper in the Dark Elf Village. In the past, there had been a Gatekeeper, however, now, due to a tragic accident, there is only a <font color="LEVEL">Teleport Device</font>.<br>
|
||||
Anyway, there's no other option. Go and check the missions.<br>
|
||||
</body></html>
|
||||
@@ -0,0 +1,4 @@
|
||||
<html><body>Gatekeeper Bella:<br>
|
||||
There's no Gatekeeper in the Dark Elf Village. In the past, there had been a Gatekeeper, however, now, due to a tragic accident, there is only a <font color="LEVEL">Teleport Device</font>.<br>
|
||||
Anyway, there's no other option. Go and check the missions.<br>
|
||||
</body></html>
|
||||
@@ -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>
|
||||
@@ -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 Q00569_BasicMissionSealOfShilen 34413-02.htm">"Sure, no problem!"</button>
|
||||
</body></html>
|
||||
@@ -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 Q00569_BasicMissionSealOfShilen 34413-03.htm">"Go on."</button>
|
||||
</body></html>
|
||||
@@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Your mission is to assist with the task at the Altar of Evil. 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 Q00569_BasicMissionSealOfShilen 34413-04.htm">"Alright."</Button>
|
||||
</body></html>
|
||||
@@ -0,0 +1,4 @@
|
||||
<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 Altar of Evil. You should be able to start the mission right away without further explanation.<br>
|
||||
But if you want to listen to the explanation again, I'd be happy to tell you.
|
||||
</body></html>
|
||||
@@ -0,0 +1,3 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Good choice. Now, go to <font color="LEVEL">Black Wizard Lapathia</font> at the <font color="LEVEL">Altar of Evil</font> and do the mission that she gives you. When the mission is done, come back to me.
|
||||
</body></html>
|
||||
@@ -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 Q00569_BasicMissionSealOfShilen 34413-07.html">"Yes, I did."</Button>
|
||||
</body></html>
|
||||
@@ -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>
|
||||
@@ -0,0 +1,176 @@
|
||||
/*
|
||||
* 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.Q00569_BasicMissionSealOfShilen;
|
||||
|
||||
import org.l2jmobius.gameserver.enums.Faction;
|
||||
import org.l2jmobius.gameserver.enums.QuestType;
|
||||
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;
|
||||
|
||||
/**
|
||||
* Basic Mission: Seal of Shilen (569)
|
||||
* @URL https://l2wiki.com/Basic_Mission:_Seal_of_Shilen
|
||||
* @author Dmitri
|
||||
*/
|
||||
public class Q00569_BasicMissionSealOfShilen extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int PENNY = 34413;
|
||||
private static final int GEORGIO = 33515;
|
||||
// Rewards
|
||||
private static final int SCROLL_OF_ESCAPE_SEAL_OF_SHILEN = 39504;
|
||||
private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 94;
|
||||
private static final int MAX_LEVEL = 96;
|
||||
|
||||
public Q00569_BasicMissionSealOfShilen()
|
||||
{
|
||||
super(569);
|
||||
addStartNpc(PENNY);
|
||||
addTalkId(PENNY, GEORGIO);
|
||||
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-10.html":
|
||||
case "33515-02.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34413-04.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33515-03.html":
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34413-07.html":
|
||||
{
|
||||
// Rewards
|
||||
giveItems(player, SCROLL_OF_ESCAPE_SEAL_OF_SHILEN, 1);
|
||||
addExpAndSp(player, 731563995, 731550);
|
||||
addFactionPoints(player, Faction.ADVENTURE_GUILD, 130); // add FP points to ADVENTURE_GUILD Faction
|
||||
qs.exitQuest(QuestType.DAILY, 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-04.htm";
|
||||
}
|
||||
else if (qs.getCond() == 2)
|
||||
{
|
||||
htmltext = "34413-05.html";
|
||||
}
|
||||
else if (qs.getCond() == 3)
|
||||
{
|
||||
htmltext = "34413-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case GEORGIO:
|
||||
{
|
||||
if (qs.getCond() == 1)
|
||||
{
|
||||
htmltext = "33515-01.html";
|
||||
}
|
||||
else if (qs.getCond() == 2)
|
||||
{
|
||||
final QuestState st = player.getQuestState("Q00493_KickingOutUnwelcomeGuests");
|
||||
if ((st != null) && st.isCompleted())
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1);
|
||||
htmltext = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33515-03.html";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
if (qs.isNowAvailable())
|
||||
{
|
||||
qs.setState(State.CREATED);
|
||||
htmltext = "34413-01.htm";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
||||
@@ -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.94-96.)
|
||||
</body></html>
|
||||
@@ -122,6 +122,7 @@ import quests.Q00564_BasicMissionKartiasLabyrinthSolo.Q00564_BasicMissionKartias
|
||||
import quests.Q00565_BasicMissionFairySettlementWest.Q00565_BasicMissionFairySettlementWest;
|
||||
import quests.Q00566_BasicMissionFairySettlementEast.Q00566_BasicMissionFairySettlementEast;
|
||||
import quests.Q00567_BasicMissionIsleOfSouls.Q00567_BasicMissionIsleOfSouls;
|
||||
import quests.Q00569_BasicMissionSealOfShilen.Q00569_BasicMissionSealOfShilen;
|
||||
import quests.Q00580_BeyondTheMemories.Q00580_BeyondTheMemories;
|
||||
import quests.Q00581_ThePurificationRitual.Q00581_ThePurificationRitual;
|
||||
import quests.Q00582_WashBloodWithBlood.Q00582_WashBloodWithBlood;
|
||||
@@ -569,7 +570,7 @@ public class QuestMasterHandler
|
||||
Q00566_BasicMissionFairySettlementEast.class,
|
||||
Q00567_BasicMissionIsleOfSouls.class,
|
||||
Q00568_SpecialMissionNornilsCave.class, // TODO: Not done.
|
||||
Q00569_BasicMissionSealOfShilen.class, // TODO: Not done.
|
||||
Q00569_BasicMissionSealOfShilen.class,
|
||||
Q00570_SpecialMissionKartiasLabyrinthParty.class, // TODO: Not done.
|
||||
Q00571_SpecialMissionProofOfUnityFieldRaid.class, // TODO: Not done.
|
||||
Q00572_SpecialMissionProofOfCourageFieldRaid.class, // TODO: Not done.
|
||||
|
||||
@@ -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 Q00569_BasicMissionSealOfShilen extends Quest
|
||||
{
|
||||
private static final int START_NPC = 34413;
|
||||
|
||||
public Q00569_BasicMissionSealOfShilen()
|
||||
{
|
||||
super(569);
|
||||
addStartNpc(START_NPC);
|
||||
addTalkId(START_NPC);
|
||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user