From 3065226e5493f5e507d6629d1c0ac50f0a7b5509 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sat, 20 Aug 2016 22:30:37 +0000 Subject: [PATCH] Quest Kekropus' Letter: The Origins of a Rumor (10439). Contributed by Stayway. --- .../data/scripts/quests/MissingQuests.txt | 1 - .../30916-01.html | 4 + .../30916-02.html | 5 + .../30916-03.html | 5 + .../30916-04.html | 3 + .../30916-05.html | 3 + .../30916-06.html | 3 + .../30916-07.html | 3 + .../32641-01.html | 4 + .../32641-02.html | 4 + .../32642-01.html | 4 + .../32642-02.html | 3 + ...0439_KekropusLetterTheOriginsOfARumor.java | 195 ++++++++++++++++++ .../nocond.html | 4 + .../popup.html | 6 + .../scripts/quests/QuestMasterHandler.java | 2 + .../data/spawns/Innadril/FieldOfSilence.xml | 8 + .../data/spawns/Innadril/FieldOfWispers.xml | 8 + .../game/data/stats/skills/09900-09999.xml | 46 ++++- 19 files changed, 305 insertions(+), 6 deletions(-) create mode 100644 L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-01.html create mode 100644 L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-02.html create mode 100644 L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-03.html create mode 100644 L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-04.html create mode 100644 L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-05.html create mode 100644 L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-06.html create mode 100644 L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-07.html create mode 100644 L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/32641-01.html create mode 100644 L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/32641-02.html create mode 100644 L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/32642-01.html create mode 100644 L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/32642-02.html create mode 100644 L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/Q10439_KekropusLetterTheOriginsOfARumor.java create mode 100644 L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/nocond.html create mode 100644 L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/popup.html create mode 100644 L2J_Mobius_Underground/dist/game/data/spawns/Innadril/FieldOfSilence.xml create mode 100644 L2J_Mobius_Underground/dist/game/data/spawns/Innadril/FieldOfWispers.xml diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_Underground/dist/game/data/scripts/quests/MissingQuests.txt index f5f60a6e62..2bc5e7fb58 100644 --- a/L2J_Mobius_Underground/dist/game/data/scripts/quests/MissingQuests.txt +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/MissingQuests.txt @@ -98,7 +98,6 @@ 10435 Chasing Keltron 10437 The Seal of Punishment: Plains of the Lizardmen 10438 Chasing Loygen -10439 Kekropus' Letter: The Origins of a Rumor (9/9) 10440 The Seal of Punishment: The Fields 10441 Chasing Meccadan 10446 Hit and Run diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-01.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-01.html new file mode 100644 index 0000000000..e9618352df --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-01.html @@ -0,0 +1,4 @@ +Captain Gosta:
+Good day, adventurer. What do you need?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-02.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-02.html new file mode 100644 index 0000000000..941cbaa7e9 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-02.html @@ -0,0 +1,5 @@ +Captain Gosta:
+You came just in time. Under the Innadril Lord Lionel Hunter's orders, I've been tracking the Embryo, and found that they seem to have located another seal.
+It's a seal called Punishment. It seems that they are desperate to find a way to undo the seal...but the thing is, the key lies outside our dimension.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-03.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-03.html new file mode 100644 index 0000000000..fe511d69f4 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-03.html @@ -0,0 +1,5 @@ +Captain Gosta:
+The Mucrokians in the Field of Silence have been acting very strange lately, and that's got me worried. Could you go check it out? You can go meetDr. Helvetica in the Field of Silence or Priestess Athenia in the Field of Whispers. Who do you want to meet?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-04.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-04.html new file mode 100644 index 0000000000..8389b0a1ee --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-04.html @@ -0,0 +1,3 @@ +Captain Gosta:
+Dr. Helvetica is in the Field of Silence. You can go meet with him now. Be careful. + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-05.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-05.html new file mode 100644 index 0000000000..72418b87e6 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-05.html @@ -0,0 +1,3 @@ +Captain Gosta:
+Dr. Helvetica is in the Field of Silence. You can go meet with him now. Be careful. + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-06.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-06.html new file mode 100644 index 0000000000..331941736f --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-06.html @@ -0,0 +1,3 @@ +Captain Gosta:
+Priestess Athenia is in the Field of Whispers. You can go meet her now. Be careful. + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-07.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-07.html new file mode 100644 index 0000000000..331941736f --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/30916-07.html @@ -0,0 +1,3 @@ +Captain Gosta:
+Priestess Athenia is in the Field of Whispers. You can go meet her now. Be careful. + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/32641-01.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/32641-01.html new file mode 100644 index 0000000000..ce6c041728 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/32641-01.html @@ -0,0 +1,4 @@ +Dr. Helvetica:
+What is it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/32641-02.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/32641-02.html new file mode 100644 index 0000000000..27a740d005 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/32641-02.html @@ -0,0 +1,4 @@ +Dr. Helvetica:
+You can count on me to give you lots of useful stuff, not just stones. Hang tight, and I'll have a mission for you.

