Quest Kekropus' Letter: Regarding a Seal (10433).

Contributed by Stayway.
This commit is contained in:
MobiusDev 2016-08-18 19:39:25 +00:00
parent 67df262b2f
commit b6b52f601e
14 changed files with 223 additions and 4 deletions

View File

@ -94,7 +94,6 @@
10389 The Voice of Authority
10431 The Seal of Punishment: Den of Evil
10432 Chasing Varangka
10433 Kekropus' Letter: Regarding a Seal (9/9)
10434 The Seal of Punishment: Sel Mahum Training Grounds
10435 Chasing Keltron
10436 Kekropus' Letter: The Seal of Punishment (9/9)

View File

@ -0,0 +1,4 @@
<html><body>Captain Mouen:<br>
Who are you?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10433_KekropusLetterRegardingASeal 30196-02.html">"Do you remember Kekropus?"</Button>
</body></html>

View File

@ -0,0 +1,7 @@
<html><body>Captain Mouen:<br>
So you're the one our lord mentioned. Situations are dire, and darkness spreads. We must find the <font color="LEVEL">6th Seal</font> and stop <font color="LEVEL">Shilen</font> as soon as possible.<br>
I was tracking down leads on <font color="LEVEL">Embryo</font> and found out that they call the 6th seal "Vengeance." Worse, they've already located it.<br>
Fortunately they don't know how to remove the seal, but it won't be long before they figure it out. We must do something to stop them. If not, the world would...<br>
It's too terrible to contemplate. Can you help?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10433_KekropusLetterRegardingASeal 30196-03.html">"Of course."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Captain Mouen:<br>
Then, hurry to <font color="LEVEL">Investigator Rua</font> in <font color="LEVEL">Sel Mahum Training Grounds</font>.<br>
She knows the details. Help her prevent the 6th seal from falling into the hands of Embryo.<br>
Go to the South Gate of Sel Mahum Training Grounds through Gatekeeper Valentina to find her.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Captain Mouen:<br>
What are you waiting for? Go find <font color="LEVEL">Investigator Rua</font> at the <font color="LEVEL">Sel Mahum Training Grounds</font> and help her prevent the 6th seal from falling into Embryo's hands.<br>
Go to the South Gate of Sel Mahum Training Grounds through Gatekeeper Valentina to find her.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Investigator Rua:<br>
You're the one sent by Kekropus? I've been waiting so long, I thought you'd never come.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10433_KekropusLetterRegardingASEal 33841-02.html">"I have no idea what you're saying, but sure."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Investigator Rua:<br>
Captain Mouen of the Town of Oren has been following orders from the lord of Oren. Apparently, the Embryo has been showing suspicious activity regarding the 6th seal<br><br>
<font color="LEVEL">- Note: You can hunt and do quests in Sel Mahum Training Grounds. You may receive the Kekropus' Letter for the next stage at Level 85.</font>
</body></html>

View File

