Fixed quest 585 bypasses and added quest 586.

Contributed by Dmitri.
This commit is contained in:
MobiusDevelopment
2020-03-15 12:41:39 +00:00
parent 4531b8962e
commit ebf567d6cc
64 changed files with 700 additions and 172 deletions

View File

@@ -1,6 +1,5 @@
504 Competition for the Bandit Stronghold
575 Special Mission: Fortuna
586 Mutated Creatures
655 A Grand Plan for Taming Wild Beasts
667 How to Cover Shilen's Eyes
676 Hunter Guild Request Wasteland West

View File

@@ -1,4 +1,4 @@
<html><body>Fairy Citizen:<br>
The bad news. We have mutating creatures. Well, maybe if you can prove your skills ...<br>
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10830_TheLostGardenOfSpirits 32921-02.htm">"Yes?"</Button>
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00585_CantGoAgainstTheTime 32921-02.htm">"Yes?"</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Fairy Citizen:<br>
Well, if you can prove your skills... It should be okay...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10830_TheLostGardenOfSpirits 32921-03.htm">"How can I prove my skills to you?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00585_CantGoAgainstTheTime 32921-03.htm">"How can I prove my skills to you?"</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Fairy Citizen:<br>
This is how you can prove your skills. Go to the <font color="LEVEL">Fairy Settlement</font>, kill the Traces of Mutation, and bring back some items. Will you do this mission?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10830_TheLostGardenOfSpirits 32921-04.htm">"Alright."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00585_CantGoAgainstTheTime 32921-04.htm">"Alright."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Fairy Citizen:<br>
Good to see you back safely. It looks like you've finished the mission. You must be a better warrior than I thought you were.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10830_TheLostGardenOfSpirits 32921-07.html">"Of course!"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00585_CantGoAgainstTheTime 32921-07.html">"Of course!"</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Nerupa:<br>
The bad news. We have mutating creatures. Well, maybe if you can prove your skills ...<br>
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00586_MutatedCreatures 30370-02.htm">"Yes?"</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Nerupa:<br>
Well, if you can prove your skills... It should be okay...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00586_MutatedCreatures 30370-03.htm">"How can I prove my skills to you?"</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Nerupa:<br>
This is how you can prove your skills. Go to the <font color="LEVEL">Fairy Settlement</font>, to destroy the Violent Cocoon Destroyer and obtain the Cocoon Destroyer Shell. She emphasized that it was necessary to destroy the Violent Cocoon Destroyers only in the eastern part of the Fairy Colony.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00586_MutatedCreatures 30370-04.htm">"Alright."</Button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Nerupa:<br>
Alright. Go to the <font color="LEVEL">Fairy Settlement</font>. Once there, defeat the <font color="LEVEL">Cocoon Destroyer (Violent)</font>, and bring back <font color="LEVEL">25 Cocoon Destroyer Shell</font>. We'll be using those items for research.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Nerupa:<br>
You are here to ask about the mission again, huh? Go to the <font color="LEVEL">Fairy Settlement</font>. Once there, defeat the <font color="LEVEL">Cocoon Destroyer (Violent)</font>, and bring back <font color="LEVEL">25 Cocoon Destroyer Shell</font>. We'll be using those items for research.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Nerupa:<br>
Good to see you back safely. It looks like you've finished the mission. You must be a better warrior than I thought you were.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00586_MutatedCreatures 30370-07.html">"Of course!"</Button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Nerupa:<br>
Alright. Here's your reward. I'll have to give this to Magister. As a warrior, there's only so much research I can do.
</body></html>

View File

