Addition of quests 10355, 10356, 10373 and 10535.
Contributed by Sero.
This commit is contained in:
@@ -49,7 +49,6 @@
|
||||
940 Hunter Guild Request - Atelia Fortress
|
||||
10298 Wasteland Queen
|
||||
10357 Altar of Blood that Awakens Destruction
|
||||
10373 Exploring the Dimension - Sealing the Dimension
|
||||
10396 Witch of Spores
|
||||
10506 Diana's Request
|
||||
10712 The Minstrel's Song, Part 1
|
||||
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Beola:<br>
|
||||
You have completed the quest.<br>
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Beola:<br>
|
||||
It's a fortunate thing that such a skilled adventurer as yourself has committed to making yourself available to the cause. Here is your mission.
|
||||
</body></html>
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Beloa:<br>
|
||||
You need 30 of the Renants of the Rift item in order to seal the Dimensional Rift..<br>
|
||||
Are you strong enough to collect 30 Remnant of the Rift for me?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10373_ExploringTheDimensionSealingTheDimension 34227-04.htm">"Yes I'm."</Button>
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Beola:<br>
|
||||
Not done yet.
|
||||
</body></html>
|
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* 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.Q10373_ExploringTheDimensionSealingTheDimension;
|
||||
|
||||
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;
|
||||
|
||||
/**
|
||||
* @author Sero
|
||||
*/
|
||||
public class Q10373_ExploringTheDimensionSealingTheDimension extends Quest
|
||||
{
|
||||
private static final int BELOA = 34227;
|
||||
private static final int RUNE_STONE = 39738;
|
||||
private static final int COMMANDO_BELT = 47044;
|
||||
private static final int REMNANT_OF_THE_RIFT = 46787;
|
||||
private static final int ZODIAC_AGATHION = 45577;
|
||||
private static final int MIN_LEVEL = 95;
|
||||
|
||||
public Q10373_ExploringTheDimensionSealingTheDimension()
|
||||
{
|
||||
super(10373);
|
||||
addStartNpc(BELOA);
|
||||
addTalkId(BELOA);
|
||||
addCondMinLevel(MIN_LEVEL, getNoQuestMsg(null));
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return getNoQuestMsg(player);
|
||||
}
|
||||
if (event.equals("34227-04.htm"))
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(Npc npc, PlayerInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
if (npc.getId() == BELOA)
|
||||
{
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = "34227-05.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
if (getQuestItemsCount(player, REMNANT_OF_THE_RIFT) >= 30)
|
||||
{
|
||||
takeItems(player, REMNANT_OF_THE_RIFT, -1);
|
||||
giveItems(player, COMMANDO_BELT, 1);
|
||||
giveItems(player, ZODIAC_AGATHION, 1);
|
||||
giveItems(player, RUNE_STONE, 1);
|
||||
addExpAndSp(player, 12113489880L, 12113460);
|
||||
qs.exitQuest(QuestType.ONE_TIME);
|
||||
htmltext = "30756-09.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "34227-05a.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
if (!qs.isNowAvailable())
|
||||
{
|
||||
htmltext = "34227-00a.htm";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
@@ -283,6 +283,7 @@ import quests.Q10369_NoblesseSoulTesting.Q10369_NoblesseSoulTesting;
|
||||
import quests.Q10370_MenacingTimes.Q10370_MenacingTimes;
|
||||
import quests.Q10371_GraspThyPower.Q10371_GraspThyPower;
|
||||
import quests.Q10372_PurgatoryVolvere.Q10372_PurgatoryVolvere;
|
||||
import quests.Q10373_ExploringTheDimensionSealingTheDimension.Q10373_ExploringTheDimensionSealingTheDimension;
|
||||
import quests.Q10374_ThatPlaceSuccubus.Q10374_ThatPlaceSuccubus;
|
||||
import quests.Q10375_SuccubusDisciples.Q10375_SuccubusDisciples;
|
||||
import quests.Q10376_BloodyGoodTime.Q10376_BloodyGoodTime;
|
||||
@@ -518,7 +519,6 @@ import quests.not_done.Q00929_SeekerRescue;
|
||||
import quests.not_done.Q00938_TheFishermansOtherHobby;
|
||||
import quests.not_done.Q10298_WastelandQueen;
|
||||
import quests.not_done.Q10357_AltarOfBloodThatAwakensDestruction;
|
||||
import quests.not_done.Q10373_ExploringTheDimensionSealingTheDimension;
|
||||
import quests.not_done.Q10396_WitchOfSpores;
|
||||
import quests.not_done.Q10506_DianasRequest;
|
||||
import quests.not_done.Q10748_MysteriousSuggestion1;
|
||||
@@ -835,7 +835,7 @@ public class QuestMasterHandler
|
||||
Q10370_MenacingTimes.class,
|
||||
Q10371_GraspThyPower.class,
|
||||
Q10372_PurgatoryVolvere.class,
|
||||
Q10373_ExploringTheDimensionSealingTheDimension.class, // TODO: Not done.
|
||||
Q10373_ExploringTheDimensionSealingTheDimension.class,
|
||||
Q10374_ThatPlaceSuccubus.class,
|
||||
Q10375_SuccubusDisciples.class,
|
||||
Q10376_BloodyGoodTime.class,
|
||||
|
@@ -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 Q10373_ExploringTheDimensionSealingTheDimension extends Quest
|
||||
{
|
||||
private static final int START_NPC = 34227;
|
||||
|
||||
public Q10373_ExploringTheDimensionSealingTheDimension()
|
||||
{
|
||||
super(10373);
|
||||
addStartNpc(START_NPC);
|
||||
addTalkId(START_NPC);
|
||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user