Quest Chasing Loygen (10438).
Contributed by gigilo1968.
This commit is contained in:
parent
55a5c50fb0
commit
caf60ff414
@ -89,7 +89,6 @@
|
||||
10389 The Voice of Authority
|
||||
10432 Chasing Varangka
|
||||
10435 Chasing Keltron
|
||||
10438 Chasing Loygen
|
||||
10441 Chasing Meccadan
|
||||
10446 Hit and Run
|
||||
10447 Timing is Everything
|
||||
|
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-00.htm
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-00.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Investigator Laki:<br>
|
||||
Embryo's power is expanding to the Plains of the Lizardmen... I need help but I don't think you're the right person for the task.<br>
|
||||
(This quest is for level 81 or higher Sagittariuses, Moonlight Sentinels, Ghost Sentinels or Tricksters who have completed the quest "The Seal of Punishment - the Plains of the Lizardmen".)
|
||||
</body></html>
|
5
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-01.htm
vendored
Normal file
5
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-01.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Investigator Laki:<br>
|
||||
Thank you for checking in. I've been so busy studying these fragments, I forgot I'd promised you additional work.<br>
|
||||
Do you have time to help me out again? <br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10438_ChasingLoygen 32742-02.htm">"I might. Tell me what you need."</Button>
|
||||
</body></html>
|
5
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-02.htm
vendored
Normal file
5
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-02.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Investigator Laki:<br>
|
||||
The Mark of Embryo has text hidden by magic. Embryo must have written it to deliver a message to Tanta Lizardmen in secret.<br>
|
||||
I used my magic to analyze the Mark of Embryo, and I could see hidden text. It said...<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10438_ChasingLoygen 32742-03.htm">"Go on."</Button>
|
||||
</body></html>
|
5
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-03.htm
vendored
Normal file
5
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-03.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Investigator Laki:<br>
|
||||
Embryo is trying to pressure the Tanta Lizardmen to get their chief, Loygen, to approach and remove the Seal of Punishment.<br>What's worse, I believe <font color="LEVEL">Tanta Lizardman Chief Loygen</font> already knows <font color="LEVEL">how to remove the Seal of Punishment</font>!<br>
|
||||
We can't let this happen.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10438_ChasingLoygen 32742-04.htm">"Tell me what you need me to do."</Button>
|
||||
</body></html>
|
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-04.htm
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-04.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Investigator Laki:<br>
|
||||
Isn't it obvious? Go to the <font color="LEVEL">Plains of the Lizardmen</font> and kill <font color="LEVEL">Tanta Lizardman Chief Loygen</font>! We must not let anyone else find out how to remove the 6th seal! If others were to find out... it's only a matter of time before Embryo will get the secret!<br>
|
||||
I'll talk to Captain Mouen myself. Hurry!
|
||||
</body></html>
|
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-05.html
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-05.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Investigator Laki:<br>
|
||||
Whatever you've come back to tell me, it's not important. You clearly haven't killed Loygen yet. Our future is up to you, so don't let us down again.<br>
|
||||
It's a simple thing. Go to the <font color="LEVEL">Plains of the Lizardmen</font> and kill <font color="LEVEL">Tanta Lizardman Chief Loygen</font>.
|
||||
</body></html>
|
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-06.html
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-06.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Investigator Laki:<br>
|
||||
Is it done? Are we safe?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10438_ChasingLoygen 32742-07.html">"Well, yes, but..."</Button>
|
||||
</body></html>
|
11
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-07.html
vendored
Normal file
11
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-07.html
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
<html><body>Investigator Laki:<br>
|
||||
Embryo has been using the Tanta Lizardmen to distract us! Goodness...<br>
|
||||
Not only did they prevent us from reaching the 6th seal, they now know how to remove it!<br>
|
||||
Oh, sorry. Here, please choose what you want along with your reward.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10438_ChasingLoygen reward_9546">15 Fire Stones</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10438_ChasingLoygen reward_9547">15 Water Stones</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10438_ChasingLoygen reward_9548">15 Earth Stones</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10438_ChasingLoygen reward_9549">15 Wind Stones</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10438_ChasingLoygen reward_9550">15 Dark Stones</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10438_ChasingLoygen reward_9551">15 Holy Stones</Button>
|
||||
</body></html>
|
5
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-08.html
vendored
Normal file
5
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/32742-08.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Investigator Laki:<br>
|
||||
Here you go. I also added some things for all the work you've done.<br>
|
||||
But Embryo has already found a way to release the Seal of Punishment... I don't know what to think. This is devastating news. <br>
|
||||
I must report this to Captain Mouen. Excuse me.
|
||||
</body></html>
|
152
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/Q10438_ChasingLoygen.java
vendored
Normal file
152
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/Q10438_ChasingLoygen.java
vendored
Normal file
@ -0,0 +1,152 @@
|
||||
/*
|
||||
* 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.Q10438_ChasingLoygen;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.CategoryType;
|
||||
import com.l2jmobius.gameserver.enums.Race;
|
||||
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.model.quest.State;
|
||||
|
||||
import quests.Q10437_TheSealOfPunishmentPlainsOfTheLizardmen.Q10437_TheSealOfPunishmentPlainsOfTheLizardmen;
|
||||
|
||||
/**
|
||||
* Chasing Loygen (10438)
|
||||
* @URL https://l2wiki.com/Chasing_Loygen
|
||||
* @author Gigi
|
||||
*/
|
||||
public class Q10438_ChasingLoygen extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int LAKI = 32742;
|
||||
private static final int TANTA_LIZARDMAN_CHIEF_LOYGEN = 27497;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 81;
|
||||
// Reward
|
||||
private static final int EAS = 960;
|
||||
|
||||
public Q10438_ChasingLoygen()
|
||||
{
|
||||
super(10438);
|
||||
addStartNpc(LAKI);
|
||||
addTalkId(LAKI);
|
||||
addKillId(TANTA_LIZARDMAN_CHIEF_LOYGEN);
|
||||
addCondMinLevel(MIN_LEVEL, "32742-00.htm");
|
||||
addCondNotRace(Race.ERTHEIA, "noErtheia.html");
|
||||
addCondInCategory(CategoryType.BOW_MASTER, "32742-00.htm");
|
||||
addCondCompletedQuest(Q10437_TheSealOfPunishmentPlainsOfTheLizardmen.class.getSimpleName(), "32742-00.htm");
|
||||
}
|
||||
|
||||
@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)
|
||||
{
|
||||
case "32742-02.htm":
|
||||
case "32742-03.htm":
|
||||
case "32742-07.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32742-04.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "reward_9546":
|
||||
case "reward_9547":
|
||||
case "reward_9548":
|
||||
case "reward_9549":
|
||||
case "reward_9550":
|
||||
case "reward_9551":
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
final int stoneId = Integer.parseInt(event.replaceAll("reward_", ""));
|
||||
giveItems(player, stoneId, 15);
|
||||
giveItems(player, EAS, 5);
|
||||
giveStoryQuestReward(player, 30);
|
||||
addExpAndSp(player, 14120400, 3388);
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
htmltext = "32742-08.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
if (qs == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = "32742-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "32742-05.html";
|
||||
break;
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "32742-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getNoQuestMsg(player);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
|
||||
{
|
||||
final QuestState qs = getQuestState(killer, false);
|
||||
if ((qs != null) && qs.isCond(1))
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
}
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
}
|
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/noErtheia.html
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10438_ChasingLoygen/noErtheia.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Investigator Laki:<br>
|
||||
Embryo's power is expanding to the Plains of the Lizardmen... I need help but I don't think you're the right person for the task.<br>
|
||||
(Ertheia is excluded from this quest.)
|
||||
</body></html>
|
@ -299,6 +299,7 @@ import quests.Q10433_KekropusLetterRegardingASeal.Q10433_KekropusLetterRegarding
|
||||
import quests.Q10434_TheSealOfPunishmentSelMahumTrainingGrounds.Q10434_TheSealOfPunishmentSelMahumTrainingGrounds;
|
||||
import quests.Q10436_KekropusLetterTheSealOfPunishment.Q10436_KekropusLetterTheSealOfPunishment;
|
||||
import quests.Q10437_TheSealOfPunishmentPlainsOfTheLizardmen.Q10437_TheSealOfPunishmentPlainsOfTheLizardmen;
|
||||
import quests.Q10438_ChasingLoygen.Q10438_ChasingLoygen;
|
||||
import quests.Q10439_KekropusLetterTheOriginsOfARumor.Q10439_KekropusLetterTheOriginsOfARumor;
|
||||
import quests.Q10440_TheSealOfPunishmentTheFields.Q10440_TheSealOfPunishmentTheFields;
|
||||
import quests.Q10442_TheAnnihilatedPlains1.Q10442_TheAnnihilatedPlains1;
|
||||
@ -685,6 +686,7 @@ public class QuestMasterHandler
|
||||
Q10434_TheSealOfPunishmentSelMahumTrainingGrounds.class,
|
||||
Q10436_KekropusLetterTheSealOfPunishment.class,
|
||||
Q10437_TheSealOfPunishmentPlainsOfTheLizardmen.class,
|
||||
Q10438_ChasingLoygen.class,
|
||||
Q10439_KekropusLetterTheOriginsOfARumor.class,
|
||||
Q10440_TheSealOfPunishmentTheFields.class,
|
||||
Q10442_TheAnnihilatedPlains1.class,
|
||||
|
@ -658,6 +658,7 @@
|
||||
<npc id="20587" x="67960" y="66376" z="-3640" respawnTime="40sec" /> <!-- Timak Orc Shaman -->
|
||||
<npc id="20587" x="69942" y="67389" z="-3608" heading="11731" respawnTime="40sec" /> <!-- Timak Orc Shaman -->
|
||||
<npc id="20587" x="68162" y="66020" z="-3648" respawnTime="40sec" /> <!-- Timak Orc Shaman -->
|
||||
<npc id="27497" x="91328" y="73165" z="-3680" heading="64442" respawnTime="60sec" /> <!-- Tanta Lizardman Chief Loygen -->
|
||||
</group>
|
||||
</spawn>
|
||||
</list>
|
Loading…
Reference in New Issue
Block a user