@@ -0,0 +1,140 @@
/*
* 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.Q00586_MutatedCreatures;
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;
/**
* Mutated Creatures (586)
* @URL https://l2wiki.com/Mutated_Creatures
* @author Dmitri
*/
public class Q00586_MutatedCreatures extends Quest
{
// NPC
private static final int NERUPA = 30370;
// Monsters
private static final int COCOON_DESTROYER = 19294; // Cocoon Destroyer (Violent) 93
// Items
private static final int COCOON_DESTROYER_SHELL = 48382;
// Misc
private static final int MIN_LEVEL = 90;
private static final int MAX_LEVEL = 100;
public Q00586_MutatedCreatures()
{
super(586);
addStartNpc(NERUPA);
addTalkId(NERUPA);
addKillId(COCOON_DESTROYER);
registerQuestItems(COCOON_DESTROYER_SHELL);
addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
}
@Override
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
{
String htmltext = null;
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return htmltext;
}
switch (event)
{
case "30370-02.htm":
case "30370-03.htm":
{
htmltext = event;
break;
}
case "30370-04.htm":
{
qs.startQuest();
htmltext = event;
break;
}
case "30370-07.html":
{
giveAdena(player, 559020, true);
addExpAndSp(player, 646727130, 646710);
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:
{
htmltext = "30370-01.htm";
break;
}
case State.STARTED:
{
if (qs.isCond(1))
{
htmltext = "30370-05.html";
}
else
{
htmltext = "30370-06.html";
}
break;
}
case State.COMPLETED:
{
if (qs.isNowAvailable())
{
qs.setState(State.CREATED);
htmltext = "30370-01.htm";
}
else
{
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
}
break;
}
}
return htmltext;
}
@Override
public String onKill(Npc npc, PlayerInstance killer, boolean isSummon)
{
final QuestState qs = getQuestState(killer, false);
if ((qs != null) && qs.isCond(1) && giveItemRandomly(killer, npc, COCOON_DESTROYER_SHELL, 1, 25, 1, true))
{
qs.setCond(2, true);
}
return super.onKill(npc, killer, isSummon);
}
}

View File

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

View File

@@ -158,6 +158,7 @@ import quests.Q00582_WashBloodWithBlood.Q00582_WashBloodWithBlood;
import quests.Q00583_MeaningOfSurvival.Q00583_MeaningOfSurvival;
import quests.Q00584_NeverSayGoodBye.Q00584_NeverSayGoodBye;
import quests.Q00585_CantGoAgainstTheTime.Q00585_CantGoAgainstTheTime;
import quests.Q00586_MutatedCreatures.Q00586_MutatedCreatures;
import quests.Q00587_MoreAggressiveOperation.Q00587_MoreAggressiveOperation;
import quests.Q00588_HeadOnCrash.Q00588_HeadOnCrash;
import quests.Q00617_GatherTheFlames.Q00617_GatherTheFlames;
@@ -522,7 +523,6 @@ import quests.Q10856_SuperionAppears.Q10856_SuperionAppears;
import quests.Q10857_SecretTeleport.Q10857_SecretTeleport;
import quests.not_done.Q00504_CompetitionForTheBanditStronghold;
import quests.not_done.Q00575_SpecialMissionFortuna;
import quests.not_done.Q00586_MutatedCreatures;
import quests.not_done.Q00655_AGrandPlanForTamingWildBeasts;
import quests.not_done.Q00667_CoveringShilensEyes;
import quests.not_done.Q00744_TheAlligatorHunterReturns;
@@ -751,7 +751,7 @@ public class QuestMasterHandler
Q00583_MeaningOfSurvival.class, // TODO: Not done.
Q00584_NeverSayGoodBye.class, // TODO: Not done.
Q00585_CantGoAgainstTheTime.class,
Q00586_MutatedCreatures.class, // TODO: Not done.
Q00586_MutatedCreatures.class,
Q00587_MoreAggressiveOperation.class,
Q00588_HeadOnCrash.class,
Q00617_GatherTheFlames.class,

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 Q00586_MutatedCreatures extends Quest
{
private static final int START_NPC = 30370;
public Q00586_MutatedCreatures()
{
super(586);
addStartNpc(START_NPC);
addTalkId(START_NPC);
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
}
}

View File

@@ -5,7 +5,6 @@
556 Red Libra Request - Fallen Emperor's Throne
557 Red Libra Request - Fall of Etina
575 Special Mission: Fortuna
586 Mutated Creatures
591 Great Ambitions
599 Demons and Dimensional Energy
655 A Grand Plan for Taming Wild Beasts

View File

