Placeholders and more work related to last Seven Sign quests.

This commit is contained in:
MobiusDev 2016-10-01 08:40:15 +00:00
parent 6866639b70
commit 7161a438e4
6 changed files with 203 additions and 24 deletions

View File

@ -12,27 +12,59 @@
</exit>
</locations>
<doorlist>
<door id="21100001" /><!-- opened="true"-->
<door id="21100002" /><!-- opened="true"-->
<door id="21100003" /><!-- opened="true"-->
<door id="21100004" /><!-- opened="true"-->
<door id="21100005" /><!-- opened="true"-->
<door id="21100006" /><!-- opened="true"-->
<door id="21100007" /><!-- opened="true"-->
<door id="21100008" /><!-- opened="true"-->
<door id="21100009" /><!-- opened="true"-->
<door id="21100010" /><!-- opened="true"-->
<door id="21100011" /><!-- opened="true"-->
<door id="21100012" /><!-- opened="true"-->
<door id="21100013" /><!-- opened="true"-->
<door id="21100014" /><!-- opened="true"-->
<door id="21100015" /><!-- opened="true"-->
<door id="21100016" /><!-- opened="true"-->
<door id="21100018" /><!-- opened="false"-->
<door id="21100101" /><!-- opened="false"-->
<door id="21100102" /><!-- opened="false"-->
<door id="21100103" /><!-- opened="false"-->
<door id="21100104" /><!-- opened="false"-->
<door id="21100001">
<openStatus default="open" />
</door>
<door id="21100002">
<openStatus default="open" />
</door>
<door id="21100003">
<openStatus default="open" />
</door>
<door id="21100004">
<openStatus default="open" />
</door>
<door id="21100005">
<openStatus default="open" />
</door>
<door id="21100006">
<openStatus default="open" />
</door>
<door id="21100007">
<openStatus default="open" />
</door>
<door id="21100008">
<openStatus default="open" />
</door>
<door id="21100009">
<openStatus default="open" />
</door>
<door id="21100010">
<openStatus default="open" />
</door>
<door id="21100011">
<openStatus default="open" />
</door>
<door id="21100012">
<openStatus default="open" />
</door>
<door id="21100013">
<openStatus default="open" />
</door>
<door id="21100014">
<openStatus default="open" />
</door>
<door id="21100015">
<openStatus default="open" />
</door>
<door id="21100016">
<openStatus default="open" />
</door>
<door id="21100018" />
<door id="21100101" />
<door id="21100102" />
<door id="21100103" />
<door id="21100104" />
</doorlist>
<spawnlist>
<group>

View File

