Quest Kekropus' Letter: Belos' Whereabouts (10424).

Contributed by Stayway.
This commit is contained in:
MobiusDev
2016-08-07 18:15:16 +00:00
parent ad9288574f
commit 15d637f3e5
11 changed files with 209 additions and 4 deletions

View File

@@ -94,7 +94,6 @@
10380 The Executioner's Execution
10388 Conspiracy Behind Doors
10389 The Voice of Authority
10424 Kekropus' Letter: Belos' Whereabouts (8/9)
10425 The Ketra Orc Supporters
10426 Assassination of the Ketra Orc Commander
10427 Assassination of the Ketra Orc Chief

View File

@@ -0,0 +1,4 @@
<html><body>Captain Andrei:<br>
Huh? <font color="LEVEL">Kekropus</font> sent you here again, then. Good! Let me cut to the chase. We just received a report from <font color="LEVEL">Lugonnes</font>, one of the Giant's Minions. Apparently a clone of a monster called <font color="LEVEL">Sakum</font> is heading right for the <font color="LEVEL">Ketra Orc Outpost</font>.<br>Are you at all familiar with <font color="LEVEL">Sakum</font>?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10424_KekropusLetterBelosWhereabouts 31292-02.html">Just a little...</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Captain Andrei:<br>
What?! You're the one who defeated <font color="LEVEL">Sakum</font> in the Wasteland? I'm sorry that I didn't recognize a hero like you. I guess <font color="LEVEL">Kekropus</font> trusted you for a reason! You're something of a legend around here.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10424_KekropusLetterBelosWhereabouts 31292-03.html">"Tell me about the monster."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Captain Andrei:<br>
Giant's Minions have been chasing after <font color="LEVEL">Embryo</font> for a long time. They recently found out that the organization created clones of <font color="LEVEL">Sakum</font> and one of the clones went to the <font color="LEVEL">Ketra Orc Outpost</font>. That's all I know. For more information, you should talk to <font color="LEVEL">Giant's Minion Lugonnes</font> in the <font color="LEVEL">Ketra Orc Outpost</font>. <br>
To get there quickly, use the <font color="LEVEL">Scroll of Escape: Ketra Orc Outpost</font> I gave you. You could also ask a Gatekeeper for help.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><head><body>Captain Andrei:<br>
Hurry to the <font color="LEVEL">Ketra Orc Outpost</font> and help <font color="LEVEL">Giant's Minion Lugonnes</font> there. <br>
To get there quickly, use the <font color="LEVEL">Scroll of Escape: Ketra Orc Outpost</font> I gave you. You could also ask a Gatekeeper for help.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Giant's Minion Lugonnes:<br>
Well met! <font color="LEVEL">Kekropus</font> sent word of your visit, saying that you defeated <font color="LEVEL">Sakum</font> in the <font color="LEVEL">Wasteland</font>. After that, this should be no trouble for you at all... Well, maybe a little.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Q10424_KekropusLetterBelosWhereabouts 33852-02.html">"Tell me about the monster."</Button>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Giant's Minion Lugonnes:<br>
After you destroyed <font color="LEVEL">Sakum</font>, <font color="LEVEL">Embryo</font> created 2 clones of the monster named <font color="LEVEL">Belos</font> and <font color="LEVEL">Kampf</font>.<br>
When I last saw <font color="LEVEL">Belos</font>, he was heading to the <font color="LEVEL">Ketra Orc Outpost</font>. It seems like the <font color="LEVEL">Ketra Orcs</font> and <font color="LEVEL">Embryo</font> are working together, with Belos as their link. You and I must end this alliance.<br>
There is much to be done. Prepare yourself and speak to me when you are ready.<br><br>
<font color="LEVEL">- Note: You can develop yourself through quests and hunting at the hunting ground of Ketra Orc Outpost. You can get the next item, Kekropus' Letter, at Lv. 81.</font>
</body></html>

View File