@@ -1,4 +1,4 @@
<html><body>Fairy Citizen:<br>
The bad news. We have mutating creatures. Well, maybe if you can prove your skills ...<br>
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10830_TheLostGardenOfSpirits 32921-02.htm">"Yes?"</Button>
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00585_CantGoAgainstTheTime 32921-02.htm">"Yes?"</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Fairy Citizen:<br>
Well, if you can prove your skills... It should be okay...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10830_TheLostGardenOfSpirits 32921-03.htm">"How can I prove my skills to you?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00585_CantGoAgainstTheTime 32921-03.htm">"How can I prove my skills to you?"</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Fairy Citizen:<br>
This is how you can prove your skills. Go to the <font color="LEVEL">Fairy Settlement</font>, kill the Traces of Mutation, and bring back some items. Will you do this mission?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10830_TheLostGardenOfSpirits 32921-04.htm">"Alright."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00585_CantGoAgainstTheTime 32921-04.htm">"Alright."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Fairy Citizen:<br>
Good to see you back safely. It looks like you've finished the mission. You must be a better warrior than I thought you were.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10830_TheLostGardenOfSpirits 32921-07.html">"Of course!"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00585_CantGoAgainstTheTime 32921-07.html">"Of course!"</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Nerupa:<br>
The bad news. We have mutating creatures. Well, maybe if you can prove your skills ...<br>
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00586_MutatedCreatures 30370-02.htm">"Yes?"</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Nerupa:<br>
Well, if you can prove your skills... It should be okay...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00586_MutatedCreatures 30370-03.htm">"How can I prove my skills to you?"</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Nerupa:<br>
This is how you can prove your skills. Go to the <font color="LEVEL">Fairy Settlement</font>, to destroy the Violent Cocoon Destroyer and obtain the Cocoon Destroyer Shell. She emphasized that it was necessary to destroy the Violent Cocoon Destroyers only in the eastern part of the Fairy Colony.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00586_MutatedCreatures 30370-04.htm">"Alright."</Button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Nerupa:<br>
Alright. Go to the <font color="LEVEL">Fairy Settlement</font>. Once there, defeat the <font color="LEVEL">Cocoon Destroyer (Violent)</font>, and bring back <font color="LEVEL">25 Cocoon Destroyer Shell</font>. We'll be using those items for research.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Nerupa:<br>
You are here to ask about the mission again, huh? Go to the <font color="LEVEL">Fairy Settlement</font>. Once there, defeat the <font color="LEVEL">Cocoon Destroyer (Violent)</font>, and bring back <font color="LEVEL">25 Cocoon Destroyer Shell</font>. We'll be using those items for research.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Nerupa:<br>
Good to see you back safely. It looks like you've finished the mission. You must be a better warrior than I thought you were.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00586_MutatedCreatures 30370-07.html">"Of course!"</Button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Nerupa:<br>
Alright. Here's your reward. I'll have to give this to Magister. As a warrior, there's only so much research I can do.
</body></html>

View File

@@ -0,0 +1,140 @@
/*
* 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.Q00586_MutatedCreatures;
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;
/**
* Mutated Creatures (586)
* @URL https://l2wiki.com/Mutated_Creatures
* @author Dmitri
*/
public class Q00586_MutatedCreatures extends Quest
{
// NPC
private static final int NERUPA = 30370;
// Monsters
private static final int COCOON_DESTROYER = 19294; // Cocoon Destroyer (Violent) 93
// Items
private static final int COCOON_DESTROYER_SHELL = 48382;
// Misc
private static final int MIN_LEVEL = 90;
private static final int MAX_LEVEL = 100;
public Q00586_MutatedCreatures()
{
super(586);
addStartNpc(NERUPA);
addTalkId(NERUPA);
addKillId(COCOON_DESTROYER);
registerQuestItems(COCOON_DESTROYER_SHELL);
addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
}
@Override
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
{
String htmltext = null;
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return htmltext;
}
switch (event)
{
case "30370-02.htm":
case "30370-03.htm":
{
htmltext = event;
break;
}
case "30370-04.htm":
{
qs.startQuest();
htmltext = event;
break;
}
case "30370-07.html":
{
giveAdena(player, 559020, true);
addExpAndSp(player, 646727130, 646710);
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:
{
htmltext = "30370-01.htm";
break;
}
case State.STARTED:
{
if (qs.isCond(1))
{
htmltext = "30370-05.html";
}
else
{
htmltext = "30370-06.html";
}
break;
}
case State.COMPLETED:
{
if (qs.isNowAvailable())
{
qs.setState(State.CREATED);
htmltext = "30370-01.htm";
}
else
{
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
}
break;
}
}
return htmltext;
}
@Override
public String onKill(Npc npc, PlayerInstance killer, boolean isSummon)
{
final QuestState qs = getQuestState(killer, false);
if ((qs != null) && qs.isCond(1) && giveItemRandomly(killer, npc, COCOON_DESTROYER_SHELL, 1, 25, 1, true))
{
qs.setCond(2, true);
}
return super.onKill(npc, killer, isSummon);
}
}