@ -0,0 +1,156 @@
/*
* 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.Q10433_KekropusLetterRegardingASeal;
import com.l2jmobius.gameserver.enums.CategoryType;
import com.l2jmobius.gameserver.model.Location;
import com.l2jmobius.gameserver.model.actor.L2Character;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.QuestState;
import com.l2jmobius.gameserver.network.NpcStringId;
import com.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
import quests.LetterQuest;
/**
* Kekropus' Letter: Regarding a Seal (10433)
* @author Stayway
*/
public final class Q10433_KekropusLetterRegardingASeal extends LetterQuest
{
// NPCs
private static final int MOUEN = 30196;
private static final int RUA = 33841;
private static final int INVISIBLE_NPC = 19543;
// Items
private static final int SOE_TOWN_OF_OREN = 37123; // Scroll of Escape: Town of Schuttgart
private static final int EWS = 959; // Scroll: Enchant Weapon (S-grade)
private static final int EAS = 960; // Scroll: Enchant Armor (S-grade)
// Location
private static final Location TELEPORT_LOC = new Location(80970, 56333, -1560);
// Misc
private static final int MIN_LEVEL = 81;
private static final int MAX_LEVEL = 84;
public Q10433_KekropusLetterRegardingASeal()
{
super(10433);
addTalkId(MOUEN, RUA);
addSeeCreatureId(INVISIBLE_NPC);
setIsErtheiaQuest(false);
setLevel(MIN_LEVEL, MAX_LEVEL);
setStartQuestSound("Npcdialog1.kekrops_quest_9");
setStartLocation(SOE_TOWN_OF_OREN, TELEPORT_LOC);
registerQuestItems(SOE_TOWN_OF_OREN);
addCondInCategory(CategoryType.WEAPON_MASTER, "nocond.html");
}
@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 "30196-02.html":
{
htmltext = event;
break;
}
case "30196-03.html":
{
if (qs.isCond(1))
{
takeItems(player, SOE_TOWN_OF_OREN, -1);
qs.setCond(2, true);
htmltext = event;
}
break;
}
case "33841-02.html":
{
if (qs.isCond(2))
{
qs.exitQuest(false, true);
giveItems(player, EWS, 1);
giveItems(player, EAS, 10);
giveStoryQuestReward(player, 235);
if ((player.getLevel() >= MIN_LEVEL) && (player.getLevel() <= MAX_LEVEL))
{
addExpAndSp(player, 1_412_040, 338);
}
htmltext = event;
}
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
String htmltext = getNoQuestMsg(player);
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return htmltext;
}
if (qs.isStarted())
{
if ((npc.getId() == MOUEN) && qs.isCond(1))
{
htmltext = "30196-01.html";
}
else if (qs.isCond(2))
{
htmltext = npc.getId() == MOUEN ? "30196-04.html" : "33841-01.html";
}
}
return htmltext;
}
@Override
public String onSeeCreature(L2Npc npc, L2Character creature, boolean isSummon)
{
if (creature.isPlayer())
{
final L2PcInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
if ((qs != null) && qs.isCond(2))
{
showOnScreenMsg(player, NpcStringId.SEL_MAHUM_TRAINING_GROUNDS_IS_A_GOOD_HUNTING_ZONE_FOR_LV_81_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
}
return super.onSeeCreature(npc, creature, isSummon);
}
@Override
public boolean canShowTutorialMark(L2PcInstance player)
{
return player.isInCategory(CategoryType.WEAPON_MASTER);
}
}

View File

@ -0,0 +1,4 @@
<html><body>Captain Mouen:<br>
I don't think it's time to act quite yet.<br>
(This quest may only be undertaken by a Dreadnought, Titan, Fortune Seeker, Maestro)
</body></html>

View File

@ -0,0 +1,6 @@
<html><head><title>Kekropus' Letter</title></head><body>Kekropus' Letter:<br>
Information has turned up regarding <font color="LEVEL">"Punishment"</font>, Shilen's 6th seal. Go to <font color="LEVEL">Captain Mouen</font> in the <font color="LEVEL">Town of Oren</font> for details.<br>
(A <font color="LEVEL">Scroll of Escape</font> is enclosed. If you want to go now, use it to travel immediately.)<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h %teleport%">"I'll go right away with this scroll."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h tutorial_close">Close</Button>
</body></html>

View File

@ -289,6 +289,7 @@ import quests.Q10425_TheKetraOrcSupporters.Q10425_TheKetraOrcSupporters;
import quests.Q10426_AssassinationOfTheKetraOrcCommander.Q10426_AssassinationOfTheKetraOrcCommander;
import quests.Q10427_AssassinationOfTheKetraOrcChief.Q10427_AssassinationOfTheKetraOrcChief;
import quests.Q10430_KekropusLetterTrackingTheEvil.Q10430_KekropusLetterTrackingTheEvil;
import quests.Q10433_KekropusLetterRegardingASeal.Q10433_KekropusLetterRegardingASeal;
import quests.Q10442_TheAnnihilatedPlains1.Q10442_TheAnnihilatedPlains1;
import quests.Q10443_TheAnnihilatedPlains2.Q10443_TheAnnihilatedPlains2;
import quests.Q10444_TheOriginOfMonsters.Q10444_TheOriginOfMonsters;
@ -661,6 +662,7 @@ public class QuestMasterHandler
Q10426_AssassinationOfTheKetraOrcCommander.class,
Q10427_AssassinationOfTheKetraOrcChief.class,
Q10430_KekropusLetterTrackingTheEvil.class,
Q10433_KekropusLetterRegardingASeal.class,
Q10442_TheAnnihilatedPlains1.class,
Q10443_TheAnnihilatedPlains2.class,
Q10444_TheOriginOfMonsters.class,

View File

@ -1,5 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../xsd/spawns.xsd">
<spawn name="SelMahumTrainingGrounds">
<group>
<npc id="33841" x="78473" y="72679" z="-3542" heading="44641" respawnTime="60sec" /> <!-- Investigator Rua -->
<npc id="19543" x="78563" y="72558" z="-3542" heading="782" respawnTime="60sec" /> <!-- Invisible NPC -->
</group>
</spawn>
<!-- oren22_2219_a01 -->
<spawn name="smtg_drill_group_01" ai="NoRandomActivity">
<parameters>

View File

@ -570,6 +570,8 @@
<!-- Teleports you to Sel Mahum Training Grounds. -->
<set name="icon" val="icon.etc_scroll_of_return_i03" />
<set name="weight" val="30" />
<set name="default_action" val="SKILL_REDUCE" />
<set name="material" val="PAPER" />
<set name="is_clan_depositable" val="false" />
<set name="is_mailable" val="false" />
<set name="is_freightable" val="false" />

View File

@ -1031,7 +1031,6 @@
</effects>
</skill>
<skill id="9977" toLevel="1" name="Scroll of Escape: Den of Evil">
<!-- AUTO GENERATED SKILL -->
<!-- Return to the Den of Evil. -->
<icon>icon.skill0000</icon>
<hitTime>500</hitTime>
@ -1060,15 +1059,32 @@
</effects>
</skill>
<skill id="9978" toLevel="1" name="Scroll of Escape: Sel Mahum Training Grounds">
<!-- AUTO GENERATED SKILL -->
<!-- Return to the Sel Mahum Training Grounds. -->
<icon>icon.skill0000</icon>
<hitTime>500</hitTime>
<isMagic>2</isMagic> <!-- Static Skill -->
<itemConsumeId>37037</itemConsumeId>
<itemConsumeCount>1</itemConsumeCount>
<magicLvl>1</magicLvl>
<operateType>A1</operateType>
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
<targetType>SELF</targetType>
<affectScope>SINGLE</affectScope>
<hitTime>1500</hitTime>
<cond msgId="113" addName="1">
<and>
<player canEscape="true" />
<not>
<player insideZoneId="10501, 10502, 10503, 10504, 10505, 10506, 10507, 10508" />
</not>
</and>
</cond>
<effects>
<effect name="Teleport">
<x>79337</x>
<y>72531</y>
<z>-3547</z>
</effect>
</effects>
</skill>
<skill id="9979" toLevel="1" name="Scroll of Escape: Plains of the Lizardmen">
<!-- AUTO GENERATED SKILL -->