@@ -0,0 +1,155 @@
/*
* 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.Q10424_KekropusLetterBelosWhereabouts;
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: Belos' Whereabouts (10424)
* @author Stayawy
*/
public final class Q10424_KekropusLetterBelosWhereabouts extends LetterQuest
{
// NPCs
private static final int ANDREI = 31292;
private static final int LUGONNES = 33852;
private static final int INVISIBLE_NPC = 19543;
// Items
private static final int SOE_TOWN_OF_GODDARD = 37121; // Scroll of Escape: Town of Goddard
private static final int SOE_KETRA_ORC_OUTPOST = 37035; // Scroll of Escape: Varka Silenos Barracks
private static final int EWS = 959; // Scroll: Enchant Weapon (S-grade)
// Location
private static final Location TELEPORT_LOC = new Location(147491, -56633, -2776);
// Misc
private static final int MIN_LEVEL = 76;
private static final int MAX_LEVEL = 80;
public Q10424_KekropusLetterBelosWhereabouts()
{
super(10424);
addTalkId(ANDREI, LUGONNES);
addSeeCreatureId(INVISIBLE_NPC);
setIsErtheiaQuest(false);
setLevel(MIN_LEVEL, MAX_LEVEL);
setStartQuestSound("Npcdialog1.kekrops_quest_9");
setStartLocation(SOE_TOWN_OF_GODDARD, TELEPORT_LOC);
registerQuestItems(SOE_TOWN_OF_GODDARD, SOE_KETRA_ORC_OUTPOST);
}
@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 "31292-02.html":
{
htmltext = event;
break;
}
case "31292-03.html":
{
if (qs.isCond(1))
{
takeItems(player, SOE_TOWN_OF_GODDARD, -1);
giveItems(player, SOE_KETRA_ORC_OUTPOST, 1);
qs.setCond(2, true);
htmltext = event;
}
break;
}
case "33852-02.html":
{
if (qs.isCond(2))
{
qs.exitQuest(false, true);
giveItems(player, EWS, 1);
giveStoryQuestReward(player, 182);
if (player.getLevel() >= MIN_LEVEL)
{
addExpAndSp(player, 1_277_640, 306);
}
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_KEKROPUS_AT_LV_81, ExShowScreenMessage.TOP_CENTER, 6000);
htmltext = event;
}
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
String htmltext = getNoQuestMsg(player);
final QuestState st = getQuestState(player, false);
if (st == null)
{
return htmltext;
}
if (st.isStarted())
{
if ((npc.getId() == ANDREI) && st.isCond(1))
{
htmltext = "31292-01.html";
}
else if (st.isCond(2))
{
htmltext = npc.getId() == ANDREI ? "31292-04.html" : "33852-01.html";
}
}
return htmltext;
}
@Override
public String onSeeCreature(L2Npc npc, L2Character creature, boolean isSummon)
{
if (creature.isPlayer())
{
final L2PcInstance player = creature.getActingPlayer();
final QuestState st = getQuestState(player, false);
if ((st != null) && st.isCond(2))
{
showOnScreenMsg(player, NpcStringId.KETRA_ORC_OUTPOST_IS_A_GOOD_HUNTING_ZONE_FOR_LV_76_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
}
return super.onSeeCreature(npc, creature, isSummon);
}
@Override
public boolean canShowTutorialMark(L2PcInstance player)
{
return player.isMageClass();
}
}

View File

@@ -0,0 +1,6 @@
<html><head><title>Kekropus' Letter</title></head><body>Kekropus' Letter:<br>
A monster resembling <font color="LEVEL">Sakum</font> who had fought a bloody battle in the Wasteland long ago, has been spotted in the <font color="LEVEL">Ketra Orc Outpost</font>. Go to <font color="LEVEL">Captain Andrei</font> in the <font color="LEVEL">Town of Goddard</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

@@ -282,6 +282,7 @@ import quests.Q10419_KekropusLetterKampfsWhereabouts.Q10419_KekropusLetterKampfs
import quests.Q10420_TheVarkaSilenosSupporters.Q10420_TheVarkaSilenosSupporters;
import quests.Q10421_AssassinationOfTheVarkaSilenosCommander.Q10421_AssassinationOfTheVarkaSilenosCommander;
import quests.Q10422_AssassinationOfTheVarkaSilenosChief.Q10422_AssassinationOfTheVarkaSilenosChief;
import quests.Q10424_KekropusLetterBelosWhereabouts.Q10424_KekropusLetterBelosWhereabouts;
import quests.Q10442_TheAnnihilatedPlains1.Q10442_TheAnnihilatedPlains1;
import quests.Q10445_AnImpendingThreat.Q10445_AnImpendingThreat;
import quests.Q10450_ADarkAmbition.Q10450_ADarkAmbition;
@@ -647,6 +648,7 @@ public class QuestMasterHandler
Q10420_TheVarkaSilenosSupporters.class,
Q10421_AssassinationOfTheVarkaSilenosCommander.class,
Q10422_AssassinationOfTheVarkaSilenosChief.class,
Q10424_KekropusLetterBelosWhereabouts.class,
Q10442_TheAnnihilatedPlains1.class,
Q10445_AnImpendingThreat.class,
Q10450_ADarkAmbition.class,

View File

@@ -958,7 +958,7 @@
<skill id="9975" toLevel="1" name="Scroll of Escape: Varka Silenos Barracks">
<!-- Return to the Varka Silenos Barracks. -->
<icon>icon.skill0000</icon>
<hitTime>1500</hitTime>
<hitTime>500</hitTime>
<isMagic>2</isMagic> <!-- Static Skill -->
<itemConsumeId>37034</itemConsumeId>
<itemConsumeCount>1</itemConsumeCount>
@@ -984,15 +984,32 @@
</effects>
</skill>
<skill id="9976" toLevel="1" name="Scroll of Escape: Ketra Orc Outpost">
<!-- AUTO GENERATED SKILL -->
<!-- Return to the Ketra Orc Outpost. -->
<icon>icon.skill0000</icon>
<hitTime>500</hitTime>
<isMagic>2</isMagic> <!-- Static Skill -->
<itemConsumeId>37035</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>146718</x>
<y>-67185</y>
<z>-3652</z>
</effect>
</effects>
</skill>
<skill id="9977" toLevel="1" name="Scroll of Escape: Den of Evil">
<!-- AUTO GENERATED SKILL -->