View File

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

View File

@@ -137,6 +137,7 @@ import quests.Q00582_WashBloodWithBlood.Q00582_WashBloodWithBlood;
import quests.Q00583_MeaningOfSurvival.Q00583_MeaningOfSurvival;
import quests.Q00584_NeverSayGoodBye.Q00584_NeverSayGoodBye;
import quests.Q00585_CantGoAgainstTheTime.Q00585_CantGoAgainstTheTime;
import quests.Q00586_MutatedCreatures.Q00586_MutatedCreatures;
import quests.Q00587_MoreAggressiveOperation.Q00587_MoreAggressiveOperation;
import quests.Q00588_HeadOnCrash.Q00588_HeadOnCrash;
import quests.Q00589_ASecretChange.Q00589_ASecretChange;
@@ -479,7 +480,6 @@ import quests.Q10892_RevengeOneStepAtATime.Q10892_RevengeOneStepAtATime;
import quests.not_done.Q00504_CompetitionForTheBanditStronghold;
import quests.not_done.Q00529_RegularBarrierMaintenance;
import quests.not_done.Q00575_SpecialMissionFortuna;
import quests.not_done.Q00586_MutatedCreatures;
import quests.not_done.Q00591_GreatAmbitions;
import quests.not_done.Q00599_DemonsAndDimensionalEnergy;
import quests.not_done.Q00655_AGrandPlanForTamingWildBeasts;
@@ -696,7 +696,7 @@ public class QuestMasterHandler
Q00583_MeaningOfSurvival.class,
Q00584_NeverSayGoodBye.class,
Q00585_CantGoAgainstTheTime.class,
Q00586_MutatedCreatures.class, // TODO: Not done.
Q00586_MutatedCreatures.class,
Q00587_MoreAggressiveOperation.class,
Q00588_HeadOnCrash.class,
Q00589_ASecretChange.class,

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 Q00586_MutatedCreatures extends Quest
{
private static final int START_NPC = 30370;
public Q00586_MutatedCreatures()
{
super(586);
addStartNpc(START_NPC);
addTalkId(START_NPC);
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
}
}

View File

@@ -8,7 +8,6 @@
558 Request from the Red Libra Guild - Sea of Spores
559 Request from the Red Libra Guild - Krofin's Nest
579 Basic Mission: Blazing Swamp
586 Mutated Creatures
591 Great Ambitions
599 Demons and Dimensional Energy
655 A Grand Plan for Taming Wild Beasts

View File

@@ -1,4 +1,4 @@
<html><body>Fairy Citizen:<br>
The bad news. We have mutating creatures. Well, maybe if you can prove your skills ...<br>
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10830_TheLostGardenOfSpirits 32921-02.htm">"Yes?"</Button>
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00585_CantGoAgainstTheTime 32921-02.htm">"Yes?"</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Fairy Citizen:<br>
Well, if you can prove your skills... It should be okay...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10830_TheLostGardenOfSpirits 32921-03.htm">"How can I prove my skills to you?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00585_CantGoAgainstTheTime 32921-03.htm">"How can I prove my skills to you?"</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Fairy Citizen:<br>
This is how you can prove your skills. Go to the <font color="LEVEL">Fairy Settlement</font>, kill the Traces of Mutation, and bring back some items. Will you do this mission?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10830_TheLostGardenOfSpirits 32921-04.htm">"Alright."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00585_CantGoAgainstTheTime 32921-04.htm">"Alright."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Fairy Citizen:<br>
Good to see you back safely. It looks like you've finished the mission. You must be a better warrior than I thought you were.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10830_TheLostGardenOfSpirits 32921-07.html">"Of course!"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00585_CantGoAgainstTheTime 32921-07.html">"Of course!"</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Nerupa:<br>
The bad news. We have mutating creatures. Well, maybe if you can prove your skills ...<br>
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00586_MutatedCreatures 30370-02.htm">"Yes?"</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Nerupa:<br>
Well, if you can prove your skills... It should be okay...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00586_MutatedCreatures 30370-03.htm">"How can I prove my skills to you?"</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Nerupa:<br>
This is how you can prove your skills. Go to the <font color="LEVEL">Fairy Settlement</font>, to destroy the Violent Cocoon Destroyer and obtain the Cocoon Destroyer Shell. She emphasized that it was necessary to destroy the Violent Cocoon Destroyers only in the eastern part of the Fairy Colony.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00586_MutatedCreatures 30370-04.htm">"Alright."</Button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Nerupa:<br>
Alright. Go to the <font color="LEVEL">Fairy Settlement</font>. Once there, defeat the <font color="LEVEL">Cocoon Destroyer (Violent)</font>, and bring back <font color="LEVEL">25 Cocoon Destroyer Shell</font>. We'll be using those items for research.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Nerupa:<br>
You are here to ask about the mission again, huh? Go to the <font color="LEVEL">Fairy Settlement</font>. Once there, defeat the <font color="LEVEL">Cocoon Destroyer (Violent)</font>, and bring back <font color="LEVEL">25 Cocoon Destroyer Shell</font>. We'll be using those items for research.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Nerupa:<br>
Good to see you back safely. It looks like you've finished the mission. You must be a better warrior than I thought you were.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00586_MutatedCreatures 30370-07.html">"Of course!"</Button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Nerupa:<br>
Alright. Here's your reward. I'll have to give this to Magister. As a warrior, there's only so much research I can do.
</body></html>

