From 53cf0ea614c94d29ca1eb0c87f635f7ad2a14a64 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sun, 5 Jan 2020 15:09:16 +0000 Subject: [PATCH] Addition of quests 674, 675, 816, 10597, 10844 and 10852. Contributed by Dmitri. --- .../data/scripts/quests/MissingQuests.txt | 2 - .../34058-00.htm | 5 + .../34058-01.htm | 6 + .../34058-02.htm | 4 + .../34058-03.htm | 6 + .../34058-04.htm | 11 + .../34058-04a.htm | 11 + .../34058-04b.htm | 11 + .../34058-04d.htm | 11 + .../34058-05.html | 3 + .../34058-05a.html | 3 + .../34058-05b.html | 3 + .../34058-06.html | 6 + .../34058-06a.html | 6 + .../34058-06b.html | 6 + .../34058-06d.html | 6 + .../34058-07.html | 4 + .../34058-07a.html | 4 + .../34058-07b.html | 4 + .../34058-07d.html | 4 + .../34058-08.html | 3 + .../34058-08a.html | 3 + .../34058-08b.html | 3 + .../34058-08d.html | 3 + .../34058-09.html | 5 + .../34058-10.html | 4 + .../Q00816_PlansToRepairTheStronghold.java | 363 +++++++++++++++ .../34057-00.htm | 4 + .../34057-01.htm | 5 + .../34057-02.htm | 4 + .../34057-03.htm | 5 + .../34057-04.htm | 5 + .../34057-05.htm | 4 + .../34057-06.html | 4 + .../34063-01.html | 5 + .../34063-02.html | 7 + .../34063-03.html | 5 + .../34063-04.html | 4 + .../34063-05.html | 4 + .../34063-06.html | 4 + .../34137-01.html | 6 + .../34137.html | 4 + .../Q10844_BloodyBattleSeizingSupplies.java | 194 ++++++++ .../scripts/quests/QuestMasterHandler.java | 8 +- .../Q00816_PlansToRepairTheStronghold.java | 36 -- .../Q10844_BloodyBattleSeizingSupplies.java | 36 -- .../data/scripts/quests/MissingQuests.txt | 3 - .../34058-00.htm | 5 + .../34058-01.htm | 6 + .../34058-02.htm | 4 + .../34058-03.htm | 6 + .../34058-04.htm | 11 + .../34058-04a.htm | 11 + .../34058-04b.htm | 11 + .../34058-04d.htm | 11 + .../34058-05.html | 3 + .../34058-05a.html | 3 + .../34058-05b.html | 3 + .../34058-06.html | 6 + .../34058-06a.html | 6 + .../34058-06b.html | 6 + .../34058-06d.html | 6 + .../34058-07.html | 4 + .../34058-07a.html | 4 + .../34058-07b.html | 4 + .../34058-07d.html | 4 + .../34058-08.html | 3 + .../34058-08a.html | 3 + .../34058-08b.html | 3 + .../34058-08d.html | 3 + .../34058-09.html | 5 + .../34058-10.html | 4 + .../Q00816_PlansToRepairTheStronghold.java | 413 ++++++++++++++++++ .../34057-00.htm | 4 + .../34057-01.htm | 5 + .../34057-02.htm | 4 + .../34057-03.htm | 5 + .../34057-04.htm | 5 + .../34057-05.htm | 4 + .../34057-06.html | 4 + .../34063-01.html | 5 + .../34063-02.html | 7 + .../34063-03.html | 5 + .../34063-04.html | 4 + .../34063-05.html | 4 + .../34063-06.html | 4 + .../34137-01.html | 6 + .../34137.html | 4 + .../Q10844_BloodyBattleSeizingSupplies.java | 196 +++++++++ .../34233-00.htm | 4 + .../34233-01.htm | 5 + .../34233-02.htm | 5 + .../34233-03.htm | 5 + .../34233-04.htm | 5 + .../34233-05.html | 5 + .../34233-06.html | 4 + .../34233-07.html | 5 + .../34233-08.html | 5 + .../34233-09.html | 4 + .../Q10852_TheMotherTreeRevivalProject.java | 253 +++++++++++ .../scripts/quests/QuestMasterHandler.java | 12 +- .../Q00816_PlansToRepairTheStronghold.java | 36 -- .../Q10844_BloodyBattleSeizingSupplies.java | 36 -- .../Q10852_TheMotherTreeRevivalProject.java | 36 -- .../data/scripts/quests/MissingQuests.txt | 3 - .../34058-00.htm | 5 + .../34058-01.htm | 6 + .../34058-02.htm | 4 + .../34058-03.htm | 6 + .../34058-04.htm | 11 + .../34058-04a.htm | 11 + .../34058-04b.htm | 11 + .../34058-04d.htm | 11 + .../34058-05.html | 3 + .../34058-05a.html | 3 + .../34058-05b.html | 3 + .../34058-06.html | 6 + .../34058-06a.html | 6 + .../34058-06b.html | 6 + .../34058-06d.html | 6 + .../34058-07.html | 4 + .../34058-07a.html | 4 + .../34058-07b.html | 4 + .../34058-07d.html | 4 + .../34058-08.html | 3 + .../34058-08a.html | 3 + .../34058-08b.html | 3 + .../34058-08d.html | 3 + .../34058-09.html | 5 + .../34058-10.html | 4 + .../Q00816_PlansToRepairTheStronghold.java | 413 ++++++++++++++++++ .../34057-00.htm | 4 + .../34057-01.htm | 5 + .../34057-02.htm | 4 + .../34057-03.htm | 5 + .../34057-04.htm | 5 + .../34057-05.htm | 4 + .../34057-06.html | 4 + .../34063-01.html | 5 + .../34063-02.html | 7 + .../34063-03.html | 5 + .../34063-04.html | 4 + .../34063-05.html | 4 + .../34063-06.html | 4 + .../34137-01.html | 6 + .../34137.html | 4 + .../Q10844_BloodyBattleSeizingSupplies.java | 196 +++++++++ .../34233-00.htm | 4 + .../34233-01.htm | 5 + .../34233-02.htm | 5 + .../34233-03.htm | 5 + .../34233-04.htm | 5 + .../34233-05.html | 5 + .../34233-06.html | 4 + .../34233-07.html | 5 + .../34233-08.html | 5 + .../34233-09.html | 4 + .../Q10852_TheMotherTreeRevivalProject.java | 253 +++++++++++ .../scripts/quests/QuestMasterHandler.java | 12 +- .../Q00816_PlansToRepairTheStronghold.java | 36 -- .../Q10844_BloodyBattleSeizingSupplies.java | 36 -- .../Q10852_TheMotherTreeRevivalProject.java | 36 -- .../data/scripts/quests/MissingQuests.txt | 6 - .../34412-09.html | 5 + .../34412-10.html | 4 + .../34415-00.htm | 5 + .../34415-01.htm | 6 + .../34415-02.htm | 4 + .../34415-03.htm | 6 + .../34415-04.htm | 9 + .../34415-04a.htm | 9 + .../34415-04b.htm | 9 + .../34415-05.htm | 3 + .../34415-05.html | 3 + .../34415-05a.html | 3 + .../34415-06.html | 6 + .../34415-06a.html | 6 + .../34415-06b.html | 6 + .../34415-07.html | 4 + .../34415-07a.html | 4 + .../34415-07b.html | 4 + .../34415-08.html | 3 + .../34415-08a.html | 3 + .../34415-08b.html | 3 + ...674_ChangesInTheShadowOfTheMotherTree.java | 392 +++++++++++++++++ .../34412-09.html | 5 + .../34412-10.html | 4 + .../34415-00.htm | 5 + .../34415-01.htm | 6 + .../34415-02.htm | 4 + .../34415-03.htm | 6 + .../34415-04.htm | 9 + .../34415-04a.htm | 9 + .../34415-04b.htm | 9 + .../34415-05.htm | 3 + .../34415-05.html | 3 + .../34415-05a.html | 3 + .../34415-06.html | 6 + .../34415-06a.html | 6 + .../34415-06b.html | 6 + .../34415-07.html | 4 + .../34415-07a.html | 4 + .../34415-07b.html | 4 + .../34415-08.html | 3 + .../34415-08a.html | 3 + .../34415-08b.html | 3 + .../Q00675_WhatTheThreadOfThePastShows.java | 368 ++++++++++++++++ .../34058-00.htm | 5 + .../34058-01.htm | 6 + .../34058-02.htm | 4 + .../34058-03.htm | 6 + .../34058-04.htm | 11 + .../34058-04a.htm | 11 + .../34058-04b.htm | 11 + .../34058-04d.htm | 11 + .../34058-05.html | 3 + .../34058-05a.html | 3 + .../34058-05b.html | 3 + .../34058-06.html | 6 + .../34058-06a.html | 6 + .../34058-06b.html | 6 + .../34058-06d.html | 6 + .../34058-07.html | 4 + .../34058-07a.html | 4 + .../34058-07b.html | 4 + .../34058-07d.html | 4 + .../34058-08.html | 3 + .../34058-08a.html | 3 + .../34058-08b.html | 3 + .../34058-08d.html | 3 + .../34058-09.html | 5 + .../34058-10.html | 4 + .../Q00816_PlansToRepairTheStronghold.java | 413 ++++++++++++++++++ .../34411-00.htm | 5 + .../34411-01.htm | 4 + .../34411-02.htm | 4 + .../34411-03.htm | 4 + .../34411-04.htm | 3 + .../34411-05.html | 3 + .../34412-01.html | 4 + .../34412-02.html | 4 + .../34412-03.html | 4 + .../34412-04.html | 3 + .../34412-05.html | 3 + .../34412-06.html | 4 + .../34412-07.html | 4 + .../34412-08.html | 3 + .../34412-09.html | 4 + .../34412-10.html | 3 + ...0597_EscapeToTheShadowOfTheMotherTree.java | 272 ++++++++++++ .../34057-00.htm | 4 + .../34057-01.htm | 5 + .../34057-02.htm | 4 + .../34057-03.htm | 5 + .../34057-04.htm | 5 + .../34057-05.htm | 4 + .../34057-06.html | 4 + .../34063-01.html | 5 + .../34063-02.html | 7 + .../34063-03.html | 5 + .../34063-04.html | 4 + .../34063-05.html | 4 + .../34063-06.html | 4 + .../34137-01.html | 6 + .../34137.html | 4 + .../Q10844_BloodyBattleSeizingSupplies.java | 196 +++++++++ .../34233-00.htm | 4 + .../34233-01.htm | 5 + .../34233-02.htm | 5 + .../34233-03.htm | 5 + .../34233-04.htm | 5 + .../34233-05.html | 5 + .../34233-06.html | 4 + .../34233-07.html | 5 + .../34233-08.html | 5 + .../34233-09.html | 4 + .../Q10852_TheMotherTreeRevivalProject.java | 253 +++++++++++ .../scripts/quests/QuestMasterHandler.java | 18 +- ...674_ChangesInTheShadowOfTheMotherTree.java | 36 -- .../Q00675_WhatTheThreadOfThePastShows.java | 36 -- .../Q00816_PlansToRepairTheStronghold.java | 36 -- ...0597_EscapeToTheShadowOfTheMotherTree.java | 36 -- .../Q10844_BloodyBattleSeizingSupplies.java | 36 -- .../Q10852_TheMotherTreeRevivalProject.java | 36 -- .../data/scripts/quests/MissingQuests.txt | 6 - .../34412-09.html | 5 + .../34412-10.html | 4 + .../34415-00.htm | 5 + .../34415-01.htm | 6 + .../34415-02.htm | 4 + .../34415-03.htm | 6 + .../34415-04.htm | 9 + .../34415-04a.htm | 9 + .../34415-04b.htm | 9 + .../34415-05.htm | 3 + .../34415-05.html | 3 + .../34415-05a.html | 3 + .../34415-06.html | 6 + .../34415-06a.html | 6 + .../34415-06b.html | 6 + .../34415-07.html | 4 + .../34415-07a.html | 4 + .../34415-07b.html | 4 + .../34415-08.html | 3 + .../34415-08a.html | 3 + .../34415-08b.html | 3 + ...674_ChangesInTheShadowOfTheMotherTree.java | 392 +++++++++++++++++ .../34412-09.html | 5 + .../34412-10.html | 4 + .../34415-00.htm | 5 + .../34415-01.htm | 6 + .../34415-02.htm | 4 + .../34415-03.htm | 6 + .../34415-04.htm | 9 + .../34415-04a.htm | 9 + .../34415-04b.htm | 9 + .../34415-05.htm | 3 + .../34415-05.html | 3 + .../34415-05a.html | 3 + .../34415-06.html | 6 + .../34415-06a.html | 6 + .../34415-06b.html | 6 + .../34415-07.html | 4 + .../34415-07a.html | 4 + .../34415-07b.html | 4 + .../34415-08.html | 3 + .../34415-08a.html | 3 + .../34415-08b.html | 3 + .../Q00675_WhatTheThreadOfThePastShows.java | 368 ++++++++++++++++ .../34058-00.htm | 5 + .../34058-01.htm | 6 + .../34058-02.htm | 4 + .../34058-03.htm | 6 + .../34058-04.htm | 11 + .../34058-04a.htm | 11 + .../34058-04b.htm | 11 + .../34058-04d.htm | 11 + .../34058-05.html | 3 + .../34058-05a.html | 3 + .../34058-05b.html | 3 + .../34058-06.html | 6 + .../34058-06a.html | 6 + .../34058-06b.html | 6 + .../34058-06d.html | 6 + .../34058-07.html | 4 + .../34058-07a.html | 4 + .../34058-07b.html | 4 + .../34058-07d.html | 4 + .../34058-08.html | 3 + .../34058-08a.html | 3 + .../34058-08b.html | 3 + .../34058-08d.html | 3 + .../34058-09.html | 5 + .../34058-10.html | 4 + .../Q00816_PlansToRepairTheStronghold.java | 413 ++++++++++++++++++ .../34411-00.htm | 5 + .../34411-01.htm | 4 + .../34411-02.htm | 4 + .../34411-03.htm | 4 + .../34411-04.htm | 3 + .../34411-05.html | 3 + .../34412-01.html | 4 + .../34412-02.html | 4 + .../34412-03.html | 4 + .../34412-04.html | 3 + .../34412-05.html | 3 + .../34412-06.html | 4 + .../34412-07.html | 4 + .../34412-08.html | 3 + .../34412-09.html | 4 + .../34412-10.html | 3 + ...0597_EscapeToTheShadowOfTheMotherTree.java | 272 ++++++++++++ .../34057-00.htm | 4 + .../34057-01.htm | 5 + .../34057-02.htm | 4 + .../34057-03.htm | 5 + .../34057-04.htm | 5 + .../34057-05.htm | 4 + .../34057-06.html | 4 + .../34063-01.html | 5 + .../34063-02.html | 7 + .../34063-03.html | 5 + .../34063-04.html | 4 + .../34063-05.html | 4 + .../34063-06.html | 4 + .../34137-01.html | 6 + .../34137.html | 4 + .../Q10844_BloodyBattleSeizingSupplies.java | 196 +++++++++ .../34233-00.htm | 4 + .../34233-01.htm | 5 + .../34233-02.htm | 5 + .../34233-03.htm | 5 + .../34233-04.htm | 5 + .../34233-05.html | 5 + .../34233-06.html | 4 + .../34233-07.html | 5 + .../34233-08.html | 5 + .../34233-09.html | 4 + .../Q10852_TheMotherTreeRevivalProject.java | 253 +++++++++++ .../scripts/quests/QuestMasterHandler.java | 18 +- ...674_ChangesInTheShadowOfTheMotherTree.java | 36 -- .../Q00675_WhatTheThreadOfThePastShows.java | 36 -- .../Q00816_PlansToRepairTheStronghold.java | 36 -- ...0597_EscapeToTheShadowOfTheMotherTree.java | 36 -- .../Q10844_BloodyBattleSeizingSupplies.java | 36 -- .../Q10852_TheMotherTreeRevivalProject.java | 36 -- .../data/scripts/quests/MissingQuests.txt | 6 - .../34412-09.html | 5 + .../34412-10.html | 4 + .../34415-00.htm | 5 + .../34415-01.htm | 6 + .../34415-02.htm | 4 + .../34415-03.htm | 6 + .../34415-04.htm | 9 + .../34415-04a.htm | 9 + .../34415-04b.htm | 9 + .../34415-05.htm | 3 + .../34415-05.html | 3 + .../34415-05a.html | 3 + .../34415-06.html | 6 + .../34415-06a.html | 6 + .../34415-06b.html | 6 + .../34415-07.html | 4 + .../34415-07a.html | 4 + .../34415-07b.html | 4 + .../34415-08.html | 3 + .../34415-08a.html | 3 + .../34415-08b.html | 3 + ...674_ChangesInTheShadowOfTheMotherTree.java | 392 +++++++++++++++++ .../34412-09.html | 5 + .../34412-10.html | 4 + .../34415-00.htm | 5 + .../34415-01.htm | 6 + .../34415-02.htm | 4 + .../34415-03.htm | 6 + .../34415-04.htm | 9 + .../34415-04a.htm | 9 + .../34415-04b.htm | 9 + .../34415-05.htm | 3 + .../34415-05.html | 3 + .../34415-05a.html | 3 + .../34415-06.html | 6 + .../34415-06a.html | 6 + .../34415-06b.html | 6 + .../34415-07.html | 4 + .../34415-07a.html | 4 + .../34415-07b.html | 4 + .../34415-08.html | 3 + .../34415-08a.html | 3 + .../34415-08b.html | 3 + .../Q00675_WhatTheThreadOfThePastShows.java | 368 ++++++++++++++++ .../34058-00.htm | 5 + .../34058-01.htm | 6 + .../34058-02.htm | 4 + .../34058-03.htm | 6 + .../34058-04.htm | 11 + .../34058-04a.htm | 11 + .../34058-04b.htm | 11 + .../34058-04d.htm | 11 + .../34058-05.html | 3 + .../34058-05a.html | 3 + .../34058-05b.html | 3 + .../34058-06.html | 6 + .../34058-06a.html | 6 + .../34058-06b.html | 6 + .../34058-06d.html | 6 + .../34058-07.html | 4 + .../34058-07a.html | 4 + .../34058-07b.html | 4 + .../34058-07d.html | 4 + .../34058-08.html | 3 + .../34058-08a.html | 3 + .../34058-08b.html | 3 + .../34058-08d.html | 3 + .../34058-09.html | 5 + .../34058-10.html | 4 + .../Q00816_PlansToRepairTheStronghold.java | 413 ++++++++++++++++++ .../34411-00.htm | 5 + .../34411-01.htm | 4 + .../34411-02.htm | 4 + .../34411-03.htm | 4 + .../34411-04.htm | 3 + .../34411-05.html | 3 + .../34412-01.html | 4 + .../34412-02.html | 4 + .../34412-03.html | 4 + .../34412-04.html | 3 + .../34412-05.html | 3 + .../34412-06.html | 4 + .../34412-07.html | 4 + .../34412-08.html | 3 + .../34412-09.html | 4 + .../34412-10.html | 3 + ...0597_EscapeToTheShadowOfTheMotherTree.java | 272 ++++++++++++ .../34057-00.htm | 4 + .../34057-01.htm | 5 + .../34057-02.htm | 4 + .../34057-03.htm | 5 + .../34057-04.htm | 5 + .../34057-05.htm | 4 + .../34057-06.html | 4 + .../34063-01.html | 5 + .../34063-02.html | 7 + .../34063-03.html | 5 + .../34063-04.html | 4 + .../34063-05.html | 4 + .../34063-06.html | 4 + .../34137-01.html | 6 + .../34137.html | 4 + .../Q10844_BloodyBattleSeizingSupplies.java | 196 +++++++++ .../34233-00.htm | 4 + .../34233-01.htm | 5 + .../34233-02.htm | 5 + .../34233-03.htm | 5 + .../34233-04.htm | 5 + .../34233-05.html | 5 + .../34233-06.html | 4 + .../34233-07.html | 5 + .../34233-08.html | 5 + .../34233-09.html | 4 + .../Q10852_TheMotherTreeRevivalProject.java | 253 +++++++++++ .../scripts/quests/QuestMasterHandler.java | 18 +- ...674_ChangesInTheShadowOfTheMotherTree.java | 36 -- .../Q00675_WhatTheThreadOfThePastShows.java | 36 -- .../Q00816_PlansToRepairTheStronghold.java | 36 -- ...0597_EscapeToTheShadowOfTheMotherTree.java | 36 -- .../Q10844_BloodyBattleSeizingSupplies.java | 36 -- .../Q10852_TheMotherTreeRevivalProject.java | 36 -- .../data/scripts/quests/MissingQuests.txt | 5 - .../34412-09.html | 5 + .../34412-10.html | 4 + .../34415-00.htm | 5 + .../34415-01.htm | 6 + .../34415-02.htm | 4 + .../34415-03.htm | 6 + .../34415-04.htm | 9 + .../34415-04a.htm | 9 + .../34415-04b.htm | 9 + .../34415-05.htm | 3 + .../34415-05.html | 3 + .../34415-05a.html | 3 + .../34415-06.html | 6 + .../34415-06a.html | 6 + .../34415-06b.html | 6 + .../34415-07.html | 4 + .../34415-07a.html | 4 + .../34415-07b.html | 4 + .../34415-08.html | 3 + .../34415-08a.html | 3 + .../34415-08b.html | 3 + ...674_ChangesInTheShadowOfTheMotherTree.java | 392 +++++++++++++++++ .../34412-09.html | 5 + .../34412-10.html | 4 + .../34415-00.htm | 5 + .../34415-01.htm | 6 + .../34415-02.htm | 4 + .../34415-03.htm | 6 + .../34415-04.htm | 9 + .../34415-04a.htm | 9 + .../34415-04b.htm | 9 + .../34415-05.htm | 3 + .../34415-05.html | 3 + .../34415-05a.html | 3 + .../34415-06.html | 6 + .../34415-06a.html | 6 + .../34415-06b.html | 6 + .../34415-07.html | 4 + .../34415-07a.html | 4 + .../34415-07b.html | 4 + .../34415-08.html | 3 + .../34415-08a.html | 3 + .../34415-08b.html | 3 + .../Q00675_WhatTheThreadOfThePastShows.java | 368 ++++++++++++++++ .../34058-00.htm | 5 + .../34058-01.htm | 6 + .../34058-02.htm | 4 + .../34058-03.htm | 6 + .../34058-04.htm | 11 + .../34058-04a.htm | 11 + .../34058-04b.htm | 11 + .../34058-04d.htm | 11 + .../34058-05.html | 3 + .../34058-05a.html | 3 + .../34058-05b.html | 3 + .../34058-06.html | 6 + .../34058-06a.html | 6 + .../34058-06b.html | 6 + .../34058-06d.html | 6 + .../34058-07.html | 4 + .../34058-07a.html | 4 + .../34058-07b.html | 4 + .../34058-07d.html | 4 + .../34058-08.html | 3 + .../34058-08a.html | 3 + .../34058-08b.html | 3 + .../34058-08d.html | 3 + .../34058-09.html | 5 + .../34058-10.html | 4 + .../Q00816_PlansToRepairTheStronghold.java | 413 ++++++++++++++++++ .../34411-00.htm | 5 + .../34411-01.htm | 4 + .../34411-02.htm | 4 + .../34411-03.htm | 4 + .../34411-04.htm | 3 + .../34411-05.html | 3 + .../34412-01.html | 4 + .../34412-02.html | 4 + .../34412-03.html | 4 + .../34412-04.html | 3 + .../34412-05.html | 3 + .../34412-06.html | 4 + .../34412-07.html | 4 + .../34412-08.html | 3 + .../34412-09.html | 4 + .../34412-10.html | 3 + ...0597_EscapeToTheShadowOfTheMotherTree.java | 272 ++++++++++++ .../34057-00.htm | 4 + .../34057-01.htm | 5 + .../34057-02.htm | 4 + .../34057-03.htm | 5 + .../34057-04.htm | 5 + .../34057-05.htm | 4 + .../34057-06.html | 4 + .../34063-01.html | 5 + .../34063-02.html | 7 + .../34063-03.html | 5 + .../34063-04.html | 4 + .../34063-05.html | 4 + .../34063-06.html | 4 + .../34137-01.html | 6 + .../34137.html | 4 + .../Q10844_BloodyBattleSeizingSupplies.java | 196 +++++++++ .../34233-00.htm | 4 + .../34233-01.htm | 5 + .../34233-02.htm | 5 + .../34233-03.htm | 5 + .../34233-04.htm | 5 + .../34233-05.html | 5 + .../34233-06.html | 4 + .../34233-07.html | 5 + .../34233-08.html | 5 + .../34233-09.html | 4 + .../Q10852_TheMotherTreeRevivalProject.java | 253 +++++++++++ .../scripts/quests/QuestMasterHandler.java | 18 +- ...674_ChangesInTheShadowOfTheMotherTree.java | 36 -- .../Q00675_WhatTheThreadOfThePastShows.java | 36 -- .../Q00816_PlansToRepairTheStronghold.java | 36 -- ...0597_EscapeToTheShadowOfTheMotherTree.java | 36 -- .../Q10844_BloodyBattleSeizingSupplies.java | 36 -- .../Q10852_TheMotherTreeRevivalProject.java | 36 -- 650 files changed, 12714 insertions(+), 1223 deletions(-) create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html create mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java delete mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java delete mode 100644 L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html create mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java delete mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java delete mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java delete mode 100644 L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html create mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java delete mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java delete mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java delete mode 100644 L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-09.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-10.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-00.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-01.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-02.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-03.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04a.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04b.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05a.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06a.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06b.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07a.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07b.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08a.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08b.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/Q00674_ChangesInTheShadowOfTheMotherTree.java create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-09.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-10.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-00.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-01.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-02.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-03.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04a.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04b.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05a.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06a.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06b.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07a.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07b.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08a.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08b.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/Q00675_WhatTheThreadOfThePastShows.java create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-00.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-01.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-02.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-03.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-04.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-05.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-01.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-02.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-03.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-04.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-05.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-06.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-07.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-08.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-09.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-10.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/Q10597_EscapeToTheShadowOfTheMotherTree.java create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00674_ChangesInTheShadowOfTheMotherTree.java delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00675_WhatTheThreadOfThePastShows.java delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q10597_EscapeToTheShadowOfTheMotherTree.java delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-09.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-10.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-00.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-01.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-02.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-03.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04a.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04b.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05a.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06a.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06b.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07a.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07b.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08a.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08b.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/Q00674_ChangesInTheShadowOfTheMotherTree.java create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-09.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-10.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-00.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-01.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-02.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-03.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04a.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04b.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05a.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06a.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06b.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07a.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07b.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08a.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08b.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/Q00675_WhatTheThreadOfThePastShows.java create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-00.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-01.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-02.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-03.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-04.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-05.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-01.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-02.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-03.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-04.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-05.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-06.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-07.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-08.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-09.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-10.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/Q10597_EscapeToTheShadowOfTheMotherTree.java create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00674_ChangesInTheShadowOfTheMotherTree.java delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00675_WhatTheThreadOfThePastShows.java delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q10597_EscapeToTheShadowOfTheMotherTree.java delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-09.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-10.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-00.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-01.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-02.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-03.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04a.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04b.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05a.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06a.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06b.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07a.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07b.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08a.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08b.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/Q00674_ChangesInTheShadowOfTheMotherTree.java create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-09.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-10.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-00.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-01.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-02.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-03.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04a.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04b.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05a.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06a.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06b.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07a.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07b.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08a.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08b.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/Q00675_WhatTheThreadOfThePastShows.java create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-00.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-01.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-02.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-03.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-04.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-05.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-01.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-02.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-03.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-04.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-05.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-06.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-07.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-08.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-09.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-10.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/Q10597_EscapeToTheShadowOfTheMotherTree.java create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00674_ChangesInTheShadowOfTheMotherTree.java delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00675_WhatTheThreadOfThePastShows.java delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q10597_EscapeToTheShadowOfTheMotherTree.java delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-09.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-10.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-00.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-01.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-02.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-03.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04a.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04b.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05a.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06a.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06b.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07a.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07b.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08a.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08b.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/Q00674_ChangesInTheShadowOfTheMotherTree.java create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-09.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-10.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-00.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-01.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-02.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-03.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04a.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04b.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05a.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06a.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06b.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07a.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07b.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08a.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08b.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/Q00675_WhatTheThreadOfThePastShows.java create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-00.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-01.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-02.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-03.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-04.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-05.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-01.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-02.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-03.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-04.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-05.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-06.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-07.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-08.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-09.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-10.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/Q10597_EscapeToTheShadowOfTheMotherTree.java create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00674_ChangesInTheShadowOfTheMotherTree.java delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00675_WhatTheThreadOfThePastShows.java delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q10597_EscapeToTheShadowOfTheMotherTree.java delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/MissingQuests.txt index c40b1bcfbe..5a35849b1c 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/MissingQuests.txt +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/MissingQuests.txt @@ -18,7 +18,6 @@ 781 Utilize the Darkness - Seed of Annihilation 782 Utilize the Darkness - Seed of Hellfire 789 Waiting for Pa'agrio -816 Plans to Repair the Stronghold 824 Attack the Command Post 834 Against Dragonclaw 10352 Legacy of Cruma Tower @@ -50,6 +49,5 @@ 10748 Mysterious Suggestion - 1 10749 Mysterious Suggestion - 2 10809 The Hero's Journey: Blazing Swamp -10844 Bloody Battle - Seizing Supplies 10845 Bloody Battle - Rescue the Smiths 10846 Bloody Battle - Meeting the Commander \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm new file mode 100644 index 0000000000..2521dd2ee1 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm @@ -0,0 +1,5 @@ +Aden Vanguard Captain Adolph:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 101.) + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm new file mode 100644 index 0000000000..7d1fa864e0 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm new file mode 100644 index 0000000000..27517c7172 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm new file mode 100644 index 0000000000..a6a71958b3 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm new file mode 100644 index 0000000000..fdd2fe6017 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm new file mode 100644 index 0000000000..49451f2acf --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm new file mode 100644 index 0000000000..7fc0130fcc --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm new file mode 100644 index 0000000000..02959dfb5b --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html new file mode 100644 index 0000000000..226e9dc073 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 1 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html new file mode 100644 index 0000000000..0051dbfb9b --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 3 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html new file mode 100644 index 0000000000..421e9c42b1 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html new file mode 100644 index 0000000000..2379ab5da0 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html new file mode 100644 index 0000000000..65414529dc --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html new file mode 100644 index 0000000000..6568fc0c93 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the advanced mission to collect 600 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html new file mode 100644 index 0000000000..57d9da735d --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the Very advanced mission to collect 800 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html new file mode 100644 index 0000000000..1fb65e5348 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html new file mode 100644 index 0000000000..b00f56a880 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 400 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html new file mode 100644 index 0000000000..db352c992c --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 600 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html new file mode 100644 index 0000000000..2c1b00fea3 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 800 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html new file mode 100644 index 0000000000..01dde20f7c --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html new file mode 100644 index 0000000000..286eac191b --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 400 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html new file mode 100644 index 0000000000..35b317ab6a --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 600 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html new file mode 100644 index 0000000000..781a3a6aa4 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 800 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html new file mode 100644 index 0000000000..afb47a3395 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html @@ -0,0 +1,5 @@ +Aden Vanguard Captain Adolph:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html new file mode 100644 index 0000000000..f93e0ba749 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java new file mode 100644 index 0000000000..a8c1ad7cad --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java @@ -0,0 +1,363 @@ +/* + * 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.Q00816_PlansToRepairTheStronghold; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * Plans to Repair the Stronghold (816) + * @URL https://l2wiki.com/Plans_to_Repair_the_Stronghold + * @author Dmitri + */ +public class Q00816_PlansToRepairTheStronghold extends Quest +{ + // NPCs + private static final int ADOLPH = 34058; + // Monsters + private static final int[] MONSTERS = + { + 23505, // Fortress Raider 101 + 23506, // Fortress Guardian Captain 101 + 23507, // Atelia Passionate Soldier 101 + 23508, // Atelia Elite Captain 101 + 23509, // Fortress Dark Wizard 102 + 23510, // Atelia Flame Master 102 + 23511, // Fortress Archon 102 + 23512 // Atelia High Priest 102 + }; + // Items + private static final int MATERIAL_QUEST = 46142; // Stronghold Flag Repair Supplies + private static final int BASIC_SUPPLY_BOX = 47175; + private static final int INTERMEDIATE_SUPPLY_BOX = 47176; + private static final int ADVANCED_SUPPLY_BOX = 47177; + // Misc + private static final int MIN_LEVEL = 101; + + public Q00816_PlansToRepairTheStronghold() + { + super(816); + addStartNpc(ADOLPH); + addTalkId(ADOLPH); + addKillId(MONSTERS); + registerQuestItems(MATERIAL_QUEST); + addCondMinLevel(MIN_LEVEL, "34058-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34058-02.htm": + case "34058-03.htm": + case "34058-04.htm": + case "34058-04a.htm": + case "34058-04b.htm": + case "34058-04d.htm": + case "34058-06.html": + case "34058-06a.html": + case "34058-06b.html": + case "34058-06d.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + htmltext = "34058-04.htm"; + break; + } + case "return": + { + htmltext = "34058-04.htm"; + break; + } + case "34058-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34058-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34058-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34058-07d.html": + { + qs.setCond(5, true); + htmltext = event; + break; + } + case "34058-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 6: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 200) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 18_155_754_360L, 18_155_700); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 400) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 36_311_508_720L, 36_311_400); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 8: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 600) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 54_467_263_080L, 54_467_100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 9: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 800) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 50) + { + giveItems(player, BASIC_SUPPLY_BOX, 2); + } + else if (chance < 50) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 2); + } + else if (chance < 50) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 2); + } + addExpAndSp(player, 72_623_017_440L, 72_622_800); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "34058-01.htm"; + // fallthrough + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + { + htmltext = "34058-04.htm"; + break; + } + case 2: + { + htmltext = "34058-08.html"; + break; + } + case 3: + { + htmltext = "34058-08a.html"; + break; + } + case 4: + { + htmltext = "34058-08b.html"; + break; + } + case 5: + { + htmltext = "34058-08d.html"; + break; + } + case 6: + case 7: + case 8: + case 9: + { + htmltext = "34058-09.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34058-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 200, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 400, 1, true)) + { + qs.setCond(7, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 600, 1, true)) + { + qs.setCond(8, true); + } + break; + } + case 5: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 800, 1, true)) + { + qs.setCond(9, true); + } + break; + } + } + } + } +} diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm new file mode 100644 index 0000000000..ba31a19bf4 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+I do not believe our paths are meant to cross here. Perhaps later down the road.
+(This quest can only be undertaken by characters with Lv. 101 or higher whose faction level with the Kingdom's Royal Guard is 2 or higher.) + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm new file mode 100644 index 0000000000..28a85f1dd3 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+It's been a while since we've found the Atelia Fortress.
+In that time though, the fortress has become more structured, which worries me.
+ + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm new file mode 100644 index 0000000000..29e0b1383b --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+We have to make sure no issues arise here until Leona comes back from Hellbound. We aren't doing so well, though.
+ + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm new file mode 100644 index 0000000000..2ce508fc06 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+The Atelia Fortress is more structured now.
+Until recently, they didn't have the means to get supplies or train soldiers when they isolated themselves, but now they can do all that within.
+ + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm new file mode 100644 index 0000000000..5d68cbed94 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+According to the information we got from the clan members inside the fortress, they are building different facilities on each floor.
+I've asked Leona for reinforcements, but they are not doing so great either. We need people who can help us. Do you think you can do it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm new file mode 100644 index 0000000000..d2341edcb0 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Glad to hear you'll be helping us. Devianne has already infiltrated the fortress and is in contact with our clan members.
+First, go find Glenkinchie in the first stronghold. Anyone inside the fortress should be able to help you more than me. + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html new file mode 100644 index 0000000000..4686ef3bc1 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Devianne has already infiltrated the fortress, but you'll need to find out where she is from the people who are inside.
+First, go find Glenkinchie in the first stronghold. Anyone inside the fortress should be able to help you more than me. + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html new file mode 100644 index 0000000000..3b02642f88 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html @@ -0,0 +1,5 @@ +Blackbird Clan Member Glenkinchie:
+Elikia said someone would come find me. I guess that was you? The fortress is becoming more systemized by the way, which worries me.
+We are not ready yet, and the Embryo are already expanding their forces.
+ + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html new file mode 100644 index 0000000000..b2bec01e59 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html @@ -0,0 +1,7 @@ +Blackbird Clan Member Glenkinchie:
+I found just a while ago that the fortress is becoming more systemized.
+They've built a supply base, and I saw that they are distributing supplies to the soldiers within the fortress. I would love to go and destroy their supply base...
+Recently, I met Devianne, and she told me about the commander of the fortress.
+She said to create uproars around the fortress to stop the flow of their work inside... Do you think you can help me?
+ + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html new file mode 100644 index 0000000000..4a53c4557f --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html @@ -0,0 +1,5 @@ +Blackbird Clan Member Glenkinchie:
+It's not that difficult. You must have seen the supply boxes laying around. They started getting supplies regularly, but they are still not organized.
+Please open those supply boxes and get me the supplies. Don't just open any box though. There are some traps that could make it very dangerous.
+ Oh, and one more thing! If you defeat the Quartermasters, the soldiers will be affected, making it easier to steal their supplies. + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html new file mode 100644 index 0000000000..9c5a3658b7 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+I need more supplies.
+This won't be enough. Please get me some more supplies. + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html new file mode 100644 index 0000000000..e672651c94 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+Did you collect all the supplies? Oh, this is great! Things will get interesting now. Thanks.
+ + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html new file mode 100644 index 0000000000..f934d9ccf9 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+Of course. It's not perfect yet, but our strategy is to create an uproar, so that was helpful.
+In order for Devianne's plan to work, we need to continue creating uproars, so I'm sure Hurak on the 2nd floor is also making similar plans at the stronghold there. + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html new file mode 100644 index 0000000000..9662254200 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html @@ -0,0 +1,6 @@ +Embryo supplies:
+This is the additional delegation member sent to the Town of Gludio.
+Unfortunately, death seemed to have reigned for a while on this body.
+The face is strangely peaceful.
+ + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html new file mode 100644 index 0000000000..67f5be960b --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html @@ -0,0 +1,4 @@ +Embryo Supply Box:
+(A supply box for Embryo soldiers within the Atelia Fortress. Should watch out for the guards.) + + \ No newline at end of file diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java new file mode 100644 index 0000000000..d74284db52 --- /dev/null +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java @@ -0,0 +1,194 @@ +/* + * 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.Q10844_BloodyBattleSeizingSupplies; + +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; + +/** + * Bloody Battle - Seizing Supplies (10844) + * @URL https://l2wiki.com/Bloody_Battle_-_Seizing_Supplies + * @author Dmitri + */ +public class Q10844_BloodyBattleSeizingSupplies extends Quest +{ + // NPC + private static final int ELIKIA = 34057; + private static final int GLENKINCHIE = 34063; + private static final int EMBRYO_SUPPLY_BOX = 34137; + // Monsters + private static final int FORTRESS_GUARDIAN_CAPTAIN = 23506; + private static final int FORTRESS_RAIDER = 23505; + // Items + private static final int EMBRYO_SUPPLIES = 46282; + // Misc + private static final int MIN_LEVEL = 101; + + public Q10844_BloodyBattleSeizingSupplies() + { + super(10844); + addStartNpc(ELIKIA); + addTalkId(ELIKIA, GLENKINCHIE); + addFirstTalkId(EMBRYO_SUPPLY_BOX); + registerQuestItems(EMBRYO_SUPPLIES); + addCondMinLevel(MIN_LEVEL, "34057-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34057-04.htm": + case "34057-03.htm": + case "34057-02.htm": + case "34063-02.html": + { + htmltext = event; + break; + } + case "34057-05.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34063-03.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "open_box": + { + if (qs.isCond(2)) + { + npc.deleteMe(); + if (getRandom(10) < 5) + { + if (qs.isCond(2) && (getQuestItemsCount(qs.getPlayer(), EMBRYO_SUPPLIES) < 19)) + { + giveItems(player, EMBRYO_SUPPLIES, 1); + playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + else + { + giveItems(player, EMBRYO_SUPPLIES, 1); + qs.setCond(3, true); + } + break; + } + final Npc captain = addSpawn(FORTRESS_GUARDIAN_CAPTAIN, npc, true, 120000, false); + captain.setTitleString(NpcStringId.SUPPLY_GUARDS); + addAttackPlayerDesire(captain, player); + for (int i = 0; i < 2; i++) + { + final Npc raider = addSpawn(FORTRESS_RAIDER, npc, true, 120000, false); + raider.setTitleString(NpcStringId.SUPPLY_GUARDS); + addAttackPlayerDesire(raider, player); + } + } + break; + } + case "34063-06.html": + { + if (qs.isCond(3)) + { + addExpAndSp(player, 7262301690L, 17429400); + qs.exitQuest(false, true); + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == ELIKIA) + { + htmltext = "34057-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case ELIKIA: + { + if (qs.getCond() > 1) + { + htmltext = "34057-06.html"; + } + break; + } + case GLENKINCHIE: + { + if (qs.isCond(1)) + { + htmltext = "34063-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34063-04.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34063-05.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onFirstTalk(Npc npc, PlayerInstance player) + { + return "34137.html"; + } +} diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/QuestMasterHandler.java index 25f3f44c12..051b1b5f75 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -214,6 +214,7 @@ import quests.Q00785_ASuspiciousIngredient.Q00785_ASuspiciousIngredient; import quests.Q00786_AwaitingTheVoiceOfTheGods.Q00786_AwaitingTheVoiceOfTheGods; import quests.Q00787_TheRoleOfAWatcher.Q00787_TheRoleOfAWatcher; import quests.Q00790_ObtainingFerinsTrust.Q00790_ObtainingFerinsTrust; +import quests.Q00816_PlansToRepairTheStronghold.Q00816_PlansToRepairTheStronghold; import quests.Q00817_BlackAteliaResearch.Q00817_BlackAteliaResearch; import quests.Q00823_DisappearedRaceNewFairy.Q00823_DisappearedRaceNewFairy; import quests.Q00826_InSearchOfTheSecretWeapon.Q00826_InSearchOfTheSecretWeapon; @@ -492,6 +493,7 @@ import quests.Q10839_BlackbirdsNameValue.Q10839_BlackbirdsNameValue; import quests.Q10840_TimeToRecover.Q10840_TimeToRecover; import quests.Q10841_DeepInsideAteliaFortress.Q10841_DeepInsideAteliaFortress; import quests.Q10843_AnomalyInTheEnchantedValley.Q10843_AnomalyInTheEnchantedValley; +import quests.Q10844_BloodyBattleSeizingSupplies.Q10844_BloodyBattleSeizingSupplies; import quests.not_done.Q00480_AnotherLegacyOfCrumaTower; import quests.not_done.Q00504_CompetitionForTheBanditStronghold; import quests.not_done.Q00655_AGrandPlanForTamingWildBeasts; @@ -506,7 +508,6 @@ import quests.not_done.Q00780_UtilizeTheDarknessSeedOfInfinity; import quests.not_done.Q00781_UtilizeTheDarknessSeedOfAnnihilation; import quests.not_done.Q00782_UtilizeTheDarknessSeedOfHellfire; import quests.not_done.Q00789_WaitingForPaagrio; -import quests.not_done.Q00816_PlansToRepairTheStronghold; import quests.not_done.Q00824_AttackTheCommandPost; import quests.not_done.Q10352_LegacyOfCrumaTower; import quests.not_done.Q10357_AltarOfBloodThatAwakensDestruction; @@ -531,7 +532,6 @@ import quests.not_done.Q10747_TheHerosJourneyPaganTemple; import quests.not_done.Q10748_MysteriousSuggestion1; import quests.not_done.Q10749_MysteriousSuggestion2; import quests.not_done.Q10809_TheHerosJourneyBlazingSwamp; -import quests.not_done.Q10844_BloodyBattleSeizingSupplies; import quests.not_done.Q10845_BloodyBattleRescueTheSmiths; import quests.not_done.Q10846_BloodyBattleMeetingTheCommander; @@ -753,7 +753,7 @@ public class QuestMasterHandler Q00787_TheRoleOfAWatcher.class, Q00789_WaitingForPaagrio.class, // TODO: Not done. Q00790_ObtainingFerinsTrust.class, - Q00816_PlansToRepairTheStronghold.class, // TODO: Not done. + Q00816_PlansToRepairTheStronghold.class, Q00817_BlackAteliaResearch.class, Q00823_DisappearedRaceNewFairy.class, Q00824_AttackTheCommandPost.class, // TODO: Not done. @@ -1056,7 +1056,7 @@ public class QuestMasterHandler Q10840_TimeToRecover.class, Q10841_DeepInsideAteliaFortress.class, Q10843_AnomalyInTheEnchantedValley.class, - Q10844_BloodyBattleSeizingSupplies.class, // TODO: Not done. + Q10844_BloodyBattleSeizingSupplies.class, Q10845_BloodyBattleRescueTheSmiths.class, // TODO: Not done. Q10846_BloodyBattleMeetingTheCommander.class, // TODO: Not done. }; diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java deleted file mode 100644 index e61af457f0..0000000000 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00816_PlansToRepairTheStronghold extends Quest -{ - private static final int START_NPC = 34058; - - public Q00816_PlansToRepairTheStronghold() - { - super(816); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java deleted file mode 100644 index 8f3083c26a..0000000000 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10844_BloodyBattleSeizingSupplies extends Quest -{ - private static final int START_NPC = 34057; - - public Q10844_BloodyBattleSeizingSupplies() - { - super(10844); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/MissingQuests.txt index 2bc0735e0d..921b5a6ecc 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/MissingQuests.txt +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/MissingQuests.txt @@ -26,7 +26,6 @@ 809 Hunter Guild Request - The Immortal Plateau 810 Hunter Guild Request - Isle of Souls 811 Hunter Guild Request - Cemetery -816 Plans to Repair the Stronghold 824 Attack the Command Post 825 Hunter Guild Request - Valley of Saints 832 Hunter Guild Request - Southern Region, Isle of Prayer @@ -68,11 +67,9 @@ 10731 The Minstrel's Song, Part 6 10748 Mysterious Suggestion - 1 10749 Mysterious Suggestion - 2 -10844 Bloody Battle - Seizing Supplies 10845 Bloody Battle - Rescue the Smiths 10846 Bloody Battle - Meeting the Commander 10848 Trials before the Battle -10852 The Mother Tree Revival Project 10853 To Weaken the Giants 10854 To Seize the Fortress 10858 Queen Ramona, Controller of the Vessel diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm new file mode 100644 index 0000000000..2521dd2ee1 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm @@ -0,0 +1,5 @@ +Aden Vanguard Captain Adolph:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 101.) + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm new file mode 100644 index 0000000000..7d1fa864e0 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm new file mode 100644 index 0000000000..27517c7172 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm new file mode 100644 index 0000000000..a6a71958b3 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm new file mode 100644 index 0000000000..fdd2fe6017 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm new file mode 100644 index 0000000000..49451f2acf --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm new file mode 100644 index 0000000000..7fc0130fcc --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm new file mode 100644 index 0000000000..02959dfb5b --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html new file mode 100644 index 0000000000..226e9dc073 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 1 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html new file mode 100644 index 0000000000..0051dbfb9b --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 3 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html new file mode 100644 index 0000000000..421e9c42b1 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html new file mode 100644 index 0000000000..2379ab5da0 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html new file mode 100644 index 0000000000..65414529dc --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html new file mode 100644 index 0000000000..6568fc0c93 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the advanced mission to collect 600 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html new file mode 100644 index 0000000000..57d9da735d --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the Very advanced mission to collect 800 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html new file mode 100644 index 0000000000..1fb65e5348 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html new file mode 100644 index 0000000000..b00f56a880 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 400 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html new file mode 100644 index 0000000000..db352c992c --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 600 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html new file mode 100644 index 0000000000..2c1b00fea3 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 800 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html new file mode 100644 index 0000000000..01dde20f7c --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html new file mode 100644 index 0000000000..286eac191b --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 400 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html new file mode 100644 index 0000000000..35b317ab6a --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 600 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html new file mode 100644 index 0000000000..781a3a6aa4 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 800 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html new file mode 100644 index 0000000000..afb47a3395 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html @@ -0,0 +1,5 @@ +Aden Vanguard Captain Adolph:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html new file mode 100644 index 0000000000..f93e0ba749 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java new file mode 100644 index 0000000000..ce7eeca89f --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java @@ -0,0 +1,413 @@ +/* + * 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.Q00816_PlansToRepairTheStronghold; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * Plans to Repair the Stronghold (816) + * @URL https://l2wiki.com/Plans_to_Repair_the_Stronghold + * @author Dmitri + */ +public class Q00816_PlansToRepairTheStronghold extends Quest +{ + // NPCs + private static final int ADOLPH = 34058; + // Monsters + private static final int[] MONSTERS = + { + 23505, // Fortress Raider 101 + 23506, // Fortress Guardian Captain 101 + 23507, // Atelia Passionate Soldier 101 + 23508, // Atelia Elite Captain 101 + 23509, // Fortress Dark Wizard 102 + 23510, // Atelia Flame Master 102 + 23511, // Fortress Archon 102 + 23512 // Atelia High Priest 102 + }; + // Items + private static final int MATERIAL_QUEST = 46142; // Stronghold Flag Repair Supplies + private static final int BASIC_SUPPLY_BOX = 47175; + private static final int INTERMEDIATE_SUPPLY_BOX = 47176; + private static final int ADVANCED_SUPPLY_BOX = 47177; + // Misc + private static final int MIN_LEVEL = 101; + + public Q00816_PlansToRepairTheStronghold() + { + super(816); + addStartNpc(ADOLPH); + addTalkId(ADOLPH); + addKillId(MONSTERS); + registerQuestItems(MATERIAL_QUEST); + addCondMinLevel(MIN_LEVEL, "34058-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34058-02.htm": + case "34058-03.htm": + case "34058-04.htm": + case "34058-04a.htm": + case "34058-04b.htm": + case "34058-04d.htm": + case "34058-06.html": + case "34058-06a.html": + case "34058-06b.html": + case "34058-06d.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case "34058-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34058-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34058-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34058-07d.html": + { + qs.setCond(5, true); + htmltext = event; + break; + } + case "34058-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 6: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 200) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 18_155_754_360L, 18_155_700); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 400) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 36_311_508_720L, 36_311_400); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 8: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 600) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 54_467_263_080L, 54_467_100); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 9: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 800) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 50) + { + giveItems(player, BASIC_SUPPLY_BOX, 2); + } + else if (chance < 50) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 2); + } + else if (chance < 50) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 2); + } + addExpAndSp(player, 72_623_017_440L, 72_622_800); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 400); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "34058-01.htm"; + // fallthrough + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case 2: + { + htmltext = "34058-08.html"; + break; + } + case 3: + { + htmltext = "34058-08a.html"; + break; + } + case 4: + { + htmltext = "34058-08b.html"; + break; + } + case 5: + { + htmltext = "34058-08d.html"; + break; + } + case 6: + case 7: + case 8: + case 9: + { + htmltext = "34058-09.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34058-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 200, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 400, 1, true)) + { + qs.setCond(7, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 600, 1, true)) + { + qs.setCond(8, true); + } + break; + } + case 5: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 800, 1, true)) + { + qs.setCond(9, true); + } + break; + } + } + } + } +} diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm new file mode 100644 index 0000000000..ba31a19bf4 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+I do not believe our paths are meant to cross here. Perhaps later down the road.
+(This quest can only be undertaken by characters with Lv. 101 or higher whose faction level with the Kingdom's Royal Guard is 2 or higher.) + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm new file mode 100644 index 0000000000..28a85f1dd3 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+It's been a while since we've found the Atelia Fortress.
+In that time though, the fortress has become more structured, which worries me.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm new file mode 100644 index 0000000000..29e0b1383b --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+We have to make sure no issues arise here until Leona comes back from Hellbound. We aren't doing so well, though.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm new file mode 100644 index 0000000000..2ce508fc06 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+The Atelia Fortress is more structured now.
+Until recently, they didn't have the means to get supplies or train soldiers when they isolated themselves, but now they can do all that within.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm new file mode 100644 index 0000000000..5d68cbed94 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+According to the information we got from the clan members inside the fortress, they are building different facilities on each floor.
+I've asked Leona for reinforcements, but they are not doing so great either. We need people who can help us. Do you think you can do it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm new file mode 100644 index 0000000000..d2341edcb0 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Glad to hear you'll be helping us. Devianne has already infiltrated the fortress and is in contact with our clan members.
+First, go find Glenkinchie in the first stronghold. Anyone inside the fortress should be able to help you more than me. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html new file mode 100644 index 0000000000..4686ef3bc1 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Devianne has already infiltrated the fortress, but you'll need to find out where she is from the people who are inside.
+First, go find Glenkinchie in the first stronghold. Anyone inside the fortress should be able to help you more than me. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html new file mode 100644 index 0000000000..3b02642f88 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html @@ -0,0 +1,5 @@ +Blackbird Clan Member Glenkinchie:
+Elikia said someone would come find me. I guess that was you? The fortress is becoming more systemized by the way, which worries me.
+We are not ready yet, and the Embryo are already expanding their forces.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html new file mode 100644 index 0000000000..b2bec01e59 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html @@ -0,0 +1,7 @@ +Blackbird Clan Member Glenkinchie:
+I found just a while ago that the fortress is becoming more systemized.
+They've built a supply base, and I saw that they are distributing supplies to the soldiers within the fortress. I would love to go and destroy their supply base...
+Recently, I met Devianne, and she told me about the commander of the fortress.
+She said to create uproars around the fortress to stop the flow of their work inside... Do you think you can help me?
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html new file mode 100644 index 0000000000..4a53c4557f --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html @@ -0,0 +1,5 @@ +Blackbird Clan Member Glenkinchie:
+It's not that difficult. You must have seen the supply boxes laying around. They started getting supplies regularly, but they are still not organized.
+Please open those supply boxes and get me the supplies. Don't just open any box though. There are some traps that could make it very dangerous.
+ Oh, and one more thing! If you defeat the Quartermasters, the soldiers will be affected, making it easier to steal their supplies. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html new file mode 100644 index 0000000000..9c5a3658b7 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+I need more supplies.
+This won't be enough. Please get me some more supplies. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html new file mode 100644 index 0000000000..e672651c94 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+Did you collect all the supplies? Oh, this is great! Things will get interesting now. Thanks.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html new file mode 100644 index 0000000000..f934d9ccf9 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+Of course. It's not perfect yet, but our strategy is to create an uproar, so that was helpful.
+In order for Devianne's plan to work, we need to continue creating uproars, so I'm sure Hurak on the 2nd floor is also making similar plans at the stronghold there. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html new file mode 100644 index 0000000000..9662254200 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html @@ -0,0 +1,6 @@ +Embryo supplies:
+This is the additional delegation member sent to the Town of Gludio.
+Unfortunately, death seemed to have reigned for a while on this body.
+The face is strangely peaceful.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html new file mode 100644 index 0000000000..67f5be960b --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html @@ -0,0 +1,4 @@ +Embryo Supply Box:
+(A supply box for Embryo soldiers within the Atelia Fortress. Should watch out for the guards.) + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java new file mode 100644 index 0000000000..ee585369d8 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java @@ -0,0 +1,196 @@ +/* + * 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.Q10844_BloodyBattleSeizingSupplies; + +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; + +/** + * Bloody Battle - Seizing Supplies (10844) + * @URL https://l2wiki.com/Bloody_Battle_-_Seizing_Supplies + * @author Dmitri + */ +public class Q10844_BloodyBattleSeizingSupplies extends Quest +{ + // NPC + private static final int ELIKIA = 34057; + private static final int GLENKINCHIE = 34063; + private static final int EMBRYO_SUPPLY_BOX = 34137; + // Monsters + private static final int FORTRESS_GUARDIAN_CAPTAIN = 23506; + private static final int FORTRESS_RAIDER = 23505; + // Items + private static final int EMBRYO_SUPPLIES = 46282; + // Misc + private static final int MIN_LEVEL = 101; + + public Q10844_BloodyBattleSeizingSupplies() + { + super(10844); + addStartNpc(ELIKIA); + addTalkId(ELIKIA, GLENKINCHIE); + addFirstTalkId(EMBRYO_SUPPLY_BOX); + registerQuestItems(EMBRYO_SUPPLIES); + addCondMinLevel(MIN_LEVEL, "34057-00.htm"); + addFactionLevel(Faction.KINGDOM_ROYAL_GUARDS, 2, "34057-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34057-04.htm": + case "34057-03.htm": + case "34057-02.htm": + case "34063-02.html": + { + htmltext = event; + break; + } + case "34057-05.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34063-03.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "open_box": + { + if (qs.isCond(2)) + { + npc.deleteMe(); + if (getRandom(10) < 5) + { + if (qs.isCond(2) && (getQuestItemsCount(qs.getPlayer(), EMBRYO_SUPPLIES) < 19)) + { + giveItems(player, EMBRYO_SUPPLIES, 1); + playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + else + { + giveItems(player, EMBRYO_SUPPLIES, 1); + qs.setCond(3, true); + } + break; + } + final Npc captain = addSpawn(FORTRESS_GUARDIAN_CAPTAIN, npc, true, 120000, false); + captain.setTitleString(NpcStringId.SUPPLY_GUARDS); + addAttackPlayerDesire(captain, player); + for (int i = 0; i < 2; i++) + { + final Npc raider = addSpawn(FORTRESS_RAIDER, npc, true, 120000, false); + raider.setTitleString(NpcStringId.SUPPLY_GUARDS); + addAttackPlayerDesire(raider, player); + } + } + break; + } + case "34063-06.html": + { + if (qs.isCond(3)) + { + addExpAndSp(player, 7262301690L, 17429400); + qs.exitQuest(false, true); + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == ELIKIA) + { + htmltext = "34057-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case ELIKIA: + { + if (qs.getCond() > 1) + { + htmltext = "34057-06.html"; + } + break; + } + case GLENKINCHIE: + { + if (qs.isCond(1)) + { + htmltext = "34063-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34063-04.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34063-05.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onFirstTalk(Npc npc, PlayerInstance player) + { + return "34137.html"; + } +} diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm new file mode 100644 index 0000000000..d217546adf --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm new file mode 100644 index 0000000000..fbb057176f --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm new file mode 100644 index 0000000000..56889996d7 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm new file mode 100644 index 0000000000..9468bc96a0 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm new file mode 100644 index 0000000000..24da32bc79 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html new file mode 100644 index 0000000000..2f11e76712 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+You are quick to understand.
+You have to participate in a siege or a dimensional siege. When you reach the Flag of Protection inside, you'll be able to obtain a Mark of Valor. Your mission is to obtain 10 of these.
+You'll be able to get more marks when you participate in a dimensional siege or in the Aden or Rune Castle Sieges. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html new file mode 100644 index 0000000000..862ea76844 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html @@ -0,0 +1,4 @@ +Reclous the Hermit:
+We can get their orders, if you kill Ketra Orc Scouts and Ketra Orc Priests.
+If we study these orders, we will learn their aim. Find Ketra Orders, quick. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html new file mode 100644 index 0000000000..1096238c72 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html @@ -0,0 +1,5 @@ +Reclous the Hermit:
+I hope that Ketra Orcs will stop trying to gather a large troop. Good job!
+It's just there is one thing that keeps nagging me. Ketra Orcs couldn't possibly show up here without any reason. They had to have something on their mind, right?
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html new file mode 100644 index 0000000000..dd22f1e5eb --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html @@ -0,0 +1,5 @@ +Reclous the Hermit:
+These Orcs are much better organized than Turek tribe. They are thinking of some gruesome deeds, I bet.
+We have to know what they're planning.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html new file mode 100644 index 0000000000..862ea76844 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html @@ -0,0 +1,4 @@ +Reclous the Hermit:
+We can get their orders, if you kill Ketra Orc Scouts and Ketra Orc Priests.
+If we study these orders, we will learn their aim. Find Ketra Orders, quick. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java new file mode 100644 index 0000000000..462f2dbc0f --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java @@ -0,0 +1,253 @@ +/* + * 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.Q10852_TheMotherTreeRevivalProject; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.commons.util.CommonUtil; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * The Mother Tree Revival Project (10852) + * @URL https://l2wiki.com/The_Mother_Tree_Revival_Project + * @author Dmitri + */ +public class Q10852_TheMotherTreeRevivalProject extends Quest +{ + // NPCs + private static final int IRENE = 34233; + // Monsters + private static final int NYMPH_SENTINEL = 23578; + private static final int[] ROSE = + { + 23566, // Nymph Rose + 23567, // Nymph Rose + }; + private static final int[] LILY = + { + 23568, // Nymph Lily + 23569, // Nymph Lily + }; + private static final int[] TULIP = + { + 23570, // Nymph Tulip + 23571, // Nymph Tulip + }; + private static final int[] COSMOS = + { + 23572, // Nymph Cosmos + 23573, // Nymph Cosmos + }; + // Items + private static final int RUNE_STONE = 39738; + private static final int SPELLBOOK_PEGASUS = 47150; + // Misc + private static final int MIN_LEVEL = 102; + + public Q10852_TheMotherTreeRevivalProject() + { + super(10852); + addStartNpc(IRENE); + addTalkId(IRENE); + addKillId(COSMOS); + addKillId(TULIP); + addKillId(LILY); + addKillId(ROSE); + addKillId(NYMPH_SENTINEL); + addCondMinLevel(MIN_LEVEL, "34233-00.htm"); + addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 6, "34233-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34233-02.htm": + case "34233-03.htm": + case "34233-04.htm": + case "34233-08.html": + { + htmltext = event; + break; + } + case "34233-05.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34233-09.html": + { + if (qs.isCond(2)) + { + giveItems(player, RUNE_STONE, 1); + giveItems(player, SPELLBOOK_PEGASUS, 1); + addExpAndSp(player, 444428559000L, 444427200); + qs.exitQuest(QuestType.ONE_TIME, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + String htmltext = getNoQuestMsg(player); + final QuestState qs = getQuestState(player, true); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == IRENE) + { + htmltext = "34233-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case IRENE: + { + if (qs.isCond(1)) + { + htmltext = "34233-06.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34233-07.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + + if ((qs != null) && qs.isCond(1)) + { + int killedTulip = qs.getInt("killed_" + TULIP[0]); + int killedCosmos = qs.getInt("killed_" + COSMOS[0]); + int killedLily = qs.getInt("killed_" + LILY[0]); + int killedRose = qs.getInt("killed_" + ROSE[0]); + int killedSentinel = qs.getInt("killed_" + NYMPH_SENTINEL); + + if (CommonUtil.contains(TULIP, npc.getId())) + { + if (killedTulip < 300) + { + killedTulip++; + qs.set("killed_" + TULIP[0], killedTulip); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(COSMOS, npc.getId())) + { + if (killedCosmos < 300) + { + killedCosmos++; + qs.set("killed_" + COSMOS[0], killedCosmos); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(LILY, npc.getId())) + { + if (killedLily < 300) + { + killedLily++; + qs.set("killed_" + LILY[0], killedLily); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(ROSE, npc.getId())) + { + if (killedRose < 300) + { + killedRose++; + qs.set("killed_" + ROSE[0], killedRose); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (killedSentinel < 100) + { + qs.set("killed_" + NYMPH_SENTINEL, ++killedSentinel); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + + if ((killedTulip == 300) && (killedCosmos == 300) && (killedLily == 300) && (killedRose == 300) && (killedSentinel >= 100)) + { + qs.setCond(2, true); + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isStarted() && qs.isCond(1)) + { + final Set npcLogList = new HashSet<>(5); + npcLogList.add(new NpcLogListHolder(TULIP[0], false, qs.getInt("killed_" + TULIP[0]))); + npcLogList.add(new NpcLogListHolder(COSMOS[0], false, qs.getInt("killed_" + COSMOS[0]))); + npcLogList.add(new NpcLogListHolder(LILY[0], false, qs.getInt("killed_" + LILY[0]))); + npcLogList.add(new NpcLogListHolder(ROSE[0], false, qs.getInt("killed_" + ROSE[0]))); + npcLogList.add(new NpcLogListHolder(NYMPH_SENTINEL, false, qs.getInt("killed_" + NYMPH_SENTINEL))); + return npcLogList; + } + return super.getNpcLogList(player); + } +} 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 b30dc6431e..f1f817912e 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 @@ -186,6 +186,7 @@ import quests.Q00783_VestigeOfTheMagicPower.Q00783_VestigeOfTheMagicPower; import quests.Q00787_TheRoleOfAWatcher.Q00787_TheRoleOfAWatcher; import quests.Q00790_ObtainingFerinsTrust.Q00790_ObtainingFerinsTrust; import quests.Q00792_TheSuperionGiants.Q00792_TheSuperionGiants; +import quests.Q00816_PlansToRepairTheStronghold.Q00816_PlansToRepairTheStronghold; import quests.Q00817_BlackAteliaResearch.Q00817_BlackAteliaResearch; import quests.Q00823_DisappearedRaceNewFairy.Q00823_DisappearedRaceNewFairy; import quests.Q00826_InSearchOfTheSecretWeapon.Q00826_InSearchOfTheSecretWeapon; @@ -470,8 +471,10 @@ import quests.Q10839_BlackbirdsNameValue.Q10839_BlackbirdsNameValue; import quests.Q10840_TimeToRecover.Q10840_TimeToRecover; import quests.Q10841_DeepInsideAteliaFortress.Q10841_DeepInsideAteliaFortress; import quests.Q10843_AnomalyInTheEnchantedValley.Q10843_AnomalyInTheEnchantedValley; +import quests.Q10844_BloodyBattleSeizingSupplies.Q10844_BloodyBattleSeizingSupplies; import quests.Q10849_TrialsForAdaptation.Q10849_TrialsForAdaptation; import quests.Q10851_ElvenBotany.Q10851_ElvenBotany; +import quests.Q10852_TheMotherTreeRevivalProject.Q10852_TheMotherTreeRevivalProject; import quests.Q10856_SuperionAppears.Q10856_SuperionAppears; import quests.Q10857_SecretTeleport.Q10857_SecretTeleport; import quests.not_done.Q00504_CompetitionForTheBanditStronghold; @@ -490,7 +493,6 @@ import quests.not_done.Q00780_UtilizeTheDarknessSeedOfInfinity; import quests.not_done.Q00781_UtilizeTheDarknessSeedOfAnnihilation; import quests.not_done.Q00782_UtilizeTheDarknessSeedOfHellfire; import quests.not_done.Q00789_WaitingForPaagrio; -import quests.not_done.Q00816_PlansToRepairTheStronghold; import quests.not_done.Q00824_AttackTheCommandPost; import quests.not_done.Q00836_RequestFromTheBlackbirdClan; import quests.not_done.Q00837_RequestFromTheGiantTrackers; @@ -520,11 +522,9 @@ import quests.not_done.Q10531_OddHappeningsAtDragonValley; import quests.not_done.Q10532_UncoveringTheConspiracy; import quests.not_done.Q10748_MysteriousSuggestion1; import quests.not_done.Q10749_MysteriousSuggestion2; -import quests.not_done.Q10844_BloodyBattleSeizingSupplies; import quests.not_done.Q10845_BloodyBattleRescueTheSmiths; import quests.not_done.Q10846_BloodyBattleMeetingTheCommander; import quests.not_done.Q10848_TrialsBeforeTheBattle; -import quests.not_done.Q10852_TheMotherTreeRevivalProject; import quests.not_done.Q10853_ToWeakenTheGiants; import quests.not_done.Q10854_ToSeizeTheFortress; import quests.not_done.Q10858_QueenRamonaControllerOfTheVessel; @@ -722,7 +722,7 @@ public class QuestMasterHandler Q00789_WaitingForPaagrio.class, // TODO: Not done. Q00790_ObtainingFerinsTrust.class, Q00792_TheSuperionGiants.class, - Q00816_PlansToRepairTheStronghold.class, // TODO: Not done. + Q00816_PlansToRepairTheStronghold.class, Q00817_BlackAteliaResearch.class, Q00823_DisappearedRaceNewFairy.class, Q00824_AttackTheCommandPost.class, // TODO: Not done. @@ -1036,13 +1036,13 @@ public class QuestMasterHandler Q10840_TimeToRecover.class, Q10841_DeepInsideAteliaFortress.class, Q10843_AnomalyInTheEnchantedValley.class, - Q10844_BloodyBattleSeizingSupplies.class, // TODO: Not done. + Q10844_BloodyBattleSeizingSupplies.class, Q10845_BloodyBattleRescueTheSmiths.class, // TODO: Not done. Q10846_BloodyBattleMeetingTheCommander.class, // TODO: Not done. Q10848_TrialsBeforeTheBattle.class, // TODO: Not done. Q10849_TrialsForAdaptation.class, Q10851_ElvenBotany.class, - Q10852_TheMotherTreeRevivalProject.class, // TODO: Not done. + Q10852_TheMotherTreeRevivalProject.class, Q10853_ToWeakenTheGiants.class, // TODO: Not done. Q10854_ToSeizeTheFortress.class, // TODO: Not done. Q10856_SuperionAppears.class, diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java deleted file mode 100644 index e61af457f0..0000000000 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00816_PlansToRepairTheStronghold extends Quest -{ - private static final int START_NPC = 34058; - - public Q00816_PlansToRepairTheStronghold() - { - super(816); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java deleted file mode 100644 index 8f3083c26a..0000000000 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10844_BloodyBattleSeizingSupplies extends Quest -{ - private static final int START_NPC = 34057; - - public Q10844_BloodyBattleSeizingSupplies() - { - super(10844); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java deleted file mode 100644 index 54cc516da2..0000000000 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10852_TheMotherTreeRevivalProject extends Quest -{ - private static final int START_NPC = 34233; - - public Q10852_TheMotherTreeRevivalProject() - { - super(10852); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} 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 8a480d7570..ba0e032651 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 @@ -80,7 +80,6 @@ 809 Hunter Guild Request - The Immortal Plateau 810 Hunter Guild Request - Isle of Souls 811 Hunter Guild Request - Cemetery -816 Plans to Repair the Stronghold 824 Attack the Command Post 825 Hunter Guild Request - Valley of Saints 832 Hunter Guild Request - Southern Region, Isle of Prayer @@ -137,11 +136,9 @@ 10731 The Minstrel's Song, Part 6 10748 Mysterious Suggestion - 1 10749 Mysterious Suggestion - 2 -10844 Bloody Battle - Seizing Supplies 10845 Bloody Battle - Rescue the Smiths 10846 Bloody Battle - Meeting the Commander 10848 Trials before the Battle -10852 The Mother Tree Revival Project 10853 To Weaken the Giants 10854 To Seize the Fortress 10858 Queen Ramona, Controller of the Vessel diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm new file mode 100644 index 0000000000..2521dd2ee1 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm @@ -0,0 +1,5 @@ +Aden Vanguard Captain Adolph:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 101.) + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm new file mode 100644 index 0000000000..7d1fa864e0 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm new file mode 100644 index 0000000000..27517c7172 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm new file mode 100644 index 0000000000..a6a71958b3 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm new file mode 100644 index 0000000000..fdd2fe6017 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm new file mode 100644 index 0000000000..49451f2acf --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm new file mode 100644 index 0000000000..7fc0130fcc --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm new file mode 100644 index 0000000000..02959dfb5b --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html new file mode 100644 index 0000000000..226e9dc073 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 1 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html new file mode 100644 index 0000000000..0051dbfb9b --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 3 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html new file mode 100644 index 0000000000..421e9c42b1 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html new file mode 100644 index 0000000000..2379ab5da0 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html new file mode 100644 index 0000000000..65414529dc --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html new file mode 100644 index 0000000000..6568fc0c93 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the advanced mission to collect 600 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html new file mode 100644 index 0000000000..57d9da735d --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the Very advanced mission to collect 800 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html new file mode 100644 index 0000000000..1fb65e5348 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html new file mode 100644 index 0000000000..b00f56a880 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 400 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html new file mode 100644 index 0000000000..db352c992c --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 600 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html new file mode 100644 index 0000000000..2c1b00fea3 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 800 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html new file mode 100644 index 0000000000..01dde20f7c --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html new file mode 100644 index 0000000000..286eac191b --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 400 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html new file mode 100644 index 0000000000..35b317ab6a --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 600 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html new file mode 100644 index 0000000000..781a3a6aa4 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 800 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html new file mode 100644 index 0000000000..afb47a3395 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html @@ -0,0 +1,5 @@ +Aden Vanguard Captain Adolph:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html new file mode 100644 index 0000000000..f93e0ba749 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java new file mode 100644 index 0000000000..ce7eeca89f --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java @@ -0,0 +1,413 @@ +/* + * 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.Q00816_PlansToRepairTheStronghold; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * Plans to Repair the Stronghold (816) + * @URL https://l2wiki.com/Plans_to_Repair_the_Stronghold + * @author Dmitri + */ +public class Q00816_PlansToRepairTheStronghold extends Quest +{ + // NPCs + private static final int ADOLPH = 34058; + // Monsters + private static final int[] MONSTERS = + { + 23505, // Fortress Raider 101 + 23506, // Fortress Guardian Captain 101 + 23507, // Atelia Passionate Soldier 101 + 23508, // Atelia Elite Captain 101 + 23509, // Fortress Dark Wizard 102 + 23510, // Atelia Flame Master 102 + 23511, // Fortress Archon 102 + 23512 // Atelia High Priest 102 + }; + // Items + private static final int MATERIAL_QUEST = 46142; // Stronghold Flag Repair Supplies + private static final int BASIC_SUPPLY_BOX = 47175; + private static final int INTERMEDIATE_SUPPLY_BOX = 47176; + private static final int ADVANCED_SUPPLY_BOX = 47177; + // Misc + private static final int MIN_LEVEL = 101; + + public Q00816_PlansToRepairTheStronghold() + { + super(816); + addStartNpc(ADOLPH); + addTalkId(ADOLPH); + addKillId(MONSTERS); + registerQuestItems(MATERIAL_QUEST); + addCondMinLevel(MIN_LEVEL, "34058-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34058-02.htm": + case "34058-03.htm": + case "34058-04.htm": + case "34058-04a.htm": + case "34058-04b.htm": + case "34058-04d.htm": + case "34058-06.html": + case "34058-06a.html": + case "34058-06b.html": + case "34058-06d.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case "34058-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34058-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34058-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34058-07d.html": + { + qs.setCond(5, true); + htmltext = event; + break; + } + case "34058-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 6: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 200) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 18_155_754_360L, 18_155_700); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 400) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 36_311_508_720L, 36_311_400); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 8: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 600) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 54_467_263_080L, 54_467_100); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 9: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 800) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 50) + { + giveItems(player, BASIC_SUPPLY_BOX, 2); + } + else if (chance < 50) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 2); + } + else if (chance < 50) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 2); + } + addExpAndSp(player, 72_623_017_440L, 72_622_800); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 400); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "34058-01.htm"; + // fallthrough + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case 2: + { + htmltext = "34058-08.html"; + break; + } + case 3: + { + htmltext = "34058-08a.html"; + break; + } + case 4: + { + htmltext = "34058-08b.html"; + break; + } + case 5: + { + htmltext = "34058-08d.html"; + break; + } + case 6: + case 7: + case 8: + case 9: + { + htmltext = "34058-09.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34058-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 200, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 400, 1, true)) + { + qs.setCond(7, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 600, 1, true)) + { + qs.setCond(8, true); + } + break; + } + case 5: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 800, 1, true)) + { + qs.setCond(9, true); + } + break; + } + } + } + } +} diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm new file mode 100644 index 0000000000..ba31a19bf4 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+I do not believe our paths are meant to cross here. Perhaps later down the road.
+(This quest can only be undertaken by characters with Lv. 101 or higher whose faction level with the Kingdom's Royal Guard is 2 or higher.) + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm new file mode 100644 index 0000000000..28a85f1dd3 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+It's been a while since we've found the Atelia Fortress.
+In that time though, the fortress has become more structured, which worries me.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm new file mode 100644 index 0000000000..29e0b1383b --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+We have to make sure no issues arise here until Leona comes back from Hellbound. We aren't doing so well, though.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm new file mode 100644 index 0000000000..2ce508fc06 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+The Atelia Fortress is more structured now.
+Until recently, they didn't have the means to get supplies or train soldiers when they isolated themselves, but now they can do all that within.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm new file mode 100644 index 0000000000..5d68cbed94 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+According to the information we got from the clan members inside the fortress, they are building different facilities on each floor.
+I've asked Leona for reinforcements, but they are not doing so great either. We need people who can help us. Do you think you can do it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm new file mode 100644 index 0000000000..d2341edcb0 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Glad to hear you'll be helping us. Devianne has already infiltrated the fortress and is in contact with our clan members.
+First, go find Glenkinchie in the first stronghold. Anyone inside the fortress should be able to help you more than me. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html new file mode 100644 index 0000000000..4686ef3bc1 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Devianne has already infiltrated the fortress, but you'll need to find out where she is from the people who are inside.
+First, go find Glenkinchie in the first stronghold. Anyone inside the fortress should be able to help you more than me. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html new file mode 100644 index 0000000000..3b02642f88 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html @@ -0,0 +1,5 @@ +Blackbird Clan Member Glenkinchie:
+Elikia said someone would come find me. I guess that was you? The fortress is becoming more systemized by the way, which worries me.
+We are not ready yet, and the Embryo are already expanding their forces.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html new file mode 100644 index 0000000000..b2bec01e59 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html @@ -0,0 +1,7 @@ +Blackbird Clan Member Glenkinchie:
+I found just a while ago that the fortress is becoming more systemized.
+They've built a supply base, and I saw that they are distributing supplies to the soldiers within the fortress. I would love to go and destroy their supply base...
+Recently, I met Devianne, and she told me about the commander of the fortress.
+She said to create uproars around the fortress to stop the flow of their work inside... Do you think you can help me?
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html new file mode 100644 index 0000000000..4a53c4557f --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html @@ -0,0 +1,5 @@ +Blackbird Clan Member Glenkinchie:
+It's not that difficult. You must have seen the supply boxes laying around. They started getting supplies regularly, but they are still not organized.
+Please open those supply boxes and get me the supplies. Don't just open any box though. There are some traps that could make it very dangerous.
+ Oh, and one more thing! If you defeat the Quartermasters, the soldiers will be affected, making it easier to steal their supplies. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html new file mode 100644 index 0000000000..9c5a3658b7 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+I need more supplies.
+This won't be enough. Please get me some more supplies. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html new file mode 100644 index 0000000000..e672651c94 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+Did you collect all the supplies? Oh, this is great! Things will get interesting now. Thanks.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html new file mode 100644 index 0000000000..f934d9ccf9 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+Of course. It's not perfect yet, but our strategy is to create an uproar, so that was helpful.
+In order for Devianne's plan to work, we need to continue creating uproars, so I'm sure Hurak on the 2nd floor is also making similar plans at the stronghold there. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html new file mode 100644 index 0000000000..9662254200 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html @@ -0,0 +1,6 @@ +Embryo supplies:
+This is the additional delegation member sent to the Town of Gludio.
+Unfortunately, death seemed to have reigned for a while on this body.
+The face is strangely peaceful.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html new file mode 100644 index 0000000000..67f5be960b --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html @@ -0,0 +1,4 @@ +Embryo Supply Box:
+(A supply box for Embryo soldiers within the Atelia Fortress. Should watch out for the guards.) + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java new file mode 100644 index 0000000000..ee585369d8 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java @@ -0,0 +1,196 @@ +/* + * 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.Q10844_BloodyBattleSeizingSupplies; + +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; + +/** + * Bloody Battle - Seizing Supplies (10844) + * @URL https://l2wiki.com/Bloody_Battle_-_Seizing_Supplies + * @author Dmitri + */ +public class Q10844_BloodyBattleSeizingSupplies extends Quest +{ + // NPC + private static final int ELIKIA = 34057; + private static final int GLENKINCHIE = 34063; + private static final int EMBRYO_SUPPLY_BOX = 34137; + // Monsters + private static final int FORTRESS_GUARDIAN_CAPTAIN = 23506; + private static final int FORTRESS_RAIDER = 23505; + // Items + private static final int EMBRYO_SUPPLIES = 46282; + // Misc + private static final int MIN_LEVEL = 101; + + public Q10844_BloodyBattleSeizingSupplies() + { + super(10844); + addStartNpc(ELIKIA); + addTalkId(ELIKIA, GLENKINCHIE); + addFirstTalkId(EMBRYO_SUPPLY_BOX); + registerQuestItems(EMBRYO_SUPPLIES); + addCondMinLevel(MIN_LEVEL, "34057-00.htm"); + addFactionLevel(Faction.KINGDOM_ROYAL_GUARDS, 2, "34057-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34057-04.htm": + case "34057-03.htm": + case "34057-02.htm": + case "34063-02.html": + { + htmltext = event; + break; + } + case "34057-05.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34063-03.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "open_box": + { + if (qs.isCond(2)) + { + npc.deleteMe(); + if (getRandom(10) < 5) + { + if (qs.isCond(2) && (getQuestItemsCount(qs.getPlayer(), EMBRYO_SUPPLIES) < 19)) + { + giveItems(player, EMBRYO_SUPPLIES, 1); + playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + else + { + giveItems(player, EMBRYO_SUPPLIES, 1); + qs.setCond(3, true); + } + break; + } + final Npc captain = addSpawn(FORTRESS_GUARDIAN_CAPTAIN, npc, true, 120000, false); + captain.setTitleString(NpcStringId.SUPPLY_GUARDS); + addAttackPlayerDesire(captain, player); + for (int i = 0; i < 2; i++) + { + final Npc raider = addSpawn(FORTRESS_RAIDER, npc, true, 120000, false); + raider.setTitleString(NpcStringId.SUPPLY_GUARDS); + addAttackPlayerDesire(raider, player); + } + } + break; + } + case "34063-06.html": + { + if (qs.isCond(3)) + { + addExpAndSp(player, 7262301690L, 17429400); + qs.exitQuest(false, true); + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == ELIKIA) + { + htmltext = "34057-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case ELIKIA: + { + if (qs.getCond() > 1) + { + htmltext = "34057-06.html"; + } + break; + } + case GLENKINCHIE: + { + if (qs.isCond(1)) + { + htmltext = "34063-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34063-04.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34063-05.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onFirstTalk(Npc npc, PlayerInstance player) + { + return "34137.html"; + } +} diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm new file mode 100644 index 0000000000..d217546adf --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm new file mode 100644 index 0000000000..fbb057176f --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm new file mode 100644 index 0000000000..56889996d7 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm new file mode 100644 index 0000000000..9468bc96a0 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm new file mode 100644 index 0000000000..24da32bc79 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html new file mode 100644 index 0000000000..2f11e76712 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+You are quick to understand.
+You have to participate in a siege or a dimensional siege. When you reach the Flag of Protection inside, you'll be able to obtain a Mark of Valor. Your mission is to obtain 10 of these.
+You'll be able to get more marks when you participate in a dimensional siege or in the Aden or Rune Castle Sieges. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html new file mode 100644 index 0000000000..862ea76844 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html @@ -0,0 +1,4 @@ +Reclous the Hermit:
+We can get their orders, if you kill Ketra Orc Scouts and Ketra Orc Priests.
+If we study these orders, we will learn their aim. Find Ketra Orders, quick. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html new file mode 100644 index 0000000000..1096238c72 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html @@ -0,0 +1,5 @@ +Reclous the Hermit:
+I hope that Ketra Orcs will stop trying to gather a large troop. Good job!
+It's just there is one thing that keeps nagging me. Ketra Orcs couldn't possibly show up here without any reason. They had to have something on their mind, right?
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html new file mode 100644 index 0000000000..dd22f1e5eb --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html @@ -0,0 +1,5 @@ +Reclous the Hermit:
+These Orcs are much better organized than Turek tribe. They are thinking of some gruesome deeds, I bet.
+We have to know what they're planning.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html new file mode 100644 index 0000000000..862ea76844 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html @@ -0,0 +1,4 @@ +Reclous the Hermit:
+We can get their orders, if you kill Ketra Orc Scouts and Ketra Orc Priests.
+If we study these orders, we will learn their aim. Find Ketra Orders, quick. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java new file mode 100644 index 0000000000..462f2dbc0f --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java @@ -0,0 +1,253 @@ +/* + * 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.Q10852_TheMotherTreeRevivalProject; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.commons.util.CommonUtil; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * The Mother Tree Revival Project (10852) + * @URL https://l2wiki.com/The_Mother_Tree_Revival_Project + * @author Dmitri + */ +public class Q10852_TheMotherTreeRevivalProject extends Quest +{ + // NPCs + private static final int IRENE = 34233; + // Monsters + private static final int NYMPH_SENTINEL = 23578; + private static final int[] ROSE = + { + 23566, // Nymph Rose + 23567, // Nymph Rose + }; + private static final int[] LILY = + { + 23568, // Nymph Lily + 23569, // Nymph Lily + }; + private static final int[] TULIP = + { + 23570, // Nymph Tulip + 23571, // Nymph Tulip + }; + private static final int[] COSMOS = + { + 23572, // Nymph Cosmos + 23573, // Nymph Cosmos + }; + // Items + private static final int RUNE_STONE = 39738; + private static final int SPELLBOOK_PEGASUS = 47150; + // Misc + private static final int MIN_LEVEL = 102; + + public Q10852_TheMotherTreeRevivalProject() + { + super(10852); + addStartNpc(IRENE); + addTalkId(IRENE); + addKillId(COSMOS); + addKillId(TULIP); + addKillId(LILY); + addKillId(ROSE); + addKillId(NYMPH_SENTINEL); + addCondMinLevel(MIN_LEVEL, "34233-00.htm"); + addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 6, "34233-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34233-02.htm": + case "34233-03.htm": + case "34233-04.htm": + case "34233-08.html": + { + htmltext = event; + break; + } + case "34233-05.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34233-09.html": + { + if (qs.isCond(2)) + { + giveItems(player, RUNE_STONE, 1); + giveItems(player, SPELLBOOK_PEGASUS, 1); + addExpAndSp(player, 444428559000L, 444427200); + qs.exitQuest(QuestType.ONE_TIME, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + String htmltext = getNoQuestMsg(player); + final QuestState qs = getQuestState(player, true); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == IRENE) + { + htmltext = "34233-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case IRENE: + { + if (qs.isCond(1)) + { + htmltext = "34233-06.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34233-07.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + + if ((qs != null) && qs.isCond(1)) + { + int killedTulip = qs.getInt("killed_" + TULIP[0]); + int killedCosmos = qs.getInt("killed_" + COSMOS[0]); + int killedLily = qs.getInt("killed_" + LILY[0]); + int killedRose = qs.getInt("killed_" + ROSE[0]); + int killedSentinel = qs.getInt("killed_" + NYMPH_SENTINEL); + + if (CommonUtil.contains(TULIP, npc.getId())) + { + if (killedTulip < 300) + { + killedTulip++; + qs.set("killed_" + TULIP[0], killedTulip); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(COSMOS, npc.getId())) + { + if (killedCosmos < 300) + { + killedCosmos++; + qs.set("killed_" + COSMOS[0], killedCosmos); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(LILY, npc.getId())) + { + if (killedLily < 300) + { + killedLily++; + qs.set("killed_" + LILY[0], killedLily); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(ROSE, npc.getId())) + { + if (killedRose < 300) + { + killedRose++; + qs.set("killed_" + ROSE[0], killedRose); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (killedSentinel < 100) + { + qs.set("killed_" + NYMPH_SENTINEL, ++killedSentinel); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + + if ((killedTulip == 300) && (killedCosmos == 300) && (killedLily == 300) && (killedRose == 300) && (killedSentinel >= 100)) + { + qs.setCond(2, true); + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isStarted() && qs.isCond(1)) + { + final Set npcLogList = new HashSet<>(5); + npcLogList.add(new NpcLogListHolder(TULIP[0], false, qs.getInt("killed_" + TULIP[0]))); + npcLogList.add(new NpcLogListHolder(COSMOS[0], false, qs.getInt("killed_" + COSMOS[0]))); + npcLogList.add(new NpcLogListHolder(LILY[0], false, qs.getInt("killed_" + LILY[0]))); + npcLogList.add(new NpcLogListHolder(ROSE[0], false, qs.getInt("killed_" + ROSE[0]))); + npcLogList.add(new NpcLogListHolder(NYMPH_SENTINEL, false, qs.getInt("killed_" + NYMPH_SENTINEL))); + return npcLogList; + } + return super.getNpcLogList(player); + } +} 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 0505b47b90..79ef202cf4 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 @@ -187,6 +187,7 @@ import quests.Q00783_VestigeOfTheMagicPower.Q00783_VestigeOfTheMagicPower; import quests.Q00787_TheRoleOfAWatcher.Q00787_TheRoleOfAWatcher; import quests.Q00790_ObtainingFerinsTrust.Q00790_ObtainingFerinsTrust; import quests.Q00792_TheSuperionGiants.Q00792_TheSuperionGiants; +import quests.Q00816_PlansToRepairTheStronghold.Q00816_PlansToRepairTheStronghold; import quests.Q00817_BlackAteliaResearch.Q00817_BlackAteliaResearch; import quests.Q00823_DisappearedRaceNewFairy.Q00823_DisappearedRaceNewFairy; import quests.Q00826_InSearchOfTheSecretWeapon.Q00826_InSearchOfTheSecretWeapon; @@ -468,8 +469,10 @@ import quests.Q10839_BlackbirdsNameValue.Q10839_BlackbirdsNameValue; import quests.Q10840_TimeToRecover.Q10840_TimeToRecover; import quests.Q10841_DeepInsideAteliaFortress.Q10841_DeepInsideAteliaFortress; import quests.Q10843_AnomalyInTheEnchantedValley.Q10843_AnomalyInTheEnchantedValley; +import quests.Q10844_BloodyBattleSeizingSupplies.Q10844_BloodyBattleSeizingSupplies; import quests.Q10849_TrialsForAdaptation.Q10849_TrialsForAdaptation; import quests.Q10851_ElvenBotany.Q10851_ElvenBotany; +import quests.Q10852_TheMotherTreeRevivalProject.Q10852_TheMotherTreeRevivalProject; import quests.Q10856_SuperionAppears.Q10856_SuperionAppears; import quests.Q10857_SecretTeleport.Q10857_SecretTeleport; import quests.not_done.Q00504_CompetitionForTheBanditStronghold; @@ -496,7 +499,6 @@ import quests.not_done.Q00780_UtilizeTheDarknessSeedOfInfinity; import quests.not_done.Q00781_UtilizeTheDarknessSeedOfAnnihilation; import quests.not_done.Q00782_UtilizeTheDarknessSeedOfHellfire; import quests.not_done.Q00789_WaitingForPaagrio; -import quests.not_done.Q00816_PlansToRepairTheStronghold; import quests.not_done.Q00824_AttackTheCommandPost; import quests.not_done.Q00836_RequestFromTheBlackbirdClan; import quests.not_done.Q00837_RequestFromTheGiantTrackers; @@ -529,11 +531,9 @@ import quests.not_done.Q10532_UncoveringTheConspiracy; import quests.not_done.Q10535_BlacksmithsSoulAwakeningWeapon3; import quests.not_done.Q10748_MysteriousSuggestion1; import quests.not_done.Q10749_MysteriousSuggestion2; -import quests.not_done.Q10844_BloodyBattleSeizingSupplies; import quests.not_done.Q10845_BloodyBattleRescueTheSmiths; import quests.not_done.Q10846_BloodyBattleMeetingTheCommander; import quests.not_done.Q10848_TrialsBeforeTheBattle; -import quests.not_done.Q10852_TheMotherTreeRevivalProject; import quests.not_done.Q10853_ToWeakenTheGiants; import quests.not_done.Q10854_ToSeizeTheFortress; import quests.not_done.Q10858_QueenRamonaControllerOfTheVessel; @@ -750,7 +750,7 @@ public class QuestMasterHandler Q00789_WaitingForPaagrio.class, // TODO: Not done. Q00790_ObtainingFerinsTrust.class, Q00792_TheSuperionGiants.class, - Q00816_PlansToRepairTheStronghold.class, // TODO: Not done. + Q00816_PlansToRepairTheStronghold.class, Q00817_BlackAteliaResearch.class, Q00823_DisappearedRaceNewFairy.class, Q00824_AttackTheCommandPost.class, // TODO: Not done. @@ -1064,13 +1064,13 @@ public class QuestMasterHandler Q10840_TimeToRecover.class, Q10841_DeepInsideAteliaFortress.class, Q10843_AnomalyInTheEnchantedValley.class, - Q10844_BloodyBattleSeizingSupplies.class, // TODO: Not done. + Q10844_BloodyBattleSeizingSupplies.class, Q10845_BloodyBattleRescueTheSmiths.class, // TODO: Not done. Q10846_BloodyBattleMeetingTheCommander.class, // TODO: Not done. Q10848_TrialsBeforeTheBattle.class, // TODO: Not done. Q10849_TrialsForAdaptation.class, Q10851_ElvenBotany.class, - Q10852_TheMotherTreeRevivalProject.class, // TODO: Not done. + Q10852_TheMotherTreeRevivalProject.class, Q10853_ToWeakenTheGiants.class, // TODO: Not done. Q10854_ToSeizeTheFortress.class, // TODO: Not done. Q10856_SuperionAppears.class, diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java deleted file mode 100644 index e61af457f0..0000000000 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00816_PlansToRepairTheStronghold extends Quest -{ - private static final int START_NPC = 34058; - - public Q00816_PlansToRepairTheStronghold() - { - super(816); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java deleted file mode 100644 index 8f3083c26a..0000000000 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10844_BloodyBattleSeizingSupplies extends Quest -{ - private static final int START_NPC = 34057; - - public Q10844_BloodyBattleSeizingSupplies() - { - super(10844); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java deleted file mode 100644 index 54cc516da2..0000000000 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10852_TheMotherTreeRevivalProject extends Quest -{ - private static final int START_NPC = 34233; - - public Q10852_TheMotherTreeRevivalProject() - { - super(10852); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} 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 5fdefe3197..84486bacb0 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 @@ -21,8 +21,6 @@ 671 Path to Finding the Past 672 Embryo the Archenemy 673 Beleth' Ambition -674 Changes in the Shadow of the Mother Tree -675 What the Thread of the Past Shows 676 Hunter Guild Request – Wasteland West 677 Hunter Guild Request – Wasteland East 678 Hunter Guild Request – Forest of the Dead @@ -99,7 +97,6 @@ 809 Hunter Guild Request - The Immortal Plateau 810 Hunter Guild Request - Isle of Souls 811 Hunter Guild Request - Cemetery -816 Plans to Repair the Stronghold 824 Attack the Command Post 825 Hunter Guild Request - Valley of Saints 832 Hunter Guild Request - Southern Region, Isle of Prayer @@ -167,18 +164,15 @@ 10594 Fergason's Scheme 10595 The Dimensional Warp, Part 8 10596 The Dimensional Warp, Part 9 -10597 Escape to the Shadow of the Mother Tree 10598 With All Your Might 10599 Thread of Fate Hanging on the Mother Tree 10726 The Minstrel's Song, Part 5 10731 The Minstrel's Song, Part 6 10748 Mysterious Suggestion - 1 10749 Mysterious Suggestion - 2 -10844 Bloody Battle - Seizing Supplies 10845 Bloody Battle - Rescue the Smiths 10846 Bloody Battle - Meeting the Commander 10848 Trials before the Battle -10852 The Mother Tree Revival Project 10853 To Weaken the Giants 10854 To Seize the Fortress 10858 Queen Ramona, Controller of the Vessel diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-09.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-09.html new file mode 100644 index 0000000000..fb60368cfb --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-09.html @@ -0,0 +1,5 @@ +Nerupa:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-10.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-10.html new file mode 100644 index 0000000000..ece80ee8f1 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-10.html @@ -0,0 +1,4 @@ +Nerupa:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-00.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-00.htm new file mode 100644 index 0000000000..65f97ae22b --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-00.htm @@ -0,0 +1,5 @@ +Ceriel:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103.) + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-01.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-01.htm new file mode 100644 index 0000000000..10a273e437 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-01.htm @@ -0,0 +1,6 @@ +Ceriel:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-02.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-02.htm new file mode 100644 index 0000000000..93e9535dde --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-02.htm @@ -0,0 +1,4 @@ +Ceriel:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-03.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-03.htm new file mode 100644 index 0000000000..da5ccd1f40 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-03.htm @@ -0,0 +1,6 @@ +Ceriel:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04.htm new file mode 100644 index 0000000000..9c1eb7714a --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04a.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04a.htm new file mode 100644 index 0000000000..723290b526 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04a.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04b.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04b.htm new file mode 100644 index 0000000000..a428e58593 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04b.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 150 Mutated Spirit's Souls. +Intermediate Mission - Collect 300 Mutated Spirit's Souls. +Advanced Mission - Collect 450 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.htm new file mode 100644 index 0000000000..834732c851 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.htm @@ -0,0 +1,3 @@ +Ceriel:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 200. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.html new file mode 100644 index 0000000000..d6df38ff2e --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.html @@ -0,0 +1,3 @@ +Ceriel:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05a.html new file mode 100644 index 0000000000..c9bfb987cd --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05a.html @@ -0,0 +1,3 @@ +Ceriel:
+Your Unworldly Visitors Faction Level Must be 7 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06.html new file mode 100644 index 0000000000..6c43bf19dd --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06a.html new file mode 100644 index 0000000000..de9445ee18 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06a.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06b.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06b.html new file mode 100644 index 0000000000..d95a18b9d0 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06b.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the advanced mission to collect 450 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07.html new file mode 100644 index 0000000000..54ecc4801f --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07a.html new file mode 100644 index 0000000000..598581c52a --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07a.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 400 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07b.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07b.html new file mode 100644 index 0000000000..ffe62065ed --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07b.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 600 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08.html new file mode 100644 index 0000000000..84be253541 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08a.html new file mode 100644 index 0000000000..9757d37cf1 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08a.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 400 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08b.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08b.html new file mode 100644 index 0000000000..edb2d13b1f --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08b.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 600 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/Q00674_ChangesInTheShadowOfTheMotherTree.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/Q00674_ChangesInTheShadowOfTheMotherTree.java new file mode 100644 index 0000000000..c6524f504c --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/Q00674_ChangesInTheShadowOfTheMotherTree.java @@ -0,0 +1,392 @@ +/* + * 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.Q00674_ChangesInTheShadowOfTheMotherTree; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; + +/** + * Changes in the Shadow of the Mother Tree (674) + * @URL https://l2wiki.com/Changes_in_the_Shadow_of_the_Mother_Tree + * @author Dmitri + */ +public class Q00674_ChangesInTheShadowOfTheMotherTree extends Quest +{ + // NPCs + private static final int CERIEL = 34415; + private static final int NERUPA = 34412; + // Monsters + private static final int[] MONSTERS = + { + 24118, // Crystal Reep + 24120, // Crystal Needle + 24122, // Treant Blossom + 24124, // Flush Teasle + 24126, // Creeper Rampike + 24139, // Reep Child + 24140, // Needle Child + 24141, // Blossom Child + 24142 // Teasle Child + }; + // Items + private static final int BASIC_SUPPLY_BOX = 48397; // Mother Tree Guardians Basic Treasure Chest: Shadow of the Mother Tree + private static final int INTERMEDIATE_SUPPLY_BOX = 48398; // Mother Tree Guardians Intermediate Treasure Chest: Shadow of the Mother Tree + private static final int ADVANCED_SUPPLY_BOX = 48399; // Mother Tree Guardians Advanced Treasure Chest: Shadow of the Mother Tree + // Misc + private static final int KILLING_NPCSTRING_ID = NpcStringId.ELIMINATE_THE_GIANT.getId(); // NpcStringId.1019709 + private static final boolean PARTY_QUEST = false; + private static final int MIN_LEVEL = 103; + + public Q00674_ChangesInTheShadowOfTheMotherTree() + { + super(674); + addStartNpc(CERIEL); + addTalkId(CERIEL, NERUPA); + addKillId(MONSTERS); + addCondMinLevel(MIN_LEVEL, "34415-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34415-02.htm": + case "34415-03.htm": + case "34415-04.htm": + case "34415-04a.htm": + case "34415-04b.htm": + case "34415-06.html": + case "34415-06a.html": + case "34415-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 6) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 7)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 7) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 6) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 7)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 7) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case "34415-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34415-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34415-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34412-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 5: + { + if (player.getLevel() >= MIN_LEVEL) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 27_191_624_760L, 27_191_610); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if (player.getLevel() >= MIN_LEVEL) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 54_383_249_520L, 54_383_220); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if (player.getLevel() >= MIN_LEVEL) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 81_574_874_280L, 81_574_830); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == CERIEL) + { + htmltext = "34415-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case CERIEL: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 6) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 7)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 7) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case 2: + { + htmltext = "34415-08.html"; + break; + } + case 3: + { + htmltext = "34415-08a.html"; + break; + } + case 4: + { + htmltext = "34415-08b.html"; + break; + } + } + break; + } + case NERUPA: + { + switch (qs.getCond()) + { + case 5: + case 6: + case 7: + { + htmltext = "34412-09.html"; + break; + } + } + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34415-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + final QuestState qs = PARTY_QUEST ? getRandomPartyMemberState(killer, -1, 3, npc) : getQuestState(killer, false); + if ((qs != null) && (qs.getCond() > 1)) + { + switch (qs.getCond()) + { + case 2: + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + qs.set("AncientGhosts", killedGhosts); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (killedGhosts >= 200) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + qs.set("AncientGhosts", killedGhosts); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (killedGhosts >= 400) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + qs.set("AncientGhosts", killedGhosts); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (killedGhosts >= 600) + { + qs.setCond(7, true); + } + break; + } + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1)) + { + final Set holder = new HashSet<>(); + holder.add(new NpcLogListHolder(KILLING_NPCSTRING_ID, true, qs.getInt("AncientGhosts"))); + return holder; + } + return super.getNpcLogList(player); + } +} \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-09.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-09.html new file mode 100644 index 0000000000..378724a305 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-09.html @@ -0,0 +1,5 @@ +Nerupa:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-10.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-10.html new file mode 100644 index 0000000000..ece80ee8f1 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-10.html @@ -0,0 +1,4 @@ +Nerupa:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-00.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-00.htm new file mode 100644 index 0000000000..65f97ae22b --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-00.htm @@ -0,0 +1,5 @@ +Ceriel:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103.) + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-01.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-01.htm new file mode 100644 index 0000000000..4da65726fc --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-01.htm @@ -0,0 +1,6 @@ +Ceriel:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-02.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-02.htm new file mode 100644 index 0000000000..cc4a6a4fea --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-02.htm @@ -0,0 +1,4 @@ +Ceriel:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-03.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-03.htm new file mode 100644 index 0000000000..a3f4dabf6f --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-03.htm @@ -0,0 +1,6 @@ +Ceriel:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04.htm new file mode 100644 index 0000000000..2b51306f2d --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 30 Mutated Spirit's Souls. +Intermediate Mission - Collect 60 Mutated Spirit's Souls. +Advanced Mission - Collect 90 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04a.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04a.htm new file mode 100644 index 0000000000..38328c1d51 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04a.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 30 Mutated Spirit's Souls. +Intermediate Mission - Collect 60 Mutated Spirit's Souls. +Advanced Mission - Collect 90 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04b.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04b.htm new file mode 100644 index 0000000000..60a812d428 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04b.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 30 Mutated Spirit's Souls. +Intermediate Mission - Collect 60 Mutated Spirit's Souls. +Advanced Mission - Collect 90 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.htm new file mode 100644 index 0000000000..25f8acb461 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.htm @@ -0,0 +1,3 @@ +Ceriel:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 30. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.html new file mode 100644 index 0000000000..8d360210c9 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.html @@ -0,0 +1,3 @@ +Ceriel:
+Your Unworldly Visitors Faction Level Must be 8 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05a.html new file mode 100644 index 0000000000..f081b7c60c --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05a.html @@ -0,0 +1,3 @@ +Ceriel:
+Your Unworldly Visitors Faction Level Must be 9 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06.html new file mode 100644 index 0000000000..e4d741d3a0 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the basic mission to collect 30 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06a.html new file mode 100644 index 0000000000..a3873db430 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06a.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the intermediate mission to collect 60 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06b.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06b.html new file mode 100644 index 0000000000..8d07d99268 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06b.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the advanced mission to collect 90 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07.html new file mode 100644 index 0000000000..c95e2d4465 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 30 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07a.html new file mode 100644 index 0000000000..3ec6f5b18f --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07a.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 60 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07b.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07b.html new file mode 100644 index 0000000000..02d0d646fc --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07b.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 90 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08.html new file mode 100644 index 0000000000..897239a385 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 30 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08a.html new file mode 100644 index 0000000000..c0382345d7 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08a.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 60 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08b.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08b.html new file mode 100644 index 0000000000..3fbb8f1518 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08b.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 90 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/Q00675_WhatTheThreadOfThePastShows.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/Q00675_WhatTheThreadOfThePastShows.java new file mode 100644 index 0000000000..75a766b465 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/Q00675_WhatTheThreadOfThePastShows.java @@ -0,0 +1,368 @@ +/* + * 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.Q00675_WhatTheThreadOfThePastShows; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * What the Thread of the Past Shows (675) + * @URL https://l2wiki.com/What_the_Thread_of_the_Past_Shows + * @author Dmitri + */ +public class Q00675_WhatTheThreadOfThePastShows extends Quest +{ + // NPCs + private static final int CERIEL = 34415; + private static final int NERUPA = 34412; + // Monsters + private static final int[] MONSTERS = + { + 24118, // Crystal Reep + 24120, // Crystal Needle + 24122, // Treant Blossom + 24124, // Flush Teasle + 24126 // Creeper Rampike + }; + // Items + private static final int NERUPA_BUD_PETAL = 48368; + private static final int BASIC_SUPPLY_BOX = 48397; // Mother Tree Guardians Basic Treasure Chest: Shadow of the Mother Tree + private static final int INTERMEDIATE_SUPPLY_BOX = 48398; // Mother Tree Guardians Intermediate Treasure Chest: Shadow of the Mother Tree + private static final int ADVANCED_SUPPLY_BOX = 48399; // Mother Tree Guardians Advanced Treasure Chest: Shadow of the Mother Tree + // Misc + private static final int MIN_LEVEL = 103; + + public Q00675_WhatTheThreadOfThePastShows() + { + super(675); + addStartNpc(CERIEL); + addTalkId(CERIEL, NERUPA); + addKillId(MONSTERS); + registerQuestItems(NERUPA_BUD_PETAL); + addCondMinLevel(MIN_LEVEL, "34415-00.htm"); + addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 4, "34415-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34415-02.htm": + case "34415-03.htm": + case "34415-04.htm": + case "34415-04a.htm": + case "34415-04b.htm": + case "34415-06.html": + case "34415-06a.html": + case "34415-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 8) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 9)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 9) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 8) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 9)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 9) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case "34415-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34415-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34415-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34412-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 5: + { + if ((getQuestItemsCount(player, NERUPA_BUD_PETAL) == 30) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + giveAdena(player, 2495659, true); + addExpAndSp(player, 27_191_624_760L, 27_191_610); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if ((getQuestItemsCount(player, NERUPA_BUD_PETAL) == 60) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + giveAdena(player, 4991318, true); + addExpAndSp(player, 54_383_249_520L, 54_383_220); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, NERUPA_BUD_PETAL) == 90) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + giveAdena(player, 7486978, true); + addExpAndSp(player, 81_574_874_280L, 81_574_830); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == CERIEL) + { + htmltext = "34415-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case CERIEL: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 8) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 9)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 9) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case 2: + { + htmltext = "34415-08.html"; + break; + } + case 3: + { + htmltext = "34415-08a.html"; + break; + } + case 4: + { + htmltext = "34415-08b.html"; + break; + } + } + break; + } + case NERUPA: + { + switch (qs.getCond()) + { + case 5: + case 6: + case 7: + { + htmltext = "34412-09.html"; + break; + } + } + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34415-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, NERUPA_BUD_PETAL, 1, 30, 1, true)) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, NERUPA_BUD_PETAL, 1, 60, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, NERUPA_BUD_PETAL, 1, 90, 1, true)) + { + qs.setCond(7, true); + } + break; + } + } + } + } +} \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm new file mode 100644 index 0000000000..2521dd2ee1 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm @@ -0,0 +1,5 @@ +Aden Vanguard Captain Adolph:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 101.) + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm new file mode 100644 index 0000000000..7d1fa864e0 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm new file mode 100644 index 0000000000..27517c7172 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm new file mode 100644 index 0000000000..a6a71958b3 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm new file mode 100644 index 0000000000..fdd2fe6017 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm new file mode 100644 index 0000000000..49451f2acf --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm new file mode 100644 index 0000000000..7fc0130fcc --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm new file mode 100644 index 0000000000..02959dfb5b --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html new file mode 100644 index 0000000000..226e9dc073 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 1 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html new file mode 100644 index 0000000000..0051dbfb9b --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 3 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html new file mode 100644 index 0000000000..421e9c42b1 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html new file mode 100644 index 0000000000..2379ab5da0 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html new file mode 100644 index 0000000000..65414529dc --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html new file mode 100644 index 0000000000..6568fc0c93 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the advanced mission to collect 600 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html new file mode 100644 index 0000000000..57d9da735d --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the Very advanced mission to collect 800 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html new file mode 100644 index 0000000000..1fb65e5348 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html new file mode 100644 index 0000000000..b00f56a880 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 400 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html new file mode 100644 index 0000000000..db352c992c --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 600 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html new file mode 100644 index 0000000000..2c1b00fea3 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 800 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html new file mode 100644 index 0000000000..01dde20f7c --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html new file mode 100644 index 0000000000..286eac191b --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 400 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html new file mode 100644 index 0000000000..35b317ab6a --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 600 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html new file mode 100644 index 0000000000..781a3a6aa4 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 800 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html new file mode 100644 index 0000000000..afb47a3395 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html @@ -0,0 +1,5 @@ +Aden Vanguard Captain Adolph:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html new file mode 100644 index 0000000000..f93e0ba749 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java new file mode 100644 index 0000000000..ce7eeca89f --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java @@ -0,0 +1,413 @@ +/* + * 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.Q00816_PlansToRepairTheStronghold; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * Plans to Repair the Stronghold (816) + * @URL https://l2wiki.com/Plans_to_Repair_the_Stronghold + * @author Dmitri + */ +public class Q00816_PlansToRepairTheStronghold extends Quest +{ + // NPCs + private static final int ADOLPH = 34058; + // Monsters + private static final int[] MONSTERS = + { + 23505, // Fortress Raider 101 + 23506, // Fortress Guardian Captain 101 + 23507, // Atelia Passionate Soldier 101 + 23508, // Atelia Elite Captain 101 + 23509, // Fortress Dark Wizard 102 + 23510, // Atelia Flame Master 102 + 23511, // Fortress Archon 102 + 23512 // Atelia High Priest 102 + }; + // Items + private static final int MATERIAL_QUEST = 46142; // Stronghold Flag Repair Supplies + private static final int BASIC_SUPPLY_BOX = 47175; + private static final int INTERMEDIATE_SUPPLY_BOX = 47176; + private static final int ADVANCED_SUPPLY_BOX = 47177; + // Misc + private static final int MIN_LEVEL = 101; + + public Q00816_PlansToRepairTheStronghold() + { + super(816); + addStartNpc(ADOLPH); + addTalkId(ADOLPH); + addKillId(MONSTERS); + registerQuestItems(MATERIAL_QUEST); + addCondMinLevel(MIN_LEVEL, "34058-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34058-02.htm": + case "34058-03.htm": + case "34058-04.htm": + case "34058-04a.htm": + case "34058-04b.htm": + case "34058-04d.htm": + case "34058-06.html": + case "34058-06a.html": + case "34058-06b.html": + case "34058-06d.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case "34058-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34058-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34058-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34058-07d.html": + { + qs.setCond(5, true); + htmltext = event; + break; + } + case "34058-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 6: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 200) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 18_155_754_360L, 18_155_700); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 400) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 36_311_508_720L, 36_311_400); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 8: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 600) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 54_467_263_080L, 54_467_100); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 9: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 800) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 50) + { + giveItems(player, BASIC_SUPPLY_BOX, 2); + } + else if (chance < 50) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 2); + } + else if (chance < 50) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 2); + } + addExpAndSp(player, 72_623_017_440L, 72_622_800); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 400); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "34058-01.htm"; + // fallthrough + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case 2: + { + htmltext = "34058-08.html"; + break; + } + case 3: + { + htmltext = "34058-08a.html"; + break; + } + case 4: + { + htmltext = "34058-08b.html"; + break; + } + case 5: + { + htmltext = "34058-08d.html"; + break; + } + case 6: + case 7: + case 8: + case 9: + { + htmltext = "34058-09.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34058-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 200, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 400, 1, true)) + { + qs.setCond(7, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 600, 1, true)) + { + qs.setCond(8, true); + } + break; + } + case 5: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 800, 1, true)) + { + qs.setCond(9, true); + } + break; + } + } + } + } +} diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-00.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-00.htm new file mode 100644 index 0000000000..5d0f95bcd3 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-00.htm @@ -0,0 +1,5 @@ +Fairy Mimyu:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103.) + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-01.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-01.htm new file mode 100644 index 0000000000..71b728c848 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-01.htm @@ -0,0 +1,4 @@ +Refugee Neti:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-02.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-02.htm new file mode 100644 index 0000000000..2893eaa1dc --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-02.htm @@ -0,0 +1,4 @@ +Refugee Neti:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-03.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-03.htm new file mode 100644 index 0000000000..d50481274e --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-03.htm @@ -0,0 +1,4 @@ +Refugee Neti:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-04.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-04.htm new file mode 100644 index 0000000000..83641f10da --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-04.htm @@ -0,0 +1,3 @@ +Refugee Neti:
+NOT DONE QUEST (@TODO need retail html).
+ \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-05.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-05.html new file mode 100644 index 0000000000..013c50410b --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-05.html @@ -0,0 +1,3 @@ +Maestro Ishuma:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-01.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-01.html new file mode 100644 index 0000000000..14b426ea44 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-01.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-02.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-02.html new file mode 100644 index 0000000000..9daab68a67 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-02.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-03.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-03.html new file mode 100644 index 0000000000..1d12ba493b --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-03.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-04.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-04.html new file mode 100644 index 0000000000..8b6804bcff --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-04.html @@ -0,0 +1,3 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-05.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-05.html new file mode 100644 index 0000000000..8b6804bcff --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-05.html @@ -0,0 +1,3 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-06.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-06.html new file mode 100644 index 0000000000..cac183c214 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-06.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-07.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-07.html new file mode 100644 index 0000000000..5a9f004f3e --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-07.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-08.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-08.html new file mode 100644 index 0000000000..8b6804bcff --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-08.html @@ -0,0 +1,3 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-09.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-09.html new file mode 100644 index 0000000000..a4f929236c --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-09.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-10.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-10.html new file mode 100644 index 0000000000..8b6804bcff --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-10.html @@ -0,0 +1,3 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/Q10597_EscapeToTheShadowOfTheMotherTree.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/Q10597_EscapeToTheShadowOfTheMotherTree.java new file mode 100644 index 0000000000..bd026227b0 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/Q10597_EscapeToTheShadowOfTheMotherTree.java @@ -0,0 +1,272 @@ +/* + * 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.Q10597_EscapeToTheShadowOfTheMotherTree; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.Config; +import org.l2jmobius.commons.util.CommonUtil; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; +import org.l2jmobius.gameserver.util.Util; + +/** + * Escape to the Shadow of the Mother Tree (10597) + * @URL https://l2wiki.com/Escape_to_the_Shadow_of_the_Mother_Tree + * @author Dmitri + */ +public class Q10597_EscapeToTheShadowOfTheMotherTree extends Quest +{ + // NPCs + private static final int ASTERIOS = 34411; + private static final int NERUPA = 34412; + // Monsters + private static final int LITHRA_APRIAS = 24127; + private static final int NERUPA_APRIAS = 24128; + private static final int[] MONSTERS = + { + 24117, // Crystal Reep + 24118, // Crystal Reep + 24119, // Crystal Needle + 24120, // Crystal Needle + 24121, // Treant Blossom + 24122, // Treant Blossom + 24123, // Flush Teasle + 24124, // Flush Teasle + 24125, // Creeper Rampike + 24126, // Creeper Rampike + 24139, // Reep Child + 24140, // Needle Child + 24141, // Blossom Child + 24142 // Teasle Child + }; + // Items + private static final int SUPPLY_BOX = 48399; // Mother Tree Guardians Advanced Treasure Chest: Shadow of the Mother Tree + // Misc + private static final int KILLING_NPCSTRING_ID = NpcStringId.ELIMINATE_THE_GIANT.getId(); // NpcStringId.1019709 + private static final int MIN_LEVEL = 103; + + public Q10597_EscapeToTheShadowOfTheMotherTree() + { + super(10597); + addStartNpc(ASTERIOS); + addTalkId(ASTERIOS, NERUPA); + addKillId(MONSTERS); + addKillId(LITHRA_APRIAS, NERUPA_APRIAS); + addCondMinLevel(MIN_LEVEL, "34411-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34411-02.htm": + case "34411-03.htm": + case "34412-02.html": + case "34412-03.html": + case "34412-07.html": + { + htmltext = event; + break; + } + case "34411-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34412-04.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34412-08.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34412-10.html": + { + if (qs.isCond(5)) + { + addExpAndSp(player, 81574874280L, 81574830); + giveItems(player, SUPPLY_BOX, 1); + qs.exitQuest(false, true); + htmltext = event; + break; + } + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == ASTERIOS) + { + htmltext = "34411-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case ASTERIOS: + { + if (qs.isCond(1)) + { + htmltext = "34411-04.htm"; + } + else if (qs.getCond() > 1) + { + htmltext = "34411-05.html"; + } + break; + } + case NERUPA: + { + if (qs.isCond(1)) + { + htmltext = "34412-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34412-05.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34412-06.html"; + } + else if (qs.isCond(4)) + { + htmltext = "34412-08.html"; + } + else if (qs.isCond(5)) + { + htmltext = "34412-09.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && Util.checkIfInRange(Config.ALT_PARTY_RANGE, npc, player, false)) + { + switch (qs.getCond()) + { + case 2: + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + if (CommonUtil.contains(MONSTERS, npc.getId())) + { + qs.set("AncientGhosts", killedGhosts); + if (killedGhosts >= 200) + { + qs.setCond(3, true); + } + else + { + playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET); + sendNpcLogList(player); + } + } + break; + } + case 4: + { + int killedCount = qs.getInt(Integer.toString(npc.getId())); + final int lithraaprias = qs.getInt(Integer.toString(LITHRA_APRIAS)); + final int nerupaaprias = qs.getInt(Integer.toString(NERUPA_APRIAS)); + qs.set(Integer.toString(npc.getId()), ++killedCount); + if ((lithraaprias == 10) && (nerupaaprias == 10)) + { + qs.setCond(5, true); + } + else + { + sendNpcLogList(player); + } + break; + } + } + } + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + executeForEachPlayer(killer, npc, isSummon, true, false); + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1)) + { + final Set npcLogList = new HashSet<>(3); + npcLogList.add(new NpcLogListHolder(KILLING_NPCSTRING_ID, true, qs.getInt("AncientGhosts"))); + // npcLogList.add(new NpcLogListHolder(NpcStringId.ELIMINATE_THE_GIANT, qs.getInt("AncientGhosts"))); // NpcStringId.1019709 + npcLogList.add(new NpcLogListHolder(LITHRA_APRIAS, false, qs.getInt(Integer.toString(LITHRA_APRIAS)))); + npcLogList.add(new NpcLogListHolder(NERUPA_APRIAS, false, qs.getInt(Integer.toString(NERUPA_APRIAS)))); + // npcLogList.add(new NpcLogListHolder(NpcStringId.DEFEAT_COMMANDER_BURNSTEIN_2, qs.getInt(Integer.toString(LITHRA_APRIAS)))); // NpcStringId.1024127 + // npcLogList.add(new NpcLogListHolder(NpcStringId.DEFEAT_COMMANDER_BURNSTEIN_2, qs.getInt(Integer.toString(NERUPA_APRIAS)))); // NpcStringId.1024128 + return npcLogList; + } + return super.getNpcLogList(player); + } +} diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm new file mode 100644 index 0000000000..ba31a19bf4 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+I do not believe our paths are meant to cross here. Perhaps later down the road.
+(This quest can only be undertaken by characters with Lv. 101 or higher whose faction level with the Kingdom's Royal Guard is 2 or higher.) + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm new file mode 100644 index 0000000000..28a85f1dd3 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+It's been a while since we've found the Atelia Fortress.
+In that time though, the fortress has become more structured, which worries me.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm new file mode 100644 index 0000000000..29e0b1383b --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+We have to make sure no issues arise here until Leona comes back from Hellbound. We aren't doing so well, though.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm new file mode 100644 index 0000000000..2ce508fc06 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+The Atelia Fortress is more structured now.
+Until recently, they didn't have the means to get supplies or train soldiers when they isolated themselves, but now they can do all that within.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm new file mode 100644 index 0000000000..5d68cbed94 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+According to the information we got from the clan members inside the fortress, they are building different facilities on each floor.
+I've asked Leona for reinforcements, but they are not doing so great either. We need people who can help us. Do you think you can do it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm new file mode 100644 index 0000000000..d2341edcb0 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Glad to hear you'll be helping us. Devianne has already infiltrated the fortress and is in contact with our clan members.
+First, go find Glenkinchie in the first stronghold. Anyone inside the fortress should be able to help you more than me. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html new file mode 100644 index 0000000000..4686ef3bc1 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Devianne has already infiltrated the fortress, but you'll need to find out where she is from the people who are inside.
+First, go find Glenkinchie in the first stronghold. Anyone inside the fortress should be able to help you more than me. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html new file mode 100644 index 0000000000..3b02642f88 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html @@ -0,0 +1,5 @@ +Blackbird Clan Member Glenkinchie:
+Elikia said someone would come find me. I guess that was you? The fortress is becoming more systemized by the way, which worries me.
+We are not ready yet, and the Embryo are already expanding their forces.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html new file mode 100644 index 0000000000..b2bec01e59 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html @@ -0,0 +1,7 @@ +Blackbird Clan Member Glenkinchie:
+I found just a while ago that the fortress is becoming more systemized.
+They've built a supply base, and I saw that they are distributing supplies to the soldiers within the fortress. I would love to go and destroy their supply base...
+Recently, I met Devianne, and she told me about the commander of the fortress.
+She said to create uproars around the fortress to stop the flow of their work inside... Do you think you can help me?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html new file mode 100644 index 0000000000..4a53c4557f --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html @@ -0,0 +1,5 @@ +Blackbird Clan Member Glenkinchie:
+It's not that difficult. You must have seen the supply boxes laying around. They started getting supplies regularly, but they are still not organized.
+Please open those supply boxes and get me the supplies. Don't just open any box though. There are some traps that could make it very dangerous.
+ Oh, and one more thing! If you defeat the Quartermasters, the soldiers will be affected, making it easier to steal their supplies. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html new file mode 100644 index 0000000000..9c5a3658b7 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+I need more supplies.
+This won't be enough. Please get me some more supplies. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html new file mode 100644 index 0000000000..e672651c94 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+Did you collect all the supplies? Oh, this is great! Things will get interesting now. Thanks.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html new file mode 100644 index 0000000000..f934d9ccf9 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+Of course. It's not perfect yet, but our strategy is to create an uproar, so that was helpful.
+In order for Devianne's plan to work, we need to continue creating uproars, so I'm sure Hurak on the 2nd floor is also making similar plans at the stronghold there. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html new file mode 100644 index 0000000000..9662254200 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html @@ -0,0 +1,6 @@ +Embryo supplies:
+This is the additional delegation member sent to the Town of Gludio.
+Unfortunately, death seemed to have reigned for a while on this body.
+The face is strangely peaceful.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html new file mode 100644 index 0000000000..67f5be960b --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html @@ -0,0 +1,4 @@ +Embryo Supply Box:
+(A supply box for Embryo soldiers within the Atelia Fortress. Should watch out for the guards.) + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java new file mode 100644 index 0000000000..ee585369d8 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java @@ -0,0 +1,196 @@ +/* + * 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.Q10844_BloodyBattleSeizingSupplies; + +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; + +/** + * Bloody Battle - Seizing Supplies (10844) + * @URL https://l2wiki.com/Bloody_Battle_-_Seizing_Supplies + * @author Dmitri + */ +public class Q10844_BloodyBattleSeizingSupplies extends Quest +{ + // NPC + private static final int ELIKIA = 34057; + private static final int GLENKINCHIE = 34063; + private static final int EMBRYO_SUPPLY_BOX = 34137; + // Monsters + private static final int FORTRESS_GUARDIAN_CAPTAIN = 23506; + private static final int FORTRESS_RAIDER = 23505; + // Items + private static final int EMBRYO_SUPPLIES = 46282; + // Misc + private static final int MIN_LEVEL = 101; + + public Q10844_BloodyBattleSeizingSupplies() + { + super(10844); + addStartNpc(ELIKIA); + addTalkId(ELIKIA, GLENKINCHIE); + addFirstTalkId(EMBRYO_SUPPLY_BOX); + registerQuestItems(EMBRYO_SUPPLIES); + addCondMinLevel(MIN_LEVEL, "34057-00.htm"); + addFactionLevel(Faction.KINGDOM_ROYAL_GUARDS, 2, "34057-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34057-04.htm": + case "34057-03.htm": + case "34057-02.htm": + case "34063-02.html": + { + htmltext = event; + break; + } + case "34057-05.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34063-03.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "open_box": + { + if (qs.isCond(2)) + { + npc.deleteMe(); + if (getRandom(10) < 5) + { + if (qs.isCond(2) && (getQuestItemsCount(qs.getPlayer(), EMBRYO_SUPPLIES) < 19)) + { + giveItems(player, EMBRYO_SUPPLIES, 1); + playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + else + { + giveItems(player, EMBRYO_SUPPLIES, 1); + qs.setCond(3, true); + } + break; + } + final Npc captain = addSpawn(FORTRESS_GUARDIAN_CAPTAIN, npc, true, 120000, false); + captain.setTitleString(NpcStringId.SUPPLY_GUARDS); + addAttackPlayerDesire(captain, player); + for (int i = 0; i < 2; i++) + { + final Npc raider = addSpawn(FORTRESS_RAIDER, npc, true, 120000, false); + raider.setTitleString(NpcStringId.SUPPLY_GUARDS); + addAttackPlayerDesire(raider, player); + } + } + break; + } + case "34063-06.html": + { + if (qs.isCond(3)) + { + addExpAndSp(player, 7262301690L, 17429400); + qs.exitQuest(false, true); + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == ELIKIA) + { + htmltext = "34057-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case ELIKIA: + { + if (qs.getCond() > 1) + { + htmltext = "34057-06.html"; + } + break; + } + case GLENKINCHIE: + { + if (qs.isCond(1)) + { + htmltext = "34063-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34063-04.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34063-05.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onFirstTalk(Npc npc, PlayerInstance player) + { + return "34137.html"; + } +} diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm new file mode 100644 index 0000000000..d217546adf --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm new file mode 100644 index 0000000000..fbb057176f --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm new file mode 100644 index 0000000000..56889996d7 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm new file mode 100644 index 0000000000..9468bc96a0 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm new file mode 100644 index 0000000000..24da32bc79 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html new file mode 100644 index 0000000000..2f11e76712 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+You are quick to understand.
+You have to participate in a siege or a dimensional siege. When you reach the Flag of Protection inside, you'll be able to obtain a Mark of Valor. Your mission is to obtain 10 of these.
+You'll be able to get more marks when you participate in a dimensional siege or in the Aden or Rune Castle Sieges. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html new file mode 100644 index 0000000000..862ea76844 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html @@ -0,0 +1,4 @@ +Reclous the Hermit:
+We can get their orders, if you kill Ketra Orc Scouts and Ketra Orc Priests.
+If we study these orders, we will learn their aim. Find Ketra Orders, quick. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html new file mode 100644 index 0000000000..1096238c72 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html @@ -0,0 +1,5 @@ +Reclous the Hermit:
+I hope that Ketra Orcs will stop trying to gather a large troop. Good job!
+It's just there is one thing that keeps nagging me. Ketra Orcs couldn't possibly show up here without any reason. They had to have something on their mind, right?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html new file mode 100644 index 0000000000..dd22f1e5eb --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html @@ -0,0 +1,5 @@ +Reclous the Hermit:
+These Orcs are much better organized than Turek tribe. They are thinking of some gruesome deeds, I bet.
+We have to know what they're planning.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html new file mode 100644 index 0000000000..862ea76844 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html @@ -0,0 +1,4 @@ +Reclous the Hermit:
+We can get their orders, if you kill Ketra Orc Scouts and Ketra Orc Priests.
+If we study these orders, we will learn their aim. Find Ketra Orders, quick. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java new file mode 100644 index 0000000000..462f2dbc0f --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java @@ -0,0 +1,253 @@ +/* + * 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.Q10852_TheMotherTreeRevivalProject; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.commons.util.CommonUtil; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * The Mother Tree Revival Project (10852) + * @URL https://l2wiki.com/The_Mother_Tree_Revival_Project + * @author Dmitri + */ +public class Q10852_TheMotherTreeRevivalProject extends Quest +{ + // NPCs + private static final int IRENE = 34233; + // Monsters + private static final int NYMPH_SENTINEL = 23578; + private static final int[] ROSE = + { + 23566, // Nymph Rose + 23567, // Nymph Rose + }; + private static final int[] LILY = + { + 23568, // Nymph Lily + 23569, // Nymph Lily + }; + private static final int[] TULIP = + { + 23570, // Nymph Tulip + 23571, // Nymph Tulip + }; + private static final int[] COSMOS = + { + 23572, // Nymph Cosmos + 23573, // Nymph Cosmos + }; + // Items + private static final int RUNE_STONE = 39738; + private static final int SPELLBOOK_PEGASUS = 47150; + // Misc + private static final int MIN_LEVEL = 102; + + public Q10852_TheMotherTreeRevivalProject() + { + super(10852); + addStartNpc(IRENE); + addTalkId(IRENE); + addKillId(COSMOS); + addKillId(TULIP); + addKillId(LILY); + addKillId(ROSE); + addKillId(NYMPH_SENTINEL); + addCondMinLevel(MIN_LEVEL, "34233-00.htm"); + addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 6, "34233-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34233-02.htm": + case "34233-03.htm": + case "34233-04.htm": + case "34233-08.html": + { + htmltext = event; + break; + } + case "34233-05.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34233-09.html": + { + if (qs.isCond(2)) + { + giveItems(player, RUNE_STONE, 1); + giveItems(player, SPELLBOOK_PEGASUS, 1); + addExpAndSp(player, 444428559000L, 444427200); + qs.exitQuest(QuestType.ONE_TIME, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + String htmltext = getNoQuestMsg(player); + final QuestState qs = getQuestState(player, true); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == IRENE) + { + htmltext = "34233-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case IRENE: + { + if (qs.isCond(1)) + { + htmltext = "34233-06.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34233-07.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + + if ((qs != null) && qs.isCond(1)) + { + int killedTulip = qs.getInt("killed_" + TULIP[0]); + int killedCosmos = qs.getInt("killed_" + COSMOS[0]); + int killedLily = qs.getInt("killed_" + LILY[0]); + int killedRose = qs.getInt("killed_" + ROSE[0]); + int killedSentinel = qs.getInt("killed_" + NYMPH_SENTINEL); + + if (CommonUtil.contains(TULIP, npc.getId())) + { + if (killedTulip < 300) + { + killedTulip++; + qs.set("killed_" + TULIP[0], killedTulip); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(COSMOS, npc.getId())) + { + if (killedCosmos < 300) + { + killedCosmos++; + qs.set("killed_" + COSMOS[0], killedCosmos); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(LILY, npc.getId())) + { + if (killedLily < 300) + { + killedLily++; + qs.set("killed_" + LILY[0], killedLily); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(ROSE, npc.getId())) + { + if (killedRose < 300) + { + killedRose++; + qs.set("killed_" + ROSE[0], killedRose); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (killedSentinel < 100) + { + qs.set("killed_" + NYMPH_SENTINEL, ++killedSentinel); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + + if ((killedTulip == 300) && (killedCosmos == 300) && (killedLily == 300) && (killedRose == 300) && (killedSentinel >= 100)) + { + qs.setCond(2, true); + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isStarted() && qs.isCond(1)) + { + final Set npcLogList = new HashSet<>(5); + npcLogList.add(new NpcLogListHolder(TULIP[0], false, qs.getInt("killed_" + TULIP[0]))); + npcLogList.add(new NpcLogListHolder(COSMOS[0], false, qs.getInt("killed_" + COSMOS[0]))); + npcLogList.add(new NpcLogListHolder(LILY[0], false, qs.getInt("killed_" + LILY[0]))); + npcLogList.add(new NpcLogListHolder(ROSE[0], false, qs.getInt("killed_" + ROSE[0]))); + npcLogList.add(new NpcLogListHolder(NYMPH_SENTINEL, false, qs.getInt("killed_" + NYMPH_SENTINEL))); + return npcLogList; + } + return super.getNpcLogList(player); + } +} 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 17a7f9d1cf..d444533b11 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 @@ -165,6 +165,8 @@ import quests.Q00648_AnIceMerchantsDream.Q00648_AnIceMerchantsDream; import quests.Q00662_AGameOfCards.Q00662_AGameOfCards; import quests.Q00663_SeductiveWhispers.Q00663_SeductiveWhispers; import quests.Q00670_DefeatingTheLordOfSeed.Q00670_DefeatingTheLordOfSeed; +import quests.Q00674_ChangesInTheShadowOfTheMotherTree.Q00674_ChangesInTheShadowOfTheMotherTree; +import quests.Q00675_WhatTheThreadOfThePastShows.Q00675_WhatTheThreadOfThePastShows; import quests.Q00688_DefeatTheElrokianRaiders.Q00688_DefeatTheElrokianRaiders; import quests.Q00726_LightWithinTheDarkness.Q00726_LightWithinTheDarkness; import quests.Q00727_HopeWithinTheDarkness.Q00727_HopeWithinTheDarkness; @@ -195,6 +197,7 @@ import quests.Q00783_VestigeOfTheMagicPower.Q00783_VestigeOfTheMagicPower; import quests.Q00787_TheRoleOfAWatcher.Q00787_TheRoleOfAWatcher; import quests.Q00790_ObtainingFerinsTrust.Q00790_ObtainingFerinsTrust; import quests.Q00792_TheSuperionGiants.Q00792_TheSuperionGiants; +import quests.Q00816_PlansToRepairTheStronghold.Q00816_PlansToRepairTheStronghold; import quests.Q00817_BlackAteliaResearch.Q00817_BlackAteliaResearch; import quests.Q00823_DisappearedRaceNewFairy.Q00823_DisappearedRaceNewFairy; import quests.Q00826_InSearchOfTheSecretWeapon.Q00826_InSearchOfTheSecretWeapon; @@ -381,6 +384,7 @@ import quests.Q10576_GlitteringWeapons.Q10576_GlitteringWeapons; import quests.Q10577_TemperARustingBlade.Q10577_TemperARustingBlade; import quests.Q10578_TheSoulOfASword.Q10578_TheSoulOfASword; import quests.Q10579_ContainingTheAttributePower.Q10579_ContainingTheAttributePower; +import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree; import quests.Q10658_MakkumInTheDimension.Q10658_MakkumInTheDimension; import quests.Q10701_TheRoadToDestruction.Q10701_TheRoadToDestruction; import quests.Q10702_TheRoadToInfinity.Q10702_TheRoadToInfinity; @@ -483,8 +487,10 @@ import quests.Q10839_BlackbirdsNameValue.Q10839_BlackbirdsNameValue; import quests.Q10840_TimeToRecover.Q10840_TimeToRecover; import quests.Q10841_DeepInsideAteliaFortress.Q10841_DeepInsideAteliaFortress; import quests.Q10843_AnomalyInTheEnchantedValley.Q10843_AnomalyInTheEnchantedValley; +import quests.Q10844_BloodyBattleSeizingSupplies.Q10844_BloodyBattleSeizingSupplies; import quests.Q10849_TrialsForAdaptation.Q10849_TrialsForAdaptation; import quests.Q10851_ElvenBotany.Q10851_ElvenBotany; +import quests.Q10852_TheMotherTreeRevivalProject.Q10852_TheMotherTreeRevivalProject; import quests.Q10856_SuperionAppears.Q10856_SuperionAppears; import quests.Q10857_SecretTeleport.Q10857_SecretTeleport; import quests.not_done.*; @@ -667,8 +673,8 @@ public class QuestMasterHandler Q00671_PathToFindingThePast.class, // TODO: Not done. Q00672_ArchenemyEmbryo.class, // TODO: Not done. Q00673_BelethAmbition.class, // TODO: Not done. - Q00674_ChangesInTheShadowOfTheMotherTree.class, // TODO: Not done. - Q00675_WhatTheThreadOfThePastShows.class, // TODO: Not done. + Q00674_ChangesInTheShadowOfTheMotherTree.class, + Q00675_WhatTheThreadOfThePastShows.class, Q00688_DefeatTheElrokianRaiders.class, Q00726_LightWithinTheDarkness.class, Q00727_HopeWithinTheDarkness.class, @@ -713,7 +719,7 @@ public class QuestMasterHandler Q00789_WaitingForPaagrio.class, // TODO: Not done. Q00790_ObtainingFerinsTrust.class, Q00792_TheSuperionGiants.class, - Q00816_PlansToRepairTheStronghold.class, // TODO: Not done. + Q00816_PlansToRepairTheStronghold.class, Q00817_BlackAteliaResearch.class, Q00823_DisappearedRaceNewFairy.class, Q00824_AttackTheCommandPost.class, // TODO: Not done. @@ -949,7 +955,7 @@ public class QuestMasterHandler Q10594_FergasonsScheme.class, // TODO: Not done. Q10595_TheDimensionalWarpPart8.class, // TODO: Not done. Q10596_TheDimensionalWarpPart9.class, // TODO: Not done. - Q10597_EscapeToTheShadowOfTheMotherTree.class, // TODO: Not done. + Q10597_EscapeToTheShadowOfTheMotherTree.class, Q10598_WithAllYourMight.class, // TODO: Not done. Q10599_ThreadOfFateHangingOnTheMotherTree.class, // TODO: Not done. Q10658_MakkumInTheDimension.class, @@ -1056,13 +1062,13 @@ public class QuestMasterHandler Q10840_TimeToRecover.class, Q10841_DeepInsideAteliaFortress.class, Q10843_AnomalyInTheEnchantedValley.class, - Q10844_BloodyBattleSeizingSupplies.class, // TODO: Not done. + Q10844_BloodyBattleSeizingSupplies.class, Q10845_BloodyBattleRescueTheSmiths.class, // TODO: Not done. Q10846_BloodyBattleMeetingTheCommander.class, // TODO: Not done. Q10848_TrialsBeforeTheBattle.class, // TODO: Not done. Q10849_TrialsForAdaptation.class, Q10851_ElvenBotany.class, - Q10852_TheMotherTreeRevivalProject.class, // TODO: Not done. + Q10852_TheMotherTreeRevivalProject.class, Q10853_ToWeakenTheGiants.class, // TODO: Not done. Q10854_ToSeizeTheFortress.class, // TODO: Not done. Q10856_SuperionAppears.class, diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00674_ChangesInTheShadowOfTheMotherTree.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00674_ChangesInTheShadowOfTheMotherTree.java deleted file mode 100644 index b6dd770ce5..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00674_ChangesInTheShadowOfTheMotherTree.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00674_ChangesInTheShadowOfTheMotherTree extends Quest -{ - private static final int START_NPC = 34415; - - public Q00674_ChangesInTheShadowOfTheMotherTree() - { - super(674); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00675_WhatTheThreadOfThePastShows.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00675_WhatTheThreadOfThePastShows.java deleted file mode 100644 index 651ad5f11e..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00675_WhatTheThreadOfThePastShows.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00675_WhatTheThreadOfThePastShows extends Quest -{ - private static final int START_NPC = 34415; - - public Q00675_WhatTheThreadOfThePastShows() - { - super(675); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java deleted file mode 100644 index e61af457f0..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00816_PlansToRepairTheStronghold extends Quest -{ - private static final int START_NPC = 34058; - - public Q00816_PlansToRepairTheStronghold() - { - super(816); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q10597_EscapeToTheShadowOfTheMotherTree.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q10597_EscapeToTheShadowOfTheMotherTree.java deleted file mode 100644 index 79d640cd0e..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q10597_EscapeToTheShadowOfTheMotherTree.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10597_EscapeToTheShadowOfTheMotherTree extends Quest -{ - private static final int START_NPC = 34411; - - public Q10597_EscapeToTheShadowOfTheMotherTree() - { - super(10597); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java deleted file mode 100644 index 8f3083c26a..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10844_BloodyBattleSeizingSupplies extends Quest -{ - private static final int START_NPC = 34057; - - public Q10844_BloodyBattleSeizingSupplies() - { - super(10844); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java deleted file mode 100644 index 54cc516da2..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10852_TheMotherTreeRevivalProject extends Quest -{ - private static final int START_NPC = 34233; - - public Q10852_TheMotherTreeRevivalProject() - { - super(10852); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} 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 8549675ceb..73e7e85a76 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 @@ -30,8 +30,6 @@ 671 Path to Finding the Past 672 Embryo the Archenemy 673 Beleth' Ambition -674 Changes in the Shadow of the Mother Tree -675 What the Thread of the Past Shows 676 Hunter Guild Request - Wasteland West 677 Hunter Guild Request - Wasteland East 678 Hunter Guild Request - Forest of the Dead @@ -109,7 +107,6 @@ 809 Hunter Guild Request - The Immortal Plateau 810 Hunter Guild Request - Isle of Souls 811 Hunter Guild Request - Cemetery -816 Plans to Repair the Stronghold 824 Attack the Command Post 825 Hunter Guild Request - Valley of Saints 832 Hunter Guild Request - Southern Region, Isle of Prayer @@ -179,18 +176,15 @@ 10594 Fergason's Scheme 10595 The Dimensional Warp, Part 8 10596 The Dimensional Warp, Part 9 -10597 Escape to the Shadow of the Mother Tree 10598 With All Your Might 10599 Thread of Fate Hanging on the Mother Tree 10726 The Minstrel's Song, Part 5 10731 The Minstrel's Song, Part 6 10748 Mysterious Suggestion - 1 10749 Mysterious Suggestion - 2 -10844 Bloody Battle - Seizing Supplies 10845 Bloody Battle - Rescue the Smiths 10846 Bloody Battle - Meeting the Commander 10848 Trials before the Battle -10852 The Mother Tree Revival Project 10853 To Weaken the Giants 10854 To Seize the Fortress 10858 Queen Ramona, Controller of the Vessel diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-09.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-09.html new file mode 100644 index 0000000000..fb60368cfb --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-09.html @@ -0,0 +1,5 @@ +Nerupa:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-10.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-10.html new file mode 100644 index 0000000000..ece80ee8f1 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-10.html @@ -0,0 +1,4 @@ +Nerupa:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-00.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-00.htm new file mode 100644 index 0000000000..65f97ae22b --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-00.htm @@ -0,0 +1,5 @@ +Ceriel:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103.) + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-01.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-01.htm new file mode 100644 index 0000000000..10a273e437 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-01.htm @@ -0,0 +1,6 @@ +Ceriel:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-02.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-02.htm new file mode 100644 index 0000000000..93e9535dde --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-02.htm @@ -0,0 +1,4 @@ +Ceriel:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-03.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-03.htm new file mode 100644 index 0000000000..da5ccd1f40 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-03.htm @@ -0,0 +1,6 @@ +Ceriel:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04.htm new file mode 100644 index 0000000000..9c1eb7714a --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04a.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04a.htm new file mode 100644 index 0000000000..723290b526 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04a.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04b.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04b.htm new file mode 100644 index 0000000000..a428e58593 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04b.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 150 Mutated Spirit's Souls. +Intermediate Mission - Collect 300 Mutated Spirit's Souls. +Advanced Mission - Collect 450 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.htm new file mode 100644 index 0000000000..834732c851 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.htm @@ -0,0 +1,3 @@ +Ceriel:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 200. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.html new file mode 100644 index 0000000000..d6df38ff2e --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.html @@ -0,0 +1,3 @@ +Ceriel:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05a.html new file mode 100644 index 0000000000..c9bfb987cd --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05a.html @@ -0,0 +1,3 @@ +Ceriel:
+Your Unworldly Visitors Faction Level Must be 7 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06.html new file mode 100644 index 0000000000..6c43bf19dd --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06a.html new file mode 100644 index 0000000000..de9445ee18 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06a.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06b.html new file mode 100644 index 0000000000..d95a18b9d0 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06b.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the advanced mission to collect 450 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07.html new file mode 100644 index 0000000000..54ecc4801f --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07a.html new file mode 100644 index 0000000000..598581c52a --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07a.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 400 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07b.html new file mode 100644 index 0000000000..ffe62065ed --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07b.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 600 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08.html new file mode 100644 index 0000000000..84be253541 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08a.html new file mode 100644 index 0000000000..9757d37cf1 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08a.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 400 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08b.html new file mode 100644 index 0000000000..edb2d13b1f --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08b.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 600 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/Q00674_ChangesInTheShadowOfTheMotherTree.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/Q00674_ChangesInTheShadowOfTheMotherTree.java new file mode 100644 index 0000000000..c6524f504c --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/Q00674_ChangesInTheShadowOfTheMotherTree.java @@ -0,0 +1,392 @@ +/* + * 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.Q00674_ChangesInTheShadowOfTheMotherTree; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; + +/** + * Changes in the Shadow of the Mother Tree (674) + * @URL https://l2wiki.com/Changes_in_the_Shadow_of_the_Mother_Tree + * @author Dmitri + */ +public class Q00674_ChangesInTheShadowOfTheMotherTree extends Quest +{ + // NPCs + private static final int CERIEL = 34415; + private static final int NERUPA = 34412; + // Monsters + private static final int[] MONSTERS = + { + 24118, // Crystal Reep + 24120, // Crystal Needle + 24122, // Treant Blossom + 24124, // Flush Teasle + 24126, // Creeper Rampike + 24139, // Reep Child + 24140, // Needle Child + 24141, // Blossom Child + 24142 // Teasle Child + }; + // Items + private static final int BASIC_SUPPLY_BOX = 48397; // Mother Tree Guardians Basic Treasure Chest: Shadow of the Mother Tree + private static final int INTERMEDIATE_SUPPLY_BOX = 48398; // Mother Tree Guardians Intermediate Treasure Chest: Shadow of the Mother Tree + private static final int ADVANCED_SUPPLY_BOX = 48399; // Mother Tree Guardians Advanced Treasure Chest: Shadow of the Mother Tree + // Misc + private static final int KILLING_NPCSTRING_ID = NpcStringId.ELIMINATE_THE_GIANT.getId(); // NpcStringId.1019709 + private static final boolean PARTY_QUEST = false; + private static final int MIN_LEVEL = 103; + + public Q00674_ChangesInTheShadowOfTheMotherTree() + { + super(674); + addStartNpc(CERIEL); + addTalkId(CERIEL, NERUPA); + addKillId(MONSTERS); + addCondMinLevel(MIN_LEVEL, "34415-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34415-02.htm": + case "34415-03.htm": + case "34415-04.htm": + case "34415-04a.htm": + case "34415-04b.htm": + case "34415-06.html": + case "34415-06a.html": + case "34415-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 6) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 7)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 7) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 6) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 7)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 7) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case "34415-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34415-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34415-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34412-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 5: + { + if (player.getLevel() >= MIN_LEVEL) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 27_191_624_760L, 27_191_610); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if (player.getLevel() >= MIN_LEVEL) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 54_383_249_520L, 54_383_220); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if (player.getLevel() >= MIN_LEVEL) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 81_574_874_280L, 81_574_830); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == CERIEL) + { + htmltext = "34415-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case CERIEL: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 6) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 7)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 7) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case 2: + { + htmltext = "34415-08.html"; + break; + } + case 3: + { + htmltext = "34415-08a.html"; + break; + } + case 4: + { + htmltext = "34415-08b.html"; + break; + } + } + break; + } + case NERUPA: + { + switch (qs.getCond()) + { + case 5: + case 6: + case 7: + { + htmltext = "34412-09.html"; + break; + } + } + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34415-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + final QuestState qs = PARTY_QUEST ? getRandomPartyMemberState(killer, -1, 3, npc) : getQuestState(killer, false); + if ((qs != null) && (qs.getCond() > 1)) + { + switch (qs.getCond()) + { + case 2: + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + qs.set("AncientGhosts", killedGhosts); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (killedGhosts >= 200) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + qs.set("AncientGhosts", killedGhosts); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (killedGhosts >= 400) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + qs.set("AncientGhosts", killedGhosts); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (killedGhosts >= 600) + { + qs.setCond(7, true); + } + break; + } + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1)) + { + final Set holder = new HashSet<>(); + holder.add(new NpcLogListHolder(KILLING_NPCSTRING_ID, true, qs.getInt("AncientGhosts"))); + return holder; + } + return super.getNpcLogList(player); + } +} \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-09.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-09.html new file mode 100644 index 0000000000..378724a305 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-09.html @@ -0,0 +1,5 @@ +Nerupa:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-10.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-10.html new file mode 100644 index 0000000000..ece80ee8f1 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-10.html @@ -0,0 +1,4 @@ +Nerupa:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-00.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-00.htm new file mode 100644 index 0000000000..65f97ae22b --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-00.htm @@ -0,0 +1,5 @@ +Ceriel:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103.) + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-01.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-01.htm new file mode 100644 index 0000000000..4da65726fc --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-01.htm @@ -0,0 +1,6 @@ +Ceriel:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-02.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-02.htm new file mode 100644 index 0000000000..cc4a6a4fea --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-02.htm @@ -0,0 +1,4 @@ +Ceriel:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-03.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-03.htm new file mode 100644 index 0000000000..a3f4dabf6f --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-03.htm @@ -0,0 +1,6 @@ +Ceriel:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04.htm new file mode 100644 index 0000000000..2b51306f2d --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 30 Mutated Spirit's Souls. +Intermediate Mission - Collect 60 Mutated Spirit's Souls. +Advanced Mission - Collect 90 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04a.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04a.htm new file mode 100644 index 0000000000..38328c1d51 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04a.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 30 Mutated Spirit's Souls. +Intermediate Mission - Collect 60 Mutated Spirit's Souls. +Advanced Mission - Collect 90 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04b.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04b.htm new file mode 100644 index 0000000000..60a812d428 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04b.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 30 Mutated Spirit's Souls. +Intermediate Mission - Collect 60 Mutated Spirit's Souls. +Advanced Mission - Collect 90 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.htm new file mode 100644 index 0000000000..25f8acb461 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.htm @@ -0,0 +1,3 @@ +Ceriel:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 30. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.html new file mode 100644 index 0000000000..8d360210c9 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.html @@ -0,0 +1,3 @@ +Ceriel:
+Your Unworldly Visitors Faction Level Must be 8 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05a.html new file mode 100644 index 0000000000..f081b7c60c --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05a.html @@ -0,0 +1,3 @@ +Ceriel:
+Your Unworldly Visitors Faction Level Must be 9 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06.html new file mode 100644 index 0000000000..e4d741d3a0 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the basic mission to collect 30 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06a.html new file mode 100644 index 0000000000..a3873db430 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06a.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the intermediate mission to collect 60 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06b.html new file mode 100644 index 0000000000..8d07d99268 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06b.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the advanced mission to collect 90 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07.html new file mode 100644 index 0000000000..c95e2d4465 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 30 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07a.html new file mode 100644 index 0000000000..3ec6f5b18f --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07a.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 60 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07b.html new file mode 100644 index 0000000000..02d0d646fc --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07b.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 90 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08.html new file mode 100644 index 0000000000..897239a385 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 30 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08a.html new file mode 100644 index 0000000000..c0382345d7 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08a.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 60 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08b.html new file mode 100644 index 0000000000..3fbb8f1518 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08b.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 90 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/Q00675_WhatTheThreadOfThePastShows.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/Q00675_WhatTheThreadOfThePastShows.java new file mode 100644 index 0000000000..75a766b465 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/Q00675_WhatTheThreadOfThePastShows.java @@ -0,0 +1,368 @@ +/* + * 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.Q00675_WhatTheThreadOfThePastShows; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * What the Thread of the Past Shows (675) + * @URL https://l2wiki.com/What_the_Thread_of_the_Past_Shows + * @author Dmitri + */ +public class Q00675_WhatTheThreadOfThePastShows extends Quest +{ + // NPCs + private static final int CERIEL = 34415; + private static final int NERUPA = 34412; + // Monsters + private static final int[] MONSTERS = + { + 24118, // Crystal Reep + 24120, // Crystal Needle + 24122, // Treant Blossom + 24124, // Flush Teasle + 24126 // Creeper Rampike + }; + // Items + private static final int NERUPA_BUD_PETAL = 48368; + private static final int BASIC_SUPPLY_BOX = 48397; // Mother Tree Guardians Basic Treasure Chest: Shadow of the Mother Tree + private static final int INTERMEDIATE_SUPPLY_BOX = 48398; // Mother Tree Guardians Intermediate Treasure Chest: Shadow of the Mother Tree + private static final int ADVANCED_SUPPLY_BOX = 48399; // Mother Tree Guardians Advanced Treasure Chest: Shadow of the Mother Tree + // Misc + private static final int MIN_LEVEL = 103; + + public Q00675_WhatTheThreadOfThePastShows() + { + super(675); + addStartNpc(CERIEL); + addTalkId(CERIEL, NERUPA); + addKillId(MONSTERS); + registerQuestItems(NERUPA_BUD_PETAL); + addCondMinLevel(MIN_LEVEL, "34415-00.htm"); + addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 4, "34415-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34415-02.htm": + case "34415-03.htm": + case "34415-04.htm": + case "34415-04a.htm": + case "34415-04b.htm": + case "34415-06.html": + case "34415-06a.html": + case "34415-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 8) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 9)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 9) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 8) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 9)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 9) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case "34415-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34415-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34415-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34412-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 5: + { + if ((getQuestItemsCount(player, NERUPA_BUD_PETAL) == 30) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + giveAdena(player, 2495659, true); + addExpAndSp(player, 27_191_624_760L, 27_191_610); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if ((getQuestItemsCount(player, NERUPA_BUD_PETAL) == 60) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + giveAdena(player, 4991318, true); + addExpAndSp(player, 54_383_249_520L, 54_383_220); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, NERUPA_BUD_PETAL) == 90) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + giveAdena(player, 7486978, true); + addExpAndSp(player, 81_574_874_280L, 81_574_830); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == CERIEL) + { + htmltext = "34415-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case CERIEL: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 8) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 9)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 9) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case 2: + { + htmltext = "34415-08.html"; + break; + } + case 3: + { + htmltext = "34415-08a.html"; + break; + } + case 4: + { + htmltext = "34415-08b.html"; + break; + } + } + break; + } + case NERUPA: + { + switch (qs.getCond()) + { + case 5: + case 6: + case 7: + { + htmltext = "34412-09.html"; + break; + } + } + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34415-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, NERUPA_BUD_PETAL, 1, 30, 1, true)) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, NERUPA_BUD_PETAL, 1, 60, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, NERUPA_BUD_PETAL, 1, 90, 1, true)) + { + qs.setCond(7, true); + } + break; + } + } + } + } +} \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm new file mode 100644 index 0000000000..2521dd2ee1 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm @@ -0,0 +1,5 @@ +Aden Vanguard Captain Adolph:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 101.) + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm new file mode 100644 index 0000000000..7d1fa864e0 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm new file mode 100644 index 0000000000..27517c7172 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm new file mode 100644 index 0000000000..a6a71958b3 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm new file mode 100644 index 0000000000..fdd2fe6017 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm new file mode 100644 index 0000000000..49451f2acf --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm new file mode 100644 index 0000000000..7fc0130fcc --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm new file mode 100644 index 0000000000..02959dfb5b --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html new file mode 100644 index 0000000000..226e9dc073 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 1 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html new file mode 100644 index 0000000000..0051dbfb9b --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 3 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html new file mode 100644 index 0000000000..421e9c42b1 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html new file mode 100644 index 0000000000..2379ab5da0 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html new file mode 100644 index 0000000000..65414529dc --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html new file mode 100644 index 0000000000..6568fc0c93 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the advanced mission to collect 600 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html new file mode 100644 index 0000000000..57d9da735d --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the Very advanced mission to collect 800 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html new file mode 100644 index 0000000000..1fb65e5348 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html new file mode 100644 index 0000000000..b00f56a880 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 400 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html new file mode 100644 index 0000000000..db352c992c --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 600 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html new file mode 100644 index 0000000000..2c1b00fea3 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 800 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html new file mode 100644 index 0000000000..01dde20f7c --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html new file mode 100644 index 0000000000..286eac191b --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 400 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html new file mode 100644 index 0000000000..35b317ab6a --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 600 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html new file mode 100644 index 0000000000..781a3a6aa4 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 800 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html new file mode 100644 index 0000000000..afb47a3395 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html @@ -0,0 +1,5 @@ +Aden Vanguard Captain Adolph:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html new file mode 100644 index 0000000000..f93e0ba749 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java new file mode 100644 index 0000000000..ce7eeca89f --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java @@ -0,0 +1,413 @@ +/* + * 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.Q00816_PlansToRepairTheStronghold; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * Plans to Repair the Stronghold (816) + * @URL https://l2wiki.com/Plans_to_Repair_the_Stronghold + * @author Dmitri + */ +public class Q00816_PlansToRepairTheStronghold extends Quest +{ + // NPCs + private static final int ADOLPH = 34058; + // Monsters + private static final int[] MONSTERS = + { + 23505, // Fortress Raider 101 + 23506, // Fortress Guardian Captain 101 + 23507, // Atelia Passionate Soldier 101 + 23508, // Atelia Elite Captain 101 + 23509, // Fortress Dark Wizard 102 + 23510, // Atelia Flame Master 102 + 23511, // Fortress Archon 102 + 23512 // Atelia High Priest 102 + }; + // Items + private static final int MATERIAL_QUEST = 46142; // Stronghold Flag Repair Supplies + private static final int BASIC_SUPPLY_BOX = 47175; + private static final int INTERMEDIATE_SUPPLY_BOX = 47176; + private static final int ADVANCED_SUPPLY_BOX = 47177; + // Misc + private static final int MIN_LEVEL = 101; + + public Q00816_PlansToRepairTheStronghold() + { + super(816); + addStartNpc(ADOLPH); + addTalkId(ADOLPH); + addKillId(MONSTERS); + registerQuestItems(MATERIAL_QUEST); + addCondMinLevel(MIN_LEVEL, "34058-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34058-02.htm": + case "34058-03.htm": + case "34058-04.htm": + case "34058-04a.htm": + case "34058-04b.htm": + case "34058-04d.htm": + case "34058-06.html": + case "34058-06a.html": + case "34058-06b.html": + case "34058-06d.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case "34058-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34058-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34058-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34058-07d.html": + { + qs.setCond(5, true); + htmltext = event; + break; + } + case "34058-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 6: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 200) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 18_155_754_360L, 18_155_700); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 400) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 36_311_508_720L, 36_311_400); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 8: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 600) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 54_467_263_080L, 54_467_100); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 9: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 800) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 50) + { + giveItems(player, BASIC_SUPPLY_BOX, 2); + } + else if (chance < 50) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 2); + } + else if (chance < 50) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 2); + } + addExpAndSp(player, 72_623_017_440L, 72_622_800); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 400); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "34058-01.htm"; + // fallthrough + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case 2: + { + htmltext = "34058-08.html"; + break; + } + case 3: + { + htmltext = "34058-08a.html"; + break; + } + case 4: + { + htmltext = "34058-08b.html"; + break; + } + case 5: + { + htmltext = "34058-08d.html"; + break; + } + case 6: + case 7: + case 8: + case 9: + { + htmltext = "34058-09.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34058-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 200, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 400, 1, true)) + { + qs.setCond(7, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 600, 1, true)) + { + qs.setCond(8, true); + } + break; + } + case 5: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 800, 1, true)) + { + qs.setCond(9, true); + } + break; + } + } + } + } +} diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-00.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-00.htm new file mode 100644 index 0000000000..5d0f95bcd3 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-00.htm @@ -0,0 +1,5 @@ +Fairy Mimyu:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103.) + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-01.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-01.htm new file mode 100644 index 0000000000..71b728c848 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-01.htm @@ -0,0 +1,4 @@ +Refugee Neti:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-02.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-02.htm new file mode 100644 index 0000000000..2893eaa1dc --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-02.htm @@ -0,0 +1,4 @@ +Refugee Neti:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-03.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-03.htm new file mode 100644 index 0000000000..d50481274e --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-03.htm @@ -0,0 +1,4 @@ +Refugee Neti:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-04.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-04.htm new file mode 100644 index 0000000000..83641f10da --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-04.htm @@ -0,0 +1,3 @@ +Refugee Neti:
+NOT DONE QUEST (@TODO need retail html).
+ \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-05.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-05.html new file mode 100644 index 0000000000..013c50410b --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-05.html @@ -0,0 +1,3 @@ +Maestro Ishuma:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-01.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-01.html new file mode 100644 index 0000000000..14b426ea44 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-01.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-02.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-02.html new file mode 100644 index 0000000000..9daab68a67 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-02.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-03.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-03.html new file mode 100644 index 0000000000..1d12ba493b --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-03.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-04.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-04.html new file mode 100644 index 0000000000..8b6804bcff --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-04.html @@ -0,0 +1,3 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-05.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-05.html new file mode 100644 index 0000000000..8b6804bcff --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-05.html @@ -0,0 +1,3 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-06.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-06.html new file mode 100644 index 0000000000..cac183c214 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-06.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-07.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-07.html new file mode 100644 index 0000000000..5a9f004f3e --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-07.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-08.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-08.html new file mode 100644 index 0000000000..8b6804bcff --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-08.html @@ -0,0 +1,3 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-09.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-09.html new file mode 100644 index 0000000000..a4f929236c --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-09.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-10.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-10.html new file mode 100644 index 0000000000..8b6804bcff --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-10.html @@ -0,0 +1,3 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/Q10597_EscapeToTheShadowOfTheMotherTree.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/Q10597_EscapeToTheShadowOfTheMotherTree.java new file mode 100644 index 0000000000..bd026227b0 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/Q10597_EscapeToTheShadowOfTheMotherTree.java @@ -0,0 +1,272 @@ +/* + * 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.Q10597_EscapeToTheShadowOfTheMotherTree; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.Config; +import org.l2jmobius.commons.util.CommonUtil; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; +import org.l2jmobius.gameserver.util.Util; + +/** + * Escape to the Shadow of the Mother Tree (10597) + * @URL https://l2wiki.com/Escape_to_the_Shadow_of_the_Mother_Tree + * @author Dmitri + */ +public class Q10597_EscapeToTheShadowOfTheMotherTree extends Quest +{ + // NPCs + private static final int ASTERIOS = 34411; + private static final int NERUPA = 34412; + // Monsters + private static final int LITHRA_APRIAS = 24127; + private static final int NERUPA_APRIAS = 24128; + private static final int[] MONSTERS = + { + 24117, // Crystal Reep + 24118, // Crystal Reep + 24119, // Crystal Needle + 24120, // Crystal Needle + 24121, // Treant Blossom + 24122, // Treant Blossom + 24123, // Flush Teasle + 24124, // Flush Teasle + 24125, // Creeper Rampike + 24126, // Creeper Rampike + 24139, // Reep Child + 24140, // Needle Child + 24141, // Blossom Child + 24142 // Teasle Child + }; + // Items + private static final int SUPPLY_BOX = 48399; // Mother Tree Guardians Advanced Treasure Chest: Shadow of the Mother Tree + // Misc + private static final int KILLING_NPCSTRING_ID = NpcStringId.ELIMINATE_THE_GIANT.getId(); // NpcStringId.1019709 + private static final int MIN_LEVEL = 103; + + public Q10597_EscapeToTheShadowOfTheMotherTree() + { + super(10597); + addStartNpc(ASTERIOS); + addTalkId(ASTERIOS, NERUPA); + addKillId(MONSTERS); + addKillId(LITHRA_APRIAS, NERUPA_APRIAS); + addCondMinLevel(MIN_LEVEL, "34411-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34411-02.htm": + case "34411-03.htm": + case "34412-02.html": + case "34412-03.html": + case "34412-07.html": + { + htmltext = event; + break; + } + case "34411-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34412-04.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34412-08.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34412-10.html": + { + if (qs.isCond(5)) + { + addExpAndSp(player, 81574874280L, 81574830); + giveItems(player, SUPPLY_BOX, 1); + qs.exitQuest(false, true); + htmltext = event; + break; + } + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == ASTERIOS) + { + htmltext = "34411-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case ASTERIOS: + { + if (qs.isCond(1)) + { + htmltext = "34411-04.htm"; + } + else if (qs.getCond() > 1) + { + htmltext = "34411-05.html"; + } + break; + } + case NERUPA: + { + if (qs.isCond(1)) + { + htmltext = "34412-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34412-05.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34412-06.html"; + } + else if (qs.isCond(4)) + { + htmltext = "34412-08.html"; + } + else if (qs.isCond(5)) + { + htmltext = "34412-09.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && Util.checkIfInRange(Config.ALT_PARTY_RANGE, npc, player, false)) + { + switch (qs.getCond()) + { + case 2: + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + if (CommonUtil.contains(MONSTERS, npc.getId())) + { + qs.set("AncientGhosts", killedGhosts); + if (killedGhosts >= 200) + { + qs.setCond(3, true); + } + else + { + playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET); + sendNpcLogList(player); + } + } + break; + } + case 4: + { + int killedCount = qs.getInt(Integer.toString(npc.getId())); + final int lithraaprias = qs.getInt(Integer.toString(LITHRA_APRIAS)); + final int nerupaaprias = qs.getInt(Integer.toString(NERUPA_APRIAS)); + qs.set(Integer.toString(npc.getId()), ++killedCount); + if ((lithraaprias == 10) && (nerupaaprias == 10)) + { + qs.setCond(5, true); + } + else + { + sendNpcLogList(player); + } + break; + } + } + } + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + executeForEachPlayer(killer, npc, isSummon, true, false); + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1)) + { + final Set npcLogList = new HashSet<>(3); + npcLogList.add(new NpcLogListHolder(KILLING_NPCSTRING_ID, true, qs.getInt("AncientGhosts"))); + // npcLogList.add(new NpcLogListHolder(NpcStringId.ELIMINATE_THE_GIANT, qs.getInt("AncientGhosts"))); // NpcStringId.1019709 + npcLogList.add(new NpcLogListHolder(LITHRA_APRIAS, false, qs.getInt(Integer.toString(LITHRA_APRIAS)))); + npcLogList.add(new NpcLogListHolder(NERUPA_APRIAS, false, qs.getInt(Integer.toString(NERUPA_APRIAS)))); + // npcLogList.add(new NpcLogListHolder(NpcStringId.DEFEAT_COMMANDER_BURNSTEIN_2, qs.getInt(Integer.toString(LITHRA_APRIAS)))); // NpcStringId.1024127 + // npcLogList.add(new NpcLogListHolder(NpcStringId.DEFEAT_COMMANDER_BURNSTEIN_2, qs.getInt(Integer.toString(NERUPA_APRIAS)))); // NpcStringId.1024128 + return npcLogList; + } + return super.getNpcLogList(player); + } +} diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm new file mode 100644 index 0000000000..ba31a19bf4 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+I do not believe our paths are meant to cross here. Perhaps later down the road.
+(This quest can only be undertaken by characters with Lv. 101 or higher whose faction level with the Kingdom's Royal Guard is 2 or higher.) + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm new file mode 100644 index 0000000000..28a85f1dd3 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+It's been a while since we've found the Atelia Fortress.
+In that time though, the fortress has become more structured, which worries me.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm new file mode 100644 index 0000000000..29e0b1383b --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+We have to make sure no issues arise here until Leona comes back from Hellbound. We aren't doing so well, though.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm new file mode 100644 index 0000000000..2ce508fc06 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+The Atelia Fortress is more structured now.
+Until recently, they didn't have the means to get supplies or train soldiers when they isolated themselves, but now they can do all that within.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm new file mode 100644 index 0000000000..5d68cbed94 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+According to the information we got from the clan members inside the fortress, they are building different facilities on each floor.
+I've asked Leona for reinforcements, but they are not doing so great either. We need people who can help us. Do you think you can do it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm new file mode 100644 index 0000000000..d2341edcb0 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Glad to hear you'll be helping us. Devianne has already infiltrated the fortress and is in contact with our clan members.
+First, go find Glenkinchie in the first stronghold. Anyone inside the fortress should be able to help you more than me. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html new file mode 100644 index 0000000000..4686ef3bc1 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Devianne has already infiltrated the fortress, but you'll need to find out where she is from the people who are inside.
+First, go find Glenkinchie in the first stronghold. Anyone inside the fortress should be able to help you more than me. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html new file mode 100644 index 0000000000..3b02642f88 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html @@ -0,0 +1,5 @@ +Blackbird Clan Member Glenkinchie:
+Elikia said someone would come find me. I guess that was you? The fortress is becoming more systemized by the way, which worries me.
+We are not ready yet, and the Embryo are already expanding their forces.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html new file mode 100644 index 0000000000..b2bec01e59 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html @@ -0,0 +1,7 @@ +Blackbird Clan Member Glenkinchie:
+I found just a while ago that the fortress is becoming more systemized.
+They've built a supply base, and I saw that they are distributing supplies to the soldiers within the fortress. I would love to go and destroy their supply base...
+Recently, I met Devianne, and she told me about the commander of the fortress.
+She said to create uproars around the fortress to stop the flow of their work inside... Do you think you can help me?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html new file mode 100644 index 0000000000..4a53c4557f --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html @@ -0,0 +1,5 @@ +Blackbird Clan Member Glenkinchie:
+It's not that difficult. You must have seen the supply boxes laying around. They started getting supplies regularly, but they are still not organized.
+Please open those supply boxes and get me the supplies. Don't just open any box though. There are some traps that could make it very dangerous.
+ Oh, and one more thing! If you defeat the Quartermasters, the soldiers will be affected, making it easier to steal their supplies. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html new file mode 100644 index 0000000000..9c5a3658b7 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+I need more supplies.
+This won't be enough. Please get me some more supplies. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html new file mode 100644 index 0000000000..e672651c94 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+Did you collect all the supplies? Oh, this is great! Things will get interesting now. Thanks.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html new file mode 100644 index 0000000000..f934d9ccf9 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+Of course. It's not perfect yet, but our strategy is to create an uproar, so that was helpful.
+In order for Devianne's plan to work, we need to continue creating uproars, so I'm sure Hurak on the 2nd floor is also making similar plans at the stronghold there. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html new file mode 100644 index 0000000000..9662254200 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html @@ -0,0 +1,6 @@ +Embryo supplies:
+This is the additional delegation member sent to the Town of Gludio.
+Unfortunately, death seemed to have reigned for a while on this body.
+The face is strangely peaceful.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html new file mode 100644 index 0000000000..67f5be960b --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html @@ -0,0 +1,4 @@ +Embryo Supply Box:
+(A supply box for Embryo soldiers within the Atelia Fortress. Should watch out for the guards.) + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java new file mode 100644 index 0000000000..ee585369d8 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java @@ -0,0 +1,196 @@ +/* + * 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.Q10844_BloodyBattleSeizingSupplies; + +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; + +/** + * Bloody Battle - Seizing Supplies (10844) + * @URL https://l2wiki.com/Bloody_Battle_-_Seizing_Supplies + * @author Dmitri + */ +public class Q10844_BloodyBattleSeizingSupplies extends Quest +{ + // NPC + private static final int ELIKIA = 34057; + private static final int GLENKINCHIE = 34063; + private static final int EMBRYO_SUPPLY_BOX = 34137; + // Monsters + private static final int FORTRESS_GUARDIAN_CAPTAIN = 23506; + private static final int FORTRESS_RAIDER = 23505; + // Items + private static final int EMBRYO_SUPPLIES = 46282; + // Misc + private static final int MIN_LEVEL = 101; + + public Q10844_BloodyBattleSeizingSupplies() + { + super(10844); + addStartNpc(ELIKIA); + addTalkId(ELIKIA, GLENKINCHIE); + addFirstTalkId(EMBRYO_SUPPLY_BOX); + registerQuestItems(EMBRYO_SUPPLIES); + addCondMinLevel(MIN_LEVEL, "34057-00.htm"); + addFactionLevel(Faction.KINGDOM_ROYAL_GUARDS, 2, "34057-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34057-04.htm": + case "34057-03.htm": + case "34057-02.htm": + case "34063-02.html": + { + htmltext = event; + break; + } + case "34057-05.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34063-03.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "open_box": + { + if (qs.isCond(2)) + { + npc.deleteMe(); + if (getRandom(10) < 5) + { + if (qs.isCond(2) && (getQuestItemsCount(qs.getPlayer(), EMBRYO_SUPPLIES) < 19)) + { + giveItems(player, EMBRYO_SUPPLIES, 1); + playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + else + { + giveItems(player, EMBRYO_SUPPLIES, 1); + qs.setCond(3, true); + } + break; + } + final Npc captain = addSpawn(FORTRESS_GUARDIAN_CAPTAIN, npc, true, 120000, false); + captain.setTitleString(NpcStringId.SUPPLY_GUARDS); + addAttackPlayerDesire(captain, player); + for (int i = 0; i < 2; i++) + { + final Npc raider = addSpawn(FORTRESS_RAIDER, npc, true, 120000, false); + raider.setTitleString(NpcStringId.SUPPLY_GUARDS); + addAttackPlayerDesire(raider, player); + } + } + break; + } + case "34063-06.html": + { + if (qs.isCond(3)) + { + addExpAndSp(player, 7262301690L, 17429400); + qs.exitQuest(false, true); + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == ELIKIA) + { + htmltext = "34057-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case ELIKIA: + { + if (qs.getCond() > 1) + { + htmltext = "34057-06.html"; + } + break; + } + case GLENKINCHIE: + { + if (qs.isCond(1)) + { + htmltext = "34063-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34063-04.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34063-05.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onFirstTalk(Npc npc, PlayerInstance player) + { + return "34137.html"; + } +} diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm new file mode 100644 index 0000000000..d217546adf --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm new file mode 100644 index 0000000000..fbb057176f --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm new file mode 100644 index 0000000000..56889996d7 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm new file mode 100644 index 0000000000..9468bc96a0 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm new file mode 100644 index 0000000000..24da32bc79 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html new file mode 100644 index 0000000000..2f11e76712 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+You are quick to understand.
+You have to participate in a siege or a dimensional siege. When you reach the Flag of Protection inside, you'll be able to obtain a Mark of Valor. Your mission is to obtain 10 of these.
+You'll be able to get more marks when you participate in a dimensional siege or in the Aden or Rune Castle Sieges. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html new file mode 100644 index 0000000000..862ea76844 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html @@ -0,0 +1,4 @@ +Reclous the Hermit:
+We can get their orders, if you kill Ketra Orc Scouts and Ketra Orc Priests.
+If we study these orders, we will learn their aim. Find Ketra Orders, quick. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html new file mode 100644 index 0000000000..1096238c72 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html @@ -0,0 +1,5 @@ +Reclous the Hermit:
+I hope that Ketra Orcs will stop trying to gather a large troop. Good job!
+It's just there is one thing that keeps nagging me. Ketra Orcs couldn't possibly show up here without any reason. They had to have something on their mind, right?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html new file mode 100644 index 0000000000..dd22f1e5eb --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html @@ -0,0 +1,5 @@ +Reclous the Hermit:
+These Orcs are much better organized than Turek tribe. They are thinking of some gruesome deeds, I bet.
+We have to know what they're planning.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html new file mode 100644 index 0000000000..862ea76844 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html @@ -0,0 +1,4 @@ +Reclous the Hermit:
+We can get their orders, if you kill Ketra Orc Scouts and Ketra Orc Priests.
+If we study these orders, we will learn their aim. Find Ketra Orders, quick. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java new file mode 100644 index 0000000000..462f2dbc0f --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java @@ -0,0 +1,253 @@ +/* + * 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.Q10852_TheMotherTreeRevivalProject; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.commons.util.CommonUtil; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * The Mother Tree Revival Project (10852) + * @URL https://l2wiki.com/The_Mother_Tree_Revival_Project + * @author Dmitri + */ +public class Q10852_TheMotherTreeRevivalProject extends Quest +{ + // NPCs + private static final int IRENE = 34233; + // Monsters + private static final int NYMPH_SENTINEL = 23578; + private static final int[] ROSE = + { + 23566, // Nymph Rose + 23567, // Nymph Rose + }; + private static final int[] LILY = + { + 23568, // Nymph Lily + 23569, // Nymph Lily + }; + private static final int[] TULIP = + { + 23570, // Nymph Tulip + 23571, // Nymph Tulip + }; + private static final int[] COSMOS = + { + 23572, // Nymph Cosmos + 23573, // Nymph Cosmos + }; + // Items + private static final int RUNE_STONE = 39738; + private static final int SPELLBOOK_PEGASUS = 47150; + // Misc + private static final int MIN_LEVEL = 102; + + public Q10852_TheMotherTreeRevivalProject() + { + super(10852); + addStartNpc(IRENE); + addTalkId(IRENE); + addKillId(COSMOS); + addKillId(TULIP); + addKillId(LILY); + addKillId(ROSE); + addKillId(NYMPH_SENTINEL); + addCondMinLevel(MIN_LEVEL, "34233-00.htm"); + addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 6, "34233-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34233-02.htm": + case "34233-03.htm": + case "34233-04.htm": + case "34233-08.html": + { + htmltext = event; + break; + } + case "34233-05.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34233-09.html": + { + if (qs.isCond(2)) + { + giveItems(player, RUNE_STONE, 1); + giveItems(player, SPELLBOOK_PEGASUS, 1); + addExpAndSp(player, 444428559000L, 444427200); + qs.exitQuest(QuestType.ONE_TIME, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + String htmltext = getNoQuestMsg(player); + final QuestState qs = getQuestState(player, true); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == IRENE) + { + htmltext = "34233-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case IRENE: + { + if (qs.isCond(1)) + { + htmltext = "34233-06.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34233-07.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + + if ((qs != null) && qs.isCond(1)) + { + int killedTulip = qs.getInt("killed_" + TULIP[0]); + int killedCosmos = qs.getInt("killed_" + COSMOS[0]); + int killedLily = qs.getInt("killed_" + LILY[0]); + int killedRose = qs.getInt("killed_" + ROSE[0]); + int killedSentinel = qs.getInt("killed_" + NYMPH_SENTINEL); + + if (CommonUtil.contains(TULIP, npc.getId())) + { + if (killedTulip < 300) + { + killedTulip++; + qs.set("killed_" + TULIP[0], killedTulip); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(COSMOS, npc.getId())) + { + if (killedCosmos < 300) + { + killedCosmos++; + qs.set("killed_" + COSMOS[0], killedCosmos); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(LILY, npc.getId())) + { + if (killedLily < 300) + { + killedLily++; + qs.set("killed_" + LILY[0], killedLily); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(ROSE, npc.getId())) + { + if (killedRose < 300) + { + killedRose++; + qs.set("killed_" + ROSE[0], killedRose); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (killedSentinel < 100) + { + qs.set("killed_" + NYMPH_SENTINEL, ++killedSentinel); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + + if ((killedTulip == 300) && (killedCosmos == 300) && (killedLily == 300) && (killedRose == 300) && (killedSentinel >= 100)) + { + qs.setCond(2, true); + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isStarted() && qs.isCond(1)) + { + final Set npcLogList = new HashSet<>(5); + npcLogList.add(new NpcLogListHolder(TULIP[0], false, qs.getInt("killed_" + TULIP[0]))); + npcLogList.add(new NpcLogListHolder(COSMOS[0], false, qs.getInt("killed_" + COSMOS[0]))); + npcLogList.add(new NpcLogListHolder(LILY[0], false, qs.getInt("killed_" + LILY[0]))); + npcLogList.add(new NpcLogListHolder(ROSE[0], false, qs.getInt("killed_" + ROSE[0]))); + npcLogList.add(new NpcLogListHolder(NYMPH_SENTINEL, false, qs.getInt("killed_" + NYMPH_SENTINEL))); + return npcLogList; + } + return super.getNpcLogList(player); + } +} 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 d47bb5cb24..4b6bf8e0f5 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 @@ -138,6 +138,8 @@ import quests.Q00648_AnIceMerchantsDream.Q00648_AnIceMerchantsDream; import quests.Q00662_AGameOfCards.Q00662_AGameOfCards; import quests.Q00663_SeductiveWhispers.Q00663_SeductiveWhispers; import quests.Q00670_DefeatingTheLordOfSeed.Q00670_DefeatingTheLordOfSeed; +import quests.Q00674_ChangesInTheShadowOfTheMotherTree.Q00674_ChangesInTheShadowOfTheMotherTree; +import quests.Q00675_WhatTheThreadOfThePastShows.Q00675_WhatTheThreadOfThePastShows; import quests.Q00726_LightWithinTheDarkness.Q00726_LightWithinTheDarkness; import quests.Q00727_HopeWithinTheDarkness.Q00727_HopeWithinTheDarkness; import quests.Q00737_ASwordHiddenInASmile.Q00737_ASwordHiddenInASmile; @@ -166,6 +168,7 @@ import quests.Q00783_VestigeOfTheMagicPower.Q00783_VestigeOfTheMagicPower; import quests.Q00787_TheRoleOfAWatcher.Q00787_TheRoleOfAWatcher; import quests.Q00790_ObtainingFerinsTrust.Q00790_ObtainingFerinsTrust; import quests.Q00792_TheSuperionGiants.Q00792_TheSuperionGiants; +import quests.Q00816_PlansToRepairTheStronghold.Q00816_PlansToRepairTheStronghold; import quests.Q00817_BlackAteliaResearch.Q00817_BlackAteliaResearch; import quests.Q00823_DisappearedRaceNewFairy.Q00823_DisappearedRaceNewFairy; import quests.Q00826_InSearchOfTheSecretWeapon.Q00826_InSearchOfTheSecretWeapon; @@ -335,6 +338,7 @@ import quests.Q10576_GlitteringWeapons.Q10576_GlitteringWeapons; import quests.Q10577_TemperARustingBlade.Q10577_TemperARustingBlade; import quests.Q10578_TheSoulOfASword.Q10578_TheSoulOfASword; import quests.Q10579_ContainingTheAttributePower.Q10579_ContainingTheAttributePower; +import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree; import quests.Q10658_MakkumInTheDimension.Q10658_MakkumInTheDimension; import quests.Q10701_TheRoadToDestruction.Q10701_TheRoadToDestruction; import quests.Q10702_TheRoadToInfinity.Q10702_TheRoadToInfinity; @@ -433,8 +437,10 @@ import quests.Q10839_BlackbirdsNameValue.Q10839_BlackbirdsNameValue; import quests.Q10840_TimeToRecover.Q10840_TimeToRecover; import quests.Q10841_DeepInsideAteliaFortress.Q10841_DeepInsideAteliaFortress; import quests.Q10843_AnomalyInTheEnchantedValley.Q10843_AnomalyInTheEnchantedValley; +import quests.Q10844_BloodyBattleSeizingSupplies.Q10844_BloodyBattleSeizingSupplies; import quests.Q10849_TrialsForAdaptation.Q10849_TrialsForAdaptation; import quests.Q10851_ElvenBotany.Q10851_ElvenBotany; +import quests.Q10852_TheMotherTreeRevivalProject.Q10852_TheMotherTreeRevivalProject; import quests.Q10856_SuperionAppears.Q10856_SuperionAppears; import quests.Q10857_SecretTeleport.Q10857_SecretTeleport; import quests.Q10891_AtANewPlace.Q10891_AtANewPlace; @@ -600,8 +606,8 @@ public class QuestMasterHandler Q00671_PathToFindingThePast.class, // TODO: Not done. Q00672_ArchenemyEmbryo.class, // TODO: Not done. Q00673_BelethAmbition.class, // TODO: Not done. - Q00674_ChangesInTheShadowOfTheMotherTree.class, // TODO: Not done. - Q00675_WhatTheThreadOfThePastShows.class, // TODO: Not done. + Q00674_ChangesInTheShadowOfTheMotherTree.class, + Q00675_WhatTheThreadOfThePastShows.class, Q00726_LightWithinTheDarkness.class, Q00727_HopeWithinTheDarkness.class, Q00737_ASwordHiddenInASmile.class, @@ -643,7 +649,7 @@ public class QuestMasterHandler Q00789_WaitingForPaagrio.class, // TODO: Not done. Q00790_ObtainingFerinsTrust.class, Q00792_TheSuperionGiants.class, - Q00816_PlansToRepairTheStronghold.class, // TODO: Not done. + Q00816_PlansToRepairTheStronghold.class, Q00817_BlackAteliaResearch.class, Q00823_DisappearedRaceNewFairy.class, Q00824_AttackTheCommandPost.class, // TODO: Not done. @@ -863,7 +869,7 @@ public class QuestMasterHandler Q10594_FergasonsScheme.class, // TODO: Not done. Q10595_TheDimensionalWarpPart8.class, // TODO: Not done. Q10596_TheDimensionalWarpPart9.class, // TODO: Not done. - Q10597_EscapeToTheShadowOfTheMotherTree.class, // TODO: Not done. + Q10597_EscapeToTheShadowOfTheMotherTree.class, Q10598_WithAllYourMight.class, // TODO: Not done. Q10599_ThreadOfFateHangingOnTheMotherTree.class, // TODO: Not done. Q10658_MakkumInTheDimension.class, @@ -966,13 +972,13 @@ public class QuestMasterHandler Q10840_TimeToRecover.class, Q10841_DeepInsideAteliaFortress.class, Q10843_AnomalyInTheEnchantedValley.class, - Q10844_BloodyBattleSeizingSupplies.class, // TODO: Not done. + Q10844_BloodyBattleSeizingSupplies.class, Q10845_BloodyBattleRescueTheSmiths.class, // TODO: Not done. Q10846_BloodyBattleMeetingTheCommander.class, // TODO: Not done. Q10848_TrialsBeforeTheBattle.class, // TODO: Not done. Q10849_TrialsForAdaptation.class, Q10851_ElvenBotany.class, - Q10852_TheMotherTreeRevivalProject.class, // TODO: Not done. + Q10852_TheMotherTreeRevivalProject.class, Q10853_ToWeakenTheGiants.class, // TODO: Not done. Q10854_ToSeizeTheFortress.class, // TODO: Not done. Q10856_SuperionAppears.class, diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00674_ChangesInTheShadowOfTheMotherTree.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00674_ChangesInTheShadowOfTheMotherTree.java deleted file mode 100644 index b6dd770ce5..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00674_ChangesInTheShadowOfTheMotherTree.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00674_ChangesInTheShadowOfTheMotherTree extends Quest -{ - private static final int START_NPC = 34415; - - public Q00674_ChangesInTheShadowOfTheMotherTree() - { - super(674); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00675_WhatTheThreadOfThePastShows.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00675_WhatTheThreadOfThePastShows.java deleted file mode 100644 index 651ad5f11e..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00675_WhatTheThreadOfThePastShows.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00675_WhatTheThreadOfThePastShows extends Quest -{ - private static final int START_NPC = 34415; - - public Q00675_WhatTheThreadOfThePastShows() - { - super(675); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java deleted file mode 100644 index e61af457f0..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00816_PlansToRepairTheStronghold extends Quest -{ - private static final int START_NPC = 34058; - - public Q00816_PlansToRepairTheStronghold() - { - super(816); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q10597_EscapeToTheShadowOfTheMotherTree.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q10597_EscapeToTheShadowOfTheMotherTree.java deleted file mode 100644 index 79d640cd0e..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q10597_EscapeToTheShadowOfTheMotherTree.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10597_EscapeToTheShadowOfTheMotherTree extends Quest -{ - private static final int START_NPC = 34411; - - public Q10597_EscapeToTheShadowOfTheMotherTree() - { - super(10597); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java deleted file mode 100644 index 8f3083c26a..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10844_BloodyBattleSeizingSupplies extends Quest -{ - private static final int START_NPC = 34057; - - public Q10844_BloodyBattleSeizingSupplies() - { - super(10844); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java deleted file mode 100644 index 54cc516da2..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10852_TheMotherTreeRevivalProject extends Quest -{ - private static final int START_NPC = 34233; - - public Q10852_TheMotherTreeRevivalProject() - { - super(10852); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} 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 8f7a50a1ae..08d90cd351 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 @@ -38,8 +38,6 @@ 671 Path to Finding the Past 672 Embryo the Archenemy 673 Beleth' Ambition -674 Changes in the Shadow of the Mother Tree -675 What the Thread of the Past Shows 676 Hunter Guild Request - Wasteland West 677 Hunter Guild Request - Wasteland East 678 Hunter Guild Request - Forest of the Dead @@ -118,7 +116,6 @@ 809 Hunter Guild Request - The Immortal Plateau 810 Hunter Guild Request - Isle of Souls 811 Hunter Guild Request - Cemetery -816 Plans to Repair the Stronghold 824 Attack the Command Post 825 Hunter Guild Request - Valley of Saints 832 Hunter Guild Request - Southern Region, Isle of Prayer @@ -187,18 +184,15 @@ 10594 Fergason's Scheme 10595 The Dimensional Warp, Part 8 10596 The Dimensional Warp, Part 9 -10597 Escape to the Shadow of the Mother Tree 10598 With All Your Might 10599 Thread of Fate Hanging on the Mother Tree 10726 The Minstrel's Song, Part 5 10731 The Minstrel's Song, Part 6 10748 Mysterious Suggestion - 1 10749 Mysterious Suggestion - 2 -10844 Bloody Battle - Seizing Supplies 10845 Bloody Battle - Rescue the Smiths 10846 Bloody Battle - Meeting the Commander 10848 Trials before the Battle -10852 The Mother Tree Revival Project 10853 To Weaken the Giants 10854 To Seize the Fortress 10858 Queen Ramona, Controller of the Vessel diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-09.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-09.html new file mode 100644 index 0000000000..fb60368cfb --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-09.html @@ -0,0 +1,5 @@ +Nerupa:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-10.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-10.html new file mode 100644 index 0000000000..ece80ee8f1 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-10.html @@ -0,0 +1,4 @@ +Nerupa:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-00.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-00.htm new file mode 100644 index 0000000000..65f97ae22b --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-00.htm @@ -0,0 +1,5 @@ +Ceriel:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103.) + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-01.htm new file mode 100644 index 0000000000..10a273e437 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-01.htm @@ -0,0 +1,6 @@ +Ceriel:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-02.htm new file mode 100644 index 0000000000..93e9535dde --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-02.htm @@ -0,0 +1,4 @@ +Ceriel:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-03.htm new file mode 100644 index 0000000000..da5ccd1f40 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-03.htm @@ -0,0 +1,6 @@ +Ceriel:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04.htm new file mode 100644 index 0000000000..9c1eb7714a --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04a.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04a.htm new file mode 100644 index 0000000000..723290b526 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04a.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04b.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04b.htm new file mode 100644 index 0000000000..a428e58593 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04b.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 150 Mutated Spirit's Souls. +Intermediate Mission - Collect 300 Mutated Spirit's Souls. +Advanced Mission - Collect 450 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.htm new file mode 100644 index 0000000000..834732c851 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.htm @@ -0,0 +1,3 @@ +Ceriel:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 200. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.html new file mode 100644 index 0000000000..d6df38ff2e --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.html @@ -0,0 +1,3 @@ +Ceriel:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05a.html new file mode 100644 index 0000000000..c9bfb987cd --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05a.html @@ -0,0 +1,3 @@ +Ceriel:
+Your Unworldly Visitors Faction Level Must be 7 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06.html new file mode 100644 index 0000000000..6c43bf19dd --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06a.html new file mode 100644 index 0000000000..de9445ee18 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06a.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06b.html new file mode 100644 index 0000000000..d95a18b9d0 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06b.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the advanced mission to collect 450 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07.html new file mode 100644 index 0000000000..54ecc4801f --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07a.html new file mode 100644 index 0000000000..598581c52a --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07a.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 400 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07b.html new file mode 100644 index 0000000000..ffe62065ed --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07b.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 600 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08.html new file mode 100644 index 0000000000..84be253541 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08a.html new file mode 100644 index 0000000000..9757d37cf1 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08a.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 400 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08b.html new file mode 100644 index 0000000000..edb2d13b1f --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08b.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 600 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/Q00674_ChangesInTheShadowOfTheMotherTree.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/Q00674_ChangesInTheShadowOfTheMotherTree.java new file mode 100644 index 0000000000..c6524f504c --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/Q00674_ChangesInTheShadowOfTheMotherTree.java @@ -0,0 +1,392 @@ +/* + * 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.Q00674_ChangesInTheShadowOfTheMotherTree; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; + +/** + * Changes in the Shadow of the Mother Tree (674) + * @URL https://l2wiki.com/Changes_in_the_Shadow_of_the_Mother_Tree + * @author Dmitri + */ +public class Q00674_ChangesInTheShadowOfTheMotherTree extends Quest +{ + // NPCs + private static final int CERIEL = 34415; + private static final int NERUPA = 34412; + // Monsters + private static final int[] MONSTERS = + { + 24118, // Crystal Reep + 24120, // Crystal Needle + 24122, // Treant Blossom + 24124, // Flush Teasle + 24126, // Creeper Rampike + 24139, // Reep Child + 24140, // Needle Child + 24141, // Blossom Child + 24142 // Teasle Child + }; + // Items + private static final int BASIC_SUPPLY_BOX = 48397; // Mother Tree Guardians Basic Treasure Chest: Shadow of the Mother Tree + private static final int INTERMEDIATE_SUPPLY_BOX = 48398; // Mother Tree Guardians Intermediate Treasure Chest: Shadow of the Mother Tree + private static final int ADVANCED_SUPPLY_BOX = 48399; // Mother Tree Guardians Advanced Treasure Chest: Shadow of the Mother Tree + // Misc + private static final int KILLING_NPCSTRING_ID = NpcStringId.ELIMINATE_THE_GIANT.getId(); // NpcStringId.1019709 + private static final boolean PARTY_QUEST = false; + private static final int MIN_LEVEL = 103; + + public Q00674_ChangesInTheShadowOfTheMotherTree() + { + super(674); + addStartNpc(CERIEL); + addTalkId(CERIEL, NERUPA); + addKillId(MONSTERS); + addCondMinLevel(MIN_LEVEL, "34415-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34415-02.htm": + case "34415-03.htm": + case "34415-04.htm": + case "34415-04a.htm": + case "34415-04b.htm": + case "34415-06.html": + case "34415-06a.html": + case "34415-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 6) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 7)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 7) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 6) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 7)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 7) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case "34415-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34415-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34415-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34412-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 5: + { + if (player.getLevel() >= MIN_LEVEL) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 27_191_624_760L, 27_191_610); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if (player.getLevel() >= MIN_LEVEL) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 54_383_249_520L, 54_383_220); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if (player.getLevel() >= MIN_LEVEL) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 81_574_874_280L, 81_574_830); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == CERIEL) + { + htmltext = "34415-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case CERIEL: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 6) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 7)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 7) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case 2: + { + htmltext = "34415-08.html"; + break; + } + case 3: + { + htmltext = "34415-08a.html"; + break; + } + case 4: + { + htmltext = "34415-08b.html"; + break; + } + } + break; + } + case NERUPA: + { + switch (qs.getCond()) + { + case 5: + case 6: + case 7: + { + htmltext = "34412-09.html"; + break; + } + } + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34415-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + final QuestState qs = PARTY_QUEST ? getRandomPartyMemberState(killer, -1, 3, npc) : getQuestState(killer, false); + if ((qs != null) && (qs.getCond() > 1)) + { + switch (qs.getCond()) + { + case 2: + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + qs.set("AncientGhosts", killedGhosts); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (killedGhosts >= 200) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + qs.set("AncientGhosts", killedGhosts); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (killedGhosts >= 400) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + qs.set("AncientGhosts", killedGhosts); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (killedGhosts >= 600) + { + qs.setCond(7, true); + } + break; + } + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1)) + { + final Set holder = new HashSet<>(); + holder.add(new NpcLogListHolder(KILLING_NPCSTRING_ID, true, qs.getInt("AncientGhosts"))); + return holder; + } + return super.getNpcLogList(player); + } +} \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-09.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-09.html new file mode 100644 index 0000000000..378724a305 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-09.html @@ -0,0 +1,5 @@ +Nerupa:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-10.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-10.html new file mode 100644 index 0000000000..ece80ee8f1 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-10.html @@ -0,0 +1,4 @@ +Nerupa:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-00.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-00.htm new file mode 100644 index 0000000000..65f97ae22b --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-00.htm @@ -0,0 +1,5 @@ +Ceriel:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103.) + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-01.htm new file mode 100644 index 0000000000..4da65726fc --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-01.htm @@ -0,0 +1,6 @@ +Ceriel:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-02.htm new file mode 100644 index 0000000000..cc4a6a4fea --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-02.htm @@ -0,0 +1,4 @@ +Ceriel:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-03.htm new file mode 100644 index 0000000000..a3f4dabf6f --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-03.htm @@ -0,0 +1,6 @@ +Ceriel:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04.htm new file mode 100644 index 0000000000..2b51306f2d --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 30 Mutated Spirit's Souls. +Intermediate Mission - Collect 60 Mutated Spirit's Souls. +Advanced Mission - Collect 90 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04a.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04a.htm new file mode 100644 index 0000000000..38328c1d51 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04a.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 30 Mutated Spirit's Souls. +Intermediate Mission - Collect 60 Mutated Spirit's Souls. +Advanced Mission - Collect 90 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04b.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04b.htm new file mode 100644 index 0000000000..60a812d428 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04b.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 30 Mutated Spirit's Souls. +Intermediate Mission - Collect 60 Mutated Spirit's Souls. +Advanced Mission - Collect 90 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.htm new file mode 100644 index 0000000000..25f8acb461 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.htm @@ -0,0 +1,3 @@ +Ceriel:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 30. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.html new file mode 100644 index 0000000000..8d360210c9 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.html @@ -0,0 +1,3 @@ +Ceriel:
+Your Unworldly Visitors Faction Level Must be 8 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05a.html new file mode 100644 index 0000000000..f081b7c60c --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05a.html @@ -0,0 +1,3 @@ +Ceriel:
+Your Unworldly Visitors Faction Level Must be 9 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06.html new file mode 100644 index 0000000000..e4d741d3a0 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the basic mission to collect 30 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06a.html new file mode 100644 index 0000000000..a3873db430 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06a.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the intermediate mission to collect 60 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06b.html new file mode 100644 index 0000000000..8d07d99268 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06b.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the advanced mission to collect 90 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07.html new file mode 100644 index 0000000000..c95e2d4465 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 30 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07a.html new file mode 100644 index 0000000000..3ec6f5b18f --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07a.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 60 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07b.html new file mode 100644 index 0000000000..02d0d646fc --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07b.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 90 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08.html new file mode 100644 index 0000000000..897239a385 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 30 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08a.html new file mode 100644 index 0000000000..c0382345d7 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08a.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 60 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08b.html new file mode 100644 index 0000000000..3fbb8f1518 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08b.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 90 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/Q00675_WhatTheThreadOfThePastShows.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/Q00675_WhatTheThreadOfThePastShows.java new file mode 100644 index 0000000000..75a766b465 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/Q00675_WhatTheThreadOfThePastShows.java @@ -0,0 +1,368 @@ +/* + * 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.Q00675_WhatTheThreadOfThePastShows; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * What the Thread of the Past Shows (675) + * @URL https://l2wiki.com/What_the_Thread_of_the_Past_Shows + * @author Dmitri + */ +public class Q00675_WhatTheThreadOfThePastShows extends Quest +{ + // NPCs + private static final int CERIEL = 34415; + private static final int NERUPA = 34412; + // Monsters + private static final int[] MONSTERS = + { + 24118, // Crystal Reep + 24120, // Crystal Needle + 24122, // Treant Blossom + 24124, // Flush Teasle + 24126 // Creeper Rampike + }; + // Items + private static final int NERUPA_BUD_PETAL = 48368; + private static final int BASIC_SUPPLY_BOX = 48397; // Mother Tree Guardians Basic Treasure Chest: Shadow of the Mother Tree + private static final int INTERMEDIATE_SUPPLY_BOX = 48398; // Mother Tree Guardians Intermediate Treasure Chest: Shadow of the Mother Tree + private static final int ADVANCED_SUPPLY_BOX = 48399; // Mother Tree Guardians Advanced Treasure Chest: Shadow of the Mother Tree + // Misc + private static final int MIN_LEVEL = 103; + + public Q00675_WhatTheThreadOfThePastShows() + { + super(675); + addStartNpc(CERIEL); + addTalkId(CERIEL, NERUPA); + addKillId(MONSTERS); + registerQuestItems(NERUPA_BUD_PETAL); + addCondMinLevel(MIN_LEVEL, "34415-00.htm"); + addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 4, "34415-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34415-02.htm": + case "34415-03.htm": + case "34415-04.htm": + case "34415-04a.htm": + case "34415-04b.htm": + case "34415-06.html": + case "34415-06a.html": + case "34415-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 8) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 9)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 9) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 8) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 9)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 9) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case "34415-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34415-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34415-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34412-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 5: + { + if ((getQuestItemsCount(player, NERUPA_BUD_PETAL) == 30) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + giveAdena(player, 2495659, true); + addExpAndSp(player, 27_191_624_760L, 27_191_610); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if ((getQuestItemsCount(player, NERUPA_BUD_PETAL) == 60) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + giveAdena(player, 4991318, true); + addExpAndSp(player, 54_383_249_520L, 54_383_220); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, NERUPA_BUD_PETAL) == 90) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + giveAdena(player, 7486978, true); + addExpAndSp(player, 81_574_874_280L, 81_574_830); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == CERIEL) + { + htmltext = "34415-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case CERIEL: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 8) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 9)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 9) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case 2: + { + htmltext = "34415-08.html"; + break; + } + case 3: + { + htmltext = "34415-08a.html"; + break; + } + case 4: + { + htmltext = "34415-08b.html"; + break; + } + } + break; + } + case NERUPA: + { + switch (qs.getCond()) + { + case 5: + case 6: + case 7: + { + htmltext = "34412-09.html"; + break; + } + } + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34415-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, NERUPA_BUD_PETAL, 1, 30, 1, true)) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, NERUPA_BUD_PETAL, 1, 60, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, NERUPA_BUD_PETAL, 1, 90, 1, true)) + { + qs.setCond(7, true); + } + break; + } + } + } + } +} \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm new file mode 100644 index 0000000000..2521dd2ee1 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm @@ -0,0 +1,5 @@ +Aden Vanguard Captain Adolph:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 101.) + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm new file mode 100644 index 0000000000..7d1fa864e0 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm new file mode 100644 index 0000000000..27517c7172 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm new file mode 100644 index 0000000000..a6a71958b3 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm new file mode 100644 index 0000000000..fdd2fe6017 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm new file mode 100644 index 0000000000..49451f2acf --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm new file mode 100644 index 0000000000..7fc0130fcc --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm new file mode 100644 index 0000000000..02959dfb5b --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html new file mode 100644 index 0000000000..226e9dc073 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 1 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html new file mode 100644 index 0000000000..0051dbfb9b --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 3 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html new file mode 100644 index 0000000000..421e9c42b1 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html new file mode 100644 index 0000000000..2379ab5da0 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html new file mode 100644 index 0000000000..65414529dc --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html new file mode 100644 index 0000000000..6568fc0c93 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the advanced mission to collect 600 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html new file mode 100644 index 0000000000..57d9da735d --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the Very advanced mission to collect 800 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html new file mode 100644 index 0000000000..1fb65e5348 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html new file mode 100644 index 0000000000..b00f56a880 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 400 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html new file mode 100644 index 0000000000..db352c992c --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 600 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html new file mode 100644 index 0000000000..2c1b00fea3 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 800 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html new file mode 100644 index 0000000000..01dde20f7c --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html new file mode 100644 index 0000000000..286eac191b --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 400 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html new file mode 100644 index 0000000000..35b317ab6a --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 600 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html new file mode 100644 index 0000000000..781a3a6aa4 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 800 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html new file mode 100644 index 0000000000..afb47a3395 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html @@ -0,0 +1,5 @@ +Aden Vanguard Captain Adolph:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html new file mode 100644 index 0000000000..f93e0ba749 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java new file mode 100644 index 0000000000..ce7eeca89f --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java @@ -0,0 +1,413 @@ +/* + * 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.Q00816_PlansToRepairTheStronghold; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * Plans to Repair the Stronghold (816) + * @URL https://l2wiki.com/Plans_to_Repair_the_Stronghold + * @author Dmitri + */ +public class Q00816_PlansToRepairTheStronghold extends Quest +{ + // NPCs + private static final int ADOLPH = 34058; + // Monsters + private static final int[] MONSTERS = + { + 23505, // Fortress Raider 101 + 23506, // Fortress Guardian Captain 101 + 23507, // Atelia Passionate Soldier 101 + 23508, // Atelia Elite Captain 101 + 23509, // Fortress Dark Wizard 102 + 23510, // Atelia Flame Master 102 + 23511, // Fortress Archon 102 + 23512 // Atelia High Priest 102 + }; + // Items + private static final int MATERIAL_QUEST = 46142; // Stronghold Flag Repair Supplies + private static final int BASIC_SUPPLY_BOX = 47175; + private static final int INTERMEDIATE_SUPPLY_BOX = 47176; + private static final int ADVANCED_SUPPLY_BOX = 47177; + // Misc + private static final int MIN_LEVEL = 101; + + public Q00816_PlansToRepairTheStronghold() + { + super(816); + addStartNpc(ADOLPH); + addTalkId(ADOLPH); + addKillId(MONSTERS); + registerQuestItems(MATERIAL_QUEST); + addCondMinLevel(MIN_LEVEL, "34058-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34058-02.htm": + case "34058-03.htm": + case "34058-04.htm": + case "34058-04a.htm": + case "34058-04b.htm": + case "34058-04d.htm": + case "34058-06.html": + case "34058-06a.html": + case "34058-06b.html": + case "34058-06d.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case "34058-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34058-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34058-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34058-07d.html": + { + qs.setCond(5, true); + htmltext = event; + break; + } + case "34058-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 6: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 200) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 18_155_754_360L, 18_155_700); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 400) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 36_311_508_720L, 36_311_400); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 8: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 600) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 54_467_263_080L, 54_467_100); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 9: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 800) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 50) + { + giveItems(player, BASIC_SUPPLY_BOX, 2); + } + else if (chance < 50) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 2); + } + else if (chance < 50) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 2); + } + addExpAndSp(player, 72_623_017_440L, 72_622_800); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 400); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "34058-01.htm"; + // fallthrough + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case 2: + { + htmltext = "34058-08.html"; + break; + } + case 3: + { + htmltext = "34058-08a.html"; + break; + } + case 4: + { + htmltext = "34058-08b.html"; + break; + } + case 5: + { + htmltext = "34058-08d.html"; + break; + } + case 6: + case 7: + case 8: + case 9: + { + htmltext = "34058-09.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34058-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 200, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 400, 1, true)) + { + qs.setCond(7, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 600, 1, true)) + { + qs.setCond(8, true); + } + break; + } + case 5: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 800, 1, true)) + { + qs.setCond(9, true); + } + break; + } + } + } + } +} diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-00.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-00.htm new file mode 100644 index 0000000000..5d0f95bcd3 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-00.htm @@ -0,0 +1,5 @@ +Fairy Mimyu:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103.) + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-01.htm new file mode 100644 index 0000000000..71b728c848 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-01.htm @@ -0,0 +1,4 @@ +Refugee Neti:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-02.htm new file mode 100644 index 0000000000..2893eaa1dc --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-02.htm @@ -0,0 +1,4 @@ +Refugee Neti:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-03.htm new file mode 100644 index 0000000000..d50481274e --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-03.htm @@ -0,0 +1,4 @@ +Refugee Neti:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-04.htm new file mode 100644 index 0000000000..83641f10da --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-04.htm @@ -0,0 +1,3 @@ +Refugee Neti:
+NOT DONE QUEST (@TODO need retail html).
+ \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-05.html new file mode 100644 index 0000000000..013c50410b --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-05.html @@ -0,0 +1,3 @@ +Maestro Ishuma:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-01.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-01.html new file mode 100644 index 0000000000..14b426ea44 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-01.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-02.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-02.html new file mode 100644 index 0000000000..9daab68a67 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-02.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-03.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-03.html new file mode 100644 index 0000000000..1d12ba493b --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-03.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-04.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-04.html new file mode 100644 index 0000000000..8b6804bcff --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-04.html @@ -0,0 +1,3 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-05.html new file mode 100644 index 0000000000..8b6804bcff --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-05.html @@ -0,0 +1,3 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-06.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-06.html new file mode 100644 index 0000000000..cac183c214 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-06.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-07.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-07.html new file mode 100644 index 0000000000..5a9f004f3e --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-07.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-08.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-08.html new file mode 100644 index 0000000000..8b6804bcff --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-08.html @@ -0,0 +1,3 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-09.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-09.html new file mode 100644 index 0000000000..a4f929236c --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-09.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-10.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-10.html new file mode 100644 index 0000000000..8b6804bcff --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-10.html @@ -0,0 +1,3 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/Q10597_EscapeToTheShadowOfTheMotherTree.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/Q10597_EscapeToTheShadowOfTheMotherTree.java new file mode 100644 index 0000000000..bd026227b0 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/Q10597_EscapeToTheShadowOfTheMotherTree.java @@ -0,0 +1,272 @@ +/* + * 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.Q10597_EscapeToTheShadowOfTheMotherTree; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.Config; +import org.l2jmobius.commons.util.CommonUtil; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; +import org.l2jmobius.gameserver.util.Util; + +/** + * Escape to the Shadow of the Mother Tree (10597) + * @URL https://l2wiki.com/Escape_to_the_Shadow_of_the_Mother_Tree + * @author Dmitri + */ +public class Q10597_EscapeToTheShadowOfTheMotherTree extends Quest +{ + // NPCs + private static final int ASTERIOS = 34411; + private static final int NERUPA = 34412; + // Monsters + private static final int LITHRA_APRIAS = 24127; + private static final int NERUPA_APRIAS = 24128; + private static final int[] MONSTERS = + { + 24117, // Crystal Reep + 24118, // Crystal Reep + 24119, // Crystal Needle + 24120, // Crystal Needle + 24121, // Treant Blossom + 24122, // Treant Blossom + 24123, // Flush Teasle + 24124, // Flush Teasle + 24125, // Creeper Rampike + 24126, // Creeper Rampike + 24139, // Reep Child + 24140, // Needle Child + 24141, // Blossom Child + 24142 // Teasle Child + }; + // Items + private static final int SUPPLY_BOX = 48399; // Mother Tree Guardians Advanced Treasure Chest: Shadow of the Mother Tree + // Misc + private static final int KILLING_NPCSTRING_ID = NpcStringId.ELIMINATE_THE_GIANT.getId(); // NpcStringId.1019709 + private static final int MIN_LEVEL = 103; + + public Q10597_EscapeToTheShadowOfTheMotherTree() + { + super(10597); + addStartNpc(ASTERIOS); + addTalkId(ASTERIOS, NERUPA); + addKillId(MONSTERS); + addKillId(LITHRA_APRIAS, NERUPA_APRIAS); + addCondMinLevel(MIN_LEVEL, "34411-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34411-02.htm": + case "34411-03.htm": + case "34412-02.html": + case "34412-03.html": + case "34412-07.html": + { + htmltext = event; + break; + } + case "34411-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34412-04.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34412-08.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34412-10.html": + { + if (qs.isCond(5)) + { + addExpAndSp(player, 81574874280L, 81574830); + giveItems(player, SUPPLY_BOX, 1); + qs.exitQuest(false, true); + htmltext = event; + break; + } + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == ASTERIOS) + { + htmltext = "34411-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case ASTERIOS: + { + if (qs.isCond(1)) + { + htmltext = "34411-04.htm"; + } + else if (qs.getCond() > 1) + { + htmltext = "34411-05.html"; + } + break; + } + case NERUPA: + { + if (qs.isCond(1)) + { + htmltext = "34412-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34412-05.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34412-06.html"; + } + else if (qs.isCond(4)) + { + htmltext = "34412-08.html"; + } + else if (qs.isCond(5)) + { + htmltext = "34412-09.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && Util.checkIfInRange(Config.ALT_PARTY_RANGE, npc, player, false)) + { + switch (qs.getCond()) + { + case 2: + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + if (CommonUtil.contains(MONSTERS, npc.getId())) + { + qs.set("AncientGhosts", killedGhosts); + if (killedGhosts >= 200) + { + qs.setCond(3, true); + } + else + { + playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET); + sendNpcLogList(player); + } + } + break; + } + case 4: + { + int killedCount = qs.getInt(Integer.toString(npc.getId())); + final int lithraaprias = qs.getInt(Integer.toString(LITHRA_APRIAS)); + final int nerupaaprias = qs.getInt(Integer.toString(NERUPA_APRIAS)); + qs.set(Integer.toString(npc.getId()), ++killedCount); + if ((lithraaprias == 10) && (nerupaaprias == 10)) + { + qs.setCond(5, true); + } + else + { + sendNpcLogList(player); + } + break; + } + } + } + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + executeForEachPlayer(killer, npc, isSummon, true, false); + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1)) + { + final Set npcLogList = new HashSet<>(3); + npcLogList.add(new NpcLogListHolder(KILLING_NPCSTRING_ID, true, qs.getInt("AncientGhosts"))); + // npcLogList.add(new NpcLogListHolder(NpcStringId.ELIMINATE_THE_GIANT, qs.getInt("AncientGhosts"))); // NpcStringId.1019709 + npcLogList.add(new NpcLogListHolder(LITHRA_APRIAS, false, qs.getInt(Integer.toString(LITHRA_APRIAS)))); + npcLogList.add(new NpcLogListHolder(NERUPA_APRIAS, false, qs.getInt(Integer.toString(NERUPA_APRIAS)))); + // npcLogList.add(new NpcLogListHolder(NpcStringId.DEFEAT_COMMANDER_BURNSTEIN_2, qs.getInt(Integer.toString(LITHRA_APRIAS)))); // NpcStringId.1024127 + // npcLogList.add(new NpcLogListHolder(NpcStringId.DEFEAT_COMMANDER_BURNSTEIN_2, qs.getInt(Integer.toString(NERUPA_APRIAS)))); // NpcStringId.1024128 + return npcLogList; + } + return super.getNpcLogList(player); + } +} diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm new file mode 100644 index 0000000000..ba31a19bf4 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+I do not believe our paths are meant to cross here. Perhaps later down the road.
+(This quest can only be undertaken by characters with Lv. 101 or higher whose faction level with the Kingdom's Royal Guard is 2 or higher.) + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm new file mode 100644 index 0000000000..28a85f1dd3 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+It's been a while since we've found the Atelia Fortress.
+In that time though, the fortress has become more structured, which worries me.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm new file mode 100644 index 0000000000..29e0b1383b --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+We have to make sure no issues arise here until Leona comes back from Hellbound. We aren't doing so well, though.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm new file mode 100644 index 0000000000..2ce508fc06 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+The Atelia Fortress is more structured now.
+Until recently, they didn't have the means to get supplies or train soldiers when they isolated themselves, but now they can do all that within.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm new file mode 100644 index 0000000000..5d68cbed94 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+According to the information we got from the clan members inside the fortress, they are building different facilities on each floor.
+I've asked Leona for reinforcements, but they are not doing so great either. We need people who can help us. Do you think you can do it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm new file mode 100644 index 0000000000..d2341edcb0 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Glad to hear you'll be helping us. Devianne has already infiltrated the fortress and is in contact with our clan members.
+First, go find Glenkinchie in the first stronghold. Anyone inside the fortress should be able to help you more than me. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html new file mode 100644 index 0000000000..4686ef3bc1 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Devianne has already infiltrated the fortress, but you'll need to find out where she is from the people who are inside.
+First, go find Glenkinchie in the first stronghold. Anyone inside the fortress should be able to help you more than me. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html new file mode 100644 index 0000000000..3b02642f88 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html @@ -0,0 +1,5 @@ +Blackbird Clan Member Glenkinchie:
+Elikia said someone would come find me. I guess that was you? The fortress is becoming more systemized by the way, which worries me.
+We are not ready yet, and the Embryo are already expanding their forces.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html new file mode 100644 index 0000000000..b2bec01e59 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html @@ -0,0 +1,7 @@ +Blackbird Clan Member Glenkinchie:
+I found just a while ago that the fortress is becoming more systemized.
+They've built a supply base, and I saw that they are distributing supplies to the soldiers within the fortress. I would love to go and destroy their supply base...
+Recently, I met Devianne, and she told me about the commander of the fortress.
+She said to create uproars around the fortress to stop the flow of their work inside... Do you think you can help me?
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html new file mode 100644 index 0000000000..4a53c4557f --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html @@ -0,0 +1,5 @@ +Blackbird Clan Member Glenkinchie:
+It's not that difficult. You must have seen the supply boxes laying around. They started getting supplies regularly, but they are still not organized.
+Please open those supply boxes and get me the supplies. Don't just open any box though. There are some traps that could make it very dangerous.
+ Oh, and one more thing! If you defeat the Quartermasters, the soldiers will be affected, making it easier to steal their supplies. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html new file mode 100644 index 0000000000..9c5a3658b7 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+I need more supplies.
+This won't be enough. Please get me some more supplies. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html new file mode 100644 index 0000000000..e672651c94 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+Did you collect all the supplies? Oh, this is great! Things will get interesting now. Thanks.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html new file mode 100644 index 0000000000..f934d9ccf9 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+Of course. It's not perfect yet, but our strategy is to create an uproar, so that was helpful.
+In order for Devianne's plan to work, we need to continue creating uproars, so I'm sure Hurak on the 2nd floor is also making similar plans at the stronghold there. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html new file mode 100644 index 0000000000..9662254200 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html @@ -0,0 +1,6 @@ +Embryo supplies:
+This is the additional delegation member sent to the Town of Gludio.
+Unfortunately, death seemed to have reigned for a while on this body.
+The face is strangely peaceful.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html new file mode 100644 index 0000000000..67f5be960b --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html @@ -0,0 +1,4 @@ +Embryo Supply Box:
+(A supply box for Embryo soldiers within the Atelia Fortress. Should watch out for the guards.) + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java new file mode 100644 index 0000000000..ee585369d8 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java @@ -0,0 +1,196 @@ +/* + * 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.Q10844_BloodyBattleSeizingSupplies; + +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; + +/** + * Bloody Battle - Seizing Supplies (10844) + * @URL https://l2wiki.com/Bloody_Battle_-_Seizing_Supplies + * @author Dmitri + */ +public class Q10844_BloodyBattleSeizingSupplies extends Quest +{ + // NPC + private static final int ELIKIA = 34057; + private static final int GLENKINCHIE = 34063; + private static final int EMBRYO_SUPPLY_BOX = 34137; + // Monsters + private static final int FORTRESS_GUARDIAN_CAPTAIN = 23506; + private static final int FORTRESS_RAIDER = 23505; + // Items + private static final int EMBRYO_SUPPLIES = 46282; + // Misc + private static final int MIN_LEVEL = 101; + + public Q10844_BloodyBattleSeizingSupplies() + { + super(10844); + addStartNpc(ELIKIA); + addTalkId(ELIKIA, GLENKINCHIE); + addFirstTalkId(EMBRYO_SUPPLY_BOX); + registerQuestItems(EMBRYO_SUPPLIES); + addCondMinLevel(MIN_LEVEL, "34057-00.htm"); + addFactionLevel(Faction.KINGDOM_ROYAL_GUARDS, 2, "34057-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34057-04.htm": + case "34057-03.htm": + case "34057-02.htm": + case "34063-02.html": + { + htmltext = event; + break; + } + case "34057-05.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34063-03.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "open_box": + { + if (qs.isCond(2)) + { + npc.deleteMe(); + if (getRandom(10) < 5) + { + if (qs.isCond(2) && (getQuestItemsCount(qs.getPlayer(), EMBRYO_SUPPLIES) < 19)) + { + giveItems(player, EMBRYO_SUPPLIES, 1); + playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + else + { + giveItems(player, EMBRYO_SUPPLIES, 1); + qs.setCond(3, true); + } + break; + } + final Npc captain = addSpawn(FORTRESS_GUARDIAN_CAPTAIN, npc, true, 120000, false); + captain.setTitleString(NpcStringId.SUPPLY_GUARDS); + addAttackPlayerDesire(captain, player); + for (int i = 0; i < 2; i++) + { + final Npc raider = addSpawn(FORTRESS_RAIDER, npc, true, 120000, false); + raider.setTitleString(NpcStringId.SUPPLY_GUARDS); + addAttackPlayerDesire(raider, player); + } + } + break; + } + case "34063-06.html": + { + if (qs.isCond(3)) + { + addExpAndSp(player, 7262301690L, 17429400); + qs.exitQuest(false, true); + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == ELIKIA) + { + htmltext = "34057-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case ELIKIA: + { + if (qs.getCond() > 1) + { + htmltext = "34057-06.html"; + } + break; + } + case GLENKINCHIE: + { + if (qs.isCond(1)) + { + htmltext = "34063-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34063-04.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34063-05.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onFirstTalk(Npc npc, PlayerInstance player) + { + return "34137.html"; + } +} diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm new file mode 100644 index 0000000000..d217546adf --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm new file mode 100644 index 0000000000..fbb057176f --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm new file mode 100644 index 0000000000..56889996d7 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm new file mode 100644 index 0000000000..9468bc96a0 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm new file mode 100644 index 0000000000..24da32bc79 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html new file mode 100644 index 0000000000..2f11e76712 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+You are quick to understand.
+You have to participate in a siege or a dimensional siege. When you reach the Flag of Protection inside, you'll be able to obtain a Mark of Valor. Your mission is to obtain 10 of these.
+You'll be able to get more marks when you participate in a dimensional siege or in the Aden or Rune Castle Sieges. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html new file mode 100644 index 0000000000..862ea76844 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html @@ -0,0 +1,4 @@ +Reclous the Hermit:
+We can get their orders, if you kill Ketra Orc Scouts and Ketra Orc Priests.
+If we study these orders, we will learn their aim. Find Ketra Orders, quick. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html new file mode 100644 index 0000000000..1096238c72 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html @@ -0,0 +1,5 @@ +Reclous the Hermit:
+I hope that Ketra Orcs will stop trying to gather a large troop. Good job!
+It's just there is one thing that keeps nagging me. Ketra Orcs couldn't possibly show up here without any reason. They had to have something on their mind, right?
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html new file mode 100644 index 0000000000..dd22f1e5eb --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html @@ -0,0 +1,5 @@ +Reclous the Hermit:
+These Orcs are much better organized than Turek tribe. They are thinking of some gruesome deeds, I bet.
+We have to know what they're planning.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html new file mode 100644 index 0000000000..862ea76844 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html @@ -0,0 +1,4 @@ +Reclous the Hermit:
+We can get their orders, if you kill Ketra Orc Scouts and Ketra Orc Priests.
+If we study these orders, we will learn their aim. Find Ketra Orders, quick. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java new file mode 100644 index 0000000000..462f2dbc0f --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java @@ -0,0 +1,253 @@ +/* + * 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.Q10852_TheMotherTreeRevivalProject; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.commons.util.CommonUtil; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * The Mother Tree Revival Project (10852) + * @URL https://l2wiki.com/The_Mother_Tree_Revival_Project + * @author Dmitri + */ +public class Q10852_TheMotherTreeRevivalProject extends Quest +{ + // NPCs + private static final int IRENE = 34233; + // Monsters + private static final int NYMPH_SENTINEL = 23578; + private static final int[] ROSE = + { + 23566, // Nymph Rose + 23567, // Nymph Rose + }; + private static final int[] LILY = + { + 23568, // Nymph Lily + 23569, // Nymph Lily + }; + private static final int[] TULIP = + { + 23570, // Nymph Tulip + 23571, // Nymph Tulip + }; + private static final int[] COSMOS = + { + 23572, // Nymph Cosmos + 23573, // Nymph Cosmos + }; + // Items + private static final int RUNE_STONE = 39738; + private static final int SPELLBOOK_PEGASUS = 47150; + // Misc + private static final int MIN_LEVEL = 102; + + public Q10852_TheMotherTreeRevivalProject() + { + super(10852); + addStartNpc(IRENE); + addTalkId(IRENE); + addKillId(COSMOS); + addKillId(TULIP); + addKillId(LILY); + addKillId(ROSE); + addKillId(NYMPH_SENTINEL); + addCondMinLevel(MIN_LEVEL, "34233-00.htm"); + addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 6, "34233-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34233-02.htm": + case "34233-03.htm": + case "34233-04.htm": + case "34233-08.html": + { + htmltext = event; + break; + } + case "34233-05.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34233-09.html": + { + if (qs.isCond(2)) + { + giveItems(player, RUNE_STONE, 1); + giveItems(player, SPELLBOOK_PEGASUS, 1); + addExpAndSp(player, 444428559000L, 444427200); + qs.exitQuest(QuestType.ONE_TIME, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + String htmltext = getNoQuestMsg(player); + final QuestState qs = getQuestState(player, true); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == IRENE) + { + htmltext = "34233-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case IRENE: + { + if (qs.isCond(1)) + { + htmltext = "34233-06.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34233-07.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + + if ((qs != null) && qs.isCond(1)) + { + int killedTulip = qs.getInt("killed_" + TULIP[0]); + int killedCosmos = qs.getInt("killed_" + COSMOS[0]); + int killedLily = qs.getInt("killed_" + LILY[0]); + int killedRose = qs.getInt("killed_" + ROSE[0]); + int killedSentinel = qs.getInt("killed_" + NYMPH_SENTINEL); + + if (CommonUtil.contains(TULIP, npc.getId())) + { + if (killedTulip < 300) + { + killedTulip++; + qs.set("killed_" + TULIP[0], killedTulip); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(COSMOS, npc.getId())) + { + if (killedCosmos < 300) + { + killedCosmos++; + qs.set("killed_" + COSMOS[0], killedCosmos); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(LILY, npc.getId())) + { + if (killedLily < 300) + { + killedLily++; + qs.set("killed_" + LILY[0], killedLily); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(ROSE, npc.getId())) + { + if (killedRose < 300) + { + killedRose++; + qs.set("killed_" + ROSE[0], killedRose); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (killedSentinel < 100) + { + qs.set("killed_" + NYMPH_SENTINEL, ++killedSentinel); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + + if ((killedTulip == 300) && (killedCosmos == 300) && (killedLily == 300) && (killedRose == 300) && (killedSentinel >= 100)) + { + qs.setCond(2, true); + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isStarted() && qs.isCond(1)) + { + final Set npcLogList = new HashSet<>(5); + npcLogList.add(new NpcLogListHolder(TULIP[0], false, qs.getInt("killed_" + TULIP[0]))); + npcLogList.add(new NpcLogListHolder(COSMOS[0], false, qs.getInt("killed_" + COSMOS[0]))); + npcLogList.add(new NpcLogListHolder(LILY[0], false, qs.getInt("killed_" + LILY[0]))); + npcLogList.add(new NpcLogListHolder(ROSE[0], false, qs.getInt("killed_" + ROSE[0]))); + npcLogList.add(new NpcLogListHolder(NYMPH_SENTINEL, false, qs.getInt("killed_" + NYMPH_SENTINEL))); + return npcLogList; + } + return super.getNpcLogList(player); + } +} 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 e371824667..1d6ffc8c0c 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 @@ -138,6 +138,8 @@ import quests.Q00648_AnIceMerchantsDream.Q00648_AnIceMerchantsDream; import quests.Q00662_AGameOfCards.Q00662_AGameOfCards; import quests.Q00663_SeductiveWhispers.Q00663_SeductiveWhispers; import quests.Q00670_DefeatingTheLordOfSeed.Q00670_DefeatingTheLordOfSeed; +import quests.Q00674_ChangesInTheShadowOfTheMotherTree.Q00674_ChangesInTheShadowOfTheMotherTree; +import quests.Q00675_WhatTheThreadOfThePastShows.Q00675_WhatTheThreadOfThePastShows; import quests.Q00726_LightWithinTheDarkness.Q00726_LightWithinTheDarkness; import quests.Q00727_HopeWithinTheDarkness.Q00727_HopeWithinTheDarkness; import quests.Q00737_ASwordHiddenInASmile.Q00737_ASwordHiddenInASmile; @@ -166,6 +168,7 @@ import quests.Q00783_VestigeOfTheMagicPower.Q00783_VestigeOfTheMagicPower; import quests.Q00787_TheRoleOfAWatcher.Q00787_TheRoleOfAWatcher; import quests.Q00790_ObtainingFerinsTrust.Q00790_ObtainingFerinsTrust; import quests.Q00792_TheSuperionGiants.Q00792_TheSuperionGiants; +import quests.Q00816_PlansToRepairTheStronghold.Q00816_PlansToRepairTheStronghold; import quests.Q00817_BlackAteliaResearch.Q00817_BlackAteliaResearch; import quests.Q00823_DisappearedRaceNewFairy.Q00823_DisappearedRaceNewFairy; import quests.Q00826_InSearchOfTheSecretWeapon.Q00826_InSearchOfTheSecretWeapon; @@ -334,6 +337,7 @@ import quests.Q10576_GlitteringWeapons.Q10576_GlitteringWeapons; import quests.Q10577_TemperARustingBlade.Q10577_TemperARustingBlade; import quests.Q10578_TheSoulOfASword.Q10578_TheSoulOfASword; import quests.Q10579_ContainingTheAttributePower.Q10579_ContainingTheAttributePower; +import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree; import quests.Q10658_MakkumInTheDimension.Q10658_MakkumInTheDimension; import quests.Q10701_TheRoadToDestruction.Q10701_TheRoadToDestruction; import quests.Q10702_TheRoadToInfinity.Q10702_TheRoadToInfinity; @@ -432,8 +436,10 @@ import quests.Q10839_BlackbirdsNameValue.Q10839_BlackbirdsNameValue; import quests.Q10840_TimeToRecover.Q10840_TimeToRecover; import quests.Q10841_DeepInsideAteliaFortress.Q10841_DeepInsideAteliaFortress; import quests.Q10843_AnomalyInTheEnchantedValley.Q10843_AnomalyInTheEnchantedValley; +import quests.Q10844_BloodyBattleSeizingSupplies.Q10844_BloodyBattleSeizingSupplies; import quests.Q10849_TrialsForAdaptation.Q10849_TrialsForAdaptation; import quests.Q10851_ElvenBotany.Q10851_ElvenBotany; +import quests.Q10852_TheMotherTreeRevivalProject.Q10852_TheMotherTreeRevivalProject; import quests.Q10856_SuperionAppears.Q10856_SuperionAppears; import quests.Q10857_SecretTeleport.Q10857_SecretTeleport; import quests.Q10891_AtANewPlace.Q10891_AtANewPlace; @@ -616,8 +622,8 @@ public class QuestMasterHandler Q00671_PathToFindingThePast.class, // TODO: Not done. Q00672_ArchenemyEmbryo.class, // TODO: Not done. Q00673_BelethAmbition.class, // TODO: Not done. - Q00674_ChangesInTheShadowOfTheMotherTree.class, // TODO: Not done. - Q00675_WhatTheThreadOfThePastShows.class, // TODO: Not done. + Q00674_ChangesInTheShadowOfTheMotherTree.class, + Q00675_WhatTheThreadOfThePastShows.class, Q00682_TheStrongInTheClosedSpace.class, // TODO: Not done. Q00683_AdventOfKrofinSubspecies.class, // FIXME: Custom. Q00684_DisturbedFields.class, // FIXME: Custom. @@ -662,7 +668,7 @@ public class QuestMasterHandler Q00789_WaitingForPaagrio.class, // TODO: Not done. Q00790_ObtainingFerinsTrust.class, Q00792_TheSuperionGiants.class, - Q00816_PlansToRepairTheStronghold.class, // TODO: Not done. + Q00816_PlansToRepairTheStronghold.class, Q00817_BlackAteliaResearch.class, Q00823_DisappearedRaceNewFairy.class, Q00824_AttackTheCommandPost.class, // TODO: Not done. @@ -885,7 +891,7 @@ public class QuestMasterHandler Q10594_FergasonsScheme.class, // TODO: Not done. Q10595_TheDimensionalWarpPart8.class, // TODO: Not done. Q10596_TheDimensionalWarpPart9.class, // TODO: Not done. - Q10597_EscapeToTheShadowOfTheMotherTree.class, // TODO: Not done. + Q10597_EscapeToTheShadowOfTheMotherTree.class, Q10598_WithAllYourMight.class, // TODO: Not done. Q10599_ThreadOfFateHangingOnTheMotherTree.class, // TODO: Not done. Q10658_MakkumInTheDimension.class, @@ -988,13 +994,13 @@ public class QuestMasterHandler Q10840_TimeToRecover.class, Q10841_DeepInsideAteliaFortress.class, Q10843_AnomalyInTheEnchantedValley.class, - Q10844_BloodyBattleSeizingSupplies.class, // TODO: Not done. + Q10844_BloodyBattleSeizingSupplies.class, Q10845_BloodyBattleRescueTheSmiths.class, // TODO: Not done. Q10846_BloodyBattleMeetingTheCommander.class, // TODO: Not done. Q10848_TrialsBeforeTheBattle.class, // TODO: Not done. Q10849_TrialsForAdaptation.class, Q10851_ElvenBotany.class, - Q10852_TheMotherTreeRevivalProject.class, // TODO: Not done. + Q10852_TheMotherTreeRevivalProject.class, Q10853_ToWeakenTheGiants.class, // TODO: Not done. Q10854_ToSeizeTheFortress.class, // TODO: Not done. Q10856_SuperionAppears.class, diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00674_ChangesInTheShadowOfTheMotherTree.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00674_ChangesInTheShadowOfTheMotherTree.java deleted file mode 100644 index b6dd770ce5..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00674_ChangesInTheShadowOfTheMotherTree.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00674_ChangesInTheShadowOfTheMotherTree extends Quest -{ - private static final int START_NPC = 34415; - - public Q00674_ChangesInTheShadowOfTheMotherTree() - { - super(674); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00675_WhatTheThreadOfThePastShows.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00675_WhatTheThreadOfThePastShows.java deleted file mode 100644 index 651ad5f11e..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00675_WhatTheThreadOfThePastShows.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00675_WhatTheThreadOfThePastShows extends Quest -{ - private static final int START_NPC = 34415; - - public Q00675_WhatTheThreadOfThePastShows() - { - super(675); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java deleted file mode 100644 index e61af457f0..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00816_PlansToRepairTheStronghold extends Quest -{ - private static final int START_NPC = 34058; - - public Q00816_PlansToRepairTheStronghold() - { - super(816); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q10597_EscapeToTheShadowOfTheMotherTree.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q10597_EscapeToTheShadowOfTheMotherTree.java deleted file mode 100644 index 79d640cd0e..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q10597_EscapeToTheShadowOfTheMotherTree.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10597_EscapeToTheShadowOfTheMotherTree extends Quest -{ - private static final int START_NPC = 34411; - - public Q10597_EscapeToTheShadowOfTheMotherTree() - { - super(10597); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java deleted file mode 100644 index 8f3083c26a..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10844_BloodyBattleSeizingSupplies extends Quest -{ - private static final int START_NPC = 34057; - - public Q10844_BloodyBattleSeizingSupplies() - { - super(10844); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java deleted file mode 100644 index 54cc516da2..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10852_TheMotherTreeRevivalProject extends Quest -{ - private static final int START_NPC = 34233; - - public Q10852_TheMotherTreeRevivalProject() - { - super(10852); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/MissingQuests.txt index 32be7f3799..7c04d32844 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/MissingQuests.txt +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/MissingQuests.txt @@ -69,8 +69,6 @@ 671 Path to Finding the Past 672 Embryo the Archenemy 673 Beleth' Ambition -674 Changes in the Shadow of the Mother Tree -675 What the Thread of the Past Shows 682 The Strong in the Closed Space 690 |Attack| Begin Alliance Base Defense - 1 691 |Attack| Begin Alliance Base Defense - 2 @@ -123,7 +121,6 @@ 780 Utilize the Darkness - Seed of Infinity 781 Utilize the Darkness - Seed of Annihilation 782 Utilize the Darkness - Seed of Hellfire -816 Plans to Repair the Stronghold 824 Command Post Raid 834 Against Dragonclaw 836 Request from the Blackbird Clan @@ -179,12 +176,10 @@ 10594 Fergason's Scheme 10595 The Dimensional Warp, Part 8 10596 The Dimensional Warp, Part 9 -10597 Escape to the Shadow of the Mother Tree 10598 With All Your Might 10599 Thread of Fate Hanging on the Mother Tree 10673 Valentine's Day, Lucy's Reply 10848 Trials before the Battle -10852 The Mother Tree Revival Project 10853 To Weaken the Giants 10854 To Seize the Fortress 10873 Exalted, Reaching Another Level diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-09.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-09.html new file mode 100644 index 0000000000..fb60368cfb --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-09.html @@ -0,0 +1,5 @@ +Nerupa:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-10.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-10.html new file mode 100644 index 0000000000..ece80ee8f1 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34412-10.html @@ -0,0 +1,4 @@ +Nerupa:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-00.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-00.htm new file mode 100644 index 0000000000..65f97ae22b --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-00.htm @@ -0,0 +1,5 @@ +Ceriel:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103.) + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-01.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-01.htm new file mode 100644 index 0000000000..10a273e437 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-01.htm @@ -0,0 +1,6 @@ +Ceriel:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-02.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-02.htm new file mode 100644 index 0000000000..93e9535dde --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-02.htm @@ -0,0 +1,4 @@ +Ceriel:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-03.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-03.htm new file mode 100644 index 0000000000..da5ccd1f40 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-03.htm @@ -0,0 +1,6 @@ +Ceriel:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04.htm new file mode 100644 index 0000000000..9c1eb7714a --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04a.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04a.htm new file mode 100644 index 0000000000..723290b526 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04a.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04b.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04b.htm new file mode 100644 index 0000000000..a428e58593 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-04b.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 150 Mutated Spirit's Souls. +Intermediate Mission - Collect 300 Mutated Spirit's Souls. +Advanced Mission - Collect 450 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.htm new file mode 100644 index 0000000000..834732c851 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.htm @@ -0,0 +1,3 @@ +Ceriel:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 200. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.html new file mode 100644 index 0000000000..d6df38ff2e --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05.html @@ -0,0 +1,3 @@ +Ceriel:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05a.html new file mode 100644 index 0000000000..c9bfb987cd --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-05a.html @@ -0,0 +1,3 @@ +Ceriel:
+Your Unworldly Visitors Faction Level Must be 7 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06.html new file mode 100644 index 0000000000..6c43bf19dd --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06a.html new file mode 100644 index 0000000000..de9445ee18 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06a.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06b.html new file mode 100644 index 0000000000..d95a18b9d0 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-06b.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the advanced mission to collect 450 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07.html new file mode 100644 index 0000000000..54ecc4801f --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07a.html new file mode 100644 index 0000000000..598581c52a --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07a.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 400 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07b.html new file mode 100644 index 0000000000..ffe62065ed --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-07b.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 600 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08.html new file mode 100644 index 0000000000..84be253541 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08a.html new file mode 100644 index 0000000000..9757d37cf1 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08a.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 400 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08b.html new file mode 100644 index 0000000000..edb2d13b1f --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/34415-08b.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 600 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/Q00674_ChangesInTheShadowOfTheMotherTree.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/Q00674_ChangesInTheShadowOfTheMotherTree.java new file mode 100644 index 0000000000..c6524f504c --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00674_ChangesInTheShadowOfTheMotherTree/Q00674_ChangesInTheShadowOfTheMotherTree.java @@ -0,0 +1,392 @@ +/* + * 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.Q00674_ChangesInTheShadowOfTheMotherTree; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; + +/** + * Changes in the Shadow of the Mother Tree (674) + * @URL https://l2wiki.com/Changes_in_the_Shadow_of_the_Mother_Tree + * @author Dmitri + */ +public class Q00674_ChangesInTheShadowOfTheMotherTree extends Quest +{ + // NPCs + private static final int CERIEL = 34415; + private static final int NERUPA = 34412; + // Monsters + private static final int[] MONSTERS = + { + 24118, // Crystal Reep + 24120, // Crystal Needle + 24122, // Treant Blossom + 24124, // Flush Teasle + 24126, // Creeper Rampike + 24139, // Reep Child + 24140, // Needle Child + 24141, // Blossom Child + 24142 // Teasle Child + }; + // Items + private static final int BASIC_SUPPLY_BOX = 48397; // Mother Tree Guardians Basic Treasure Chest: Shadow of the Mother Tree + private static final int INTERMEDIATE_SUPPLY_BOX = 48398; // Mother Tree Guardians Intermediate Treasure Chest: Shadow of the Mother Tree + private static final int ADVANCED_SUPPLY_BOX = 48399; // Mother Tree Guardians Advanced Treasure Chest: Shadow of the Mother Tree + // Misc + private static final int KILLING_NPCSTRING_ID = NpcStringId.ELIMINATE_THE_GIANT.getId(); // NpcStringId.1019709 + private static final boolean PARTY_QUEST = false; + private static final int MIN_LEVEL = 103; + + public Q00674_ChangesInTheShadowOfTheMotherTree() + { + super(674); + addStartNpc(CERIEL); + addTalkId(CERIEL, NERUPA); + addKillId(MONSTERS); + addCondMinLevel(MIN_LEVEL, "34415-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34415-02.htm": + case "34415-03.htm": + case "34415-04.htm": + case "34415-04a.htm": + case "34415-04b.htm": + case "34415-06.html": + case "34415-06a.html": + case "34415-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 6) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 7)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 7) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 6) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 7)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 7) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case "34415-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34415-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34415-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34412-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 5: + { + if (player.getLevel() >= MIN_LEVEL) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 27_191_624_760L, 27_191_610); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if (player.getLevel() >= MIN_LEVEL) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 54_383_249_520L, 54_383_220); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if (player.getLevel() >= MIN_LEVEL) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 81_574_874_280L, 81_574_830); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == CERIEL) + { + htmltext = "34415-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case CERIEL: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 6) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 7)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 7) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case 2: + { + htmltext = "34415-08.html"; + break; + } + case 3: + { + htmltext = "34415-08a.html"; + break; + } + case 4: + { + htmltext = "34415-08b.html"; + break; + } + } + break; + } + case NERUPA: + { + switch (qs.getCond()) + { + case 5: + case 6: + case 7: + { + htmltext = "34412-09.html"; + break; + } + } + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34415-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + final QuestState qs = PARTY_QUEST ? getRandomPartyMemberState(killer, -1, 3, npc) : getQuestState(killer, false); + if ((qs != null) && (qs.getCond() > 1)) + { + switch (qs.getCond()) + { + case 2: + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + qs.set("AncientGhosts", killedGhosts); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (killedGhosts >= 200) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + qs.set("AncientGhosts", killedGhosts); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (killedGhosts >= 400) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + qs.set("AncientGhosts", killedGhosts); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (killedGhosts >= 600) + { + qs.setCond(7, true); + } + break; + } + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1)) + { + final Set holder = new HashSet<>(); + holder.add(new NpcLogListHolder(KILLING_NPCSTRING_ID, true, qs.getInt("AncientGhosts"))); + return holder; + } + return super.getNpcLogList(player); + } +} \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-09.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-09.html new file mode 100644 index 0000000000..378724a305 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-09.html @@ -0,0 +1,5 @@ +Nerupa:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-10.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-10.html new file mode 100644 index 0000000000..ece80ee8f1 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34412-10.html @@ -0,0 +1,4 @@ +Nerupa:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-00.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-00.htm new file mode 100644 index 0000000000..65f97ae22b --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-00.htm @@ -0,0 +1,5 @@ +Ceriel:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103.) + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-01.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-01.htm new file mode 100644 index 0000000000..4da65726fc --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-01.htm @@ -0,0 +1,6 @@ +Ceriel:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-02.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-02.htm new file mode 100644 index 0000000000..cc4a6a4fea --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-02.htm @@ -0,0 +1,4 @@ +Ceriel:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-03.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-03.htm new file mode 100644 index 0000000000..a3f4dabf6f --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-03.htm @@ -0,0 +1,6 @@ +Ceriel:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04.htm new file mode 100644 index 0000000000..2b51306f2d --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 30 Mutated Spirit's Souls. +Intermediate Mission - Collect 60 Mutated Spirit's Souls. +Advanced Mission - Collect 90 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04a.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04a.htm new file mode 100644 index 0000000000..38328c1d51 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04a.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 30 Mutated Spirit's Souls. +Intermediate Mission - Collect 60 Mutated Spirit's Souls. +Advanced Mission - Collect 90 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04b.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04b.htm new file mode 100644 index 0000000000..60a812d428 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-04b.htm @@ -0,0 +1,9 @@ +Ceriel:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 30 Mutated Spirit's Souls. +Intermediate Mission - Collect 60 Mutated Spirit's Souls. +Advanced Mission - Collect 90 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.htm new file mode 100644 index 0000000000..25f8acb461 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.htm @@ -0,0 +1,3 @@ +Ceriel:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 30. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.html new file mode 100644 index 0000000000..8d360210c9 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05.html @@ -0,0 +1,3 @@ +Ceriel:
+Your Unworldly Visitors Faction Level Must be 8 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05a.html new file mode 100644 index 0000000000..f081b7c60c --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-05a.html @@ -0,0 +1,3 @@ +Ceriel:
+Your Unworldly Visitors Faction Level Must be 9 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06.html new file mode 100644 index 0000000000..e4d741d3a0 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the basic mission to collect 30 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06a.html new file mode 100644 index 0000000000..a3873db430 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06a.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the intermediate mission to collect 60 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06b.html new file mode 100644 index 0000000000..8d07d99268 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-06b.html @@ -0,0 +1,6 @@ +Ceriel:
+You have chosen the advanced mission to collect 90 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07.html new file mode 100644 index 0000000000..c95e2d4465 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 30 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07a.html new file mode 100644 index 0000000000..3ec6f5b18f --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07a.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 60 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07b.html new file mode 100644 index 0000000000..02d0d646fc --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-07b.html @@ -0,0 +1,4 @@ +Ceriel:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 90 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08.html new file mode 100644 index 0000000000..897239a385 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 30 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08a.html new file mode 100644 index 0000000000..c0382345d7 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08a.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 60 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08b.html new file mode 100644 index 0000000000..3fbb8f1518 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/34415-08b.html @@ -0,0 +1,3 @@ +Ceriel:
+Go to the Garden of Spirits and defeat all type monsters until you collect 90 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/Q00675_WhatTheThreadOfThePastShows.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/Q00675_WhatTheThreadOfThePastShows.java new file mode 100644 index 0000000000..75a766b465 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00675_WhatTheThreadOfThePastShows/Q00675_WhatTheThreadOfThePastShows.java @@ -0,0 +1,368 @@ +/* + * 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.Q00675_WhatTheThreadOfThePastShows; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * What the Thread of the Past Shows (675) + * @URL https://l2wiki.com/What_the_Thread_of_the_Past_Shows + * @author Dmitri + */ +public class Q00675_WhatTheThreadOfThePastShows extends Quest +{ + // NPCs + private static final int CERIEL = 34415; + private static final int NERUPA = 34412; + // Monsters + private static final int[] MONSTERS = + { + 24118, // Crystal Reep + 24120, // Crystal Needle + 24122, // Treant Blossom + 24124, // Flush Teasle + 24126 // Creeper Rampike + }; + // Items + private static final int NERUPA_BUD_PETAL = 48368; + private static final int BASIC_SUPPLY_BOX = 48397; // Mother Tree Guardians Basic Treasure Chest: Shadow of the Mother Tree + private static final int INTERMEDIATE_SUPPLY_BOX = 48398; // Mother Tree Guardians Intermediate Treasure Chest: Shadow of the Mother Tree + private static final int ADVANCED_SUPPLY_BOX = 48399; // Mother Tree Guardians Advanced Treasure Chest: Shadow of the Mother Tree + // Misc + private static final int MIN_LEVEL = 103; + + public Q00675_WhatTheThreadOfThePastShows() + { + super(675); + addStartNpc(CERIEL); + addTalkId(CERIEL, NERUPA); + addKillId(MONSTERS); + registerQuestItems(NERUPA_BUD_PETAL); + addCondMinLevel(MIN_LEVEL, "34415-00.htm"); + addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 4, "34415-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34415-02.htm": + case "34415-03.htm": + case "34415-04.htm": + case "34415-04a.htm": + case "34415-04b.htm": + case "34415-06.html": + case "34415-06a.html": + case "34415-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 8) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 9)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 9) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 8) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 9)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 9) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case "34415-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34415-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34415-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34412-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 5: + { + if ((getQuestItemsCount(player, NERUPA_BUD_PETAL) == 30) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + giveAdena(player, 2495659, true); + addExpAndSp(player, 27_191_624_760L, 27_191_610); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if ((getQuestItemsCount(player, NERUPA_BUD_PETAL) == 60) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + giveAdena(player, 4991318, true); + addExpAndSp(player, 54_383_249_520L, 54_383_220); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, NERUPA_BUD_PETAL) == 90) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + giveAdena(player, 7486978, true); + addExpAndSp(player, 81_574_874_280L, 81_574_830); + addFactionPoints(player, Faction.MOTHER_TREE_GUARDIANS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == CERIEL) + { + htmltext = "34415-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case CERIEL: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 8) && (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) < 9)) + { + htmltext = "34415-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.MOTHER_TREE_GUARDIANS) >= 9) + { + htmltext = "34415-04b.htm"; + break; + } + htmltext = "34415-04.htm"; + break; + } + case 2: + { + htmltext = "34415-08.html"; + break; + } + case 3: + { + htmltext = "34415-08a.html"; + break; + } + case 4: + { + htmltext = "34415-08b.html"; + break; + } + } + break; + } + case NERUPA: + { + switch (qs.getCond()) + { + case 5: + case 6: + case 7: + { + htmltext = "34412-09.html"; + break; + } + } + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34415-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, NERUPA_BUD_PETAL, 1, 30, 1, true)) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, NERUPA_BUD_PETAL, 1, 60, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, NERUPA_BUD_PETAL, 1, 90, 1, true)) + { + qs.setCond(7, true); + } + break; + } + } + } + } +} \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm new file mode 100644 index 0000000000..2521dd2ee1 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-00.htm @@ -0,0 +1,5 @@ +Aden Vanguard Captain Adolph:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 101.) + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm new file mode 100644 index 0000000000..7d1fa864e0 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-01.htm @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm new file mode 100644 index 0000000000..27517c7172 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-02.htm @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm new file mode 100644 index 0000000000..a6a71958b3 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-03.htm @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm new file mode 100644 index 0000000000..fdd2fe6017 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm new file mode 100644 index 0000000000..49451f2acf --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04a.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm new file mode 100644 index 0000000000..7fc0130fcc --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04b.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm new file mode 100644 index 0000000000..02959dfb5b --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-04d.htm @@ -0,0 +1,11 @@ +Aden Vanguard Captain Adolph:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 200 Mutated Spirit's Souls. +Intermediate Mission - Collect 400 Mutated Spirit's Souls. +Advanced Mission - Collect 600 Mutated Spirit's Souls. +Very Advanced Mission - Collect 800 Mutated Spirit's Souls.
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html new file mode 100644 index 0000000000..226e9dc073 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 1 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html new file mode 100644 index 0000000000..0051dbfb9b --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05a.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 3 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html new file mode 100644 index 0000000000..421e9c42b1 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-05b.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html new file mode 100644 index 0000000000..2379ab5da0 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html new file mode 100644 index 0000000000..65414529dc --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06a.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html new file mode 100644 index 0000000000..6568fc0c93 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06b.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the advanced mission to collect 600 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html new file mode 100644 index 0000000000..57d9da735d --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-06d.html @@ -0,0 +1,6 @@ +Aden Vanguard Captain Adolph:
+You have chosen the Very advanced mission to collect 800 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html new file mode 100644 index 0000000000..1fb65e5348 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html new file mode 100644 index 0000000000..b00f56a880 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07a.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 400 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html new file mode 100644 index 0000000000..db352c992c --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07b.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 600 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html new file mode 100644 index 0000000000..2c1b00fea3 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-07d.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 800 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html new file mode 100644 index 0000000000..01dde20f7c --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html new file mode 100644 index 0000000000..286eac191b --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08a.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 400 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html new file mode 100644 index 0000000000..35b317ab6a --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08b.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 600 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html new file mode 100644 index 0000000000..781a3a6aa4 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-08d.html @@ -0,0 +1,3 @@ +Aden Vanguard Captain Adolph:
+Go to the Garden of Spirits and defeat all type monsters until you collect 800 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html new file mode 100644 index 0000000000..afb47a3395 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-09.html @@ -0,0 +1,5 @@ +Aden Vanguard Captain Adolph:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html new file mode 100644 index 0000000000..f93e0ba749 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/34058-10.html @@ -0,0 +1,4 @@ +Aden Vanguard Captain Adolph:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java new file mode 100644 index 0000000000..ce7eeca89f --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00816_PlansToRepairTheStronghold/Q00816_PlansToRepairTheStronghold.java @@ -0,0 +1,413 @@ +/* + * 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.Q00816_PlansToRepairTheStronghold; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * Plans to Repair the Stronghold (816) + * @URL https://l2wiki.com/Plans_to_Repair_the_Stronghold + * @author Dmitri + */ +public class Q00816_PlansToRepairTheStronghold extends Quest +{ + // NPCs + private static final int ADOLPH = 34058; + // Monsters + private static final int[] MONSTERS = + { + 23505, // Fortress Raider 101 + 23506, // Fortress Guardian Captain 101 + 23507, // Atelia Passionate Soldier 101 + 23508, // Atelia Elite Captain 101 + 23509, // Fortress Dark Wizard 102 + 23510, // Atelia Flame Master 102 + 23511, // Fortress Archon 102 + 23512 // Atelia High Priest 102 + }; + // Items + private static final int MATERIAL_QUEST = 46142; // Stronghold Flag Repair Supplies + private static final int BASIC_SUPPLY_BOX = 47175; + private static final int INTERMEDIATE_SUPPLY_BOX = 47176; + private static final int ADVANCED_SUPPLY_BOX = 47177; + // Misc + private static final int MIN_LEVEL = 101; + + public Q00816_PlansToRepairTheStronghold() + { + super(816); + addStartNpc(ADOLPH); + addTalkId(ADOLPH); + addKillId(MONSTERS); + registerQuestItems(MATERIAL_QUEST); + addCondMinLevel(MIN_LEVEL, "34058-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34058-02.htm": + case "34058-03.htm": + case "34058-04.htm": + case "34058-04a.htm": + case "34058-04b.htm": + case "34058-04d.htm": + case "34058-06.html": + case "34058-06a.html": + case "34058-06b.html": + case "34058-06d.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case "34058-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34058-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34058-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34058-07d.html": + { + qs.setCond(5, true); + htmltext = event; + break; + } + case "34058-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 6: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 200) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 18_155_754_360L, 18_155_700); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 400) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 36_311_508_720L, 36_311_400); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 8: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 600) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 54_467_263_080L, 54_467_100); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 9: + { + if ((getQuestItemsCount(player, MATERIAL_QUEST) == 800) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 50) + { + giveItems(player, BASIC_SUPPLY_BOX, 2); + } + else if (chance < 50) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 2); + } + else if (chance < 50) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 2); + } + addExpAndSp(player, 72_623_017_440L, 72_622_800); + addFactionPoints(player, Faction.KINGDOM_ROYAL_GUARDS, 400); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "34058-01.htm"; + // fallthrough + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 1) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)) + { + htmltext = "34058-04a.htm"; + break; + } + else if ((player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 3) && (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 6)) + { + htmltext = "34058-04b.htm"; + break; + } + else if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) >= 6) + { + htmltext = "34058-04d.htm"; + break; + } + htmltext = "34058-04.htm"; + break; + } + case 2: + { + htmltext = "34058-08.html"; + break; + } + case 3: + { + htmltext = "34058-08a.html"; + break; + } + case 4: + { + htmltext = "34058-08b.html"; + break; + } + case 5: + { + htmltext = "34058-08d.html"; + break; + } + case 6: + case 7: + case 8: + case 9: + { + htmltext = "34058-09.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34058-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 200, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 400, 1, true)) + { + qs.setCond(7, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 600, 1, true)) + { + qs.setCond(8, true); + } + break; + } + case 5: + { + if (giveItemRandomly(player, npc, MATERIAL_QUEST, 1, 800, 1, true)) + { + qs.setCond(9, true); + } + break; + } + } + } + } +} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-00.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-00.htm new file mode 100644 index 0000000000..5d0f95bcd3 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-00.htm @@ -0,0 +1,5 @@ +Fairy Mimyu:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103.) + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-01.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-01.htm new file mode 100644 index 0000000000..71b728c848 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-01.htm @@ -0,0 +1,4 @@ +Refugee Neti:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-02.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-02.htm new file mode 100644 index 0000000000..2893eaa1dc --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-02.htm @@ -0,0 +1,4 @@ +Refugee Neti:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-03.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-03.htm new file mode 100644 index 0000000000..d50481274e --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-03.htm @@ -0,0 +1,4 @@ +Refugee Neti:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-04.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-04.htm new file mode 100644 index 0000000000..83641f10da --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-04.htm @@ -0,0 +1,3 @@ +Refugee Neti:
+NOT DONE QUEST (@TODO need retail html).
+ \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-05.html new file mode 100644 index 0000000000..013c50410b --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34411-05.html @@ -0,0 +1,3 @@ +Maestro Ishuma:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-01.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-01.html new file mode 100644 index 0000000000..14b426ea44 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-01.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-02.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-02.html new file mode 100644 index 0000000000..9daab68a67 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-02.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-03.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-03.html new file mode 100644 index 0000000000..1d12ba493b --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-03.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-04.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-04.html new file mode 100644 index 0000000000..8b6804bcff --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-04.html @@ -0,0 +1,3 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-05.html new file mode 100644 index 0000000000..8b6804bcff --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-05.html @@ -0,0 +1,3 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-06.html new file mode 100644 index 0000000000..cac183c214 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-06.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-07.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-07.html new file mode 100644 index 0000000000..5a9f004f3e --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-07.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-08.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-08.html new file mode 100644 index 0000000000..8b6804bcff --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-08.html @@ -0,0 +1,3 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-09.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-09.html new file mode 100644 index 0000000000..a4f929236c --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-09.html @@ -0,0 +1,4 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-10.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-10.html new file mode 100644 index 0000000000..8b6804bcff --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/34412-10.html @@ -0,0 +1,3 @@ +Flame Patrol Warrior Bruener:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/Q10597_EscapeToTheShadowOfTheMotherTree.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/Q10597_EscapeToTheShadowOfTheMotherTree.java new file mode 100644 index 0000000000..bd026227b0 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10597_EscapeToTheShadowOfTheMotherTree/Q10597_EscapeToTheShadowOfTheMotherTree.java @@ -0,0 +1,272 @@ +/* + * 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.Q10597_EscapeToTheShadowOfTheMotherTree; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.Config; +import org.l2jmobius.commons.util.CommonUtil; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; +import org.l2jmobius.gameserver.util.Util; + +/** + * Escape to the Shadow of the Mother Tree (10597) + * @URL https://l2wiki.com/Escape_to_the_Shadow_of_the_Mother_Tree + * @author Dmitri + */ +public class Q10597_EscapeToTheShadowOfTheMotherTree extends Quest +{ + // NPCs + private static final int ASTERIOS = 34411; + private static final int NERUPA = 34412; + // Monsters + private static final int LITHRA_APRIAS = 24127; + private static final int NERUPA_APRIAS = 24128; + private static final int[] MONSTERS = + { + 24117, // Crystal Reep + 24118, // Crystal Reep + 24119, // Crystal Needle + 24120, // Crystal Needle + 24121, // Treant Blossom + 24122, // Treant Blossom + 24123, // Flush Teasle + 24124, // Flush Teasle + 24125, // Creeper Rampike + 24126, // Creeper Rampike + 24139, // Reep Child + 24140, // Needle Child + 24141, // Blossom Child + 24142 // Teasle Child + }; + // Items + private static final int SUPPLY_BOX = 48399; // Mother Tree Guardians Advanced Treasure Chest: Shadow of the Mother Tree + // Misc + private static final int KILLING_NPCSTRING_ID = NpcStringId.ELIMINATE_THE_GIANT.getId(); // NpcStringId.1019709 + private static final int MIN_LEVEL = 103; + + public Q10597_EscapeToTheShadowOfTheMotherTree() + { + super(10597); + addStartNpc(ASTERIOS); + addTalkId(ASTERIOS, NERUPA); + addKillId(MONSTERS); + addKillId(LITHRA_APRIAS, NERUPA_APRIAS); + addCondMinLevel(MIN_LEVEL, "34411-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34411-02.htm": + case "34411-03.htm": + case "34412-02.html": + case "34412-03.html": + case "34412-07.html": + { + htmltext = event; + break; + } + case "34411-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34412-04.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34412-08.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34412-10.html": + { + if (qs.isCond(5)) + { + addExpAndSp(player, 81574874280L, 81574830); + giveItems(player, SUPPLY_BOX, 1); + qs.exitQuest(false, true); + htmltext = event; + break; + } + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == ASTERIOS) + { + htmltext = "34411-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case ASTERIOS: + { + if (qs.isCond(1)) + { + htmltext = "34411-04.htm"; + } + else if (qs.getCond() > 1) + { + htmltext = "34411-05.html"; + } + break; + } + case NERUPA: + { + if (qs.isCond(1)) + { + htmltext = "34412-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34412-05.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34412-06.html"; + } + else if (qs.isCond(4)) + { + htmltext = "34412-08.html"; + } + else if (qs.isCond(5)) + { + htmltext = "34412-09.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && Util.checkIfInRange(Config.ALT_PARTY_RANGE, npc, player, false)) + { + switch (qs.getCond()) + { + case 2: + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + if (CommonUtil.contains(MONSTERS, npc.getId())) + { + qs.set("AncientGhosts", killedGhosts); + if (killedGhosts >= 200) + { + qs.setCond(3, true); + } + else + { + playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET); + sendNpcLogList(player); + } + } + break; + } + case 4: + { + int killedCount = qs.getInt(Integer.toString(npc.getId())); + final int lithraaprias = qs.getInt(Integer.toString(LITHRA_APRIAS)); + final int nerupaaprias = qs.getInt(Integer.toString(NERUPA_APRIAS)); + qs.set(Integer.toString(npc.getId()), ++killedCount); + if ((lithraaprias == 10) && (nerupaaprias == 10)) + { + qs.setCond(5, true); + } + else + { + sendNpcLogList(player); + } + break; + } + } + } + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + executeForEachPlayer(killer, npc, isSummon, true, false); + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1)) + { + final Set npcLogList = new HashSet<>(3); + npcLogList.add(new NpcLogListHolder(KILLING_NPCSTRING_ID, true, qs.getInt("AncientGhosts"))); + // npcLogList.add(new NpcLogListHolder(NpcStringId.ELIMINATE_THE_GIANT, qs.getInt("AncientGhosts"))); // NpcStringId.1019709 + npcLogList.add(new NpcLogListHolder(LITHRA_APRIAS, false, qs.getInt(Integer.toString(LITHRA_APRIAS)))); + npcLogList.add(new NpcLogListHolder(NERUPA_APRIAS, false, qs.getInt(Integer.toString(NERUPA_APRIAS)))); + // npcLogList.add(new NpcLogListHolder(NpcStringId.DEFEAT_COMMANDER_BURNSTEIN_2, qs.getInt(Integer.toString(LITHRA_APRIAS)))); // NpcStringId.1024127 + // npcLogList.add(new NpcLogListHolder(NpcStringId.DEFEAT_COMMANDER_BURNSTEIN_2, qs.getInt(Integer.toString(NERUPA_APRIAS)))); // NpcStringId.1024128 + return npcLogList; + } + return super.getNpcLogList(player); + } +} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm new file mode 100644 index 0000000000..ba31a19bf4 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-00.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+I do not believe our paths are meant to cross here. Perhaps later down the road.
+(This quest can only be undertaken by characters with Lv. 101 or higher whose faction level with the Kingdom's Royal Guard is 2 or higher.) + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm new file mode 100644 index 0000000000..28a85f1dd3 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-01.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+It's been a while since we've found the Atelia Fortress.
+In that time though, the fortress has become more structured, which worries me.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm new file mode 100644 index 0000000000..29e0b1383b --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-02.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+We have to make sure no issues arise here until Leona comes back from Hellbound. We aren't doing so well, though.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm new file mode 100644 index 0000000000..2ce508fc06 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-03.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+The Atelia Fortress is more structured now.
+Until recently, they didn't have the means to get supplies or train soldiers when they isolated themselves, but now they can do all that within.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm new file mode 100644 index 0000000000..5d68cbed94 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-04.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+According to the information we got from the clan members inside the fortress, they are building different facilities on each floor.
+I've asked Leona for reinforcements, but they are not doing so great either. We need people who can help us. Do you think you can do it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm new file mode 100644 index 0000000000..d2341edcb0 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-05.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Glad to hear you'll be helping us. Devianne has already infiltrated the fortress and is in contact with our clan members.
+First, go find Glenkinchie in the first stronghold. Anyone inside the fortress should be able to help you more than me. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html new file mode 100644 index 0000000000..4686ef3bc1 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34057-06.html @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Devianne has already infiltrated the fortress, but you'll need to find out where she is from the people who are inside.
+First, go find Glenkinchie in the first stronghold. Anyone inside the fortress should be able to help you more than me. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html new file mode 100644 index 0000000000..3b02642f88 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-01.html @@ -0,0 +1,5 @@ +Blackbird Clan Member Glenkinchie:
+Elikia said someone would come find me. I guess that was you? The fortress is becoming more systemized by the way, which worries me.
+We are not ready yet, and the Embryo are already expanding their forces.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html new file mode 100644 index 0000000000..b2bec01e59 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-02.html @@ -0,0 +1,7 @@ +Blackbird Clan Member Glenkinchie:
+I found just a while ago that the fortress is becoming more systemized.
+They've built a supply base, and I saw that they are distributing supplies to the soldiers within the fortress. I would love to go and destroy their supply base...
+Recently, I met Devianne, and she told me about the commander of the fortress.
+She said to create uproars around the fortress to stop the flow of their work inside... Do you think you can help me?
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html new file mode 100644 index 0000000000..4a53c4557f --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-03.html @@ -0,0 +1,5 @@ +Blackbird Clan Member Glenkinchie:
+It's not that difficult. You must have seen the supply boxes laying around. They started getting supplies regularly, but they are still not organized.
+Please open those supply boxes and get me the supplies. Don't just open any box though. There are some traps that could make it very dangerous.
+ Oh, and one more thing! If you defeat the Quartermasters, the soldiers will be affected, making it easier to steal their supplies. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html new file mode 100644 index 0000000000..9c5a3658b7 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-04.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+I need more supplies.
+This won't be enough. Please get me some more supplies. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html new file mode 100644 index 0000000000..e672651c94 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-05.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+Did you collect all the supplies? Oh, this is great! Things will get interesting now. Thanks.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html new file mode 100644 index 0000000000..f934d9ccf9 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34063-06.html @@ -0,0 +1,4 @@ +Blackbird Clan Member Glenkinchie:
+Of course. It's not perfect yet, but our strategy is to create an uproar, so that was helpful.
+In order for Devianne's plan to work, we need to continue creating uproars, so I'm sure Hurak on the 2nd floor is also making similar plans at the stronghold there. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html new file mode 100644 index 0000000000..9662254200 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137-01.html @@ -0,0 +1,6 @@ +Embryo supplies:
+This is the additional delegation member sent to the Town of Gludio.
+Unfortunately, death seemed to have reigned for a while on this body.
+The face is strangely peaceful.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html new file mode 100644 index 0000000000..67f5be960b --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/34137.html @@ -0,0 +1,4 @@ +Embryo Supply Box:
+(A supply box for Embryo soldiers within the Atelia Fortress. Should watch out for the guards.) + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java new file mode 100644 index 0000000000..ee585369d8 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10844_BloodyBattleSeizingSupplies/Q10844_BloodyBattleSeizingSupplies.java @@ -0,0 +1,196 @@ +/* + * 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.Q10844_BloodyBattleSeizingSupplies; + +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; + +/** + * Bloody Battle - Seizing Supplies (10844) + * @URL https://l2wiki.com/Bloody_Battle_-_Seizing_Supplies + * @author Dmitri + */ +public class Q10844_BloodyBattleSeizingSupplies extends Quest +{ + // NPC + private static final int ELIKIA = 34057; + private static final int GLENKINCHIE = 34063; + private static final int EMBRYO_SUPPLY_BOX = 34137; + // Monsters + private static final int FORTRESS_GUARDIAN_CAPTAIN = 23506; + private static final int FORTRESS_RAIDER = 23505; + // Items + private static final int EMBRYO_SUPPLIES = 46282; + // Misc + private static final int MIN_LEVEL = 101; + + public Q10844_BloodyBattleSeizingSupplies() + { + super(10844); + addStartNpc(ELIKIA); + addTalkId(ELIKIA, GLENKINCHIE); + addFirstTalkId(EMBRYO_SUPPLY_BOX); + registerQuestItems(EMBRYO_SUPPLIES); + addCondMinLevel(MIN_LEVEL, "34057-00.htm"); + addFactionLevel(Faction.KINGDOM_ROYAL_GUARDS, 2, "34057-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34057-04.htm": + case "34057-03.htm": + case "34057-02.htm": + case "34063-02.html": + { + htmltext = event; + break; + } + case "34057-05.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34063-03.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "open_box": + { + if (qs.isCond(2)) + { + npc.deleteMe(); + if (getRandom(10) < 5) + { + if (qs.isCond(2) && (getQuestItemsCount(qs.getPlayer(), EMBRYO_SUPPLIES) < 19)) + { + giveItems(player, EMBRYO_SUPPLIES, 1); + playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + else + { + giveItems(player, EMBRYO_SUPPLIES, 1); + qs.setCond(3, true); + } + break; + } + final Npc captain = addSpawn(FORTRESS_GUARDIAN_CAPTAIN, npc, true, 120000, false); + captain.setTitleString(NpcStringId.SUPPLY_GUARDS); + addAttackPlayerDesire(captain, player); + for (int i = 0; i < 2; i++) + { + final Npc raider = addSpawn(FORTRESS_RAIDER, npc, true, 120000, false); + raider.setTitleString(NpcStringId.SUPPLY_GUARDS); + addAttackPlayerDesire(raider, player); + } + } + break; + } + case "34063-06.html": + { + if (qs.isCond(3)) + { + addExpAndSp(player, 7262301690L, 17429400); + qs.exitQuest(false, true); + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == ELIKIA) + { + htmltext = "34057-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case ELIKIA: + { + if (qs.getCond() > 1) + { + htmltext = "34057-06.html"; + } + break; + } + case GLENKINCHIE: + { + if (qs.isCond(1)) + { + htmltext = "34063-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34063-04.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34063-05.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onFirstTalk(Npc npc, PlayerInstance player) + { + return "34137.html"; + } +} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm new file mode 100644 index 0000000000..d217546adf --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-00.htm @@ -0,0 +1,4 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm new file mode 100644 index 0000000000..fbb057176f --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-01.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm new file mode 100644 index 0000000000..56889996d7 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-02.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm new file mode 100644 index 0000000000..9468bc96a0 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-03.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm new file mode 100644 index 0000000000..24da32bc79 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-04.htm @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+Did Lionel send you? I've been waiting for you.
+I'm sure it wasn't easy to come all the way here. Well, I'm sure Lionel trusted you to make it here.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html new file mode 100644 index 0000000000..2f11e76712 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-05.html @@ -0,0 +1,5 @@ +Verdure Elder Elikia:
+You are quick to understand.
+You have to participate in a siege or a dimensional siege. When you reach the Flag of Protection inside, you'll be able to obtain a Mark of Valor. Your mission is to obtain 10 of these.
+You'll be able to get more marks when you participate in a dimensional siege or in the Aden or Rune Castle Sieges. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html new file mode 100644 index 0000000000..862ea76844 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-06.html @@ -0,0 +1,4 @@ +Reclous the Hermit:
+We can get their orders, if you kill Ketra Orc Scouts and Ketra Orc Priests.
+If we study these orders, we will learn their aim. Find Ketra Orders, quick. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html new file mode 100644 index 0000000000..1096238c72 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-07.html @@ -0,0 +1,5 @@ +Reclous the Hermit:
+I hope that Ketra Orcs will stop trying to gather a large troop. Good job!
+It's just there is one thing that keeps nagging me. Ketra Orcs couldn't possibly show up here without any reason. They had to have something on their mind, right?
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html new file mode 100644 index 0000000000..dd22f1e5eb --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-08.html @@ -0,0 +1,5 @@ +Reclous the Hermit:
+These Orcs are much better organized than Turek tribe. They are thinking of some gruesome deeds, I bet.
+We have to know what they're planning.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html new file mode 100644 index 0000000000..862ea76844 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/34233-09.html @@ -0,0 +1,4 @@ +Reclous the Hermit:
+We can get their orders, if you kill Ketra Orc Scouts and Ketra Orc Priests.
+If we study these orders, we will learn their aim. Find Ketra Orders, quick. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java new file mode 100644 index 0000000000..462f2dbc0f --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10852_TheMotherTreeRevivalProject/Q10852_TheMotherTreeRevivalProject.java @@ -0,0 +1,253 @@ +/* + * 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.Q10852_TheMotherTreeRevivalProject; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.commons.util.CommonUtil; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * The Mother Tree Revival Project (10852) + * @URL https://l2wiki.com/The_Mother_Tree_Revival_Project + * @author Dmitri + */ +public class Q10852_TheMotherTreeRevivalProject extends Quest +{ + // NPCs + private static final int IRENE = 34233; + // Monsters + private static final int NYMPH_SENTINEL = 23578; + private static final int[] ROSE = + { + 23566, // Nymph Rose + 23567, // Nymph Rose + }; + private static final int[] LILY = + { + 23568, // Nymph Lily + 23569, // Nymph Lily + }; + private static final int[] TULIP = + { + 23570, // Nymph Tulip + 23571, // Nymph Tulip + }; + private static final int[] COSMOS = + { + 23572, // Nymph Cosmos + 23573, // Nymph Cosmos + }; + // Items + private static final int RUNE_STONE = 39738; + private static final int SPELLBOOK_PEGASUS = 47150; + // Misc + private static final int MIN_LEVEL = 102; + + public Q10852_TheMotherTreeRevivalProject() + { + super(10852); + addStartNpc(IRENE); + addTalkId(IRENE); + addKillId(COSMOS); + addKillId(TULIP); + addKillId(LILY); + addKillId(ROSE); + addKillId(NYMPH_SENTINEL); + addCondMinLevel(MIN_LEVEL, "34233-00.htm"); + addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 6, "34233-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34233-02.htm": + case "34233-03.htm": + case "34233-04.htm": + case "34233-08.html": + { + htmltext = event; + break; + } + case "34233-05.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34233-09.html": + { + if (qs.isCond(2)) + { + giveItems(player, RUNE_STONE, 1); + giveItems(player, SPELLBOOK_PEGASUS, 1); + addExpAndSp(player, 444428559000L, 444427200); + qs.exitQuest(QuestType.ONE_TIME, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + String htmltext = getNoQuestMsg(player); + final QuestState qs = getQuestState(player, true); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == IRENE) + { + htmltext = "34233-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case IRENE: + { + if (qs.isCond(1)) + { + htmltext = "34233-06.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34233-07.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + + if ((qs != null) && qs.isCond(1)) + { + int killedTulip = qs.getInt("killed_" + TULIP[0]); + int killedCosmos = qs.getInt("killed_" + COSMOS[0]); + int killedLily = qs.getInt("killed_" + LILY[0]); + int killedRose = qs.getInt("killed_" + ROSE[0]); + int killedSentinel = qs.getInt("killed_" + NYMPH_SENTINEL); + + if (CommonUtil.contains(TULIP, npc.getId())) + { + if (killedTulip < 300) + { + killedTulip++; + qs.set("killed_" + TULIP[0], killedTulip); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(COSMOS, npc.getId())) + { + if (killedCosmos < 300) + { + killedCosmos++; + qs.set("killed_" + COSMOS[0], killedCosmos); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(LILY, npc.getId())) + { + if (killedLily < 300) + { + killedLily++; + qs.set("killed_" + LILY[0], killedLily); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (CommonUtil.contains(ROSE, npc.getId())) + { + if (killedRose < 300) + { + killedRose++; + qs.set("killed_" + ROSE[0], killedRose); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + else if (killedSentinel < 100) + { + qs.set("killed_" + NYMPH_SENTINEL, ++killedSentinel); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + + if ((killedTulip == 300) && (killedCosmos == 300) && (killedLily == 300) && (killedRose == 300) && (killedSentinel >= 100)) + { + qs.setCond(2, true); + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isStarted() && qs.isCond(1)) + { + final Set npcLogList = new HashSet<>(5); + npcLogList.add(new NpcLogListHolder(TULIP[0], false, qs.getInt("killed_" + TULIP[0]))); + npcLogList.add(new NpcLogListHolder(COSMOS[0], false, qs.getInt("killed_" + COSMOS[0]))); + npcLogList.add(new NpcLogListHolder(LILY[0], false, qs.getInt("killed_" + LILY[0]))); + npcLogList.add(new NpcLogListHolder(ROSE[0], false, qs.getInt("killed_" + ROSE[0]))); + npcLogList.add(new NpcLogListHolder(NYMPH_SENTINEL, false, qs.getInt("killed_" + NYMPH_SENTINEL))); + return npcLogList; + } + return super.getNpcLogList(player); + } +} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/QuestMasterHandler.java index c29b9e1d61..71e2f9d3de 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -60,6 +60,8 @@ import quests.Q00580_BeyondTheMemories.Q00580_BeyondTheMemories; import quests.Q00618_IntoTheFlame.Q00618_IntoTheFlame; import quests.Q00620_FourGoblets.Q00620_FourGoblets; import quests.Q00670_DefeatingTheLordOfSeed.Q00670_DefeatingTheLordOfSeed; +import quests.Q00674_ChangesInTheShadowOfTheMotherTree.Q00674_ChangesInTheShadowOfTheMotherTree; +import quests.Q00675_WhatTheThreadOfThePastShows.Q00675_WhatTheThreadOfThePastShows; import quests.Q00726_LightWithinTheDarkness.Q00726_LightWithinTheDarkness; import quests.Q00727_HopeWithinTheDarkness.Q00727_HopeWithinTheDarkness; import quests.Q00737_ASwordHiddenInASmile.Q00737_ASwordHiddenInASmile; @@ -81,6 +83,7 @@ import quests.Q00779_UtilizeTheDarknessSeedOfDestruction.Q00779_UtilizeTheDarkne import quests.Q00783_VestigeOfTheMagicPower.Q00783_VestigeOfTheMagicPower; import quests.Q00790_ObtainingFerinsTrust.Q00790_ObtainingFerinsTrust; import quests.Q00792_TheSuperionGiants.Q00792_TheSuperionGiants; +import quests.Q00816_PlansToRepairTheStronghold.Q00816_PlansToRepairTheStronghold; import quests.Q00823_DisappearedRaceNewFairy.Q00823_DisappearedRaceNewFairy; import quests.Q00826_InSearchOfTheSecretWeapon.Q00826_InSearchOfTheSecretWeapon; import quests.Q00827_EinhasadsOrder.Q00827_EinhasadsOrder; @@ -142,6 +145,7 @@ import quests.Q10579_ContainingTheAttributePower.Q10579_ContainingTheAttributePo import quests.Q10589_WhereFatesIntersect.Q10589_WhereFatesIntersect; import quests.Q10590_ReawakenedFate.Q10590_ReawakenedFate; import quests.Q10591_NobleMaterial.Q10591_NobleMaterial; +import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree; import quests.Q10658_MakkumInTheDimension.Q10658_MakkumInTheDimension; import quests.Q10701_TheRoadToDestruction.Q10701_TheRoadToDestruction; import quests.Q10702_TheRoadToInfinity.Q10702_TheRoadToInfinity; @@ -178,8 +182,10 @@ import quests.Q10838_TheReasonForNotBeingAbleToGetOut.Q10838_TheReasonForNotBein import quests.Q10839_BlackbirdsNameValue.Q10839_BlackbirdsNameValue; import quests.Q10840_TimeToRecover.Q10840_TimeToRecover; import quests.Q10843_AnomalyInTheEnchantedValley.Q10843_AnomalyInTheEnchantedValley; +import quests.Q10844_BloodyBattleSeizingSupplies.Q10844_BloodyBattleSeizingSupplies; import quests.Q10849_TrialsForAdaptation.Q10849_TrialsForAdaptation; import quests.Q10851_ElvenBotany.Q10851_ElvenBotany; +import quests.Q10852_TheMotherTreeRevivalProject.Q10852_TheMotherTreeRevivalProject; import quests.Q10856_SuperionAppears.Q10856_SuperionAppears; import quests.Q10857_SecretTeleport.Q10857_SecretTeleport; import quests.Q10891_AtANewPlace.Q10891_AtANewPlace; @@ -302,8 +308,8 @@ public class QuestMasterHandler Q00671_PathToFindingThePast.class, // TODO: Not done. Q00672_ArchenemyEmbryo.class, // TODO: Not done. Q00673_BelethAmbition.class, // TODO: Not done. - Q00674_ChangesInTheShadowOfTheMotherTree.class, // TODO: Not done. - Q00675_WhatTheThreadOfThePastShows.class, // TODO: Not done. + Q00674_ChangesInTheShadowOfTheMotherTree.class, + Q00675_WhatTheThreadOfThePastShows.class, Q00682_TheStrongInTheClosedSpace.class, // TODO: Not done. Q00683_AdventOfKrofinSubspecies.class, // FIXME: Custom. Q00684_DisturbedFields.class, // FIXME: Custom. @@ -335,7 +341,7 @@ public class QuestMasterHandler Q00783_VestigeOfTheMagicPower.class, Q00790_ObtainingFerinsTrust.class, Q00792_TheSuperionGiants.class, - Q00816_PlansToRepairTheStronghold.class, // TODO: Not done. + Q00816_PlansToRepairTheStronghold.class, Q00823_DisappearedRaceNewFairy.class, Q00824_AttackTheCommandPost.class, // TODO: Not done. Q00826_InSearchOfTheSecretWeapon.class, @@ -439,7 +445,7 @@ public class QuestMasterHandler Q10594_FergasonsScheme.class, // TODO: Not done. Q10595_TheDimensionalWarpPart8.class, // TODO: Not done. Q10596_TheDimensionalWarpPart9.class, // TODO: Not done. - Q10597_EscapeToTheShadowOfTheMotherTree.class, // TODO: Not done. + Q10597_EscapeToTheShadowOfTheMotherTree.class, Q10598_WithAllYourMight.class, // TODO: Not done. Q10599_ThreadOfFateHangingOnTheMotherTree.class, // TODO: Not done. Q10658_MakkumInTheDimension.class, @@ -481,13 +487,13 @@ public class QuestMasterHandler Q10839_BlackbirdsNameValue.class, Q10840_TimeToRecover.class, Q10843_AnomalyInTheEnchantedValley.class, - Q10844_BloodyBattleSeizingSupplies.class, // TODO: Not done. + Q10844_BloodyBattleSeizingSupplies.class, Q10845_BloodyBattleRescueTheSmiths.class, // TODO: Not done. Q10846_BloodyBattleMeetingTheCommander.class, // TODO: Not done. Q10848_TrialsBeforeTheBattle.class, // TODO: Not done. Q10849_TrialsForAdaptation.class, Q10851_ElvenBotany.class, - Q10852_TheMotherTreeRevivalProject.class, // TODO: Not done. + Q10852_TheMotherTreeRevivalProject.class, Q10853_ToWeakenTheGiants.class, // TODO: Not done. Q10854_ToSeizeTheFortress.class, // TODO: Not done. Q10856_SuperionAppears.class, diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00674_ChangesInTheShadowOfTheMotherTree.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00674_ChangesInTheShadowOfTheMotherTree.java deleted file mode 100644 index b6dd770ce5..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00674_ChangesInTheShadowOfTheMotherTree.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00674_ChangesInTheShadowOfTheMotherTree extends Quest -{ - private static final int START_NPC = 34415; - - public Q00674_ChangesInTheShadowOfTheMotherTree() - { - super(674); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00675_WhatTheThreadOfThePastShows.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00675_WhatTheThreadOfThePastShows.java deleted file mode 100644 index 651ad5f11e..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00675_WhatTheThreadOfThePastShows.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00675_WhatTheThreadOfThePastShows extends Quest -{ - private static final int START_NPC = 34415; - - public Q00675_WhatTheThreadOfThePastShows() - { - super(675); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java deleted file mode 100644 index e61af457f0..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00816_PlansToRepairTheStronghold.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00816_PlansToRepairTheStronghold extends Quest -{ - private static final int START_NPC = 34058; - - public Q00816_PlansToRepairTheStronghold() - { - super(816); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q10597_EscapeToTheShadowOfTheMotherTree.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q10597_EscapeToTheShadowOfTheMotherTree.java deleted file mode 100644 index 79d640cd0e..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q10597_EscapeToTheShadowOfTheMotherTree.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10597_EscapeToTheShadowOfTheMotherTree extends Quest -{ - private static final int START_NPC = 34411; - - public Q10597_EscapeToTheShadowOfTheMotherTree() - { - super(10597); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java deleted file mode 100644 index 8f3083c26a..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q10844_BloodyBattleSeizingSupplies.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10844_BloodyBattleSeizingSupplies extends Quest -{ - private static final int START_NPC = 34057; - - public Q10844_BloodyBattleSeizingSupplies() - { - super(10844); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java deleted file mode 100644 index 54cc516da2..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q10852_TheMotherTreeRevivalProject.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10852_TheMotherTreeRevivalProject extends Quest -{ - private static final int START_NPC = 34233; - - public Q10852_TheMotherTreeRevivalProject() - { - super(10852); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -}