Captain Jeronin:
+What brings you here?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-02.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-02.htm
new file mode 100644
index 0000000000..fcc7dadbe9
--- /dev/null
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-02.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+Ah, so you were the one! I was looking for someone to ask for help, what with all the complicated goings on in Dragon Valley. I came across the news that someone had defeated Sakum and was helping the Giant's Minions, and was hoping that such a formidable one would be able to resolve the problems that have occurred in Dragon Valley.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-03.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-03.htm
new file mode 100644
index 0000000000..9127a36d00
--- /dev/null
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-03.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+Namo is at the entrance to Dragon Valley to conduct research. When you meet him, he will explain to you the strange goings on in Dragon Valley, and what sort of help is needed.
+I will give you a Scroll of Escape: Dragon Valley, so that you can find Namo without wasting time. It should make your joumey over there easily.
+
\ No newline at end of file
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-04.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-04.htm
new file mode 100644
index 0000000000..f27f8b5fe2
--- /dev/null
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-04.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+What are you waiting for? Go now to Dragon Valley and help Namo. He is waiting for you.
+To get there quickly, use the Scroll of Escape: Dragon Valley I gave you. You could also ask a Gatekeeper for help.
+
\ No newline at end of file
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-01.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-01.html
new file mode 100644
index 0000000000..ba0433fe26
--- /dev/null
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-01.html
@@ -0,0 +1,4 @@
+Namo:
+What brings you here?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-02.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-02.html
new file mode 100644
index 0000000000..2a1431e91e
--- /dev/null
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-02.html
@@ -0,0 +1,5 @@
+Namo:
+Right now, Dragon Valley is a very dangerous place. As the 6th Seal was broken, the Dimensional Rift caused the undead to appear whenever night fell.
+You're really not going to change your mind about investigating such a dangerous place?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-03.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-03.html
new file mode 100644
index 0000000000..60f2b321a3
--- /dev/null
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-03.html
@@ -0,0 +1,3 @@
+Namo:
+Alright I will give you the mission right away.
+
\ No newline at end of file
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/Q10530_KekropusLetterTheDragonsTransition.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/Q10530_KekropusLetterTheDragonsTransition.java
new file mode 100644
index 0000000000..314fd0a494
--- /dev/null
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/Q10530_KekropusLetterTheDragonsTransition.java
@@ -0,0 +1,150 @@
+/*
+ * 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.Q10530_KekropusLetterTheDragonsTransition;
+
+import com.l2jmobius.gameserver.model.Location;
+import com.l2jmobius.gameserver.model.actor.Creature;
+import com.l2jmobius.gameserver.model.actor.Npc;
+import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
+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 Q10530_KekropusLetterTheDragonsTransition extends LetterQuest
+{
+ // NPCs
+ private static final int JERONIN = 30121;
+ private static final int NAMO = 33973;
+ private static final int INVISIBLE_NPC = 19543;
+ // Items
+ private static final int SOE_TOWN_OF_GIRAN = 46733; // Scroll of Escape: Town of GIRAN
+ private static final int SOE_DRAGON_VALLEY = 46734; // Scroll of Escape: Dragon Valley
+ // Location
+ private static final Location TELEPORT_LOC = new Location(84015, 147219, -3395);
+ // Rewards
+ private static final int XP = 1533168;
+ private static final int SP = 306;
+ // Misc
+ private static final int MIN_LEVEL = 81;
+ private static final int MAX_LEVEL = 84;
+
+ public Q10530_KekropusLetterTheDragonsTransition()
+ {
+ super(10530);
+ addTalkId(JERONIN, NAMO);
+ addSeeCreatureId(INVISIBLE_NPC);
+ setIsErtheiaQuest(false);
+ setLevel(MIN_LEVEL, MAX_LEVEL);
+ setStartQuestSound("Npcdialog1.kekrops_quest_15");
+ setStartLocation(SOE_TOWN_OF_GIRAN, TELEPORT_LOC);
+ registerQuestItems(SOE_TOWN_OF_GIRAN, SOE_DRAGON_VALLEY);
+ }
+
+ @Override
+ public String onAdvEvent(String event, Npc npc, PlayerInstance player)
+ {
+ final QuestState qs = getQuestState(player, false);
+ if (qs == null)
+ {
+ return null;
+ }
+
+ String htmltext = null;
+ switch (event)
+ {
+ case "30121-02.htm":
+ case "33973-02.html":
+ {
+ htmltext = event;
+ break;
+ }
+ case "30121-03.htm":
+ {
+ if (qs.isCond(2))
+ {
+ takeItems(player, SOE_TOWN_OF_GIRAN, -1);
+ giveItems(player, SOE_DRAGON_VALLEY, 1);
+ qs.setCond(3, true);
+ htmltext = event;
+ }
+ break;
+ }
+ case "33973-03.html":
+ {
+ if (qs.isCond(3))
+ {
+ qs.exitQuest(false, true);
+ if (player.getLevel() >= MIN_LEVEL)
+ {
+ addExpAndSp(player, XP, SP);
+ }
+ showOnScreenMsg(player, NpcStringId.YOU_HAVE_FINISHED_ALL_OF_KEKROPUS_LETTERS_GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_LETTERS_FROM_A_MINSTREL_AT_LV_85, ExShowScreenMessage.TOP_CENTER, 6000);
+ htmltext = event;
+ }
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onTalk(Npc npc, PlayerInstance player)
+ {
+ String htmltext = getNoQuestMsg(player);
+ final QuestState qs = getQuestState(player, false);
+
+ if (qs == null)
+ {
+ return htmltext;
+ }
+
+ if (qs.isStarted())
+ {
+ if ((npc.getId() == JERONIN) && qs.isCond(2))
+ {
+ htmltext = "30121-01.htm";
+ }
+ else if (qs.isCond(3))
+ {
+ htmltext = npc.getId() == JERONIN ? "30121-04.htm" : "33973-01.html";
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onSeeCreature(Npc npc, Creature creature, boolean isSummon)
+ {
+ if (creature.isPlayer())
+ {
+ final PlayerInstance player = creature.getActingPlayer();
+ final QuestState qs = getQuestState(player, false);
+
+ if ((qs != null) && qs.isCond(3))
+ {
+ showOnScreenMsg(player, NpcStringId.DEN_OF_EVIL_IS_A_GOOD_HUNTING_ZONE_FOR_LV_81_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
+ }
+ }
+ return super.onSeeCreature(npc, creature, isSummon);
+ }
+}
\ No newline at end of file
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/popup.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/popup.html
new file mode 100644
index 0000000000..3b6e6d9b3b
--- /dev/null
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/popup.html
@@ -0,0 +1,8 @@
+Kekropus' LetterKekropus' Letter:
+Since the dimensional rift was discovered in Dragon Valley, changes have been observed among the dragons.
+I suspect Embryo involvement in this matter as well.
+Go to Captain Jeronin in the Town of Giran 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_3.0_Helios/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/QuestMasterHandler.java
index 90131ccd4d..f379b3d640 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/QuestMasterHandler.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/QuestMasterHandler.java
@@ -350,6 +350,7 @@ import quests.Q10525_QueenNavarisLetterKetraOrcOutpost.Q10525_QueenNavarisLetter
import quests.Q10526_TheDarkSecretOfTheKetraOrcs.Q10526_TheDarkSecretOfTheKetraOrcs;
import quests.Q10527_TheAssassinationOfTheKetraOrcCommander.Q10527_TheAssassinationOfTheKetraOrcCommander;
import quests.Q10528_TheAssassinationOfTheKetraOrcChief.Q10528_TheAssassinationOfTheKetraOrcChief;
+import quests.Q10530_KekropusLetterTheDragonsTransition.Q10530_KekropusLetterTheDragonsTransition;
import quests.Q10534_HatchlingResearch.Q10534_HatchlingResearch;
import quests.Q10541_TrainLikeTheRealThing.Q10541_TrainLikeTheRealThing;
import quests.Q10542_SearchingForNewPower.Q10542_SearchingForNewPower;
@@ -917,6 +918,7 @@ public class QuestMasterHandler
Q10526_TheDarkSecretOfTheKetraOrcs.class,
Q10527_TheAssassinationOfTheKetraOrcCommander.class,
Q10528_TheAssassinationOfTheKetraOrcChief.class,
+ Q10530_KekropusLetterTheDragonsTransition.class,
Q10531_OddHappeningsAtDragonValley.class, // TODO: Not done.
Q10532_UncoveringTheConspiracy.class, // TODO: Not done.
Q10534_HatchlingResearch.class,
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/LetterQuest.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/LetterQuest.java
index 2e4838eae1..c4250ad91b 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/LetterQuest.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/LetterQuest.java
@@ -195,6 +195,7 @@ public abstract class LetterQuest extends Quest
{
player.teleToLocation(_startTeleport);
takeItems(player, _startSOE, -1);
+ qs.setCond(2, true);
}
}
player.sendPacket(TutorialCloseHtml.STATIC_PACKET);
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/MissingQuests.txt
index 811a8307dd..a94d6bd64f 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/MissingQuests.txt
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/MissingQuests.txt
@@ -134,7 +134,6 @@
10454 Final Embryo Apostle
10457 Kefensis' Illusion
10506 Diana's Request
-10530 Kekropus' Letter, The Dragon's Transition Achieve Level 81
10531 Odd Happenings at Dragon Valley Strange Things Afoot in the Valley
10532 Uncovering the Conspiracy Eliminate the Undead and Dragons
10535 Blacksmith's Soul-awakening Weapon - 3
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-01.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-01.htm
new file mode 100644
index 0000000000..52ff9ab5ec
--- /dev/null
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-01.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+What brings you here?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-02.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-02.htm
new file mode 100644
index 0000000000..fcc7dadbe9
--- /dev/null
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-02.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+Ah, so you were the one! I was looking for someone to ask for help, what with all the complicated goings on in Dragon Valley. I came across the news that someone had defeated Sakum and was helping the Giant's Minions, and was hoping that such a formidable one would be able to resolve the problems that have occurred in Dragon Valley.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-03.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-03.htm
new file mode 100644
index 0000000000..9127a36d00
--- /dev/null
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-03.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+Namo is at the entrance to Dragon Valley to conduct research. When you meet him, he will explain to you the strange goings on in Dragon Valley, and what sort of help is needed.
+I will give you a Scroll of Escape: Dragon Valley, so that you can find Namo without wasting time. It should make your joumey over there easily.
+
\ No newline at end of file
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-04.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-04.htm
new file mode 100644
index 0000000000..f27f8b5fe2
--- /dev/null
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-04.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+What are you waiting for? Go now to Dragon Valley and help Namo. He is waiting for you.
+To get there quickly, use the Scroll of Escape: Dragon Valley I gave you. You could also ask a Gatekeeper for help.
+
\ No newline at end of file
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-01.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-01.html
new file mode 100644
index 0000000000..ba0433fe26
--- /dev/null
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-01.html
@@ -0,0 +1,4 @@
+Namo:
+What brings you here?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-02.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-02.html
new file mode 100644
index 0000000000..2a1431e91e
--- /dev/null
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-02.html
@@ -0,0 +1,5 @@
+Namo:
+Right now, Dragon Valley is a very dangerous place. As the 6th Seal was broken, the Dimensional Rift caused the undead to appear whenever night fell.
+You're really not going to change your mind about investigating such a dangerous place?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-03.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-03.html
new file mode 100644
index 0000000000..60f2b321a3
--- /dev/null
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-03.html
@@ -0,0 +1,3 @@
+Namo:
+Alright I will give you the mission right away.
+
\ No newline at end of file
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/Q10530_KekropusLetterTheDragonsTransition.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/Q10530_KekropusLetterTheDragonsTransition.java
new file mode 100644
index 0000000000..507f5aa5d1
--- /dev/null
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/Q10530_KekropusLetterTheDragonsTransition.java
@@ -0,0 +1,151 @@
+/*
+ * 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.Q10530_KekropusLetterTheDragonsTransition;
+
+import com.l2jmobius.gameserver.model.Location;
+import com.l2jmobius.gameserver.model.actor.Creature;
+import com.l2jmobius.gameserver.model.actor.Npc;
+import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
+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 Q10530_KekropusLetterTheDragonsTransition extends LetterQuest
+{
+ // NPCs
+ private static final int JERONIN = 30121;
+ private static final int NAMO = 33973;
+ private static final int INVISIBLE_NPC = 19543;
+ // Items
+ private static final int SOE_TOWN_OF_GIRAN = 46733; // Scroll of Escape: Town of GIRAN
+ private static final int SOE_DRAGON_VALLEY = 46734; // Scroll of Escape: Dragon Valley
+ // Location
+ private static final Location TELEPORT_LOC = new Location(84015, 147219, -3395);
+ // Rewards
+ private static final int XP = 1533168;
+ private static final int SP = 306;
+ // Misc
+ private static final int MIN_LEVEL = 81;
+ private static final int MAX_LEVEL = 84;
+
+ public Q10530_KekropusLetterTheDragonsTransition()
+ {
+ super(10530);
+ addTalkId(JERONIN, NAMO);
+ addSeeCreatureId(INVISIBLE_NPC);
+ setIsErtheiaQuest(false);
+ setLevel(MIN_LEVEL, MAX_LEVEL);
+ setStartQuestSound("Npcdialog1.kekrops_quest_15");
+ setStartLocation(SOE_TOWN_OF_GIRAN, TELEPORT_LOC);
+ registerQuestItems(SOE_TOWN_OF_GIRAN, SOE_DRAGON_VALLEY);
+ }
+
+ @Override
+ public String onAdvEvent(String event, Npc npc, PlayerInstance player)
+ {
+ final QuestState qs = getQuestState(player, false);
+ if (qs == null)
+ {
+ return null;
+ }
+
+ String htmltext = null;
+ switch (event)
+ {
+ case "30121-02.htm":
+ case "33973-02.html":
+ {
+ htmltext = event;
+ break;
+ }
+ case "30121-03.htm":
+ {
+ if (qs.isCond(2))
+ {
+ takeItems(player, SOE_TOWN_OF_GIRAN, -1);
+ giveItems(player, SOE_DRAGON_VALLEY, 1);
+ qs.setCond(3, true);
+ htmltext = event;
+ }
+ break;
+ }
+ case "33973-03.html":
+ {
+ if (qs.isCond(3))
+ {
+ qs.exitQuest(false, true);
+ giveStoryQuestReward(npc, player);
+ if (player.getLevel() >= MIN_LEVEL)
+ {
+ addExpAndSp(player, XP, SP);
+ }
+ showOnScreenMsg(player, NpcStringId.YOU_HAVE_FINISHED_ALL_OF_KEKROPUS_LETTERS_GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_LETTERS_FROM_A_MINSTREL_AT_LV_85, ExShowScreenMessage.TOP_CENTER, 6000);
+ htmltext = event;
+ }
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onTalk(Npc npc, PlayerInstance player)
+ {
+ String htmltext = getNoQuestMsg(player);
+ final QuestState qs = getQuestState(player, false);
+
+ if (qs == null)
+ {
+ return htmltext;
+ }
+
+ if (qs.isStarted())
+ {
+ if ((npc.getId() == JERONIN) && qs.isCond(2))
+ {
+ htmltext = "30121-01.htm";
+ }
+ else if (qs.isCond(3))
+ {
+ htmltext = npc.getId() == JERONIN ? "30121-04.htm" : "33973-01.html";
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onSeeCreature(Npc npc, Creature creature, boolean isSummon)
+ {
+ if (creature.isPlayer())
+ {
+ final PlayerInstance player = creature.getActingPlayer();
+ final QuestState qs = getQuestState(player, false);
+
+ if ((qs != null) && qs.isCond(3))
+ {
+ showOnScreenMsg(player, NpcStringId.DEN_OF_EVIL_IS_A_GOOD_HUNTING_ZONE_FOR_LV_81_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
+ }
+ }
+ return super.onSeeCreature(npc, creature, isSummon);
+ }
+}
\ No newline at end of file
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/popup.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/popup.html
new file mode 100644
index 0000000000..3b6e6d9b3b
--- /dev/null
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/popup.html
@@ -0,0 +1,8 @@
+Kekropus' LetterKekropus' Letter:
+Since the dimensional rift was discovered in Dragon Valley, changes have been observed among the dragons.
+I suspect Embryo involvement in this matter as well.
+Go to Captain Jeronin in the Town of Giran 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_4.0_GrandCrusade/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/QuestMasterHandler.java
index c5fe50b608..c94cdda294 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/QuestMasterHandler.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/QuestMasterHandler.java
@@ -348,6 +348,7 @@ import quests.Q10525_QueenNavarisLetterKetraOrcOutpost.Q10525_QueenNavarisLetter
import quests.Q10526_TheDarkSecretOfTheKetraOrcs.Q10526_TheDarkSecretOfTheKetraOrcs;
import quests.Q10527_TheAssassinationOfTheKetraOrcCommander.Q10527_TheAssassinationOfTheKetraOrcCommander;
import quests.Q10528_TheAssassinationOfTheKetraOrcChief.Q10528_TheAssassinationOfTheKetraOrcChief;
+import quests.Q10530_KekropusLetterTheDragonsTransition.Q10530_KekropusLetterTheDragonsTransition;
import quests.Q10534_HatchlingResearch.Q10534_HatchlingResearch;
import quests.Q10541_TrainLikeTheRealThing.Q10541_TrainLikeTheRealThing;
import quests.Q10542_SearchingForNewPower.Q10542_SearchingForNewPower;
@@ -944,6 +945,7 @@ public class QuestMasterHandler
Q10526_TheDarkSecretOfTheKetraOrcs.class,
Q10527_TheAssassinationOfTheKetraOrcCommander.class,
Q10528_TheAssassinationOfTheKetraOrcChief.class,
+ Q10530_KekropusLetterTheDragonsTransition.class,
Q10531_OddHappeningsAtDragonValley.class, // TODO: Not done.
Q10532_UncoveringTheConspiracy.class, // TODO: Not done.
Q10534_HatchlingResearch.class,
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/LetterQuest.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/LetterQuest.java
index 2e4838eae1..c4250ad91b 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/LetterQuest.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/LetterQuest.java
@@ -195,6 +195,7 @@ public abstract class LetterQuest extends Quest
{
player.teleToLocation(_startTeleport);
takeItems(player, _startSOE, -1);
+ qs.setCond(2, true);
}
}
player.sendPacket(TutorialCloseHtml.STATIC_PACKET);
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/MissingQuests.txt
index a7e85223d6..c7def342c4 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/MissingQuests.txt
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/MissingQuests.txt
@@ -159,7 +159,6 @@
10454 Final Embryo Apostle
10457 Kefensis' Illusion
10506 Diana's Request
-10530 Kekropus' Letter, The Dragon's Transition Achieve Level 81
10531 Odd Happenings at Dragon Valley Strange Things Afoot in the Valley
10532 Uncovering the Conspiracy Eliminate the Undead and Dragons
10535 Blacksmith's Soul-awakening Weapon - 3
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10390_KekropusLetter/Q10390_KekropusLetter.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10390_KekropusLetter/Q10390_KekropusLetter.java
index d4f96f60a4..bc9d0e86c5 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10390_KekropusLetter/Q10390_KekropusLetter.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10390_KekropusLetter/Q10390_KekropusLetter.java
@@ -119,7 +119,7 @@ public final class Q10390_KekropusLetter extends Quest
{
player.sendPacket(new TutorialShowHtml(getHtm(player, event)));
player.sendPacket(new PlaySound(3, "Npcdialog1.kekrops_quest_1", 0, 0, 0, 0, 0));
- qs.setCond(2);
+ qs.setCond(2, true);
}
break;
}
@@ -129,7 +129,7 @@ public final class Q10390_KekropusLetter extends Quest
{
takeItems(player, KEKROPUS_LETTER, -1);
giveItems(player, HAINE_SOE, 1);
- qs.setCond(3);
+ qs.setCond(3, true);
htmltext = event;
}
break;
@@ -139,7 +139,7 @@ public final class Q10390_KekropusLetter extends Quest
if (qs.isCond(3))
{
giveItems(player, ALLIGATOR_ISLAND_SOE, 1);
- qs.setCond(4);
+ qs.setCond(4, true);
htmltext = event;
}
break;
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10393_KekropusLetterAClueCompleted/Q10393_KekropusLetterAClueCompleted.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10393_KekropusLetterAClueCompleted/Q10393_KekropusLetterAClueCompleted.java
index ec1223a802..3b07042400 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10393_KekropusLetterAClueCompleted/Q10393_KekropusLetterAClueCompleted.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10393_KekropusLetterAClueCompleted/Q10393_KekropusLetterAClueCompleted.java
@@ -77,9 +77,9 @@ public final class Q10393_KekropusLetterAClueCompleted extends LetterQuest
}
case "30677-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_OUTLAW_FOREST, 1);
htmltext = event;
}
@@ -87,7 +87,7 @@ public final class Q10393_KekropusLetterAClueCompleted extends LetterQuest
}
case "33862-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -114,11 +114,11 @@ public final class Q10393_KekropusLetterAClueCompleted extends LetterQuest
if (qs.isStarted())
{
- if (qs.isCond(1) && (npc.getId() == FLUTER))
+ if (qs.isCond(2) && (npc.getId() == FLUTER))
{
htmltext = "30677-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == FLUTER ? "30677-04.html" : "33862-01.html";
}
@@ -134,7 +134,7 @@ public final class Q10393_KekropusLetterAClueCompleted extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.OUTLAW_FOREST_IS_A_GOOD_HUNTING_ZONE_FOR_LV_46_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10401_KekropusLetterDecodingTheBadge/Q10401_KekropusLetterDecodingTheBadge.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10401_KekropusLetterDecodingTheBadge/Q10401_KekropusLetterDecodingTheBadge.java
index 938a8be8a5..34b33ec3a5 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10401_KekropusLetterDecodingTheBadge/Q10401_KekropusLetterDecodingTheBadge.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10401_KekropusLetterDecodingTheBadge/Q10401_KekropusLetterDecodingTheBadge.java
@@ -42,7 +42,7 @@ public final class Q10401_KekropusLetterDecodingTheBadge extends LetterQuest
// Location
private static final Location TELEPORT_LOC = new Location(147540, 24661, -1984);
// Misc
- private static final int MIN_LEVEL = 58;
+ private static final int MIN_LEVEL = 56;
private static final int MAX_LEVEL = 60;
public Q10401_KekropusLetterDecodingTheBadge()
@@ -77,9 +77,9 @@ public final class Q10401_KekropusLetterDecodingTheBadge extends LetterQuest
}
case "33864-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_FORSAKEN_PLAINS, 1);
htmltext = event;
}
@@ -87,7 +87,7 @@ public final class Q10401_KekropusLetterDecodingTheBadge extends LetterQuest
}
case "33865-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -117,11 +117,11 @@ public final class Q10401_KekropusLetterDecodingTheBadge extends LetterQuest
if (qs.isStarted())
{
- if (qs.isCond(1) && (npc.getId() == PATERSON))
+ if (qs.isCond(2) && (npc.getId() == PATERSON))
{
htmltext = "33864-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == PATERSON ? "33864-04.html" : "33865-01.html";
}
@@ -137,7 +137,7 @@ public final class Q10401_KekropusLetterDecodingTheBadge extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.FORSAKEN_PLAINS_IA_A_GOOD_HUNTING_ZONE_FOR_LV_58_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10404_KekropusLetterAHiddenMeaning/Q10404_KekropusLetterAHiddenMeaning.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10404_KekropusLetterAHiddenMeaning/Q10404_KekropusLetterAHiddenMeaning.java
index 1435b61868..62299b25e0 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10404_KekropusLetterAHiddenMeaning/Q10404_KekropusLetterAHiddenMeaning.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10404_KekropusLetterAHiddenMeaning/Q10404_KekropusLetterAHiddenMeaning.java
@@ -77,9 +77,9 @@ public final class Q10404_KekropusLetterAHiddenMeaning extends LetterQuest
}
case "33864-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_FIELDS_OF_MASSACRE, 1);
htmltext = event;
}
@@ -87,7 +87,7 @@ public final class Q10404_KekropusLetterAHiddenMeaning extends LetterQuest
}
case "33867-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -117,11 +117,11 @@ public final class Q10404_KekropusLetterAHiddenMeaning extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == PATERSON) && qs.isCond(1))
+ if ((npc.getId() == PATERSON) && qs.isCond(2))
{
htmltext = "33864-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == PATERSON ? "33864-04.html" : "33867-01.html";
}
@@ -137,7 +137,7 @@ public final class Q10404_KekropusLetterAHiddenMeaning extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.FIELDS_OF_MASSACRE_IS_A_GOOD_HUNTING_ZONE_FOR_LV_61_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10408_KekropusLetterTheSwampOfScreams/Q10408_KekropusLetterTheSwampOfScreams.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10408_KekropusLetterTheSwampOfScreams/Q10408_KekropusLetterTheSwampOfScreams.java
index 561565f257..125eb120ae 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10408_KekropusLetterTheSwampOfScreams/Q10408_KekropusLetterTheSwampOfScreams.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10408_KekropusLetterTheSwampOfScreams/Q10408_KekropusLetterTheSwampOfScreams.java
@@ -77,18 +77,18 @@ public final class Q10408_KekropusLetterTheSwampOfScreams extends LetterQuest
}
case "31340-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_RUNE, -1);
giveItems(player, SOE_SWAMP_OF_SCREAMS, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33847-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -118,11 +118,11 @@ public final class Q10408_KekropusLetterTheSwampOfScreams extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == MATHIAS) && qs.isCond(1))
+ if ((npc.getId() == MATHIAS) && qs.isCond(2))
{
htmltext = "31340-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == MATHIAS ? "31340-04.html" : "33847-01.html";
}
@@ -138,7 +138,7 @@ public final class Q10408_KekropusLetterTheSwampOfScreams extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.SWAMP_OF_SCREAMS_IA_A_GOOD_HUNTING_ZONE_FOR_LV_65_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10411_KekropusLetterTheForestOfTheDead/Q10411_KekropusLetterTheForestOfTheDead.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10411_KekropusLetterTheForestOfTheDead/Q10411_KekropusLetterTheForestOfTheDead.java
index 51200adb60..9a045e0f73 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10411_KekropusLetterTheForestOfTheDead/Q10411_KekropusLetterTheForestOfTheDead.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10411_KekropusLetterTheForestOfTheDead/Q10411_KekropusLetterTheForestOfTheDead.java
@@ -77,18 +77,18 @@ public final class Q10411_KekropusLetterTheForestOfTheDead extends LetterQuest
}
case "31340-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_RUNE, -1);
giveItems(player, SOE_FOREST_OF_THE_DEAD, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33849-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -118,11 +118,11 @@ public final class Q10411_KekropusLetterTheForestOfTheDead extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == MATHIAS) && qs.isCond(1))
+ if ((npc.getId() == MATHIAS) && qs.isCond(2))
{
htmltext = "31340-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == MATHIAS ? "31340-04.html" : "33849-01.html";
}
@@ -138,7 +138,7 @@ public final class Q10411_KekropusLetterTheForestOfTheDead extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.FOREST_OF_THE_DEAD_IS_A_GOOD_HUNTING_ZONE_FOR_LV_65_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10414_KekropusLetterWithCourage/Q10414_KekropusLetterWithCourage.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10414_KekropusLetterWithCourage/Q10414_KekropusLetterWithCourage.java
index 49cf2890cf..e80ea3f42d 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10414_KekropusLetterWithCourage/Q10414_KekropusLetterWithCourage.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10414_KekropusLetterWithCourage/Q10414_KekropusLetterWithCourage.java
@@ -77,18 +77,18 @@ public final class Q10414_KekropusLetterWithCourage extends LetterQuest
}
case "31292-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_GODDARD, -1);
giveItems(player, SOE_WALL_OF_ARGOS, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33851-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -118,11 +118,11 @@ public final class Q10414_KekropusLetterWithCourage extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == ANDREI) && qs.isCond(1))
+ if ((npc.getId() == ANDREI) && qs.isCond(2))
{
htmltext = "31292-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == ANDREI ? "31292-04.html" : "33851-01.html";
}
@@ -138,7 +138,7 @@ public final class Q10414_KekropusLetterWithCourage extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.WALL_OF_ARGOS_IS_A_GOOD_HUNTING_ZONE_FOR_LV_70_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10415_KekropusLetterWithWisdom/Q10415_KekropusLetterWithWisdom.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10415_KekropusLetterWithWisdom/Q10415_KekropusLetterWithWisdom.java
index bd1a4e0a41..d6a8ce8c91 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10415_KekropusLetterWithWisdom/Q10415_KekropusLetterWithWisdom.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10415_KekropusLetterWithWisdom/Q10415_KekropusLetterWithWisdom.java
@@ -78,18 +78,18 @@ public class Q10415_KekropusLetterWithWisdom extends LetterQuest
}
case "31292-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_GODDARD, -1);
giveItems(player, SOE_WALL_OF_ARGOS, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33851-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -113,11 +113,11 @@ public class Q10415_KekropusLetterWithWisdom extends LetterQuest
String htmltext = getNoQuestMsg(player);
if (qs.isStarted())
{
- if ((npc.getId() == ANDREI) && qs.isCond(1))
+ if ((npc.getId() == ANDREI) && qs.isCond(2))
{
htmltext = "31292-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == ANDREI ? "31292-04.html" : "33851-01.html";
}
@@ -133,7 +133,7 @@ public class Q10415_KekropusLetterWithWisdom extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.WALL_OF_ARGOS_IS_A_GOOD_HUNTING_ZONE_FOR_LV_70_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/Q10419_KekropusLetterKampfsWhereabouts.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/Q10419_KekropusLetterKampfsWhereabouts.java
index a24f91395d..cde3eea38c 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/Q10419_KekropusLetterKampfsWhereabouts.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/Q10419_KekropusLetterKampfsWhereabouts.java
@@ -77,18 +77,18 @@ public final class Q10419_KekropusLetterKampfsWhereabouts extends LetterQuest
}
case "31292-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_GODDARD, -1);
giveItems(player, SOE_VARKA_SILENOS_BARRACKS, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33853-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -118,11 +118,11 @@ public final class Q10419_KekropusLetterKampfsWhereabouts extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == ANDREI) && qs.isCond(1))
+ if ((npc.getId() == ANDREI) && qs.isCond(2))
{
htmltext = "31292-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == ANDREI ? "31292-04.html" : "33853-01.html";
}
@@ -138,7 +138,7 @@ public final class Q10419_KekropusLetterKampfsWhereabouts extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.VARKA_SILENOS_BARRACKS_IS_A_GOOD_HUNTING_ZONE_FOR_LV_76_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10424_KekropusLetterBelosWhereabouts/Q10424_KekropusLetterBelosWhereabouts.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10424_KekropusLetterBelosWhereabouts/Q10424_KekropusLetterBelosWhereabouts.java
index 1600f6eb9b..e7d3210667 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10424_KekropusLetterBelosWhereabouts/Q10424_KekropusLetterBelosWhereabouts.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10424_KekropusLetterBelosWhereabouts/Q10424_KekropusLetterBelosWhereabouts.java
@@ -76,18 +76,18 @@ public final class Q10424_KekropusLetterBelosWhereabouts extends LetterQuest
}
case "31292-03.htm":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_GODDARD, -1);
giveItems(player, SOE_KETRA_ORC_OUTPOST, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33852-02.htm":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -117,11 +117,11 @@ public final class Q10424_KekropusLetterBelosWhereabouts extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == ANDREI) && qs.isCond(1))
+ if ((npc.getId() == ANDREI) && qs.isCond(2))
{
htmltext = "31292-01.htm";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == ANDREI ? "31292-04.htm" : "33852-01.htm";
}
@@ -137,7 +137,7 @@ public final class Q10424_KekropusLetterBelosWhereabouts extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.KETRA_ORC_OUTPOST_IS_A_GOOD_HUNTING_ZONE_FOR_LV_76_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-01.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-01.htm
new file mode 100644
index 0000000000..52ff9ab5ec
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-01.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+What brings you here?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-02.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-02.htm
new file mode 100644
index 0000000000..fcc7dadbe9
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-02.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+Ah, so you were the one! I was looking for someone to ask for help, what with all the complicated goings on in Dragon Valley. I came across the news that someone had defeated Sakum and was helping the Giant's Minions, and was hoping that such a formidable one would be able to resolve the problems that have occurred in Dragon Valley.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-03.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-03.htm
new file mode 100644
index 0000000000..9127a36d00
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-03.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+Namo is at the entrance to Dragon Valley to conduct research. When you meet him, he will explain to you the strange goings on in Dragon Valley, and what sort of help is needed.
+I will give you a Scroll of Escape: Dragon Valley, so that you can find Namo without wasting time. It should make your joumey over there easily.
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-04.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-04.htm
new file mode 100644
index 0000000000..f27f8b5fe2
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-04.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+What are you waiting for? Go now to Dragon Valley and help Namo. He is waiting for you.
+To get there quickly, use the Scroll of Escape: Dragon Valley I gave you. You could also ask a Gatekeeper for help.
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-01.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-01.html
new file mode 100644
index 0000000000..ba0433fe26
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-01.html
@@ -0,0 +1,4 @@
+Namo:
+What brings you here?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-02.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-02.html
new file mode 100644
index 0000000000..2a1431e91e
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-02.html
@@ -0,0 +1,5 @@
+Namo:
+Right now, Dragon Valley is a very dangerous place. As the 6th Seal was broken, the Dimensional Rift caused the undead to appear whenever night fell.
+You're really not going to change your mind about investigating such a dangerous place?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-03.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-03.html
new file mode 100644
index 0000000000..60f2b321a3
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-03.html
@@ -0,0 +1,3 @@
+Namo:
+Alright I will give you the mission right away.
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/Q10530_KekropusLetterTheDragonsTransition.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/Q10530_KekropusLetterTheDragonsTransition.java
new file mode 100644
index 0000000000..f0f8ee2db8
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/Q10530_KekropusLetterTheDragonsTransition.java
@@ -0,0 +1,151 @@
+/*
+ * 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.Q10530_KekropusLetterTheDragonsTransition;
+
+import com.l2jmobius.gameserver.model.Location;
+import com.l2jmobius.gameserver.model.actor.Creature;
+import com.l2jmobius.gameserver.model.actor.Npc;
+import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
+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 Q10530_KekropusLetterTheDragonsTransition extends LetterQuest
+{
+ // NPCs
+ private static final int JERONIN = 30121;
+ private static final int NAMO = 33973;
+ private static final int INVISIBLE_NPC = 19543;
+ // Items
+ private static final int SOE_TOWN_OF_GIRAN = 46733; // Scroll of Escape: Town of GIRAN
+ private static final int SOE_DRAGON_VALLEY = 46734; // Scroll of Escape: Dragon Valley
+ // Location
+ private static final Location TELEPORT_LOC = new Location(84015, 147219, -3395);
+ // Rewards
+ private static final int XP = 1533168;
+ private static final int SP = 306;
+ // Misc
+ private static final int MIN_LEVEL = 81;
+ private static final int MAX_LEVEL = 84;
+
+ public Q10530_KekropusLetterTheDragonsTransition()
+ {
+ super(10530);
+ addTalkId(JERONIN, NAMO);
+ addSeeCreatureId(INVISIBLE_NPC);
+ setIsErtheiaQuest(false);
+ setLevel(MIN_LEVEL, MAX_LEVEL);
+ setStartQuestSound("Npcdialog1.kekrops_quest_15");
+ setStartLocation(SOE_TOWN_OF_GIRAN, TELEPORT_LOC);
+ registerQuestItems(SOE_TOWN_OF_GIRAN, SOE_DRAGON_VALLEY);
+ }
+
+ @Override
+ public String onAdvEvent(String event, Npc npc, PlayerInstance player)
+ {
+ final QuestState qs = getQuestState(player, false);
+ if (qs == null)
+ {
+ return null;
+ }
+
+ String htmltext = null;
+ switch (event)
+ {
+ case "30121-02.htm":
+ case "33973-02.html":
+ {
+ htmltext = event;
+ break;
+ }
+ case "30121-03.htm":
+ {
+ if (qs.isCond(2))
+ {
+ takeItems(player, SOE_TOWN_OF_GIRAN, -1);
+ giveItems(player, SOE_DRAGON_VALLEY, 1);
+ qs.setCond(3, true);
+ htmltext = event;
+ }
+ break;
+ }
+ case "33973-03.html":
+ {
+ if (qs.isCond(3))
+ {
+ qs.exitQuest(false, true);
+ giveStoryQuestReward(npc, player);
+ if (player.getLevel() >= MIN_LEVEL)
+ {
+ addExpAndSp(player, XP, SP);
+ }
+ showOnScreenMsg(player, NpcStringId.YOU_HAVE_COMPLETED_ALL_OF_KEKROPUS_LETTER, ExShowScreenMessage.TOP_CENTER, 6000);
+ htmltext = event;
+ }
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onTalk(Npc npc, PlayerInstance player)
+ {
+ String htmltext = getNoQuestMsg(player);
+ final QuestState qs = getQuestState(player, false);
+
+ if (qs == null)
+ {
+ return htmltext;
+ }
+
+ if (qs.isStarted())
+ {
+ if ((npc.getId() == JERONIN) && qs.isCond(2))
+ {
+ htmltext = "30121-01.htm";
+ }
+ else if (qs.isCond(3))
+ {
+ htmltext = npc.getId() == JERONIN ? "30121-04.htm" : "33973-01.html";
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onSeeCreature(Npc npc, Creature creature, boolean isSummon)
+ {
+ if (creature.isPlayer())
+ {
+ final PlayerInstance player = creature.getActingPlayer();
+ final QuestState qs = getQuestState(player, false);
+
+ if ((qs != null) && qs.isCond(3))
+ {
+ showOnScreenMsg(player, NpcStringId.DEN_OF_EVIL_IS_A_GOOD_HUNTING_ZONE_FOR_LV_81_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
+ }
+ }
+ return super.onSeeCreature(npc, creature, isSummon);
+ }
+}
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/popup.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/popup.html
new file mode 100644
index 0000000000..3b6e6d9b3b
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/popup.html
@@ -0,0 +1,8 @@
+Kekropus' LetterKekropus' Letter:
+Since the dimensional rift was discovered in Dragon Valley, changes have been observed among the dragons.
+I suspect Embryo involvement in this matter as well.
+Go to Captain Jeronin in the Town of Giran 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_5.0_Salvation/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/Q10755_LettersFromTheQueenWindyHill.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/Q10755_LettersFromTheQueenWindyHill.java
index 78bfa28ce2..3f867b30f6 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/Q10755_LettersFromTheQueenWindyHill.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/Q10755_LettersFromTheQueenWindyHill.java
@@ -74,9 +74,9 @@ public final class Q10755_LettersFromTheQueenWindyHill extends LetterQuest
}
case "30037-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_WINDY_HILL, 1);
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_LEVIAN_GAVE_YOU, ExShowScreenMessage.TOP_CENTER, 5000);
}
@@ -84,7 +84,7 @@ public final class Q10755_LettersFromTheQueenWindyHill extends LetterQuest
}
case "33963-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 120960, 29);
@@ -116,9 +116,9 @@ public final class Q10755_LettersFromTheQueenWindyHill extends LetterQuest
{
if ((npc.getId() == LEVIAN))
{
- htmltext = (qs.isCond(1)) ? "30037-01.html" : "30037-04.html";
+ htmltext = (qs.isCond(2)) ? "30037-01.html" : "30037-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33963-01.html";
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/Q10760_LettersFromTheQueenOrcBarracks.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/Q10760_LettersFromTheQueenOrcBarracks.java
index 1b485cf010..d79aca06b8 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/Q10760_LettersFromTheQueenOrcBarracks.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/Q10760_LettersFromTheQueenOrcBarracks.java
@@ -74,9 +74,9 @@ public class Q10760_LettersFromTheQueenOrcBarracks extends LetterQuest
}
case "30037-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_ORC_BARRACKS, 1);
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_LEVIAN_GAVE_YOU_TO_GO_TO_ORC_BARRACKS, ExShowScreenMessage.TOP_CENTER, 5000);
}
@@ -84,7 +84,7 @@ public class Q10760_LettersFromTheQueenOrcBarracks extends LetterQuest
}
case "30597-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 242760, 58);
@@ -116,9 +116,9 @@ public class Q10760_LettersFromTheQueenOrcBarracks extends LetterQuest
{
if ((npc.getId() == LEVIAN))
{
- htmltext = (qs.isCond(1)) ? "30037-01.html" : "30037-04.html";
+ htmltext = (qs.isCond(2)) ? "30037-01.html" : "30037-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "30597-01.html";
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10769_LettersFromTheQueenCrumaTowerPart1/Q10769_LettersFromTheQueenCrumaTowerPart1.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10769_LettersFromTheQueenCrumaTowerPart1/Q10769_LettersFromTheQueenCrumaTowerPart1.java
index f81122ab25..71177fa62d 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10769_LettersFromTheQueenCrumaTowerPart1/Q10769_LettersFromTheQueenCrumaTowerPart1.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10769_LettersFromTheQueenCrumaTowerPart1/Q10769_LettersFromTheQueenCrumaTowerPart1.java
@@ -76,9 +76,9 @@ public final class Q10769_LettersFromTheQueenCrumaTowerPart1 extends LetterQuest
}
case "30070-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_CRUMA_TOWER, 1);
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_SYLVAIN_GAVE_YOU_TO_GO_TO_CRUMA_TOWER, ExShowScreenMessage.TOP_CENTER, 5000);
}
@@ -86,7 +86,7 @@ public final class Q10769_LettersFromTheQueenCrumaTowerPart1 extends LetterQuest
}
case "30673-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveItems(player, ENCHANT_WEAPON_C, 1);
giveItems(player, ENCHANT_ARMOR_C, 1);
@@ -119,9 +119,9 @@ public final class Q10769_LettersFromTheQueenCrumaTowerPart1 extends LetterQuest
{
if (npc.getId() == SYLVAIN)
{
- htmltext = (qs.isCond(1)) ? "30070-01.html" : "30070-04.html";
+ htmltext = (qs.isCond(2)) ? "30070-01.html" : "30070-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "30673-01.html";
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10774_LettersFromTheQueenCrumaTowerPart2/Q10774_LettersFromTheQueenCrumaTowerPart2.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10774_LettersFromTheQueenCrumaTowerPart2/Q10774_LettersFromTheQueenCrumaTowerPart2.java
index 6ff0649bbb..982095ffd6 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10774_LettersFromTheQueenCrumaTowerPart2/Q10774_LettersFromTheQueenCrumaTowerPart2.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10774_LettersFromTheQueenCrumaTowerPart2/Q10774_LettersFromTheQueenCrumaTowerPart2.java
@@ -74,9 +74,9 @@ public final class Q10774_LettersFromTheQueenCrumaTowerPart2 extends LetterQuest
}
case "30070-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_CRUMA_TOWER, 1);
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_SYLVAIN_GAVE_YOU_TO_GO_TO_CRUMA_TOWER_2, ExShowScreenMessage.TOP_CENTER, 8000);
}
@@ -84,7 +84,7 @@ public final class Q10774_LettersFromTheQueenCrumaTowerPart2 extends LetterQuest
}
case "30487-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 483840, 116);
@@ -115,9 +115,9 @@ public final class Q10774_LettersFromTheQueenCrumaTowerPart2 extends LetterQuest
{
if (npc.getId() == SYLVAIN)
{
- htmltext = (qs.isCond(1)) ? "30070-01.html" : "30070-04.html";
+ htmltext = (qs.isCond(2)) ? "30070-01.html" : "30070-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "30487-01.html";
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10782_LettersFromTheQueenForsakenPlains/Q10782_LettersFromTheQueenForsakenPlains.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10782_LettersFromTheQueenForsakenPlains/Q10782_LettersFromTheQueenForsakenPlains.java
index 86257e6229..b5f156ce3b 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10782_LettersFromTheQueenForsakenPlains/Q10782_LettersFromTheQueenForsakenPlains.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10782_LettersFromTheQueenForsakenPlains/Q10782_LettersFromTheQueenForsakenPlains.java
@@ -75,9 +75,9 @@ public final class Q10782_LettersFromTheQueenForsakenPlains extends LetterQuest
}
case "30857-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_FORSAKEN_PLAINS, 1);
htmltext = event;
}
@@ -85,7 +85,7 @@ public final class Q10782_LettersFromTheQueenForsakenPlains extends LetterQuest
}
case "33866-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 731010, 175);
@@ -117,9 +117,9 @@ public final class Q10782_LettersFromTheQueenForsakenPlains extends LetterQuest
{
if (npc.getId() == ORVEN)
{
- htmltext = (qs.isCond(1)) ? "30857-01.html" : "30857-04.html";
+ htmltext = (qs.isCond(2)) ? "30857-01.html" : "30857-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33866-01.html";
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/Q10785_LettersFromTheQueenFieldsOfMassacre.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/Q10785_LettersFromTheQueenFieldsOfMassacre.java
index 235cb44095..2f9134ed37 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/Q10785_LettersFromTheQueenFieldsOfMassacre.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/Q10785_LettersFromTheQueenFieldsOfMassacre.java
@@ -75,9 +75,9 @@ public final class Q10785_LettersFromTheQueenFieldsOfMassacre extends LetterQues
}
case "30857-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_FIELDS_OF_MASSACRE, 1);
htmltext = event;
}
@@ -85,7 +85,7 @@ public final class Q10785_LettersFromTheQueenFieldsOfMassacre extends LetterQues
}
case "33867-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 807240, 193);
@@ -117,9 +117,9 @@ public final class Q10785_LettersFromTheQueenFieldsOfMassacre extends LetterQues
{
if (npc.getId() == ORVEN)
{
- htmltext = (qs.isCond(1)) ? "30857-01.html" : "30857-04.html";
+ htmltext = (qs.isCond(2)) ? "30857-01.html" : "30857-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33867-01.html";
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10789_LettersFromTheQueenSwampOfScreams/Q10789_LettersFromTheQueenSwampOfScreams.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10789_LettersFromTheQueenSwampOfScreams/Q10789_LettersFromTheQueenSwampOfScreams.java
index 2b7b7593d7..7a8bb03005 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10789_LettersFromTheQueenSwampOfScreams/Q10789_LettersFromTheQueenSwampOfScreams.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10789_LettersFromTheQueenSwampOfScreams/Q10789_LettersFromTheQueenSwampOfScreams.java
@@ -75,9 +75,9 @@ public final class Q10789_LettersFromTheQueenSwampOfScreams extends LetterQuest
}
case "31328-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_SWAMP_OF_SCREAMS, 1);
htmltext = event;
}
@@ -85,7 +85,7 @@ public final class Q10789_LettersFromTheQueenSwampOfScreams extends LetterQuest
}
case "33847-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 942690, 226);
@@ -117,9 +117,9 @@ public final class Q10789_LettersFromTheQueenSwampOfScreams extends LetterQuest
{
if (npc.getId() == INNOCENTIN)
{
- htmltext = (qs.isCond(1)) ? "31328-01.html" : "31328-04.html";
+ htmltext = (qs.isCond(2)) ? "31328-01.html" : "31328-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33847-01.html";
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10792_LettersFromTheQueenForestOfTheDead/Q10792_LettersFromTheQueenForestOfTheDead.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10792_LettersFromTheQueenForestOfTheDead/Q10792_LettersFromTheQueenForestOfTheDead.java
index 246bf04e3b..ef57e644ff 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10792_LettersFromTheQueenForestOfTheDead/Q10792_LettersFromTheQueenForestOfTheDead.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10792_LettersFromTheQueenForestOfTheDead/Q10792_LettersFromTheQueenForestOfTheDead.java
@@ -74,16 +74,16 @@ public final class Q10792_LettersFromTheQueenForestOfTheDead extends LetterQuest
}
case "31328-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_FOREST_OF_DEAD, 1);
}
break;
}
case "33849-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 942690, 226);
@@ -114,9 +114,9 @@ public final class Q10792_LettersFromTheQueenForestOfTheDead extends LetterQuest
{
if (npc.getId() == INNOCENTIN)
{
- htmltext = (qs.isCond(1)) ? "31328-01.html" : "31328-04.html";
+ htmltext = (qs.isCond(2)) ? "31328-01.html" : "31328-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33849-01.html";
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/Q10795_LettersFromTheQueenWallOfAgros.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/Q10795_LettersFromTheQueenWallOfAgros.java
index 691ced4405..205c713f0e 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/Q10795_LettersFromTheQueenWallOfAgros.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/Q10795_LettersFromTheQueenWallOfAgros.java
@@ -60,9 +60,9 @@ public class Q10795_LettersFromTheQueenWallOfAgros extends LetterQuest
}
case "31279-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_WAAL_OF_ARGOS, 1);
htmltext = event;
}
@@ -70,7 +70,7 @@ public class Q10795_LettersFromTheQueenWallOfAgros extends LetterQuest
}
case "31616-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 1088640, 261);
@@ -97,9 +97,9 @@ public class Q10795_LettersFromTheQueenWallOfAgros extends LetterQuest
{
if (npc.getId() == GREGORY)
{
- htmltext = (qs.isCond(1)) ? "31279-01.html" : "31279-04.html";
+ htmltext = (qs.isCond(2)) ? "31279-01.html" : "31279-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "31616-01.html";
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10798_LettersFromTheQueenDragonValley/Q10798_LettersFromTheQueenDragonValley.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10798_LettersFromTheQueenDragonValley/Q10798_LettersFromTheQueenDragonValley.java
index 48968d2206..fbf9d4d338 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10798_LettersFromTheQueenDragonValley/Q10798_LettersFromTheQueenDragonValley.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10798_LettersFromTheQueenDragonValley/Q10798_LettersFromTheQueenDragonValley.java
@@ -75,9 +75,9 @@ public class Q10798_LettersFromTheQueenDragonValley extends LetterQuest
}
case "30120-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_DRAGON_VALLEY, 1);
htmltext = event;
}
@@ -85,7 +85,7 @@ public class Q10798_LettersFromTheQueenDragonValley extends LetterQuest
}
case "33973-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 1277640, 306);
@@ -112,9 +112,9 @@ public class Q10798_LettersFromTheQueenDragonValley extends LetterQuest
{
if (npc.getId() == MAXIMILIAN)
{
- htmltext = (qs.isCond(1)) ? "30120-01.html" : "30120-04.html";
+ htmltext = (qs.isCond(2)) ? "30120-01.html" : "30120-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33973-01.html";
}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/QuestMasterHandler.java
index e7fc44c9ef..156e1b0e7d 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/QuestMasterHandler.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/QuestMasterHandler.java
@@ -345,6 +345,7 @@ import quests.Q10525_QueenNavarisLetterKetraOrcOutpost.Q10525_QueenNavarisLetter
import quests.Q10526_TheDarkSecretOfTheKetraOrcs.Q10526_TheDarkSecretOfTheKetraOrcs;
import quests.Q10527_TheAssassinationOfTheKetraOrcCommander.Q10527_TheAssassinationOfTheKetraOrcCommander;
import quests.Q10528_TheAssassinationOfTheKetraOrcChief.Q10528_TheAssassinationOfTheKetraOrcChief;
+import quests.Q10530_KekropusLetterTheDragonsTransition.Q10530_KekropusLetterTheDragonsTransition;
import quests.Q10534_HatchlingResearch.Q10534_HatchlingResearch;
import quests.Q10541_TrainLikeTheRealThing.Q10541_TrainLikeTheRealThing;
import quests.Q10542_SearchingForNewPower.Q10542_SearchingForNewPower;
@@ -872,6 +873,7 @@ public class QuestMasterHandler
Q10526_TheDarkSecretOfTheKetraOrcs.class,
Q10527_TheAssassinationOfTheKetraOrcCommander.class,
Q10528_TheAssassinationOfTheKetraOrcChief.class,
+ Q10530_KekropusLetterTheDragonsTransition.class,
Q10531_OddHappeningsAtDragonValley.class, // TODO: Not done.
Q10532_UncoveringTheConspiracy.class, // TODO: Not done.
Q10534_HatchlingResearch.class,
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/LetterQuest.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/LetterQuest.java
index 2e4838eae1..c4250ad91b 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/LetterQuest.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/LetterQuest.java
@@ -195,6 +195,7 @@ public abstract class LetterQuest extends Quest
{
player.teleToLocation(_startTeleport);
takeItems(player, _startSOE, -1);
+ qs.setCond(2, true);
}
}
player.sendPacket(TutorialCloseHtml.STATIC_PACKET);
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/MissingQuests.txt
index 15e2ca671c..de30221a0f 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/MissingQuests.txt
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/MissingQuests.txt
@@ -172,7 +172,6 @@
10457 Kefensis' Illusion
10506 Diana's Request
10529 Ivory Tower's Research - Sea of Spores Journal
-10530 Kekropus' Letter, The Dragon's Transition Achieve Level 81
10531 Odd Happenings at Dragon Valley Strange Things Afoot in the Valley
10532 Uncovering the Conspiracy Eliminate the Undead and Dragons
10533 Orfen's Ambition
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10390_KekropusLetter/Q10390_KekropusLetter.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10390_KekropusLetter/Q10390_KekropusLetter.java
index d4f96f60a4..bc9d0e86c5 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10390_KekropusLetter/Q10390_KekropusLetter.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10390_KekropusLetter/Q10390_KekropusLetter.java
@@ -119,7 +119,7 @@ public final class Q10390_KekropusLetter extends Quest
{
player.sendPacket(new TutorialShowHtml(getHtm(player, event)));
player.sendPacket(new PlaySound(3, "Npcdialog1.kekrops_quest_1", 0, 0, 0, 0, 0));
- qs.setCond(2);
+ qs.setCond(2, true);
}
break;
}
@@ -129,7 +129,7 @@ public final class Q10390_KekropusLetter extends Quest
{
takeItems(player, KEKROPUS_LETTER, -1);
giveItems(player, HAINE_SOE, 1);
- qs.setCond(3);
+ qs.setCond(3, true);
htmltext = event;
}
break;
@@ -139,7 +139,7 @@ public final class Q10390_KekropusLetter extends Quest
if (qs.isCond(3))
{
giveItems(player, ALLIGATOR_ISLAND_SOE, 1);
- qs.setCond(4);
+ qs.setCond(4, true);
htmltext = event;
}
break;
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10393_KekropusLetterAClueCompleted/Q10393_KekropusLetterAClueCompleted.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10393_KekropusLetterAClueCompleted/Q10393_KekropusLetterAClueCompleted.java
index 1f0fab6682..394c2f95d7 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10393_KekropusLetterAClueCompleted/Q10393_KekropusLetterAClueCompleted.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10393_KekropusLetterAClueCompleted/Q10393_KekropusLetterAClueCompleted.java
@@ -77,9 +77,9 @@ public final class Q10393_KekropusLetterAClueCompleted extends LetterQuest
}
case "30677-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_OUTLAW_FOREST, 1);
htmltext = event;
}
@@ -87,7 +87,7 @@ public final class Q10393_KekropusLetterAClueCompleted extends LetterQuest
}
case "33862-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -114,11 +114,11 @@ public final class Q10393_KekropusLetterAClueCompleted extends LetterQuest
if (qs.isStarted())
{
- if (qs.isCond(1) && (npc.getId() == FLUTER))
+ if (qs.isCond(2) && (npc.getId() == FLUTER))
{
htmltext = "30677-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == FLUTER ? "30677-04.html" : "33862-01.html";
}
@@ -134,7 +134,7 @@ public final class Q10393_KekropusLetterAClueCompleted extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.OUTLAW_FOREST_IS_A_GOOD_HUNTING_ZONE_FOR_LV_46_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10401_KekropusLetterDecodingTheBadge/Q10401_KekropusLetterDecodingTheBadge.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10401_KekropusLetterDecodingTheBadge/Q10401_KekropusLetterDecodingTheBadge.java
index 938a8be8a5..34b33ec3a5 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10401_KekropusLetterDecodingTheBadge/Q10401_KekropusLetterDecodingTheBadge.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10401_KekropusLetterDecodingTheBadge/Q10401_KekropusLetterDecodingTheBadge.java
@@ -42,7 +42,7 @@ public final class Q10401_KekropusLetterDecodingTheBadge extends LetterQuest
// Location
private static final Location TELEPORT_LOC = new Location(147540, 24661, -1984);
// Misc
- private static final int MIN_LEVEL = 58;
+ private static final int MIN_LEVEL = 56;
private static final int MAX_LEVEL = 60;
public Q10401_KekropusLetterDecodingTheBadge()
@@ -77,9 +77,9 @@ public final class Q10401_KekropusLetterDecodingTheBadge extends LetterQuest
}
case "33864-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_FORSAKEN_PLAINS, 1);
htmltext = event;
}
@@ -87,7 +87,7 @@ public final class Q10401_KekropusLetterDecodingTheBadge extends LetterQuest
}
case "33865-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -117,11 +117,11 @@ public final class Q10401_KekropusLetterDecodingTheBadge extends LetterQuest
if (qs.isStarted())
{
- if (qs.isCond(1) && (npc.getId() == PATERSON))
+ if (qs.isCond(2) && (npc.getId() == PATERSON))
{
htmltext = "33864-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == PATERSON ? "33864-04.html" : "33865-01.html";
}
@@ -137,7 +137,7 @@ public final class Q10401_KekropusLetterDecodingTheBadge extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.FORSAKEN_PLAINS_IA_A_GOOD_HUNTING_ZONE_FOR_LV_58_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10404_KekropusLetterAHiddenMeaning/Q10404_KekropusLetterAHiddenMeaning.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10404_KekropusLetterAHiddenMeaning/Q10404_KekropusLetterAHiddenMeaning.java
index 1435b61868..62299b25e0 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10404_KekropusLetterAHiddenMeaning/Q10404_KekropusLetterAHiddenMeaning.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10404_KekropusLetterAHiddenMeaning/Q10404_KekropusLetterAHiddenMeaning.java
@@ -77,9 +77,9 @@ public final class Q10404_KekropusLetterAHiddenMeaning extends LetterQuest
}
case "33864-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_FIELDS_OF_MASSACRE, 1);
htmltext = event;
}
@@ -87,7 +87,7 @@ public final class Q10404_KekropusLetterAHiddenMeaning extends LetterQuest
}
case "33867-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -117,11 +117,11 @@ public final class Q10404_KekropusLetterAHiddenMeaning extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == PATERSON) && qs.isCond(1))
+ if ((npc.getId() == PATERSON) && qs.isCond(2))
{
htmltext = "33864-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == PATERSON ? "33864-04.html" : "33867-01.html";
}
@@ -137,7 +137,7 @@ public final class Q10404_KekropusLetterAHiddenMeaning extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.FIELDS_OF_MASSACRE_IS_A_GOOD_HUNTING_ZONE_FOR_LV_61_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10408_KekropusLetterTheSwampOfScreams/Q10408_KekropusLetterTheSwampOfScreams.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10408_KekropusLetterTheSwampOfScreams/Q10408_KekropusLetterTheSwampOfScreams.java
index 561565f257..125eb120ae 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10408_KekropusLetterTheSwampOfScreams/Q10408_KekropusLetterTheSwampOfScreams.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10408_KekropusLetterTheSwampOfScreams/Q10408_KekropusLetterTheSwampOfScreams.java
@@ -77,18 +77,18 @@ public final class Q10408_KekropusLetterTheSwampOfScreams extends LetterQuest
}
case "31340-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_RUNE, -1);
giveItems(player, SOE_SWAMP_OF_SCREAMS, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33847-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -118,11 +118,11 @@ public final class Q10408_KekropusLetterTheSwampOfScreams extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == MATHIAS) && qs.isCond(1))
+ if ((npc.getId() == MATHIAS) && qs.isCond(2))
{
htmltext = "31340-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == MATHIAS ? "31340-04.html" : "33847-01.html";
}
@@ -138,7 +138,7 @@ public final class Q10408_KekropusLetterTheSwampOfScreams extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.SWAMP_OF_SCREAMS_IA_A_GOOD_HUNTING_ZONE_FOR_LV_65_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10411_KekropusLetterTheForestOfTheDead/Q10411_KekropusLetterTheForestOfTheDead.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10411_KekropusLetterTheForestOfTheDead/Q10411_KekropusLetterTheForestOfTheDead.java
index 51200adb60..9a045e0f73 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10411_KekropusLetterTheForestOfTheDead/Q10411_KekropusLetterTheForestOfTheDead.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10411_KekropusLetterTheForestOfTheDead/Q10411_KekropusLetterTheForestOfTheDead.java
@@ -77,18 +77,18 @@ public final class Q10411_KekropusLetterTheForestOfTheDead extends LetterQuest
}
case "31340-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_RUNE, -1);
giveItems(player, SOE_FOREST_OF_THE_DEAD, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33849-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -118,11 +118,11 @@ public final class Q10411_KekropusLetterTheForestOfTheDead extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == MATHIAS) && qs.isCond(1))
+ if ((npc.getId() == MATHIAS) && qs.isCond(2))
{
htmltext = "31340-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == MATHIAS ? "31340-04.html" : "33849-01.html";
}
@@ -138,7 +138,7 @@ public final class Q10411_KekropusLetterTheForestOfTheDead extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.FOREST_OF_THE_DEAD_IS_A_GOOD_HUNTING_ZONE_FOR_LV_65_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10414_KekropusLetterWithCourage/Q10414_KekropusLetterWithCourage.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10414_KekropusLetterWithCourage/Q10414_KekropusLetterWithCourage.java
index 49cf2890cf..e80ea3f42d 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10414_KekropusLetterWithCourage/Q10414_KekropusLetterWithCourage.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10414_KekropusLetterWithCourage/Q10414_KekropusLetterWithCourage.java
@@ -77,18 +77,18 @@ public final class Q10414_KekropusLetterWithCourage extends LetterQuest
}
case "31292-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_GODDARD, -1);
giveItems(player, SOE_WALL_OF_ARGOS, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33851-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -118,11 +118,11 @@ public final class Q10414_KekropusLetterWithCourage extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == ANDREI) && qs.isCond(1))
+ if ((npc.getId() == ANDREI) && qs.isCond(2))
{
htmltext = "31292-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == ANDREI ? "31292-04.html" : "33851-01.html";
}
@@ -138,7 +138,7 @@ public final class Q10414_KekropusLetterWithCourage extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.WALL_OF_ARGOS_IS_A_GOOD_HUNTING_ZONE_FOR_LV_70_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10415_KekropusLetterWithWisdom/Q10415_KekropusLetterWithWisdom.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10415_KekropusLetterWithWisdom/Q10415_KekropusLetterWithWisdom.java
index bd1a4e0a41..d6a8ce8c91 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10415_KekropusLetterWithWisdom/Q10415_KekropusLetterWithWisdom.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10415_KekropusLetterWithWisdom/Q10415_KekropusLetterWithWisdom.java
@@ -78,18 +78,18 @@ public class Q10415_KekropusLetterWithWisdom extends LetterQuest
}
case "31292-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_GODDARD, -1);
giveItems(player, SOE_WALL_OF_ARGOS, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33851-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -113,11 +113,11 @@ public class Q10415_KekropusLetterWithWisdom extends LetterQuest
String htmltext = getNoQuestMsg(player);
if (qs.isStarted())
{
- if ((npc.getId() == ANDREI) && qs.isCond(1))
+ if ((npc.getId() == ANDREI) && qs.isCond(2))
{
htmltext = "31292-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == ANDREI ? "31292-04.html" : "33851-01.html";
}
@@ -133,7 +133,7 @@ public class Q10415_KekropusLetterWithWisdom extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.WALL_OF_ARGOS_IS_A_GOOD_HUNTING_ZONE_FOR_LV_70_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/Q10419_KekropusLetterKampfsWhereabouts.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/Q10419_KekropusLetterKampfsWhereabouts.java
index a24f91395d..cde3eea38c 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/Q10419_KekropusLetterKampfsWhereabouts.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/Q10419_KekropusLetterKampfsWhereabouts.java
@@ -77,18 +77,18 @@ public final class Q10419_KekropusLetterKampfsWhereabouts extends LetterQuest
}
case "31292-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_GODDARD, -1);
giveItems(player, SOE_VARKA_SILENOS_BARRACKS, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33853-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -118,11 +118,11 @@ public final class Q10419_KekropusLetterKampfsWhereabouts extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == ANDREI) && qs.isCond(1))
+ if ((npc.getId() == ANDREI) && qs.isCond(2))
{
htmltext = "31292-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == ANDREI ? "31292-04.html" : "33853-01.html";
}
@@ -138,7 +138,7 @@ public final class Q10419_KekropusLetterKampfsWhereabouts extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.VARKA_SILENOS_BARRACKS_IS_A_GOOD_HUNTING_ZONE_FOR_LV_76_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10424_KekropusLetterBelosWhereabouts/Q10424_KekropusLetterBelosWhereabouts.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10424_KekropusLetterBelosWhereabouts/Q10424_KekropusLetterBelosWhereabouts.java
index 1600f6eb9b..e7d3210667 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10424_KekropusLetterBelosWhereabouts/Q10424_KekropusLetterBelosWhereabouts.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10424_KekropusLetterBelosWhereabouts/Q10424_KekropusLetterBelosWhereabouts.java
@@ -76,18 +76,18 @@ public final class Q10424_KekropusLetterBelosWhereabouts extends LetterQuest
}
case "31292-03.htm":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_GODDARD, -1);
giveItems(player, SOE_KETRA_ORC_OUTPOST, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33852-02.htm":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -117,11 +117,11 @@ public final class Q10424_KekropusLetterBelosWhereabouts extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == ANDREI) && qs.isCond(1))
+ if ((npc.getId() == ANDREI) && qs.isCond(2))
{
htmltext = "31292-01.htm";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == ANDREI ? "31292-04.htm" : "33852-01.htm";
}
@@ -137,7 +137,7 @@ public final class Q10424_KekropusLetterBelosWhereabouts extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.KETRA_ORC_OUTPOST_IS_A_GOOD_HUNTING_ZONE_FOR_LV_76_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-01.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-01.htm
new file mode 100644
index 0000000000..52ff9ab5ec
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-01.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+What brings you here?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-02.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-02.htm
new file mode 100644
index 0000000000..fcc7dadbe9
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-02.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+Ah, so you were the one! I was looking for someone to ask for help, what with all the complicated goings on in Dragon Valley. I came across the news that someone had defeated Sakum and was helping the Giant's Minions, and was hoping that such a formidable one would be able to resolve the problems that have occurred in Dragon Valley.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-03.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-03.htm
new file mode 100644
index 0000000000..9127a36d00
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-03.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+Namo is at the entrance to Dragon Valley to conduct research. When you meet him, he will explain to you the strange goings on in Dragon Valley, and what sort of help is needed.
+I will give you a Scroll of Escape: Dragon Valley, so that you can find Namo without wasting time. It should make your joumey over there easily.
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-04.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-04.htm
new file mode 100644
index 0000000000..f27f8b5fe2
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-04.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+What are you waiting for? Go now to Dragon Valley and help Namo. He is waiting for you.
+To get there quickly, use the Scroll of Escape: Dragon Valley I gave you. You could also ask a Gatekeeper for help.
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-01.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-01.html
new file mode 100644
index 0000000000..ba0433fe26
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-01.html
@@ -0,0 +1,4 @@
+Namo:
+What brings you here?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-02.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-02.html
new file mode 100644
index 0000000000..2a1431e91e
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-02.html
@@ -0,0 +1,5 @@
+Namo:
+Right now, Dragon Valley is a very dangerous place. As the 6th Seal was broken, the Dimensional Rift caused the undead to appear whenever night fell.
+You're really not going to change your mind about investigating such a dangerous place?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-03.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-03.html
new file mode 100644
index 0000000000..60f2b321a3
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-03.html
@@ -0,0 +1,3 @@
+Namo:
+Alright I will give you the mission right away.
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/Q10530_KekropusLetterTheDragonsTransition.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/Q10530_KekropusLetterTheDragonsTransition.java
new file mode 100644
index 0000000000..f0f8ee2db8
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/Q10530_KekropusLetterTheDragonsTransition.java
@@ -0,0 +1,151 @@
+/*
+ * 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.Q10530_KekropusLetterTheDragonsTransition;
+
+import com.l2jmobius.gameserver.model.Location;
+import com.l2jmobius.gameserver.model.actor.Creature;
+import com.l2jmobius.gameserver.model.actor.Npc;
+import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
+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 Q10530_KekropusLetterTheDragonsTransition extends LetterQuest
+{
+ // NPCs
+ private static final int JERONIN = 30121;
+ private static final int NAMO = 33973;
+ private static final int INVISIBLE_NPC = 19543;
+ // Items
+ private static final int SOE_TOWN_OF_GIRAN = 46733; // Scroll of Escape: Town of GIRAN
+ private static final int SOE_DRAGON_VALLEY = 46734; // Scroll of Escape: Dragon Valley
+ // Location
+ private static final Location TELEPORT_LOC = new Location(84015, 147219, -3395);
+ // Rewards
+ private static final int XP = 1533168;
+ private static final int SP = 306;
+ // Misc
+ private static final int MIN_LEVEL = 81;
+ private static final int MAX_LEVEL = 84;
+
+ public Q10530_KekropusLetterTheDragonsTransition()
+ {
+ super(10530);
+ addTalkId(JERONIN, NAMO);
+ addSeeCreatureId(INVISIBLE_NPC);
+ setIsErtheiaQuest(false);
+ setLevel(MIN_LEVEL, MAX_LEVEL);
+ setStartQuestSound("Npcdialog1.kekrops_quest_15");
+ setStartLocation(SOE_TOWN_OF_GIRAN, TELEPORT_LOC);
+ registerQuestItems(SOE_TOWN_OF_GIRAN, SOE_DRAGON_VALLEY);
+ }
+
+ @Override
+ public String onAdvEvent(String event, Npc npc, PlayerInstance player)
+ {
+ final QuestState qs = getQuestState(player, false);
+ if (qs == null)
+ {
+ return null;
+ }
+
+ String htmltext = null;
+ switch (event)
+ {
+ case "30121-02.htm":
+ case "33973-02.html":
+ {
+ htmltext = event;
+ break;
+ }
+ case "30121-03.htm":
+ {
+ if (qs.isCond(2))
+ {
+ takeItems(player, SOE_TOWN_OF_GIRAN, -1);
+ giveItems(player, SOE_DRAGON_VALLEY, 1);
+ qs.setCond(3, true);
+ htmltext = event;
+ }
+ break;
+ }
+ case "33973-03.html":
+ {
+ if (qs.isCond(3))
+ {
+ qs.exitQuest(false, true);
+ giveStoryQuestReward(npc, player);
+ if (player.getLevel() >= MIN_LEVEL)
+ {
+ addExpAndSp(player, XP, SP);
+ }
+ showOnScreenMsg(player, NpcStringId.YOU_HAVE_COMPLETED_ALL_OF_KEKROPUS_LETTER, ExShowScreenMessage.TOP_CENTER, 6000);
+ htmltext = event;
+ }
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onTalk(Npc npc, PlayerInstance player)
+ {
+ String htmltext = getNoQuestMsg(player);
+ final QuestState qs = getQuestState(player, false);
+
+ if (qs == null)
+ {
+ return htmltext;
+ }
+
+ if (qs.isStarted())
+ {
+ if ((npc.getId() == JERONIN) && qs.isCond(2))
+ {
+ htmltext = "30121-01.htm";
+ }
+ else if (qs.isCond(3))
+ {
+ htmltext = npc.getId() == JERONIN ? "30121-04.htm" : "33973-01.html";
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onSeeCreature(Npc npc, Creature creature, boolean isSummon)
+ {
+ if (creature.isPlayer())
+ {
+ final PlayerInstance player = creature.getActingPlayer();
+ final QuestState qs = getQuestState(player, false);
+
+ if ((qs != null) && qs.isCond(3))
+ {
+ showOnScreenMsg(player, NpcStringId.DEN_OF_EVIL_IS_A_GOOD_HUNTING_ZONE_FOR_LV_81_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
+ }
+ }
+ return super.onSeeCreature(npc, creature, isSummon);
+ }
+}
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/popup.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/popup.html
new file mode 100644
index 0000000000..3b6e6d9b3b
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/popup.html
@@ -0,0 +1,8 @@
+Kekropus' LetterKekropus' Letter:
+Since the dimensional rift was discovered in Dragon Valley, changes have been observed among the dragons.
+I suspect Embryo involvement in this matter as well.
+Go to Captain Jeronin in the Town of Giran 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_5.5_EtinasFate/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/Q10755_LettersFromTheQueenWindyHill.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/Q10755_LettersFromTheQueenWindyHill.java
index 78bfa28ce2..3f867b30f6 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/Q10755_LettersFromTheQueenWindyHill.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/Q10755_LettersFromTheQueenWindyHill.java
@@ -74,9 +74,9 @@ public final class Q10755_LettersFromTheQueenWindyHill extends LetterQuest
}
case "30037-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_WINDY_HILL, 1);
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_LEVIAN_GAVE_YOU, ExShowScreenMessage.TOP_CENTER, 5000);
}
@@ -84,7 +84,7 @@ public final class Q10755_LettersFromTheQueenWindyHill extends LetterQuest
}
case "33963-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 120960, 29);
@@ -116,9 +116,9 @@ public final class Q10755_LettersFromTheQueenWindyHill extends LetterQuest
{
if ((npc.getId() == LEVIAN))
{
- htmltext = (qs.isCond(1)) ? "30037-01.html" : "30037-04.html";
+ htmltext = (qs.isCond(2)) ? "30037-01.html" : "30037-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33963-01.html";
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/Q10760_LettersFromTheQueenOrcBarracks.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/Q10760_LettersFromTheQueenOrcBarracks.java
index 1b485cf010..d79aca06b8 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/Q10760_LettersFromTheQueenOrcBarracks.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/Q10760_LettersFromTheQueenOrcBarracks.java
@@ -74,9 +74,9 @@ public class Q10760_LettersFromTheQueenOrcBarracks extends LetterQuest
}
case "30037-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_ORC_BARRACKS, 1);
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_LEVIAN_GAVE_YOU_TO_GO_TO_ORC_BARRACKS, ExShowScreenMessage.TOP_CENTER, 5000);
}
@@ -84,7 +84,7 @@ public class Q10760_LettersFromTheQueenOrcBarracks extends LetterQuest
}
case "30597-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 242760, 58);
@@ -116,9 +116,9 @@ public class Q10760_LettersFromTheQueenOrcBarracks extends LetterQuest
{
if ((npc.getId() == LEVIAN))
{
- htmltext = (qs.isCond(1)) ? "30037-01.html" : "30037-04.html";
+ htmltext = (qs.isCond(2)) ? "30037-01.html" : "30037-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "30597-01.html";
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10769_LettersFromTheQueenCrumaTowerPart1/Q10769_LettersFromTheQueenCrumaTowerPart1.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10769_LettersFromTheQueenCrumaTowerPart1/Q10769_LettersFromTheQueenCrumaTowerPart1.java
index f81122ab25..71177fa62d 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10769_LettersFromTheQueenCrumaTowerPart1/Q10769_LettersFromTheQueenCrumaTowerPart1.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10769_LettersFromTheQueenCrumaTowerPart1/Q10769_LettersFromTheQueenCrumaTowerPart1.java
@@ -76,9 +76,9 @@ public final class Q10769_LettersFromTheQueenCrumaTowerPart1 extends LetterQuest
}
case "30070-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_CRUMA_TOWER, 1);
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_SYLVAIN_GAVE_YOU_TO_GO_TO_CRUMA_TOWER, ExShowScreenMessage.TOP_CENTER, 5000);
}
@@ -86,7 +86,7 @@ public final class Q10769_LettersFromTheQueenCrumaTowerPart1 extends LetterQuest
}
case "30673-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveItems(player, ENCHANT_WEAPON_C, 1);
giveItems(player, ENCHANT_ARMOR_C, 1);
@@ -119,9 +119,9 @@ public final class Q10769_LettersFromTheQueenCrumaTowerPart1 extends LetterQuest
{
if (npc.getId() == SYLVAIN)
{
- htmltext = (qs.isCond(1)) ? "30070-01.html" : "30070-04.html";
+ htmltext = (qs.isCond(2)) ? "30070-01.html" : "30070-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "30673-01.html";
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10774_LettersFromTheQueenCrumaTowerPart2/Q10774_LettersFromTheQueenCrumaTowerPart2.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10774_LettersFromTheQueenCrumaTowerPart2/Q10774_LettersFromTheQueenCrumaTowerPart2.java
index b50d2a8970..d0b57bc173 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10774_LettersFromTheQueenCrumaTowerPart2/Q10774_LettersFromTheQueenCrumaTowerPart2.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10774_LettersFromTheQueenCrumaTowerPart2/Q10774_LettersFromTheQueenCrumaTowerPart2.java
@@ -74,9 +74,9 @@ public final class Q10774_LettersFromTheQueenCrumaTowerPart2 extends LetterQuest
}
case "30070-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_CRUMA_TOWER, 1);
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_SYLVAIN_GAVE_YOU_TO_GO_TO_CRUMA_TOWER_2, ExShowScreenMessage.TOP_CENTER, 8000);
}
@@ -84,7 +84,7 @@ public final class Q10774_LettersFromTheQueenCrumaTowerPart2 extends LetterQuest
}
case "30487-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 483840, 116);
@@ -115,9 +115,9 @@ public final class Q10774_LettersFromTheQueenCrumaTowerPart2 extends LetterQuest
{
if (npc.getId() == SYLVAIN)
{
- htmltext = (qs.isCond(1)) ? "30070-01.html" : "30070-04.html";
+ htmltext = (qs.isCond(2)) ? "30070-01.html" : "30070-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "30487-01.html";
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10782_LettersFromTheQueenForsakenPlains/Q10782_LettersFromTheQueenForsakenPlains.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10782_LettersFromTheQueenForsakenPlains/Q10782_LettersFromTheQueenForsakenPlains.java
index 86257e6229..b5f156ce3b 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10782_LettersFromTheQueenForsakenPlains/Q10782_LettersFromTheQueenForsakenPlains.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10782_LettersFromTheQueenForsakenPlains/Q10782_LettersFromTheQueenForsakenPlains.java
@@ -75,9 +75,9 @@ public final class Q10782_LettersFromTheQueenForsakenPlains extends LetterQuest
}
case "30857-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_FORSAKEN_PLAINS, 1);
htmltext = event;
}
@@ -85,7 +85,7 @@ public final class Q10782_LettersFromTheQueenForsakenPlains extends LetterQuest
}
case "33866-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 731010, 175);
@@ -117,9 +117,9 @@ public final class Q10782_LettersFromTheQueenForsakenPlains extends LetterQuest
{
if (npc.getId() == ORVEN)
{
- htmltext = (qs.isCond(1)) ? "30857-01.html" : "30857-04.html";
+ htmltext = (qs.isCond(2)) ? "30857-01.html" : "30857-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33866-01.html";
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/Q10785_LettersFromTheQueenFieldsOfMassacre.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/Q10785_LettersFromTheQueenFieldsOfMassacre.java
index 235cb44095..2f9134ed37 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/Q10785_LettersFromTheQueenFieldsOfMassacre.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/Q10785_LettersFromTheQueenFieldsOfMassacre.java
@@ -75,9 +75,9 @@ public final class Q10785_LettersFromTheQueenFieldsOfMassacre extends LetterQues
}
case "30857-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_FIELDS_OF_MASSACRE, 1);
htmltext = event;
}
@@ -85,7 +85,7 @@ public final class Q10785_LettersFromTheQueenFieldsOfMassacre extends LetterQues
}
case "33867-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 807240, 193);
@@ -117,9 +117,9 @@ public final class Q10785_LettersFromTheQueenFieldsOfMassacre extends LetterQues
{
if (npc.getId() == ORVEN)
{
- htmltext = (qs.isCond(1)) ? "30857-01.html" : "30857-04.html";
+ htmltext = (qs.isCond(2)) ? "30857-01.html" : "30857-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33867-01.html";
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10789_LettersFromTheQueenSwampOfScreams/Q10789_LettersFromTheQueenSwampOfScreams.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10789_LettersFromTheQueenSwampOfScreams/Q10789_LettersFromTheQueenSwampOfScreams.java
index 2b7b7593d7..7a8bb03005 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10789_LettersFromTheQueenSwampOfScreams/Q10789_LettersFromTheQueenSwampOfScreams.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10789_LettersFromTheQueenSwampOfScreams/Q10789_LettersFromTheQueenSwampOfScreams.java
@@ -75,9 +75,9 @@ public final class Q10789_LettersFromTheQueenSwampOfScreams extends LetterQuest
}
case "31328-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_SWAMP_OF_SCREAMS, 1);
htmltext = event;
}
@@ -85,7 +85,7 @@ public final class Q10789_LettersFromTheQueenSwampOfScreams extends LetterQuest
}
case "33847-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 942690, 226);
@@ -117,9 +117,9 @@ public final class Q10789_LettersFromTheQueenSwampOfScreams extends LetterQuest
{
if (npc.getId() == INNOCENTIN)
{
- htmltext = (qs.isCond(1)) ? "31328-01.html" : "31328-04.html";
+ htmltext = (qs.isCond(2)) ? "31328-01.html" : "31328-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33847-01.html";
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10792_LettersFromTheQueenForestOfTheDead/Q10792_LettersFromTheQueenForestOfTheDead.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10792_LettersFromTheQueenForestOfTheDead/Q10792_LettersFromTheQueenForestOfTheDead.java
index 246bf04e3b..ef57e644ff 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10792_LettersFromTheQueenForestOfTheDead/Q10792_LettersFromTheQueenForestOfTheDead.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10792_LettersFromTheQueenForestOfTheDead/Q10792_LettersFromTheQueenForestOfTheDead.java
@@ -74,16 +74,16 @@ public final class Q10792_LettersFromTheQueenForestOfTheDead extends LetterQuest
}
case "31328-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_FOREST_OF_DEAD, 1);
}
break;
}
case "33849-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 942690, 226);
@@ -114,9 +114,9 @@ public final class Q10792_LettersFromTheQueenForestOfTheDead extends LetterQuest
{
if (npc.getId() == INNOCENTIN)
{
- htmltext = (qs.isCond(1)) ? "31328-01.html" : "31328-04.html";
+ htmltext = (qs.isCond(2)) ? "31328-01.html" : "31328-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33849-01.html";
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/Q10795_LettersFromTheQueenWallOfAgros.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/Q10795_LettersFromTheQueenWallOfAgros.java
index 691ced4405..205c713f0e 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/Q10795_LettersFromTheQueenWallOfAgros.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/Q10795_LettersFromTheQueenWallOfAgros.java
@@ -60,9 +60,9 @@ public class Q10795_LettersFromTheQueenWallOfAgros extends LetterQuest
}
case "31279-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_WAAL_OF_ARGOS, 1);
htmltext = event;
}
@@ -70,7 +70,7 @@ public class Q10795_LettersFromTheQueenWallOfAgros extends LetterQuest
}
case "31616-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 1088640, 261);
@@ -97,9 +97,9 @@ public class Q10795_LettersFromTheQueenWallOfAgros extends LetterQuest
{
if (npc.getId() == GREGORY)
{
- htmltext = (qs.isCond(1)) ? "31279-01.html" : "31279-04.html";
+ htmltext = (qs.isCond(2)) ? "31279-01.html" : "31279-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "31616-01.html";
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10798_LettersFromTheQueenDragonValley/Q10798_LettersFromTheQueenDragonValley.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10798_LettersFromTheQueenDragonValley/Q10798_LettersFromTheQueenDragonValley.java
index 717974b832..0e47274bc2 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10798_LettersFromTheQueenDragonValley/Q10798_LettersFromTheQueenDragonValley.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10798_LettersFromTheQueenDragonValley/Q10798_LettersFromTheQueenDragonValley.java
@@ -75,9 +75,9 @@ public class Q10798_LettersFromTheQueenDragonValley extends LetterQuest
}
case "30120-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_DRAGON_VALLEY, 1);
htmltext = event;
}
@@ -85,7 +85,7 @@ public class Q10798_LettersFromTheQueenDragonValley extends LetterQuest
}
case "33973-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 1277640, 306);
@@ -112,9 +112,9 @@ public class Q10798_LettersFromTheQueenDragonValley extends LetterQuest
{
if (npc.getId() == MAXIMILIAN)
{
- htmltext = (qs.isCond(1)) ? "30120-01.html" : "30120-04.html";
+ htmltext = (qs.isCond(2)) ? "30120-01.html" : "30120-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33973-01.html";
}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/QuestMasterHandler.java
index 35fcedaf31..11f1a951b7 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/QuestMasterHandler.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/QuestMasterHandler.java
@@ -299,6 +299,7 @@ import quests.Q10525_QueenNavarisLetterKetraOrcOutpost.Q10525_QueenNavarisLetter
import quests.Q10526_TheDarkSecretOfTheKetraOrcs.Q10526_TheDarkSecretOfTheKetraOrcs;
import quests.Q10527_TheAssassinationOfTheKetraOrcCommander.Q10527_TheAssassinationOfTheKetraOrcCommander;
import quests.Q10528_TheAssassinationOfTheKetraOrcChief.Q10528_TheAssassinationOfTheKetraOrcChief;
+import quests.Q10530_KekropusLetterTheDragonsTransition.Q10530_KekropusLetterTheDragonsTransition;
import quests.Q10534_HatchlingResearch.Q10534_HatchlingResearch;
import quests.Q10541_TrainLikeTheRealThing.Q10541_TrainLikeTheRealThing;
import quests.Q10542_SearchingForNewPower.Q10542_SearchingForNewPower;
@@ -782,6 +783,7 @@ public class QuestMasterHandler
Q10527_TheAssassinationOfTheKetraOrcCommander.class,
Q10528_TheAssassinationOfTheKetraOrcChief.class,
Q10529_IvoryTowersResearchSeaOfSporesJournal.class, // TODO: Not done.
+ Q10530_KekropusLetterTheDragonsTransition.class,
Q10531_OddHappeningsAtDragonValley.class, // TODO: Not done.
Q10532_UncoveringTheConspiracy.class, // TODO: Not done.
Q10533_OrfensAmbition.class, // TODO: Not done.
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/LetterQuest.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/LetterQuest.java
index 2e4838eae1..c4250ad91b 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/LetterQuest.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/LetterQuest.java
@@ -195,6 +195,7 @@ public abstract class LetterQuest extends Quest
{
player.teleToLocation(_startTeleport);
takeItems(player, _startSOE, -1);
+ qs.setCond(2, true);
}
}
player.sendPacket(TutorialCloseHtml.STATIC_PACKET);
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/MissingQuests.txt
index fe7c600557..14d87c4f1a 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/MissingQuests.txt
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/MissingQuests.txt
@@ -184,7 +184,6 @@
10518 Succeeding the Priestess
10519 Controlling Your Temper
10520 Temple Guardians
-10530 Kekropus' Letter, The Dragon's Transition Achieve Level 81
10531 Odd Happenings at Dragon Valley Strange Things Afoot in the Valley
10532 Uncovering the Conspiracy Eliminate the Undead and Dragons
10533 Orfen's Ambition
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10390_KekropusLetter/Q10390_KekropusLetter.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10390_KekropusLetter/Q10390_KekropusLetter.java
index d4f96f60a4..bc9d0e86c5 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10390_KekropusLetter/Q10390_KekropusLetter.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10390_KekropusLetter/Q10390_KekropusLetter.java
@@ -119,7 +119,7 @@ public final class Q10390_KekropusLetter extends Quest
{
player.sendPacket(new TutorialShowHtml(getHtm(player, event)));
player.sendPacket(new PlaySound(3, "Npcdialog1.kekrops_quest_1", 0, 0, 0, 0, 0));
- qs.setCond(2);
+ qs.setCond(2, true);
}
break;
}
@@ -129,7 +129,7 @@ public final class Q10390_KekropusLetter extends Quest
{
takeItems(player, KEKROPUS_LETTER, -1);
giveItems(player, HAINE_SOE, 1);
- qs.setCond(3);
+ qs.setCond(3, true);
htmltext = event;
}
break;
@@ -139,7 +139,7 @@ public final class Q10390_KekropusLetter extends Quest
if (qs.isCond(3))
{
giveItems(player, ALLIGATOR_ISLAND_SOE, 1);
- qs.setCond(4);
+ qs.setCond(4, true);
htmltext = event;
}
break;
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10393_KekropusLetterAClueCompleted/Q10393_KekropusLetterAClueCompleted.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10393_KekropusLetterAClueCompleted/Q10393_KekropusLetterAClueCompleted.java
index 1f0fab6682..394c2f95d7 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10393_KekropusLetterAClueCompleted/Q10393_KekropusLetterAClueCompleted.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10393_KekropusLetterAClueCompleted/Q10393_KekropusLetterAClueCompleted.java
@@ -77,9 +77,9 @@ public final class Q10393_KekropusLetterAClueCompleted extends LetterQuest
}
case "30677-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_OUTLAW_FOREST, 1);
htmltext = event;
}
@@ -87,7 +87,7 @@ public final class Q10393_KekropusLetterAClueCompleted extends LetterQuest
}
case "33862-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -114,11 +114,11 @@ public final class Q10393_KekropusLetterAClueCompleted extends LetterQuest
if (qs.isStarted())
{
- if (qs.isCond(1) && (npc.getId() == FLUTER))
+ if (qs.isCond(2) && (npc.getId() == FLUTER))
{
htmltext = "30677-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == FLUTER ? "30677-04.html" : "33862-01.html";
}
@@ -134,7 +134,7 @@ public final class Q10393_KekropusLetterAClueCompleted extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.OUTLAW_FOREST_IS_A_GOOD_HUNTING_ZONE_FOR_LV_46_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10401_KekropusLetterDecodingTheBadge/Q10401_KekropusLetterDecodingTheBadge.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10401_KekropusLetterDecodingTheBadge/Q10401_KekropusLetterDecodingTheBadge.java
index 938a8be8a5..34b33ec3a5 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10401_KekropusLetterDecodingTheBadge/Q10401_KekropusLetterDecodingTheBadge.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10401_KekropusLetterDecodingTheBadge/Q10401_KekropusLetterDecodingTheBadge.java
@@ -42,7 +42,7 @@ public final class Q10401_KekropusLetterDecodingTheBadge extends LetterQuest
// Location
private static final Location TELEPORT_LOC = new Location(147540, 24661, -1984);
// Misc
- private static final int MIN_LEVEL = 58;
+ private static final int MIN_LEVEL = 56;
private static final int MAX_LEVEL = 60;
public Q10401_KekropusLetterDecodingTheBadge()
@@ -77,9 +77,9 @@ public final class Q10401_KekropusLetterDecodingTheBadge extends LetterQuest
}
case "33864-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_FORSAKEN_PLAINS, 1);
htmltext = event;
}
@@ -87,7 +87,7 @@ public final class Q10401_KekropusLetterDecodingTheBadge extends LetterQuest
}
case "33865-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -117,11 +117,11 @@ public final class Q10401_KekropusLetterDecodingTheBadge extends LetterQuest
if (qs.isStarted())
{
- if (qs.isCond(1) && (npc.getId() == PATERSON))
+ if (qs.isCond(2) && (npc.getId() == PATERSON))
{
htmltext = "33864-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == PATERSON ? "33864-04.html" : "33865-01.html";
}
@@ -137,7 +137,7 @@ public final class Q10401_KekropusLetterDecodingTheBadge extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.FORSAKEN_PLAINS_IA_A_GOOD_HUNTING_ZONE_FOR_LV_58_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10404_KekropusLetterAHiddenMeaning/Q10404_KekropusLetterAHiddenMeaning.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10404_KekropusLetterAHiddenMeaning/Q10404_KekropusLetterAHiddenMeaning.java
index 1435b61868..62299b25e0 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10404_KekropusLetterAHiddenMeaning/Q10404_KekropusLetterAHiddenMeaning.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10404_KekropusLetterAHiddenMeaning/Q10404_KekropusLetterAHiddenMeaning.java
@@ -77,9 +77,9 @@ public final class Q10404_KekropusLetterAHiddenMeaning extends LetterQuest
}
case "33864-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_FIELDS_OF_MASSACRE, 1);
htmltext = event;
}
@@ -87,7 +87,7 @@ public final class Q10404_KekropusLetterAHiddenMeaning extends LetterQuest
}
case "33867-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -117,11 +117,11 @@ public final class Q10404_KekropusLetterAHiddenMeaning extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == PATERSON) && qs.isCond(1))
+ if ((npc.getId() == PATERSON) && qs.isCond(2))
{
htmltext = "33864-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == PATERSON ? "33864-04.html" : "33867-01.html";
}
@@ -137,7 +137,7 @@ public final class Q10404_KekropusLetterAHiddenMeaning extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.FIELDS_OF_MASSACRE_IS_A_GOOD_HUNTING_ZONE_FOR_LV_61_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10408_KekropusLetterTheSwampOfScreams/Q10408_KekropusLetterTheSwampOfScreams.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10408_KekropusLetterTheSwampOfScreams/Q10408_KekropusLetterTheSwampOfScreams.java
index 561565f257..125eb120ae 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10408_KekropusLetterTheSwampOfScreams/Q10408_KekropusLetterTheSwampOfScreams.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10408_KekropusLetterTheSwampOfScreams/Q10408_KekropusLetterTheSwampOfScreams.java
@@ -77,18 +77,18 @@ public final class Q10408_KekropusLetterTheSwampOfScreams extends LetterQuest
}
case "31340-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_RUNE, -1);
giveItems(player, SOE_SWAMP_OF_SCREAMS, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33847-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -118,11 +118,11 @@ public final class Q10408_KekropusLetterTheSwampOfScreams extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == MATHIAS) && qs.isCond(1))
+ if ((npc.getId() == MATHIAS) && qs.isCond(2))
{
htmltext = "31340-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == MATHIAS ? "31340-04.html" : "33847-01.html";
}
@@ -138,7 +138,7 @@ public final class Q10408_KekropusLetterTheSwampOfScreams extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.SWAMP_OF_SCREAMS_IA_A_GOOD_HUNTING_ZONE_FOR_LV_65_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10411_KekropusLetterTheForestOfTheDead/Q10411_KekropusLetterTheForestOfTheDead.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10411_KekropusLetterTheForestOfTheDead/Q10411_KekropusLetterTheForestOfTheDead.java
index 51200adb60..9a045e0f73 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10411_KekropusLetterTheForestOfTheDead/Q10411_KekropusLetterTheForestOfTheDead.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10411_KekropusLetterTheForestOfTheDead/Q10411_KekropusLetterTheForestOfTheDead.java
@@ -77,18 +77,18 @@ public final class Q10411_KekropusLetterTheForestOfTheDead extends LetterQuest
}
case "31340-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_RUNE, -1);
giveItems(player, SOE_FOREST_OF_THE_DEAD, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33849-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -118,11 +118,11 @@ public final class Q10411_KekropusLetterTheForestOfTheDead extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == MATHIAS) && qs.isCond(1))
+ if ((npc.getId() == MATHIAS) && qs.isCond(2))
{
htmltext = "31340-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == MATHIAS ? "31340-04.html" : "33849-01.html";
}
@@ -138,7 +138,7 @@ public final class Q10411_KekropusLetterTheForestOfTheDead extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.FOREST_OF_THE_DEAD_IS_A_GOOD_HUNTING_ZONE_FOR_LV_65_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10414_KekropusLetterWithCourage/Q10414_KekropusLetterWithCourage.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10414_KekropusLetterWithCourage/Q10414_KekropusLetterWithCourage.java
index 49cf2890cf..e80ea3f42d 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10414_KekropusLetterWithCourage/Q10414_KekropusLetterWithCourage.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10414_KekropusLetterWithCourage/Q10414_KekropusLetterWithCourage.java
@@ -77,18 +77,18 @@ public final class Q10414_KekropusLetterWithCourage extends LetterQuest
}
case "31292-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_GODDARD, -1);
giveItems(player, SOE_WALL_OF_ARGOS, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33851-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -118,11 +118,11 @@ public final class Q10414_KekropusLetterWithCourage extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == ANDREI) && qs.isCond(1))
+ if ((npc.getId() == ANDREI) && qs.isCond(2))
{
htmltext = "31292-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == ANDREI ? "31292-04.html" : "33851-01.html";
}
@@ -138,7 +138,7 @@ public final class Q10414_KekropusLetterWithCourage extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.WALL_OF_ARGOS_IS_A_GOOD_HUNTING_ZONE_FOR_LV_70_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10415_KekropusLetterWithWisdom/Q10415_KekropusLetterWithWisdom.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10415_KekropusLetterWithWisdom/Q10415_KekropusLetterWithWisdom.java
index bd1a4e0a41..d6a8ce8c91 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10415_KekropusLetterWithWisdom/Q10415_KekropusLetterWithWisdom.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10415_KekropusLetterWithWisdom/Q10415_KekropusLetterWithWisdom.java
@@ -78,18 +78,18 @@ public class Q10415_KekropusLetterWithWisdom extends LetterQuest
}
case "31292-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_GODDARD, -1);
giveItems(player, SOE_WALL_OF_ARGOS, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33851-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -113,11 +113,11 @@ public class Q10415_KekropusLetterWithWisdom extends LetterQuest
String htmltext = getNoQuestMsg(player);
if (qs.isStarted())
{
- if ((npc.getId() == ANDREI) && qs.isCond(1))
+ if ((npc.getId() == ANDREI) && qs.isCond(2))
{
htmltext = "31292-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == ANDREI ? "31292-04.html" : "33851-01.html";
}
@@ -133,7 +133,7 @@ public class Q10415_KekropusLetterWithWisdom extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.WALL_OF_ARGOS_IS_A_GOOD_HUNTING_ZONE_FOR_LV_70_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/Q10419_KekropusLetterKampfsWhereabouts.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/Q10419_KekropusLetterKampfsWhereabouts.java
index a24f91395d..cde3eea38c 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/Q10419_KekropusLetterKampfsWhereabouts.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/Q10419_KekropusLetterKampfsWhereabouts.java
@@ -77,18 +77,18 @@ public final class Q10419_KekropusLetterKampfsWhereabouts extends LetterQuest
}
case "31292-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_GODDARD, -1);
giveItems(player, SOE_VARKA_SILENOS_BARRACKS, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33853-02.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -118,11 +118,11 @@ public final class Q10419_KekropusLetterKampfsWhereabouts extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == ANDREI) && qs.isCond(1))
+ if ((npc.getId() == ANDREI) && qs.isCond(2))
{
htmltext = "31292-01.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == ANDREI ? "31292-04.html" : "33853-01.html";
}
@@ -138,7 +138,7 @@ public final class Q10419_KekropusLetterKampfsWhereabouts extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.VARKA_SILENOS_BARRACKS_IS_A_GOOD_HUNTING_ZONE_FOR_LV_76_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10424_KekropusLetterBelosWhereabouts/Q10424_KekropusLetterBelosWhereabouts.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10424_KekropusLetterBelosWhereabouts/Q10424_KekropusLetterBelosWhereabouts.java
index 1600f6eb9b..e7d3210667 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10424_KekropusLetterBelosWhereabouts/Q10424_KekropusLetterBelosWhereabouts.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10424_KekropusLetterBelosWhereabouts/Q10424_KekropusLetterBelosWhereabouts.java
@@ -76,18 +76,18 @@ public final class Q10424_KekropusLetterBelosWhereabouts extends LetterQuest
}
case "31292-03.htm":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
takeItems(player, SOE_TOWN_OF_GODDARD, -1);
giveItems(player, SOE_KETRA_ORC_OUTPOST, 1);
- qs.setCond(2, true);
+ qs.setCond(3, true);
htmltext = event;
}
break;
}
case "33852-02.htm":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
qs.exitQuest(false, true);
giveStoryQuestReward(npc, player);
@@ -117,11 +117,11 @@ public final class Q10424_KekropusLetterBelosWhereabouts extends LetterQuest
if (qs.isStarted())
{
- if ((npc.getId() == ANDREI) && qs.isCond(1))
+ if ((npc.getId() == ANDREI) && qs.isCond(2))
{
htmltext = "31292-01.htm";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = npc.getId() == ANDREI ? "31292-04.htm" : "33852-01.htm";
}
@@ -137,7 +137,7 @@ public final class Q10424_KekropusLetterBelosWhereabouts extends LetterQuest
final PlayerInstance player = creature.getActingPlayer();
final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isCond(2))
+ if ((qs != null) && qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.KETRA_ORC_OUTPOST_IS_A_GOOD_HUNTING_ZONE_FOR_LV_76_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-01.htm
new file mode 100644
index 0000000000..52ff9ab5ec
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-01.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+What brings you here?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-02.htm
new file mode 100644
index 0000000000..fcc7dadbe9
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-02.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+Ah, so you were the one! I was looking for someone to ask for help, what with all the complicated goings on in Dragon Valley. I came across the news that someone had defeated Sakum and was helping the Giant's Minions, and was hoping that such a formidable one would be able to resolve the problems that have occurred in Dragon Valley.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-03.htm
new file mode 100644
index 0000000000..9127a36d00
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-03.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+Namo is at the entrance to Dragon Valley to conduct research. When you meet him, he will explain to you the strange goings on in Dragon Valley, and what sort of help is needed.
+I will give you a Scroll of Escape: Dragon Valley, so that you can find Namo without wasting time. It should make your joumey over there easily.
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-04.htm
new file mode 100644
index 0000000000..f27f8b5fe2
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/30121-04.htm
@@ -0,0 +1,4 @@
+Captain Jeronin:
+What are you waiting for? Go now to Dragon Valley and help Namo. He is waiting for you.
+To get there quickly, use the Scroll of Escape: Dragon Valley I gave you. You could also ask a Gatekeeper for help.
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-01.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-01.html
new file mode 100644
index 0000000000..ba0433fe26
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-01.html
@@ -0,0 +1,4 @@
+Namo:
+What brings you here?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-02.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-02.html
new file mode 100644
index 0000000000..2a1431e91e
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-02.html
@@ -0,0 +1,5 @@
+Namo:
+Right now, Dragon Valley is a very dangerous place. As the 6th Seal was broken, the Dimensional Rift caused the undead to appear whenever night fell.
+You're really not going to change your mind about investigating such a dangerous place?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-03.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-03.html
new file mode 100644
index 0000000000..60f2b321a3
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/33973-03.html
@@ -0,0 +1,3 @@
+Namo:
+Alright I will give you the mission right away.
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/Q10530_KekropusLetterTheDragonsTransition.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/Q10530_KekropusLetterTheDragonsTransition.java
new file mode 100644
index 0000000000..f0f8ee2db8
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/Q10530_KekropusLetterTheDragonsTransition.java
@@ -0,0 +1,151 @@
+/*
+ * 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.Q10530_KekropusLetterTheDragonsTransition;
+
+import com.l2jmobius.gameserver.model.Location;
+import com.l2jmobius.gameserver.model.actor.Creature;
+import com.l2jmobius.gameserver.model.actor.Npc;
+import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
+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 Q10530_KekropusLetterTheDragonsTransition extends LetterQuest
+{
+ // NPCs
+ private static final int JERONIN = 30121;
+ private static final int NAMO = 33973;
+ private static final int INVISIBLE_NPC = 19543;
+ // Items
+ private static final int SOE_TOWN_OF_GIRAN = 46733; // Scroll of Escape: Town of GIRAN
+ private static final int SOE_DRAGON_VALLEY = 46734; // Scroll of Escape: Dragon Valley
+ // Location
+ private static final Location TELEPORT_LOC = new Location(84015, 147219, -3395);
+ // Rewards
+ private static final int XP = 1533168;
+ private static final int SP = 306;
+ // Misc
+ private static final int MIN_LEVEL = 81;
+ private static final int MAX_LEVEL = 84;
+
+ public Q10530_KekropusLetterTheDragonsTransition()
+ {
+ super(10530);
+ addTalkId(JERONIN, NAMO);
+ addSeeCreatureId(INVISIBLE_NPC);
+ setIsErtheiaQuest(false);
+ setLevel(MIN_LEVEL, MAX_LEVEL);
+ setStartQuestSound("Npcdialog1.kekrops_quest_15");
+ setStartLocation(SOE_TOWN_OF_GIRAN, TELEPORT_LOC);
+ registerQuestItems(SOE_TOWN_OF_GIRAN, SOE_DRAGON_VALLEY);
+ }
+
+ @Override
+ public String onAdvEvent(String event, Npc npc, PlayerInstance player)
+ {
+ final QuestState qs = getQuestState(player, false);
+ if (qs == null)
+ {
+ return null;
+ }
+
+ String htmltext = null;
+ switch (event)
+ {
+ case "30121-02.htm":
+ case "33973-02.html":
+ {
+ htmltext = event;
+ break;
+ }
+ case "30121-03.htm":
+ {
+ if (qs.isCond(2))
+ {
+ takeItems(player, SOE_TOWN_OF_GIRAN, -1);
+ giveItems(player, SOE_DRAGON_VALLEY, 1);
+ qs.setCond(3, true);
+ htmltext = event;
+ }
+ break;
+ }
+ case "33973-03.html":
+ {
+ if (qs.isCond(3))
+ {
+ qs.exitQuest(false, true);
+ giveStoryQuestReward(npc, player);
+ if (player.getLevel() >= MIN_LEVEL)
+ {
+ addExpAndSp(player, XP, SP);
+ }
+ showOnScreenMsg(player, NpcStringId.YOU_HAVE_COMPLETED_ALL_OF_KEKROPUS_LETTER, ExShowScreenMessage.TOP_CENTER, 6000);
+ htmltext = event;
+ }
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onTalk(Npc npc, PlayerInstance player)
+ {
+ String htmltext = getNoQuestMsg(player);
+ final QuestState qs = getQuestState(player, false);
+
+ if (qs == null)
+ {
+ return htmltext;
+ }
+
+ if (qs.isStarted())
+ {
+ if ((npc.getId() == JERONIN) && qs.isCond(2))
+ {
+ htmltext = "30121-01.htm";
+ }
+ else if (qs.isCond(3))
+ {
+ htmltext = npc.getId() == JERONIN ? "30121-04.htm" : "33973-01.html";
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onSeeCreature(Npc npc, Creature creature, boolean isSummon)
+ {
+ if (creature.isPlayer())
+ {
+ final PlayerInstance player = creature.getActingPlayer();
+ final QuestState qs = getQuestState(player, false);
+
+ if ((qs != null) && qs.isCond(3))
+ {
+ showOnScreenMsg(player, NpcStringId.DEN_OF_EVIL_IS_A_GOOD_HUNTING_ZONE_FOR_LV_81_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
+ }
+ }
+ return super.onSeeCreature(npc, creature, isSummon);
+ }
+}
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/popup.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/popup.html
new file mode 100644
index 0000000000..3b6e6d9b3b
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10530_KekropusLetterTheDragonsTransition/popup.html
@@ -0,0 +1,8 @@
+Kekropus' LetterKekropus' Letter:
+Since the dimensional rift was discovered in Dragon Valley, changes have been observed among the dragons.
+I suspect Embryo involvement in this matter as well.
+Go to Captain Jeronin in the Town of Giran 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_6.0_Fafurion/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/Q10755_LettersFromTheQueenWindyHill.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/Q10755_LettersFromTheQueenWindyHill.java
index 78bfa28ce2..3f867b30f6 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/Q10755_LettersFromTheQueenWindyHill.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/Q10755_LettersFromTheQueenWindyHill.java
@@ -74,9 +74,9 @@ public final class Q10755_LettersFromTheQueenWindyHill extends LetterQuest
}
case "30037-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_WINDY_HILL, 1);
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_LEVIAN_GAVE_YOU, ExShowScreenMessage.TOP_CENTER, 5000);
}
@@ -84,7 +84,7 @@ public final class Q10755_LettersFromTheQueenWindyHill extends LetterQuest
}
case "33963-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 120960, 29);
@@ -116,9 +116,9 @@ public final class Q10755_LettersFromTheQueenWindyHill extends LetterQuest
{
if ((npc.getId() == LEVIAN))
{
- htmltext = (qs.isCond(1)) ? "30037-01.html" : "30037-04.html";
+ htmltext = (qs.isCond(2)) ? "30037-01.html" : "30037-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33963-01.html";
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/Q10760_LettersFromTheQueenOrcBarracks.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/Q10760_LettersFromTheQueenOrcBarracks.java
index 1b485cf010..d79aca06b8 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/Q10760_LettersFromTheQueenOrcBarracks.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/Q10760_LettersFromTheQueenOrcBarracks.java
@@ -74,9 +74,9 @@ public class Q10760_LettersFromTheQueenOrcBarracks extends LetterQuest
}
case "30037-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_ORC_BARRACKS, 1);
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_LEVIAN_GAVE_YOU_TO_GO_TO_ORC_BARRACKS, ExShowScreenMessage.TOP_CENTER, 5000);
}
@@ -84,7 +84,7 @@ public class Q10760_LettersFromTheQueenOrcBarracks extends LetterQuest
}
case "30597-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 242760, 58);
@@ -116,9 +116,9 @@ public class Q10760_LettersFromTheQueenOrcBarracks extends LetterQuest
{
if ((npc.getId() == LEVIAN))
{
- htmltext = (qs.isCond(1)) ? "30037-01.html" : "30037-04.html";
+ htmltext = (qs.isCond(2)) ? "30037-01.html" : "30037-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "30597-01.html";
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10769_LettersFromTheQueenCrumaTowerPart1/Q10769_LettersFromTheQueenCrumaTowerPart1.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10769_LettersFromTheQueenCrumaTowerPart1/Q10769_LettersFromTheQueenCrumaTowerPart1.java
index f81122ab25..71177fa62d 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10769_LettersFromTheQueenCrumaTowerPart1/Q10769_LettersFromTheQueenCrumaTowerPart1.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10769_LettersFromTheQueenCrumaTowerPart1/Q10769_LettersFromTheQueenCrumaTowerPart1.java
@@ -76,9 +76,9 @@ public final class Q10769_LettersFromTheQueenCrumaTowerPart1 extends LetterQuest
}
case "30070-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_CRUMA_TOWER, 1);
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_SYLVAIN_GAVE_YOU_TO_GO_TO_CRUMA_TOWER, ExShowScreenMessage.TOP_CENTER, 5000);
}
@@ -86,7 +86,7 @@ public final class Q10769_LettersFromTheQueenCrumaTowerPart1 extends LetterQuest
}
case "30673-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveItems(player, ENCHANT_WEAPON_C, 1);
giveItems(player, ENCHANT_ARMOR_C, 1);
@@ -119,9 +119,9 @@ public final class Q10769_LettersFromTheQueenCrumaTowerPart1 extends LetterQuest
{
if (npc.getId() == SYLVAIN)
{
- htmltext = (qs.isCond(1)) ? "30070-01.html" : "30070-04.html";
+ htmltext = (qs.isCond(2)) ? "30070-01.html" : "30070-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "30673-01.html";
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10774_LettersFromTheQueenCrumaTowerPart2/Q10774_LettersFromTheQueenCrumaTowerPart2.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10774_LettersFromTheQueenCrumaTowerPart2/Q10774_LettersFromTheQueenCrumaTowerPart2.java
index b50d2a8970..d0b57bc173 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10774_LettersFromTheQueenCrumaTowerPart2/Q10774_LettersFromTheQueenCrumaTowerPart2.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10774_LettersFromTheQueenCrumaTowerPart2/Q10774_LettersFromTheQueenCrumaTowerPart2.java
@@ -74,9 +74,9 @@ public final class Q10774_LettersFromTheQueenCrumaTowerPart2 extends LetterQuest
}
case "30070-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_CRUMA_TOWER, 1);
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_SYLVAIN_GAVE_YOU_TO_GO_TO_CRUMA_TOWER_2, ExShowScreenMessage.TOP_CENTER, 8000);
}
@@ -84,7 +84,7 @@ public final class Q10774_LettersFromTheQueenCrumaTowerPart2 extends LetterQuest
}
case "30487-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 483840, 116);
@@ -115,9 +115,9 @@ public final class Q10774_LettersFromTheQueenCrumaTowerPart2 extends LetterQuest
{
if (npc.getId() == SYLVAIN)
{
- htmltext = (qs.isCond(1)) ? "30070-01.html" : "30070-04.html";
+ htmltext = (qs.isCond(2)) ? "30070-01.html" : "30070-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "30487-01.html";
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10782_LettersFromTheQueenForsakenPlains/Q10782_LettersFromTheQueenForsakenPlains.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10782_LettersFromTheQueenForsakenPlains/Q10782_LettersFromTheQueenForsakenPlains.java
index 86257e6229..b5f156ce3b 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10782_LettersFromTheQueenForsakenPlains/Q10782_LettersFromTheQueenForsakenPlains.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10782_LettersFromTheQueenForsakenPlains/Q10782_LettersFromTheQueenForsakenPlains.java
@@ -75,9 +75,9 @@ public final class Q10782_LettersFromTheQueenForsakenPlains extends LetterQuest
}
case "30857-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_FORSAKEN_PLAINS, 1);
htmltext = event;
}
@@ -85,7 +85,7 @@ public final class Q10782_LettersFromTheQueenForsakenPlains extends LetterQuest
}
case "33866-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 731010, 175);
@@ -117,9 +117,9 @@ public final class Q10782_LettersFromTheQueenForsakenPlains extends LetterQuest
{
if (npc.getId() == ORVEN)
{
- htmltext = (qs.isCond(1)) ? "30857-01.html" : "30857-04.html";
+ htmltext = (qs.isCond(2)) ? "30857-01.html" : "30857-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33866-01.html";
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/Q10785_LettersFromTheQueenFieldsOfMassacre.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/Q10785_LettersFromTheQueenFieldsOfMassacre.java
index 235cb44095..2f9134ed37 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/Q10785_LettersFromTheQueenFieldsOfMassacre.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/Q10785_LettersFromTheQueenFieldsOfMassacre.java
@@ -75,9 +75,9 @@ public final class Q10785_LettersFromTheQueenFieldsOfMassacre extends LetterQues
}
case "30857-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_FIELDS_OF_MASSACRE, 1);
htmltext = event;
}
@@ -85,7 +85,7 @@ public final class Q10785_LettersFromTheQueenFieldsOfMassacre extends LetterQues
}
case "33867-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 807240, 193);
@@ -117,9 +117,9 @@ public final class Q10785_LettersFromTheQueenFieldsOfMassacre extends LetterQues
{
if (npc.getId() == ORVEN)
{
- htmltext = (qs.isCond(1)) ? "30857-01.html" : "30857-04.html";
+ htmltext = (qs.isCond(2)) ? "30857-01.html" : "30857-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33867-01.html";
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10789_LettersFromTheQueenSwampOfScreams/Q10789_LettersFromTheQueenSwampOfScreams.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10789_LettersFromTheQueenSwampOfScreams/Q10789_LettersFromTheQueenSwampOfScreams.java
index 2b7b7593d7..7a8bb03005 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10789_LettersFromTheQueenSwampOfScreams/Q10789_LettersFromTheQueenSwampOfScreams.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10789_LettersFromTheQueenSwampOfScreams/Q10789_LettersFromTheQueenSwampOfScreams.java
@@ -75,9 +75,9 @@ public final class Q10789_LettersFromTheQueenSwampOfScreams extends LetterQuest
}
case "31328-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_SWAMP_OF_SCREAMS, 1);
htmltext = event;
}
@@ -85,7 +85,7 @@ public final class Q10789_LettersFromTheQueenSwampOfScreams extends LetterQuest
}
case "33847-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 942690, 226);
@@ -117,9 +117,9 @@ public final class Q10789_LettersFromTheQueenSwampOfScreams extends LetterQuest
{
if (npc.getId() == INNOCENTIN)
{
- htmltext = (qs.isCond(1)) ? "31328-01.html" : "31328-04.html";
+ htmltext = (qs.isCond(2)) ? "31328-01.html" : "31328-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33847-01.html";
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10792_LettersFromTheQueenForestOfTheDead/Q10792_LettersFromTheQueenForestOfTheDead.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10792_LettersFromTheQueenForestOfTheDead/Q10792_LettersFromTheQueenForestOfTheDead.java
index 246bf04e3b..ef57e644ff 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10792_LettersFromTheQueenForestOfTheDead/Q10792_LettersFromTheQueenForestOfTheDead.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10792_LettersFromTheQueenForestOfTheDead/Q10792_LettersFromTheQueenForestOfTheDead.java
@@ -74,16 +74,16 @@ public final class Q10792_LettersFromTheQueenForestOfTheDead extends LetterQuest
}
case "31328-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_FOREST_OF_DEAD, 1);
}
break;
}
case "33849-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 942690, 226);
@@ -114,9 +114,9 @@ public final class Q10792_LettersFromTheQueenForestOfTheDead extends LetterQuest
{
if (npc.getId() == INNOCENTIN)
{
- htmltext = (qs.isCond(1)) ? "31328-01.html" : "31328-04.html";
+ htmltext = (qs.isCond(2)) ? "31328-01.html" : "31328-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33849-01.html";
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/Q10795_LettersFromTheQueenWallOfAgros.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/Q10795_LettersFromTheQueenWallOfAgros.java
index 691ced4405..205c713f0e 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/Q10795_LettersFromTheQueenWallOfAgros.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/Q10795_LettersFromTheQueenWallOfAgros.java
@@ -60,9 +60,9 @@ public class Q10795_LettersFromTheQueenWallOfAgros extends LetterQuest
}
case "31279-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_WAAL_OF_ARGOS, 1);
htmltext = event;
}
@@ -70,7 +70,7 @@ public class Q10795_LettersFromTheQueenWallOfAgros extends LetterQuest
}
case "31616-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 1088640, 261);
@@ -97,9 +97,9 @@ public class Q10795_LettersFromTheQueenWallOfAgros extends LetterQuest
{
if (npc.getId() == GREGORY)
{
- htmltext = (qs.isCond(1)) ? "31279-01.html" : "31279-04.html";
+ htmltext = (qs.isCond(2)) ? "31279-01.html" : "31279-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "31616-01.html";
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10798_LettersFromTheQueenDragonValley/Q10798_LettersFromTheQueenDragonValley.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10798_LettersFromTheQueenDragonValley/Q10798_LettersFromTheQueenDragonValley.java
index 717974b832..0e47274bc2 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10798_LettersFromTheQueenDragonValley/Q10798_LettersFromTheQueenDragonValley.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10798_LettersFromTheQueenDragonValley/Q10798_LettersFromTheQueenDragonValley.java
@@ -75,9 +75,9 @@ public class Q10798_LettersFromTheQueenDragonValley extends LetterQuest
}
case "30120-03.html":
{
- if (qs.isCond(1))
+ if (qs.isCond(2))
{
- qs.setCond(2, true);
+ qs.setCond(3, true);
giveItems(player, SOE_DRAGON_VALLEY, 1);
htmltext = event;
}
@@ -85,7 +85,7 @@ public class Q10798_LettersFromTheQueenDragonValley extends LetterQuest
}
case "33973-03.html":
{
- if (qs.isCond(2))
+ if (qs.isCond(3))
{
giveStoryQuestReward(npc, player);
addExpAndSp(player, 1277640, 306);
@@ -112,9 +112,9 @@ public class Q10798_LettersFromTheQueenDragonValley extends LetterQuest
{
if (npc.getId() == MAXIMILIAN)
{
- htmltext = (qs.isCond(1)) ? "30120-01.html" : "30120-04.html";
+ htmltext = (qs.isCond(2)) ? "30120-01.html" : "30120-04.html";
}
- else if (qs.isCond(2))
+ else if (qs.isCond(3))
{
htmltext = "33973-01.html";
}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/QuestMasterHandler.java
index a5c4629c5a..beee652667 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/QuestMasterHandler.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/QuestMasterHandler.java
@@ -297,6 +297,7 @@ import quests.Q10525_QueenNavarisLetterKetraOrcOutpost.Q10525_QueenNavarisLetter
import quests.Q10526_TheDarkSecretOfTheKetraOrcs.Q10526_TheDarkSecretOfTheKetraOrcs;
import quests.Q10527_TheAssassinationOfTheKetraOrcCommander.Q10527_TheAssassinationOfTheKetraOrcCommander;
import quests.Q10528_TheAssassinationOfTheKetraOrcChief.Q10528_TheAssassinationOfTheKetraOrcChief;
+import quests.Q10530_KekropusLetterTheDragonsTransition.Q10530_KekropusLetterTheDragonsTransition;
import quests.Q10534_HatchlingResearch.Q10534_HatchlingResearch;
import quests.Q10541_TrainLikeTheRealThing.Q10541_TrainLikeTheRealThing;
import quests.Q10542_SearchingForNewPower.Q10542_SearchingForNewPower;
@@ -796,6 +797,7 @@ public class QuestMasterHandler
Q10527_TheAssassinationOfTheKetraOrcCommander.class,
Q10528_TheAssassinationOfTheKetraOrcChief.class,
Q10529_IvoryTowersResearchFloatingSeaJournal.class, // FIXME: Custom.
+ Q10530_KekropusLetterTheDragonsTransition.class,
Q10531_OddHappeningsAtDragonValley.class, // TODO: Not done.
Q10532_UncoveringTheConspiracy.class, // TODO: Not done.
Q10533_OrfensAmbition.class, // TODO: Not done.