View File

@@ -0,0 +1,140 @@
/*
* 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.Q00586_MutatedCreatures;
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;
/**
* Mutated Creatures (586)
* @URL https://l2wiki.com/Mutated_Creatures
* @author Dmitri
*/
public class Q00586_MutatedCreatures extends Quest
{
// NPC
private static final int NERUPA = 30370;
// Monsters
private static final int COCOON_DESTROYER = 19294; // Cocoon Destroyer (Violent) 93
// Items
private static final int COCOON_DESTROYER_SHELL = 48382;
// Misc
private static final int MIN_LEVEL = 90;
private static final int MAX_LEVEL = 100;
public Q00586_MutatedCreatures()
{
super(586);
addStartNpc(NERUPA);
addTalkId(NERUPA);
addKillId(COCOON_DESTROYER);
registerQuestItems(COCOON_DESTROYER_SHELL);
addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
}
@Override
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
{
String htmltext = null;
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return htmltext;
}
switch (event)
{
case "30370-02.htm":
case "30370-03.htm":
{
htmltext = event;
break;
}
case "30370-04.htm":
{
qs.startQuest();
htmltext = event;
break;
}
case "30370-07.html":
{
giveAdena(player, 559020, true);
addExpAndSp(player, 646727130, 646710);
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:
{
htmltext = "30370-01.htm";
break;
}
case State.STARTED:
{
if (qs.isCond(1))
{
htmltext = "30370-05.html";
}
else
{
htmltext = "30370-06.html";
}
break;
}
case State.COMPLETED:
{
if (qs.isNowAvailable())
{
qs.setState(State.CREATED);
htmltext = "30370-01.htm";
}
else
{
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
}
break;
}
}
return htmltext;
}
@Override
public String onKill(Npc npc, PlayerInstance killer, boolean isSummon)
{
final QuestState qs = getQuestState(killer, false);
if ((qs != null) && qs.isCond(1) && giveItemRandomly(killer, npc, COCOON_DESTROYER_SHELL, 1, 25, 1, true))
{
qs.setCond(2, true);
}
return super.onKill(npc, killer, isSummon);
}
}

View File

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

View File

