Some quest additions.

Contributed by hlwrave.
This commit is contained in:
MobiusDev
2016-02-11 22:55:43 +00:00
parent 9239dbfd4f
commit e78681a002
76 changed files with 1334 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
<html><body>Fioren:<br>
The danger posed by Shilen, gradually approaching. If the Queen of Death wake up, I can not imagine to what tip the chaos of this world. And the stronger the influence of Shilen, the stronger her children, dragons. Amid the chaos, the Crystal Maze began to appear powerful demons. I do not know what they are woven intrigue, but there is no reason to doubt that they need to stop.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00180_InfernalFlamesBurningInCrystalPrison 33044-04.htm">Ask about Demons</button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Fioren:<br>
The world is caught up in evil and cruelty. We have to constantly train and temper ourselves to survive. I see you are still not ready to fully prepared to meet whatever fate has prepared for you.<br>
(This quest is available after the 97th level.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Fioren:<br>
We must guard against not only the Goddess of Death. Also represent a threat to "Children of Shilen" and the hordes of demons from hell present themselves here. Need your help is growing. Please do not forget about the development and cultivation.<br>
(Quest is completed.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Fioren:<br>
The Crystal Maze is a kind of prison for those who came not to the liking of Fafurionu. There were these poor horrible torture. However, as we know, has long been Fafurion escaped from these places. Now, Maze became a haven for demons, which has caused Belef. Some of these demons, by the way, supports Shilen in its desire to destroy the world.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00180_InfernalFlamesBurningInCrystalPrison 33044-05.htm">Listen more</button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Fioren:<br>
Now Crystal Caverns is in the hands caused by demons and Belefom Baylor, who directs. I think they're trying to get by with Fafuriona Fanariona Gems, located in the depths of the Crystal Caverns. And demons and minions Shilen represent a huge threat to us, but if they can awaken Fanarion ... Oh, with this disaster, I think we will not cope. We must stop as soon as Baylor and his demons. Please help me.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00180_InfernalFlamesBurningInCrystalPrison 33044-06.html">Agree</button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Fioren:<br>
I ask you to liquidate the Guardian Baylor, located in the depth of the Crystal Caverns, and then bring it to me signs. We will be able to release Parnas from the influence of demons only if the conduct of these signs cleansing ritual. Know the demon Baylor - not a weak opponent, so bring on the battle with him as much as possible allies.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Fioren:<br>
I ask you to liquidate the Guardian Baylor, located in the depth of the Crystal Caverns, and then bring it to me signs. We will be able to release Parnas from the influence of demons only if the conduct of these signs cleansing ritual. Know the demon Baylor - not a weak opponent, so bring on the battle with him as much as possible allies.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Fioren:<br>
So, you came, killing Baylor, along with his henchmen. This is good. Now we clean up Parnassus, having brought by ritual on your characters. We mzgonim of these places are evil spirits and demons.<br>
For his feats you deserve a reward. Here, take God be with you the blessing of Eve...
</body></html>

View File

@@ -0,0 +1,122 @@
/*
* 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.Q00180_InfernalFlamesBurningInCrystalPrison;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.enums.QuestType;
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;
import com.l2jmobius.gameserver.util.Util;
/**
* @author hlwrave
* @URL https://l2wiki.com/Infernal_Flames_Burning_in_Crystal_Prison
*/
public class Q00180_InfernalFlamesBurningInCrystalPrison extends Quest
{
// Npc
public static final int FIOREN = 33044;
// Monster
public static final int BAYLOR = 29213;
// Misc
public static final int MIN_LEVEL = 97;
// Quest Item
private static final int BELETH_MARK = 17591;
// Item
private static final int ENCHANT_SROLL_R = 22428;
public Q00180_InfernalFlamesBurningInCrystalPrison()
{
super(180, Q00180_InfernalFlamesBurningInCrystalPrison.class.getSimpleName(), "Infernal Flames Burning In Crystal Prison");
addStartNpc(FIOREN);
addTalkId(FIOREN);
registerQuestItems(BELETH_MARK);
addKillId(BAYLOR);
addCondMinLevel(MIN_LEVEL, "33044-02.html");
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = event;
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return getNoQuestMsg(player);
}
if ("33044-06.html".equals(event))
{
qs.startQuest();
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
if (qs.isCreated())
{
htmltext = "33044-01.htm";
}
else if (qs.isStarted())
{
if (qs.isCond(1))
{
htmltext = "33044-07.html";
}
else if (qs.isCond(2))
{
takeItems(player, BELETH_MARK, -1);
giveItems(player, ENCHANT_SROLL_R, 1);
addExpAndSp(player, 14000000, 6400000);
qs.exitQuest(QuestType.ONE_TIME, true);
htmltext = "33044-08.html";
}
}
else if (qs.isCompleted())
{
htmltext = "33044-03.html";
}
return htmltext;
}
@Override
public void actionForEachPlayer(L2PcInstance player, L2Npc npc, boolean isSummon)
{
final QuestState qs = getQuestState(player, false);
if ((qs != null) && Util.checkIfInRange(1500, npc, player, false))
{
giveItems(player, BELETH_MARK, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
qs.setCond(2, true);
}
}
@Override
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
{
executeForEachPlayer(killer, npc, isSummon, true, false);
return super.onKill(npc, killer, isSummon);
}
}