diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-00.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-00.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-00.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-00.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-02.htm index 1e3073ea445549fe103d5acbe729efb7734c27d1..0322031eff8401f6c4b73248fcbaefc484bc5928 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-02.htm @@ -4,5 +4,5 @@ Kamaloka exists between this world and the infernal regions; it it regular mons But we do not know the specific cause of this mutation.<br> To learn more, they've asked me to provide them with <font color="LEVEL">cellular tissues of the Kaneus</font>. Will you help me?<br> <font color="LEVEL">(Only characters able to enter Kamaloka, Hall of the Abyss level 33 and 36, may undertake this quest.)</font><br> -<a action="bypass -h Quest Q10277_MutatedKaneusDion 30071-03.htm">Say yes.</a> +<a action="bypass -h Quest Q10277_MutatedKaneusDion 30071-03.html">Say yes.</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-03.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-03.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-04.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-04.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-05.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-05.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-06.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30071-06.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30461-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30461-01.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30461-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30461-01.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30461-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30461-02.html similarity index 91% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30461-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30461-02.html index 0d56176de20fa98470031a3915daf42f376c0388..a4cbccb34ff924f4dc9f02e91514b0feee4bbcdf 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30461-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30461-02.html @@ -1,5 +1,5 @@ <html><body>Magister Mirien:<br> This is it. Tissue samples of the mutated Kaneus!<br> Now we can move forward with our study about the mutated Kaneus and the nature of Kamaloka. Soon we will discover their underlying nature! This is only the beginning of a long journey to find the truth.<br> -<a action="bypass -h Quest Q10277_MutatedKaneusDion 30461-03.htm">Beginning of a journey?"</a> +<a action="bypass -h Quest Q10277_MutatedKaneusDion 30461-03.html">Beginning of a journey?"</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30461-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30461-03.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30461-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/30461-03.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/Q10277_MutatedKaneusDion.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/Q10277_MutatedKaneusDion.java index 298538b932f3044fa33eb4519012fd847a3ca4e4..fdf2ae12f102b54b5ba1346d4c1b8c380bf062dc 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/Q10277_MutatedKaneusDion.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10277_MutatedKaneusDion/Q10277_MutatedKaneusDion.java @@ -30,17 +30,24 @@ import com.l2jserver.gameserver.model.quest.State; */ public class Q10277_MutatedKaneusDion extends Quest { - // NPCs private static final int LUKAS = 30071; private static final int MIRIEN = 30461; private static final int CRIMSON_HATU = 18558; private static final int SEER_FLOUROS = 18559; - // Items private static final int TISSUE_CH = 13832; private static final int TISSUE_SF = 13833; + public Q10277_MutatedKaneusDion(int questId, String name, String descr) + { + super(questId, name, descr); + addStartNpc(LUKAS); + addTalkId(LUKAS, MIRIEN); + addKillId(CRIMSON_HATU, SEER_FLOUROS); + registerQuestItems(TISSUE_CH, TISSUE_SF); + } + @Override public String onTalk(L2Npc npc, L2PcInstance player) { @@ -57,13 +64,13 @@ public class Q10277_MutatedKaneusDion extends Quest switch (st.getState()) { case State.CREATED: - htmltext = (player.getLevel() > 27) ? "30071-01.htm" : "30371-00.htm"; + htmltext = (player.getLevel() > 27) ? "30071-01.htm" : "30071-00.html"; break; case State.STARTED: - htmltext = (st.hasQuestItems(TISSUE_CH) && st.hasQuestItems(TISSUE_SF)) ? "30371-05.htm" : "30371-04.htm"; + htmltext = (st.hasQuestItems(TISSUE_CH) && st.hasQuestItems(TISSUE_SF)) ? "30071-05.html" : "30071-04.html"; break; case State.COMPLETED: - htmltext = "30071-06.htm"; + htmltext = "30071-06.html"; break; } break; @@ -71,7 +78,7 @@ public class Q10277_MutatedKaneusDion extends Quest switch (st.getState()) { case State.STARTED: - htmltext = (st.hasQuestItems(TISSUE_CH) && st.hasQuestItems(TISSUE_SF)) ? "30461-02.htm" : "30461-01.htm"; + htmltext = (st.hasQuestItems(TISSUE_CH) && st.hasQuestItems(TISSUE_SF)) ? "30461-02.html" : "30461-01.html"; break; case State.COMPLETED: htmltext = getAlreadyCompletedMsg(player); @@ -95,10 +102,10 @@ public class Q10277_MutatedKaneusDion extends Quest switch (event) { - case "30071-03.htm": + case "30071-03.html": st.startQuest(); break; - case "30461-03.htm": + case "30461-03.html": st.giveAdena(20000, true); st.exitQuest(false, true); break; @@ -112,7 +119,7 @@ public class Q10277_MutatedKaneusDion extends Quest QuestState st = killer.getQuestState(getName()); if (st == null) { - return null; + return super.onKill(npc, killer, isPet); } final int npcId = npc.getNpcId(); @@ -137,7 +144,7 @@ public class Q10277_MutatedKaneusDion extends Quest { rewardItem(npcId, st); } - return null; + return super.onKill(npc, killer, isPet); } /** @@ -158,19 +165,6 @@ public class Q10277_MutatedKaneusDion extends Quest } } - public Q10277_MutatedKaneusDion(int questId, String name, String descr) - { - super(questId, name, descr); - addStartNpc(LUKAS); - addTalkId(LUKAS, MIRIEN); - addKillId(CRIMSON_HATU, SEER_FLOUROS); - questItemIds = new int[] - { - TISSUE_CH, - TISSUE_SF - }; - } - public static void main(String[] args) { new Q10277_MutatedKaneusDion(10277, Q10277_MutatedKaneusDion.class.getSimpleName(), "Mutated Kaneus - Dion");