@@ -138,6 +138,7 @@ import quests.Q00582_WashBloodWithBlood.Q00582_WashBloodWithBlood;
import quests.Q00583_MeaningOfSurvival.Q00583_MeaningOfSurvival;
import quests.Q00584_NeverSayGoodBye.Q00584_NeverSayGoodBye;
import quests.Q00585_CantGoAgainstTheTime.Q00585_CantGoAgainstTheTime;
import quests.Q00586_MutatedCreatures.Q00586_MutatedCreatures;
import quests.Q00587_MoreAggressiveOperation.Q00587_MoreAggressiveOperation;
import quests.Q00588_HeadOnCrash.Q00588_HeadOnCrash;
import quests.Q00589_ASecretChange.Q00589_ASecretChange;
@@ -500,7 +501,6 @@ import quests.custom.Q10529_IvoryTowersResearchFloatingSeaJournal.Q10529_IvoryTo
import quests.custom.Q10533_OrfensAmbition.Q10533_OrfensAmbition;
import quests.not_done.Q00504_CompetitionForTheBanditStronghold;
import quests.not_done.Q00579_BasicMissionBlazingSwamp;
import quests.not_done.Q00586_MutatedCreatures;
import quests.not_done.Q00591_GreatAmbitions;
import quests.not_done.Q00599_DemonsAndDimensionalEnergy;
import quests.not_done.Q00655_AGrandPlanForTamingWildBeasts;
@@ -717,7 +717,7 @@ public class QuestMasterHandler
Q00583_MeaningOfSurvival.class,
Q00584_NeverSayGoodBye.class,
Q00585_CantGoAgainstTheTime.class,
Q00586_MutatedCreatures.class, // TODO: Not done.
Q00586_MutatedCreatures.class,
Q00587_MoreAggressiveOperation.class,
Q00588_HeadOnCrash.class,
Q00589_ASecretChange.class,

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 Q00586_MutatedCreatures extends Quest
{
private static final int START_NPC = 30370;
public Q00586_MutatedCreatures()
{
super(586);
addStartNpc(START_NPC);
addTalkId(START_NPC);
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
}
}

View File

@@ -39,7 +39,6 @@
557 Red Libra Request - Fall of Etina
558 Red Libra Request - Sea of Spores
559 Request from the Red Libra Guild - Krofin's Nest
586 Mutated Creatures
591 Great Ambitions
592 Snow's Plea - Monsters from Three Areas
599 Demons and Dimensional Energy

View File

@@ -1,4 +1,4 @@
<html><body>Fairy Citizen:<br>
The bad news. We have mutating creatures. Well, maybe if you can prove your skills ...<br>
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10830_TheLostGardenOfSpirits 32921-02.htm">"Yes?"</Button>
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00585_CantGoAgainstTheTime 32921-02.htm">"Yes?"</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Fairy Citizen:<br>
Well, if you can prove your skills... It should be okay...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10830_TheLostGardenOfSpirits 32921-03.htm">"How can I prove my skills to you?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00585_CantGoAgainstTheTime 32921-03.htm">"How can I prove my skills to you?"</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Fairy Citizen:<br>
This is how you can prove your skills. Go to the <font color="LEVEL">Fairy Settlement</font>, kill the Traces of Mutation, and bring back some items. Will you do this mission?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10830_TheLostGardenOfSpirits 32921-04.htm">"Alright."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00585_CantGoAgainstTheTime 32921-04.htm">"Alright."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Fairy Citizen:<br>
Good to see you back safely. It looks like you've finished the mission. You must be a better warrior than I thought you were.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10830_TheLostGardenOfSpirits 32921-07.html">"Of course!"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00585_CantGoAgainstTheTime 32921-07.html">"Of course!"</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Nerupa:<br>
The bad news. We have mutating creatures. Well, maybe if you can prove your skills ...<br>
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00586_MutatedCreatures 30370-02.htm">"Yes?"</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Nerupa:<br>
Well, if you can prove your skills... It should be okay...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00586_MutatedCreatures 30370-03.htm">"How can I prove my skills to you?"</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Nerupa:<br>
This is how you can prove your skills. Go to the <font color="LEVEL">Fairy Settlement</font>, to destroy the Violent Cocoon Destroyer and obtain the Cocoon Destroyer Shell. She emphasized that it was necessary to destroy the Violent Cocoon Destroyers only in the eastern part of the Fairy Colony.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00586_MutatedCreatures 30370-04.htm">"Alright."</Button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Nerupa:<br>
Alright. Go to the <font color="LEVEL">Fairy Settlement</font>. Once there, defeat the <font color="LEVEL">Cocoon Destroyer (Violent)</font>, and bring back <font color="LEVEL">25 Cocoon Destroyer Shell</font>. We'll be using those items for research.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Nerupa:<br>
You are here to ask about the mission again, huh? Go to the <font color="LEVEL">Fairy Settlement</font>. Once there, defeat the <font color="LEVEL">Cocoon Destroyer (Violent)</font>, and bring back <font color="LEVEL">25 Cocoon Destroyer Shell</font>. We'll be using those items for research.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Nerupa:<br>
Good to see you back safely. It looks like you've finished the mission. You must be a better warrior than I thought you were.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00586_MutatedCreatures 30370-07.html">"Of course!"</Button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Nerupa:<br>
Alright. Here's your reward. I'll have to give this to Magister. As a warrior, there's only so much research I can do.
</body></html>