@ -24,6 +24,7 @@ import instances.AbstractInstance;
import quests.Q10292_SevenSignsGirlOfDoubt.Q10292_SevenSignsGirlOfDoubt;
import quests.Q10293_SevenSignsForbiddenBookOfTheElmoreAdenKingdom.Q10293_SevenSignsForbiddenBookOfTheElmoreAdenKingdom;
import quests.Q10294_SevenSignsToTheMonasteryOfSilence.Q10294_SevenSignsToTheMonasteryOfSilence;
import quests.Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal.Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal;
/**
* Elcadia's Tent instance zone.
@ -52,10 +53,12 @@ public final class ElcadiasTent extends AbstractInstance
final QuestState GirlOfDoubt = talker.getQuestState(Q10292_SevenSignsGirlOfDoubt.class.getSimpleName());
final QuestState ForbiddenBook = talker.getQuestState(Q10293_SevenSignsForbiddenBookOfTheElmoreAdenKingdom.class.getSimpleName());
final QuestState Monastery = talker.getQuestState(Q10294_SevenSignsToTheMonasteryOfSilence.class.getSimpleName());
final QuestState PowerOfSeal = talker.getQuestState(Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal.class.getSimpleName());
if (((GirlOfDoubt != null) && GirlOfDoubt.isStarted()) //
|| ((GirlOfDoubt != null) && GirlOfDoubt.isCompleted() && (ForbiddenBook == null)) //
|| ((ForbiddenBook != null) && ForbiddenBook.isStarted()) //
|| ((ForbiddenBook != null) && ForbiddenBook.isCompleted() && (Monastery == null)))
|| ((ForbiddenBook != null) && ForbiddenBook.isCompleted() && (Monastery == null)) //
|| ((PowerOfSeal != null) && PowerOfSeal.isStarted()))
{
enterInstance(talker, npc, TEMPLATE_ID);
}

View File

@ -60,8 +60,6 @@
833 Devil's Treasure, Tauti
834 Against Dragonclaw
835 Pitiable Melisa
10295 Seven Signs, Solina's Tomb
10296 Seven Signs, One Who Seeks the Power of the Seal
10303 Crossroads between Light and Darkness
10304 For the Forgotten Heroes
10307 The Corrupted Leader: His Truth

View File

@ -0,0 +1,71 @@
/*
* 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.Q10295_SevenSignsSolinasTomb;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
import com.l2jmobius.gameserver.model.quest.QuestState;
/**
* Seven Signs, Solina's Tomb (10295)
* @URL https://l2wiki.com/Seven_Signs,_Solina%27s_Tomb
* @author Mobius
*/
public final class Q10295_SevenSignsSolinasTomb extends Quest
{
// NPCs
private static final int ERIS_EVIL_THOUGHTS = 32792;
// Misc
// private static final int MIN_LEVEL = 81;
public Q10295_SevenSignsSolinasTomb()
{
super(10295);
addStartNpc(ERIS_EVIL_THOUGHTS);
addTalkId(ERIS_EVIL_THOUGHTS);
}
@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)
{
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
// QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
switch (npc.getId())
{
}
return htmltext;
}
}

View File

@ -0,0 +1,71 @@
/*
* 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.Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
import com.l2jmobius.gameserver.model.quest.QuestState;
/**
* Seven Signs, One Who Seeks the Power of the Seal (10296)
* @URL https://l2wiki.com/Seven_Signs,_One_Who_Seeks_the_Power_of_the_Seal
* @author Mobius
*/
public final class Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal extends Quest
{
// NPCs
private static final int ERIS_EVIL_THOUGHTS = 32792;
// Misc
// private static final int MIN_LEVEL = 81;
public Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal()
{
super(10296);
addStartNpc(ERIS_EVIL_THOUGHTS);
addTalkId(ERIS_EVIL_THOUGHTS);
}
@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)
{
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
// QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
switch (npc.getId())
{
}
return htmltext;
}
}

View File

@ -209,6 +209,8 @@ import quests.Q10291_FireDragonDestroyer.Q10291_FireDragonDestroyer;
import quests.Q10292_SevenSignsGirlOfDoubt.Q10292_SevenSignsGirlOfDoubt;
import quests.Q10293_SevenSignsForbiddenBookOfTheElmoreAdenKingdom.Q10293_SevenSignsForbiddenBookOfTheElmoreAdenKingdom;
import quests.Q10294_SevenSignsToTheMonasteryOfSilence.Q10294_SevenSignsToTheMonasteryOfSilence;
import quests.Q10295_SevenSignsSolinasTomb.Q10295_SevenSignsSolinasTomb;
import quests.Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal.Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal;
import quests.Q10297_GrandOpeningComeToOurPub.Q10297_GrandOpeningComeToOurPub;
import quests.Q10301_ShadowOfTerrorBlackishRedFog.Q10301_ShadowOfTerrorBlackishRedFog;
import quests.Q10302_UnsettlingShadowAndRumors.Q10302_UnsettlingShadowAndRumors;
@ -602,6 +604,8 @@ public class QuestMasterHandler
Q10292_SevenSignsGirlOfDoubt.class,
Q10293_SevenSignsForbiddenBookOfTheElmoreAdenKingdom.class,
Q10294_SevenSignsToTheMonasteryOfSilence.class,
Q10295_SevenSignsSolinasTomb.class,
Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal.class,
Q10297_GrandOpeningComeToOurPub.class,
Q10301_ShadowOfTerrorBlackishRedFog.class,
Q10302_UnsettlingShadowAndRumors.class,