+- Note: You can develop yourself through quests and hunting at the hunting grounds of the Field of Whispers and the Field of Silence. You have finished all tasks related to Kekropus' Letter. Please work on the quest The Minstrel's Song at Lv. 85. + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/32642-01.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/32642-01.html new file mode 100644 index 0000000000..aa6e967699 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/32642-01.html @@ -0,0 +1,4 @@ +Priestess Athenia:
+What brings you here?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/32642-02.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/32642-02.html new file mode 100644 index 0000000000..5a2550f919 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/32642-02.html @@ -0,0 +1,3 @@ +Priestess Athenia:
+The stones and supplies have been given to you. Please wait a minute while I prep a mission for you to undertake. + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/Q10439_KekropusLetterTheOriginsOfARumor.java b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/Q10439_KekropusLetterTheOriginsOfARumor.java new file mode 100644 index 0000000000..1938170395 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/Q10439_KekropusLetterTheOriginsOfARumor.java @@ -0,0 +1,195 @@ +/* + * 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 . + */ +package quests.Q10439_KekropusLetterTheOriginsOfARumor; + +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: The Origins of a Rumor (10439) + * @author Stayway + */ +public final class Q10439_KekropusLetterTheOriginsOfARumor extends LetterQuest +{ + // NPCs + private static final int GOSTA = 30916; + private static final int HELVETICA = 32641; + private static final int ATHENIA = 32643; + private static final int INVISIBLE_NPC = 19543; + // Items + private static final int SOE_HEINE = 37112; // Scroll of Escape: Heine + private static final int SOE_FIELD_OF_SILENCE = 37039; // Scroll of Escape: Field of Silence + private static final int SOE_FIELD_OF_WISPERS = 37040; // Scroll of Escape: Field of Wispers + 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(108457, 221649, -3598); + // Misc + private static final int MIN_LEVEL = 81; + private static final int MAX_LEVEL = 84; + + public Q10439_KekropusLetterTheOriginsOfARumor() + { + super(10439); + addTalkId(GOSTA, HELVETICA, ATHENIA); + addSeeCreatureId(INVISIBLE_NPC); + setIsErtheiaQuest(false); + setLevel(MIN_LEVEL, MAX_LEVEL); + setStartQuestSound("Npcdialog1.kekrops_quest_9"); + setStartLocation(SOE_HEINE, TELEPORT_LOC); + registerQuestItems(SOE_HEINE, SOE_FIELD_OF_SILENCE, SOE_FIELD_OF_WISPERS); + addCondInCategory(CategoryType.MAGE_CLOACK, "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 "30916-02.html": + case "30916-03.html": + { + htmltext = event; + break; + } + case "30916-04.html": + { + if (qs.isCond(1)) + { + giveItems(player, SOE_FIELD_OF_SILENCE, 1); + qs.setCond(2, true); + htmltext = event; + } + break; + } + case "30916-06.html": + { + if (qs.isCond(1)) + { + giveItems(player, SOE_FIELD_OF_WISPERS, 1); + qs.setCond(3, true); + htmltext = event; + } + break; + } + case "32641-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; + } + case "32642-02.html": + { + if (qs.isCond(3)) + { + 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()) + { + giveItems(player, SOE_HEINE, 1); + if ((npc.getId() == GOSTA) && qs.isCond(1)) + { + htmltext = "30916-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = npc.getId() == GOSTA ? "30916-05.html" : "32641-01.html"; + } + else if (qs.isCond(3)) + { + htmltext = npc.getId() == GOSTA ? "30917-07.html" : "32642-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.FIELD_OF_SILENCE_AND_FIELD_OR_WHISPERS_ARE_GOOD_HUNTING_ZONES_FOR_LV_81_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000); + } + else if ((qs != null) && qs.isCond(3)) + { + showOnScreenMsg(player, NpcStringId.FIELD_OF_SILENCE_AND_FIELD_OR_WHISPERS_ARE_GOOD_HUNTING_ZONES_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.MAGE_CLOACK); + } +} \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/nocond.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/nocond.html new file mode 100644 index 0000000000..7fb7d661b3 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/nocond.html @@ -0,0 +1,4 @@ +Captain Gosta:
+I don't think it's time to act quite yet.
+(This quest may only be undertaken by a Mage's who have 3rd class transfered.) + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/popup.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/popup.html new file mode 100644 index 0000000000..450b1242e0 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10439_KekropusLetterTheOriginsOfARumor/popup.html @@ -0,0 +1,6 @@ +Kekropus' LetterKekropus' Letter:
+Information has turned up regarding "Punishment", Shilen's 6th seal. Go to Captain Gosta in the Heine for details.
+(A Scroll of Escape is enclosed. If you want to go now, use it to travel immediately.)
+ + + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_Underground/dist/game/data/scripts/quests/QuestMasterHandler.java index 2b3193f977..8fc56e45d7 100644 --- a/L2J_Mobius_Underground/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -291,6 +291,7 @@ import quests.Q10427_AssassinationOfTheKetraOrcChief.Q10427_AssassinationOfTheKe import quests.Q10430_KekropusLetterTrackingTheEvil.Q10430_KekropusLetterTrackingTheEvil; import quests.Q10433_KekropusLetterRegardingASeal.Q10433_KekropusLetterRegardingASeal; import quests.Q10436_KekropusLetterTheSealOfPunishment.Q10436_KekropusLetterTheSealOfPunishment; +import quests.Q10439_KekropusLetterTheOriginsOfARumor.Q10439_KekropusLetterTheOriginsOfARumor; import quests.Q10442_TheAnnihilatedPlains1.Q10442_TheAnnihilatedPlains1; import quests.Q10443_TheAnnihilatedPlains2.Q10443_TheAnnihilatedPlains2; import quests.Q10444_TheOriginOfMonsters.Q10444_TheOriginOfMonsters; @@ -665,6 +666,7 @@ public class QuestMasterHandler Q10430_KekropusLetterTrackingTheEvil.class, Q10433_KekropusLetterRegardingASeal.class, Q10436_KekropusLetterTheSealOfPunishment.class, + Q10439_KekropusLetterTheOriginsOfARumor.class, Q10442_TheAnnihilatedPlains1.class, Q10443_TheAnnihilatedPlains2.class, Q10444_TheOriginOfMonsters.class, diff --git a/L2J_Mobius_Underground/dist/game/data/spawns/Innadril/FieldOfSilence.xml b/L2J_Mobius_Underground/dist/game/data/spawns/Innadril/FieldOfSilence.xml new file mode 100644 index 0000000000..3b6c4464ef --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/spawns/Innadril/FieldOfSilence.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/spawns/Innadril/FieldOfWispers.xml b/L2J_Mobius_Underground/dist/game/data/spawns/Innadril/FieldOfWispers.xml new file mode 100644 index 0000000000..82184cc59d --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/spawns/Innadril/FieldOfWispers.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/stats/skills/09900-09999.xml b/L2J_Mobius_Underground/dist/game/data/stats/skills/09900-09999.xml index 7e77ca5483..8e6f76caf5 100644 --- a/L2J_Mobius_Underground/dist/game/data/stats/skills/09900-09999.xml +++ b/L2J_Mobius_Underground/dist/game/data/stats/skills/09900-09999.xml @@ -278,7 +278,7 @@ icon.skill0000 - 1500 + 500 2 37112 1 @@ -1098,26 +1098,62 @@ 1500 - icon.skill0000 + 500 + 2 37039 1 + 1 A1 + NONE;STRIDER;WYVERN;WOLF SELF SINGLE - 1500 + + + + + + + + + + + 86922 + 162508 + -3579 + + - icon.skill0000 + 500 37040 1 A1 SELF SINGLE - 1500 + 1 + A1 + NONE;STRIDER;WYVERN;WOLF + SELF + SINGLE + + + + + + + + + + + 81307 + 226534 + -3588 + +