View File

@@ -0,0 +1,140 @@
/*
* 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.Q00586_MutatedCreatures;
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;
/**
* Mutated Creatures (586)
* @URL https://l2wiki.com/Mutated_Creatures
* @author Dmitri
*/
public class Q00586_MutatedCreatures extends Quest
{
// NPC
private static final int NERUPA = 30370;
// Monsters
private static final int COCOON_DESTROYER = 19294; // Cocoon Destroyer (Violent) 93
// Items
private static final int COCOON_DESTROYER_SHELL = 48382;
// Misc
private static final int MIN_LEVEL = 90;
private static final int MAX_LEVEL = 100;
public Q00586_MutatedCreatures()
{
super(586);
addStartNpc(NERUPA);
addTalkId(NERUPA);
addKillId(COCOON_DESTROYER);
registerQuestItems(COCOON_DESTROYER_SHELL);
addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
}
@Override
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
{
String htmltext = null;
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return htmltext;
}
switch (event)
{
case "30370-02.htm":
case "30370-03.htm":
{
htmltext = event;
break;
}
case "30370-04.htm":
{
qs.startQuest();
htmltext = event;
break;
}
case "30370-07.html":
{
giveAdena(player, 559020, true);
addExpAndSp(player, 646727130, 646710);
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:
{
htmltext = "30370-01.htm";
break;
}
case State.STARTED:
{
if (qs.isCond(1))
{
htmltext = "30370-05.html";
}
else
{
htmltext = "30370-06.html";
}
break;
}
case State.COMPLETED:
{
if (qs.isNowAvailable())
{
qs.setState(State.CREATED);
htmltext = "30370-01.htm";
}
else
{
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
}
break;
}
}
return htmltext;
}
@Override
public String onKill(Npc npc, PlayerInstance killer, boolean isSummon)
{
final QuestState qs = getQuestState(killer, false);
if ((qs != null) && qs.isCond(1) && giveItemRandomly(killer, npc, COCOON_DESTROYER_SHELL, 1, 25, 1, true))
{
qs.setCond(2, true);
}
return super.onKill(npc, killer, isSummon);
}
}

View File

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

View File

@@ -68,6 +68,7 @@ import quests.Q00577_BasicMissionSilentValley.Q00577_BasicMissionSilentValley;
import quests.Q00578_BasicMissionCemetery.Q00578_BasicMissionCemetery;
import quests.Q00580_BeyondTheMemories.Q00580_BeyondTheMemories;
import quests.Q00585_CantGoAgainstTheTime.Q00585_CantGoAgainstTheTime;
import quests.Q00586_MutatedCreatures.Q00586_MutatedCreatures;
import quests.Q00587_MoreAggressiveOperation.Q00587_MoreAggressiveOperation;
import quests.Q00588_HeadOnCrash.Q00588_HeadOnCrash;
import quests.Q00589_ASecretChange.Q00589_ASecretChange;
@@ -263,7 +264,6 @@ import quests.custom.Q10529_IvoryTowersResearchFloatingSeaJournal.Q10529_IvoryTo
import quests.custom.Q10533_OrfensAmbition.Q10533_OrfensAmbition;
import quests.not_done.Q00282_ADayOfKindnessAndCaring;
import quests.not_done.Q00504_CompetitionForTheBanditStronghold;
import quests.not_done.Q00586_MutatedCreatures;
import quests.not_done.Q00591_GreatAmbitions;
import quests.not_done.Q00599_DemonsAndDimensionalEnergy;
import quests.not_done.Q00655_AGrandPlanForTamingWildBeasts;
@@ -391,7 +391,7 @@ public class QuestMasterHandler
Q00578_BasicMissionCemetery.class,
Q00580_BeyondTheMemories.class,
Q00585_CantGoAgainstTheTime.class,
Q00586_MutatedCreatures.class, // TODO: Not done.
Q00586_MutatedCreatures.class,
Q00587_MoreAggressiveOperation.class,
Q00588_HeadOnCrash.class,
Q00589_ASecretChange.class,

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 Q00586_MutatedCreatures extends Quest
{
private static final int START_NPC = 30370;
public Q00586_MutatedCreatures()
{
super(586);
addStartNpc(START_NPC);
addTalkId(START_NPC);
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
}
}