From b1150ad9ea89ddd9bd0879086ad27e6bfdeafdf7 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Mon, 8 Apr 2019 12:10:03 +0000 Subject: [PATCH] Addition of quests 561 and 580. Contributed by NightBR. --- .../data/scripts/quests/MissingQuests.txt | 2 - .../30006-01.html | 4 + .../30006-02.html | 4 + .../30006-03.html | 5 + .../30006-04.html | 3 + .../30848-01.html | 4 + .../30848-02.html | 5 + .../30848-03.html | 5 + .../30848-04.html | 3 + .../33344-01.html | 4 + .../34413-01.htm | 4 + .../34413-02.htm | 5 + .../34413-03.htm | 5 + .../34413-04.htm | 6 + .../34413-05.html | 3 + .../34413-06.html | 4 + .../34413-07.html | 3 + .../34413-08.html | 3 + .../34413-09.html | 5 + .../34413-10.html | 5 + ...61_BasicMissionHarnakUndergroundRuins.java | 222 ++++++++++++++++++ .../noLevel.html | 4 + .../Q00580_BeyondTheMemories/33344-01.htm | 5 + .../Q00580_BeyondTheMemories/33344-01.html | 4 + .../Q00580_BeyondTheMemories/33344-02.htm | 6 + .../Q00580_BeyondTheMemories/33344-03.htm | 5 + .../Q00580_BeyondTheMemories/33344-04.htm | 6 + .../Q00580_BeyondTheMemories/33344-05.html | 4 + .../Q00580_BeyondTheMemories/33344-06.html | 3 + .../Q00580_BeyondTheMemories.java | 211 +++++++++++++++++ .../scripts/quests/QuestMasterHandler.java | 6 +- ...61_BasicMissionHarnakUndergroundRuins.java | 36 --- .../not_done/Q00580_BeyondTheMemories.java | 36 --- .../data/scripts/quests/MissingQuests.txt | 2 - .../30006-01.html | 4 + .../30006-02.html | 4 + .../30006-03.html | 5 + .../30006-04.html | 3 + .../30848-01.html | 4 + .../30848-02.html | 5 + .../30848-03.html | 5 + .../30848-04.html | 3 + .../33344-01.html | 4 + .../34413-01.htm | 4 + .../34413-02.htm | 5 + .../34413-03.htm | 5 + .../34413-04.htm | 6 + .../34413-05.html | 3 + .../34413-06.html | 4 + .../34413-07.html | 3 + .../34413-08.html | 3 + .../34413-09.html | 5 + .../34413-10.html | 5 + ...61_BasicMissionHarnakUndergroundRuins.java | 222 ++++++++++++++++++ .../noLevel.html | 4 + .../Q00580_BeyondTheMemories/33344-01.htm | 5 + .../Q00580_BeyondTheMemories/33344-01.html | 4 + .../Q00580_BeyondTheMemories/33344-02.htm | 6 + .../Q00580_BeyondTheMemories/33344-03.htm | 5 + .../Q00580_BeyondTheMemories/33344-04.htm | 6 + .../Q00580_BeyondTheMemories/33344-05.html | 4 + .../Q00580_BeyondTheMemories/33344-06.html | 3 + .../Q00580_BeyondTheMemories.java | 211 +++++++++++++++++ .../scripts/quests/QuestMasterHandler.java | 6 +- ...61_BasicMissionHarnakUndergroundRuins.java | 36 --- .../not_done/Q00580_BeyondTheMemories.java | 36 --- .../data/scripts/quests/MissingQuests.txt | 2 - .../30006-01.html | 4 + .../30006-02.html | 4 + .../30006-03.html | 5 + .../30006-04.html | 3 + .../30848-01.html | 4 + .../30848-02.html | 5 + .../30848-03.html | 5 + .../30848-04.html | 3 + .../33344-01.html | 4 + .../34413-01.htm | 4 + .../34413-02.htm | 5 + .../34413-03.htm | 5 + .../34413-04.htm | 6 + .../34413-05.html | 3 + .../34413-06.html | 4 + .../34413-07.html | 3 + .../34413-08.html | 3 + .../34413-09.html | 5 + .../34413-10.html | 5 + ...61_BasicMissionHarnakUndergroundRuins.java | 222 ++++++++++++++++++ .../noLevel.html | 4 + .../Q00580_BeyondTheMemories/33344-01.htm | 5 + .../Q00580_BeyondTheMemories/33344-01.html | 4 + .../Q00580_BeyondTheMemories/33344-02.htm | 6 + .../Q00580_BeyondTheMemories/33344-03.htm | 5 + .../Q00580_BeyondTheMemories/33344-04.htm | 6 + .../Q00580_BeyondTheMemories/33344-05.html | 4 + .../Q00580_BeyondTheMemories/33344-06.html | 3 + .../Q00580_BeyondTheMemories.java | 211 +++++++++++++++++ .../scripts/quests/QuestMasterHandler.java | 6 +- ...61_BasicMissionHarnakUndergroundRuins.java | 36 --- .../not_done/Q00580_BeyondTheMemories.java | 36 --- 99 files changed, 1662 insertions(+), 228 deletions(-) create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-01.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-02.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-03.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-04.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-01.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-02.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-03.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-04.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/33344-01.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-01.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-02.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-03.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-04.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-05.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-06.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-07.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-08.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-09.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-10.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/Q00561_BasicMissionHarnakUndergroundRuins.java create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/noLevel.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-02.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-03.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-04.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-05.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-06.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/Q00580_BeyondTheMemories.java delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00561_BasicMissionHarnakUndergroundRuins.java delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00580_BeyondTheMemories.java create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-01.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-02.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-03.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-04.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-01.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-02.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-03.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-04.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/33344-01.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-01.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-02.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-03.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-04.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-05.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-06.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-07.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-08.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-09.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-10.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/Q00561_BasicMissionHarnakUndergroundRuins.java create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/noLevel.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-02.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-03.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-04.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-05.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-06.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/Q00580_BeyondTheMemories.java delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00561_BasicMissionHarnakUndergroundRuins.java delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00580_BeyondTheMemories.java create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-01.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-02.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-03.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-04.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-01.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-02.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-03.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-04.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/33344-01.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-01.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-02.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-03.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-04.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-05.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-06.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-07.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-08.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-09.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-10.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/Q00561_BasicMissionHarnakUndergroundRuins.java create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/noLevel.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-02.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-03.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-04.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-05.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-06.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/Q00580_BeyondTheMemories.java delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00561_BasicMissionHarnakUndergroundRuins.java delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00580_BeyondTheMemories.java 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 b9ed84a082..20fd21cfaf 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 @@ -1,5 +1,4 @@ 504 Competition for the Bandit Stronghold -561 Basic Mission: Harnak Underground Ruins 565 Basic Mission: Fairy Settlement - West 566 Basic Mission: Fairy Settlement - East 567 Basic Mission: Isle of Souls @@ -12,7 +11,6 @@ 574 Special Mission: Nornil's Garden 575 Special Mission: Fortuna 576 Special Mission: Defeat Spezion -580 Beyond the Memories 585 Can't Go Against the Time 586 Mutated Creatures 587 More Aggressive Operation diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-01.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-01.html new file mode 100644 index 0000000000..0767d2d868 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-01.html @@ -0,0 +1,4 @@ +Gatekeeper Milia:
+Are you going to the Ruins of Ye Sagira? I know how to get there.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-02.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-02.html new file mode 100644 index 0000000000..9332fe8258 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-02.html @@ -0,0 +1,4 @@ +Gatekeeper Milia:
+It is difficult to teleport directly to the Hamak Underground Ruins. You should take a detour. First, you must teleport to the entrance zone of the Ruins of Ye Sagira. I can help you do this. From there, go to the Ruins of Ye Sagira and then to Exploration Area 1, where you can find Giant's Minion Hadel.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-03.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-03.html new file mode 100644 index 0000000000..465612d4ec --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-03.html @@ -0,0 +1,5 @@ +Gatekeeper Milia:
+In fact, there is a shortcut. The Sayunes next to me can take you directly to Hadel.
+It doesn't matter which way you choose as long as it takes you to where you want to go.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-04.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-04.html new file mode 100644 index 0000000000..6ac6a07896 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-04.html @@ -0,0 +1,3 @@ +Gatekeeper Milia:
+I've explained everything I could about teleportation. Make the best use of Gatekeepers to get to where you want. See you!
+ \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-01.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-01.html new file mode 100644 index 0000000000..e3300b0690 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-01.html @@ -0,0 +1,4 @@ +Gatekeeper Elisa:
+You want to know how to go to the Hamak Underground Ruins? I see! You must be from the Adventure Guild! I'll fill you in briefly on what us Gatekeepers do and also tell you how to teleport through us.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-02.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-02.html new file mode 100644 index 0000000000..af23b82d15 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-02.html @@ -0,0 +1,5 @@ +Gatekeeper Elisa:
+We Gatekeepers use magic to Teleport long distances in a short time via the Gates of Time and Space. We've been trained in the Ivory Tower for a long time to learn these abilities.
+We charge you according to the distance of the teleport, as there are consumables needed for it. However, for adventurers in lower levels, we sometimes waiver the cost.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-03.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-03.html new file mode 100644 index 0000000000..84c6440c07 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-03.html @@ -0,0 +1,5 @@ +Gatekeeper Elisa:
+However, at least, you have to know in which territory the location is, when you want to go somewhere. Is your final destination the Hamak Underground Ruins? If you want to get there, you have to go to the Talking Island Village first.
+If you are teleporting to a certain quest destination, the location will be at the top of the Teleport List so, it's more convenient. Easy, right?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-04.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-04.html new file mode 100644 index 0000000000..ca3927622c --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-04.html @@ -0,0 +1,3 @@ +Gatekeeper Elisa:
+When you're ready, talk to me to experience teleporting. When you get to the Talking Island Village, talk to Milia the Gatekeeper. I wish you success.
+ \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/33344-01.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/33344-01.html new file mode 100644 index 0000000000..34761bb7aa --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/33344-01.html @@ -0,0 +1,4 @@ +Giant's Minion Hadel:
+You are the one that the Adventure Guild sent, huh? Do you want to cooperate? No reason to say no.
+(To receive "Hamak Underground Ruins", you have to complete Hadel's quest "Beyond the Memories" first.)
+ \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-01.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-01.htm new file mode 100644 index 0000000000..0df57c1c05 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-01.htm @@ -0,0 +1,4 @@ +Adventure Guildsman Penny:
+Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-02.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-02.htm new file mode 100644 index 0000000000..57672cc277 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-02.htm @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+Herphah thought the best way for you to grow was to carry out missions with us.
+I agree with her. If you accomplish the missions I give you, I'm sure you'll quickly become more powerful.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-03.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-03.htm new file mode 100644 index 0000000000..e9b27d581c --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-03.htm @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+I know that you're confused. But, you'll understand soon. If you accept the mission, I'll explain right away.
+Are you interested in further righteous work?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-04.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-04.htm new file mode 100644 index 0000000000..0b0389445c --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-04.htm @@ -0,0 +1,6 @@ +Adventure Guildsman Penny:
+So you've already learned about the mission. In that case, you can start it right away, without any more explanation.
+But if you want to listen to my explanation again, I would be more than happy to tell you.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-05.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-05.html new file mode 100644 index 0000000000..379f0bcfe1 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-05.html @@ -0,0 +1,3 @@ +Adventure Guildsman Penny:
+You have to accomplish the task at Hamak Underground Ruins on Talking Island. To do so, you need to move to the Ruins of Ye Sagira and talk to Giant's Minion Hadel.
+ \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-06.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-06.html new file mode 100644 index 0000000000..d0929b7a6e --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-06.html @@ -0,0 +1,4 @@ +Adventure Guildsman Penny:
+Welcome back! So, did you do a good job?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-07.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-07.html new file mode 100644 index 0000000000..ba0fe1f086 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-07.html @@ -0,0 +1,3 @@ +Adventure Guildsman Penny:
+Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!
+ \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-08.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-08.html new file mode 100644 index 0000000000..190351d034 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-08.html @@ -0,0 +1,3 @@ +Adventure Guildsman Penny:
+To do the mission, you have to go to Black Wizard Lapathia at the Altar of Evil. Do the mission that Lapathia gives. Then, come back to me.
+ \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-09.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-09.html new file mode 100644 index 0000000000..d8a20e5612 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-09.html @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+In this world, there are many factions. The factions usually are based on their own regions. Sometimes, they are specialized in specific activities, such as fishing, and wield their influence. If you build relations with a faction and establish an Amity Level, you can conduct activities within the faction and take more missions.
+Among these factions, I am a part of the Adventure Guild. When you implement the mission that I gave you, you'll assist the activities of the Adventure Guild. If you do well in the mission from our faction, I'll give you an even better mission.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-10.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-10.html new file mode 100644 index 0000000000..3aa8fef610 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-10.html @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+The mission I'll give you is to help the task at Hamak Underground Ruins on Talking Island.
+But first, you need to learn how get there.
+Go to Gatekeeper Elisa, the Gatekeeper of this town, and she will tell you how to go to the Hamak Underground Ruins. If you successfully arrive at the ruins, meet Giant's Minion Hadel and listen to him.
+ \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/Q00561_BasicMissionHarnakUndergroundRuins.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/Q00561_BasicMissionHarnakUndergroundRuins.java new file mode 100644 index 0000000000..2cdc311b05 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/Q00561_BasicMissionHarnakUndergroundRuins.java @@ -0,0 +1,222 @@ +/* + * 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.Q00561_BasicMissionHarnakUndergroundRuins; + +import com.l2jmobius.gameserver.enums.Faction; +import com.l2jmobius.gameserver.enums.QuestType; +import com.l2jmobius.gameserver.model.actor.Npc; +import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import com.l2jmobius.gameserver.model.quest.Quest; +import com.l2jmobius.gameserver.model.quest.QuestState; +import com.l2jmobius.gameserver.model.quest.State; +import com.l2jmobius.gameserver.network.serverpackets.ExTutorialShowId; +import com.l2jmobius.gameserver.network.serverpackets.TutorialShowHtml; + +/** + * Q00561_BasicMissionHarnakUndergroundRuins + * @URL http://l2on.net/en/?c=quests&id=561&game=1 + * @author NightBR + */ +public class Q00561_BasicMissionHarnakUndergroundRuins extends Quest +{ + // NPCs + private static final int PENNY = 34413; + private static final int ELISA = 30848; + private static final int MILIA = 30006; + private static final int HADEL = 33344; + // Rewards + private static final long EXP = 115930275; + private static final int SP = 115920; + private static final int FP = 100; // Faction points + private static final int SCROLL_OF_ESCAPE_HARNAK_UNDERGROUND_RUINS = 39496; + private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413; + // Misc + private static final int MIN_LEVEL = 85; + private static final int MAX_LEVEL = 87; + + public Q00561_BasicMissionHarnakUndergroundRuins() + { + super(561); + addStartNpc(PENNY); + addTalkId(PENNY, ELISA, MILIA, HADEL); + addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "34413-02.htm": + case "34413-03.htm": + case "34413-06.html": + case "34413-10.html": + case "30848-02.html": + case "30848-03.html": + case "30006-02.html": + case "30006-03.html": + { + htmltext = event; + break; + } + case "34413-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34413-05.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34413-09.html": + { + // Show Service/Help/Faction System page + // TODO: Find the correct Id for player.sendPacket(new ExTutorialShowId(22)); + player.sendPacket(new TutorialShowHtml(npc.getObjectId(), "..\\L2Text\\help_faction.htm", TutorialShowHtml.LARGE_WINDOW)); + qs.setCond(2, true); + htmltext = event; + break; + } + case "34413-07.html": + { + // Rewards + giveItems(player, SCROLL_OF_ESCAPE_HARNAK_UNDERGROUND_RUINS, 1); + addExpAndSp(player, EXP, SP); + addFactionPoints(player, Faction.ADVENTURE_GUILD, FP); // add FP points to ADVENTURE_GUILD Faction + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + break; + } + case "30848-04.html": // ELISA + { + // Show Service/Help/Gatekeeper page + player.sendPacket(new ExTutorialShowId(55)); + qs.setCond(3, true); + htmltext = event; + break; + } + case "30006-04.html": // MILIA + { + qs.setCond(4, 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() == PENNY) + { + htmltext = "34413-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case PENNY: + { + if (qs.getCond() == 1) + { + htmltext = "34413-04.htm"; + } + else if (qs.getCond() == 2) + { + htmltext = "33509-10.htm"; + } + else if (qs.getCond() == 4) + { + htmltext = "34413-05.html"; + } + else + { + htmltext = "34413-06.html"; + } + break; + } + case ELISA: + { + htmltext = "30848-01.html"; + break; + } + case MILIA: + { + htmltext = "30006-01.html"; + break; + } + case HADEL: + { + if (qs.getCond() == 4) + { + qs.setCond(5, true); + htmltext = "33344-01.html"; + } + else if (qs.getCond() == 5) + { + final QuestState st = player.getQuestState("Q00580_BeyondTheMemories"); + if ((st != null) && st.isCompleted()) + { + qs.setCond(7, true); + giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1); + htmltext = null; + } + } + break; + } + } + break; + } + case State.COMPLETED: + + { + if (qs.isNowAvailable()) + { + qs.setState(State.CREATED); + htmltext = "34413-01.htm"; + } + else + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + break; + } + } + return htmltext; + } +} diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/noLevel.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/noLevel.html new file mode 100644 index 0000000000..1f3fb779d3 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/noLevel.html @@ -0,0 +1,4 @@ +Penny:
+I don't understand why someone like you is interested in this mission?
+(Only characters above Lv.85.) + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.htm new file mode 100644 index 0000000000..c2e8664bd9 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.htm @@ -0,0 +1,5 @@ +Giant's Minion Hadel:
+So, you are the guy interested in the Hamak Underground Ruins? I should examine your will and knowledge about the challenge first.
+If you fail my test, I'll send you back.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.html new file mode 100644 index 0000000000..906ef68554 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.html @@ -0,0 +1,4 @@ +Giant's Minion Hadel:
+You are the one that the Adventure Guild sent, huh? Do you want to cooperate? No reason to say no.
+(To receive "Beyond the Memories" quest, you have to take Penny's quest "Hamak Underground Ruins" first.)
+ \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-02.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-02.htm new file mode 100644 index 0000000000..9abe5b9ef2 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-02.htm @@ -0,0 +1,6 @@ +Giant's Minion Hadel:
+First of all, you need to know what the Hamak Underground Ruins are.
+The owner of the ruins, Hamak was a giant of obsession. He killed his wife by locking her up in the labyrinth out of delusional jealousy. The Hamak Underground Ruins are a place where the obsession is enhanced and collected.
+You need to understand what you're getting yourself into.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-03.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-03.htm new file mode 100644 index 0000000000..96e5dc747d --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-03.htm @@ -0,0 +1,5 @@ +Giant's Minion Hadel:
+When you enter the ruins, you will fight against the servants of Hamak. They are the ghosts of ancient times and are mere beings beyond memories. However, they are powerful enough to be a threat, as they are influenced by the space that Hamak dominates.
+You will find yourself in danger. Are you sure you can fight against the existences?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-04.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-04.htm new file mode 100644 index 0000000000..62fdb4c292 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-04.htm @@ -0,0 +1,6 @@ +Giant's Minion Hadel:
+Great Now I understand how strong your will and knowledge are.
+Here's what you need to do. Eliminate 200 Ancient Ghosts in the Hamak Underground Ruins.
+They are the Krakia Bathus, Krakia Carcass, Krakia Lotus, Rakzan, Weiss Khan, Weiss Ele, Bamonti, Seknus, and Noctum. + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-05.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-05.html new file mode 100644 index 0000000000..3ab528b516 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-05.html @@ -0,0 +1,4 @@ +Giant's Minion Hadel:
+Are you done? It's not such an easy place but it looks like you've managed just fine. Am I right to think that?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-06.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-06.html new file mode 100644 index 0000000000..9b63194ba5 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-06.html @@ -0,0 +1,3 @@ +Giant's Minion Hadel:
+I'm shocked at just how capable you are. If you can, please help us again. Someone as dependable as you is always welcome.
+ \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/Q00580_BeyondTheMemories.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/Q00580_BeyondTheMemories.java new file mode 100644 index 0000000000..f0ebe04620 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/Q00580_BeyondTheMemories.java @@ -0,0 +1,211 @@ +/* + * 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.Q00580_BeyondTheMemories; + +import java.util.HashSet; +import java.util.Set; + +import com.l2jmobius.gameserver.enums.QuestSound; +import com.l2jmobius.gameserver.enums.QuestType; +import com.l2jmobius.gameserver.model.Location; +import com.l2jmobius.gameserver.model.actor.Npc; +import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import com.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import com.l2jmobius.gameserver.model.quest.Quest; +import com.l2jmobius.gameserver.model.quest.QuestState; +import com.l2jmobius.gameserver.model.quest.State; +import com.l2jmobius.gameserver.network.NpcStringId; + +import quests.Q00561_BasicMissionHarnakUndergroundRuins.Q00561_BasicMissionHarnakUndergroundRuins; + +/** + * Regular Barrier Maintenance (529) + * @URL https://l2wiki.com/Regular_Barrier_Maintenance + * @author Mobius + */ +public class Q00580_BeyondTheMemories extends Quest +{ + // NPCs + private static final int START_NPC = 33344; // Giant's Minion Hadel + private static final int[] MONSTERS = + { + 22931, // Krakia Bathus + 22932, // Krakia Carcass + 22933, // Krakia Lotus + 22934, // Rakzan + 22935, // Weiss Khan + 22936, // Weiss Ele + 22937, // Bamonti + 22938, // Seknus + 23349, // Noctum + 22939, // Demonic Bathus + 22940, // Demonic Carcass + 22941, // Demonic Lotus + 22942, // Demonic Rakzan + 22943, // Demonic Weiss Khan + 22944, // Demonic Weiss Ele + 22945, // Demonic Bamonti + 22946, // Demonic Seknus + 23350, // Demonic Noctum + }; + // Misc + private static final int KILLING_NPCSTRING_ID = NpcStringId.DEFEAT_MONSTERS_IN_THE_UNDERGROUND_RUINS.getId(); + private static final QuestType QUEST_TYPE = QuestType.DAILY; // REPEATABLE, ONE_TIME, DAILY + private static final boolean PARTY_QUEST = true; + private static final int KILLING_COND = 1; + private static final int FINISH_COND = 2; + private static final int MIN_LEVEL = 85; + // Location + private static final Location HARNAK_UNDERGROUND_RUINS = new Location(-114700, 147909, -7715); + // Rewards + private static final int EXP = 231860550; + private static final int SP = 231840; + private static final int ADENA_AMOUNT = 505080; + + public Q00580_BeyondTheMemories() + { + super(580); + addStartNpc(START_NPC); + addTalkId(START_NPC); + addKillId(MONSTERS); + addCondMinLevel(MIN_LEVEL, getNoQuestMsg(null)); + addCondStartedQuest(Q00561_BasicMissionHarnakUndergroundRuins.class.getSimpleName(), "33344-01.html"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + switch (event) + { + case "33344-02.htm": + case "33344-03.htm": + { + return event; + } + case "33344-04.htm": + { + if (qs.isCreated()) + { + qs.startQuest(); + qs.setCond(KILLING_COND); + } + break; + } + case "gotoharnak": + { + // Teleport to Harnak Underground Ruins Inside + player.teleToLocation(HARNAK_UNDERGROUND_RUINS); + break; + } + case "33344-06.html": + { + if (qs.isCond(FINISH_COND)) + { + // Reward. + addExpAndSp(player, EXP, SP); + giveAdena(player, ADENA_AMOUNT, false); + qs.exitQuest(QUEST_TYPE, true); + } + break; + } + } + return event; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + if (npc.getId() == START_NPC) + { + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "33344-01.htm"; + break; + } + case State.STARTED: + { + if (qs.isCond(KILLING_COND)) + { + htmltext = "33344-04.htm"; + } + else if (qs.isCond(FINISH_COND)) + { + htmltext = "33344-05.html"; + } + break; + } + case State.COMPLETED: + { + if (qs.isNowAvailable()) + { + qs.setState(State.CREATED); + htmltext = "33344-01.htm"; + } + else + { + htmltext = getAlreadyCompletedMsg(player, QUEST_TYPE); + } + 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.isCond(KILLING_COND)) + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + qs.set("AncientGhosts", killedGhosts); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (killedGhosts >= 200) + { + qs.setCond(FINISH_COND, true); + } + sendNpcLogList(killer); + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isCond(KILLING_COND)) + { + final Set holder = new HashSet<>(); + holder.add(new NpcLogListHolder(KILLING_NPCSTRING_ID, true, qs.getInt("AncientGhosts"))); + return holder; + } + 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 d4ec04770e..2912fcd781 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 @@ -137,9 +137,11 @@ import quests.Q00511_AwlUnderFoot.Q00511_AwlUnderFoot; import quests.Q00512_BladeUnderFoot.Q00512_BladeUnderFoot; import quests.Q00551_OlympiadStarter.Q00551_OlympiadStarter; import quests.Q00553_OlympiadUndefeated.Q00553_OlympiadUndefeated; +import quests.Q00561_BasicMissionHarnakUndergroundRuins.Q00561_BasicMissionHarnakUndergroundRuins; import quests.Q00562_BasicMissionAltarOfEvil.Q00562_BasicMissionAltarOfEvil; import quests.Q00563_BasicMissionBloodySwampland.Q00563_BasicMissionBloodySwampland; import quests.Q00564_BasicMissionKartiasLabyrinthSolo.Q00564_BasicMissionKartiasLabyrinthSolo; +import quests.Q00580_BeyondTheMemories.Q00580_BeyondTheMemories; import quests.Q00581_ThePurificationRitual.Q00581_ThePurificationRitual; import quests.Q00582_WashBloodWithBlood.Q00582_WashBloodWithBlood; import quests.Q00583_MeaningOfSurvival.Q00583_MeaningOfSurvival; @@ -582,7 +584,7 @@ public class QuestMasterHandler Q00512_BladeUnderFoot.class, Q00551_OlympiadStarter.class, Q00553_OlympiadUndefeated.class, - Q00561_BasicMissionHarnakUndergroundRuins.class, // TODO: Not done. + Q00561_BasicMissionHarnakUndergroundRuins.class, Q00562_BasicMissionAltarOfEvil.class, Q00563_BasicMissionBloodySwampland.class, Q00564_BasicMissionKartiasLabyrinthSolo.class, @@ -598,7 +600,7 @@ public class QuestMasterHandler Q00574_SpecialMissionNornilsGarden.class, // TODO: Not done. Q00575_SpecialMissionFortuna.class, // TODO: Not done. Q00576_SpecialMissionDefeatSpezion.class, // TODO: Not done. - Q00580_BeyondTheMemories.class, // TODO: Not done. + Q00580_BeyondTheMemories.class, Q00581_ThePurificationRitual.class, // TODO: Not done. Q00582_WashBloodWithBlood.class, // TODO: Not done. Q00583_MeaningOfSurvival.class, // TODO: Not done. diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00561_BasicMissionHarnakUndergroundRuins.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00561_BasicMissionHarnakUndergroundRuins.java deleted file mode 100644 index ed2428129e..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00561_BasicMissionHarnakUndergroundRuins.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 com.l2jmobius.Config; -import com.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00561_BasicMissionHarnakUndergroundRuins extends Quest -{ - private static final int START_NPC = 34413; - - public Q00561_BasicMissionHarnakUndergroundRuins() - { - super(561); - 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/Q00580_BeyondTheMemories.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00580_BeyondTheMemories.java deleted file mode 100644 index 5a3c2403f4..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00580_BeyondTheMemories.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 com.l2jmobius.Config; -import com.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00580_BeyondTheMemories extends Quest -{ - private static final int START_NPC = 33344; - - public Q00580_BeyondTheMemories() - { - super(580); - 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 9f3e50fd0f..4a2522ce24 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 @@ -4,7 +4,6 @@ 555 Red Libra Request - Atelia Refinery 556 Red Libra Request - Fallen Emperor's Throne 557 Red Libra Request - Fall of Etina -561 Basic Mission: Harnak Underground Ruins 565 Basic Mission: Fairy Settlement - West 566 Basic Mission: Fairy Settlement - East 567 Basic Mission: Isle of Souls @@ -18,7 +17,6 @@ 575 Special Mission: Fortuna 576 Special Mission: Defeat Spezion 577 Basic Mission: Silent Valley -580 Beyond the Memories 585 Can't Go Against the Time 586 Mutated Creatures 587 More Aggressive Operation diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-01.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-01.html new file mode 100644 index 0000000000..0767d2d868 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-01.html @@ -0,0 +1,4 @@ +Gatekeeper Milia:
+Are you going to the Ruins of Ye Sagira? I know how to get there.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-02.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-02.html new file mode 100644 index 0000000000..9332fe8258 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-02.html @@ -0,0 +1,4 @@ +Gatekeeper Milia:
+It is difficult to teleport directly to the Hamak Underground Ruins. You should take a detour. First, you must teleport to the entrance zone of the Ruins of Ye Sagira. I can help you do this. From there, go to the Ruins of Ye Sagira and then to Exploration Area 1, where you can find Giant's Minion Hadel.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-03.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-03.html new file mode 100644 index 0000000000..465612d4ec --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-03.html @@ -0,0 +1,5 @@ +Gatekeeper Milia:
+In fact, there is a shortcut. The Sayunes next to me can take you directly to Hadel.
+It doesn't matter which way you choose as long as it takes you to where you want to go.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-04.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-04.html new file mode 100644 index 0000000000..6ac6a07896 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-04.html @@ -0,0 +1,3 @@ +Gatekeeper Milia:
+I've explained everything I could about teleportation. Make the best use of Gatekeepers to get to where you want. See you!
+ \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-01.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-01.html new file mode 100644 index 0000000000..e3300b0690 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-01.html @@ -0,0 +1,4 @@ +Gatekeeper Elisa:
+You want to know how to go to the Hamak Underground Ruins? I see! You must be from the Adventure Guild! I'll fill you in briefly on what us Gatekeepers do and also tell you how to teleport through us.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-02.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-02.html new file mode 100644 index 0000000000..af23b82d15 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-02.html @@ -0,0 +1,5 @@ +Gatekeeper Elisa:
+We Gatekeepers use magic to Teleport long distances in a short time via the Gates of Time and Space. We've been trained in the Ivory Tower for a long time to learn these abilities.
+We charge you according to the distance of the teleport, as there are consumables needed for it. However, for adventurers in lower levels, we sometimes waiver the cost.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-03.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-03.html new file mode 100644 index 0000000000..84c6440c07 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-03.html @@ -0,0 +1,5 @@ +Gatekeeper Elisa:
+However, at least, you have to know in which territory the location is, when you want to go somewhere. Is your final destination the Hamak Underground Ruins? If you want to get there, you have to go to the Talking Island Village first.
+If you are teleporting to a certain quest destination, the location will be at the top of the Teleport List so, it's more convenient. Easy, right?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-04.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-04.html new file mode 100644 index 0000000000..ca3927622c --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-04.html @@ -0,0 +1,3 @@ +Gatekeeper Elisa:
+When you're ready, talk to me to experience teleporting. When you get to the Talking Island Village, talk to Milia the Gatekeeper. I wish you success.
+ \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/33344-01.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/33344-01.html new file mode 100644 index 0000000000..34761bb7aa --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/33344-01.html @@ -0,0 +1,4 @@ +Giant's Minion Hadel:
+You are the one that the Adventure Guild sent, huh? Do you want to cooperate? No reason to say no.
+(To receive "Hamak Underground Ruins", you have to complete Hadel's quest "Beyond the Memories" first.)
+ \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-01.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-01.htm new file mode 100644 index 0000000000..0df57c1c05 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-01.htm @@ -0,0 +1,4 @@ +Adventure Guildsman Penny:
+Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-02.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-02.htm new file mode 100644 index 0000000000..57672cc277 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-02.htm @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+Herphah thought the best way for you to grow was to carry out missions with us.
+I agree with her. If you accomplish the missions I give you, I'm sure you'll quickly become more powerful.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-03.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-03.htm new file mode 100644 index 0000000000..e9b27d581c --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-03.htm @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+I know that you're confused. But, you'll understand soon. If you accept the mission, I'll explain right away.
+Are you interested in further righteous work?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-04.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-04.htm new file mode 100644 index 0000000000..0b0389445c --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-04.htm @@ -0,0 +1,6 @@ +Adventure Guildsman Penny:
+So you've already learned about the mission. In that case, you can start it right away, without any more explanation.
+But if you want to listen to my explanation again, I would be more than happy to tell you.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-05.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-05.html new file mode 100644 index 0000000000..379f0bcfe1 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-05.html @@ -0,0 +1,3 @@ +Adventure Guildsman Penny:
+You have to accomplish the task at Hamak Underground Ruins on Talking Island. To do so, you need to move to the Ruins of Ye Sagira and talk to Giant's Minion Hadel.
+ \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-06.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-06.html new file mode 100644 index 0000000000..d0929b7a6e --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-06.html @@ -0,0 +1,4 @@ +Adventure Guildsman Penny:
+Welcome back! So, did you do a good job?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-07.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-07.html new file mode 100644 index 0000000000..ba0fe1f086 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-07.html @@ -0,0 +1,3 @@ +Adventure Guildsman Penny:
+Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!
+ \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-08.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-08.html new file mode 100644 index 0000000000..190351d034 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-08.html @@ -0,0 +1,3 @@ +Adventure Guildsman Penny:
+To do the mission, you have to go to Black Wizard Lapathia at the Altar of Evil. Do the mission that Lapathia gives. Then, come back to me.
+ \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-09.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-09.html new file mode 100644 index 0000000000..d8a20e5612 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-09.html @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+In this world, there are many factions. The factions usually are based on their own regions. Sometimes, they are specialized in specific activities, such as fishing, and wield their influence. If you build relations with a faction and establish an Amity Level, you can conduct activities within the faction and take more missions.
+Among these factions, I am a part of the Adventure Guild. When you implement the mission that I gave you, you'll assist the activities of the Adventure Guild. If you do well in the mission from our faction, I'll give you an even better mission.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-10.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-10.html new file mode 100644 index 0000000000..3aa8fef610 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-10.html @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+The mission I'll give you is to help the task at Hamak Underground Ruins on Talking Island.
+But first, you need to learn how get there.
+Go to Gatekeeper Elisa, the Gatekeeper of this town, and she will tell you how to go to the Hamak Underground Ruins. If you successfully arrive at the ruins, meet Giant's Minion Hadel and listen to him.
+ \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/Q00561_BasicMissionHarnakUndergroundRuins.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/Q00561_BasicMissionHarnakUndergroundRuins.java new file mode 100644 index 0000000000..2cdc311b05 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/Q00561_BasicMissionHarnakUndergroundRuins.java @@ -0,0 +1,222 @@ +/* + * 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.Q00561_BasicMissionHarnakUndergroundRuins; + +import com.l2jmobius.gameserver.enums.Faction; +import com.l2jmobius.gameserver.enums.QuestType; +import com.l2jmobius.gameserver.model.actor.Npc; +import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import com.l2jmobius.gameserver.model.quest.Quest; +import com.l2jmobius.gameserver.model.quest.QuestState; +import com.l2jmobius.gameserver.model.quest.State; +import com.l2jmobius.gameserver.network.serverpackets.ExTutorialShowId; +import com.l2jmobius.gameserver.network.serverpackets.TutorialShowHtml; + +/** + * Q00561_BasicMissionHarnakUndergroundRuins + * @URL http://l2on.net/en/?c=quests&id=561&game=1 + * @author NightBR + */ +public class Q00561_BasicMissionHarnakUndergroundRuins extends Quest +{ + // NPCs + private static final int PENNY = 34413; + private static final int ELISA = 30848; + private static final int MILIA = 30006; + private static final int HADEL = 33344; + // Rewards + private static final long EXP = 115930275; + private static final int SP = 115920; + private static final int FP = 100; // Faction points + private static final int SCROLL_OF_ESCAPE_HARNAK_UNDERGROUND_RUINS = 39496; + private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413; + // Misc + private static final int MIN_LEVEL = 85; + private static final int MAX_LEVEL = 87; + + public Q00561_BasicMissionHarnakUndergroundRuins() + { + super(561); + addStartNpc(PENNY); + addTalkId(PENNY, ELISA, MILIA, HADEL); + addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "34413-02.htm": + case "34413-03.htm": + case "34413-06.html": + case "34413-10.html": + case "30848-02.html": + case "30848-03.html": + case "30006-02.html": + case "30006-03.html": + { + htmltext = event; + break; + } + case "34413-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34413-05.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34413-09.html": + { + // Show Service/Help/Faction System page + // TODO: Find the correct Id for player.sendPacket(new ExTutorialShowId(22)); + player.sendPacket(new TutorialShowHtml(npc.getObjectId(), "..\\L2Text\\help_faction.htm", TutorialShowHtml.LARGE_WINDOW)); + qs.setCond(2, true); + htmltext = event; + break; + } + case "34413-07.html": + { + // Rewards + giveItems(player, SCROLL_OF_ESCAPE_HARNAK_UNDERGROUND_RUINS, 1); + addExpAndSp(player, EXP, SP); + addFactionPoints(player, Faction.ADVENTURE_GUILD, FP); // add FP points to ADVENTURE_GUILD Faction + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + break; + } + case "30848-04.html": // ELISA + { + // Show Service/Help/Gatekeeper page + player.sendPacket(new ExTutorialShowId(55)); + qs.setCond(3, true); + htmltext = event; + break; + } + case "30006-04.html": // MILIA + { + qs.setCond(4, 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() == PENNY) + { + htmltext = "34413-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case PENNY: + { + if (qs.getCond() == 1) + { + htmltext = "34413-04.htm"; + } + else if (qs.getCond() == 2) + { + htmltext = "33509-10.htm"; + } + else if (qs.getCond() == 4) + { + htmltext = "34413-05.html"; + } + else + { + htmltext = "34413-06.html"; + } + break; + } + case ELISA: + { + htmltext = "30848-01.html"; + break; + } + case MILIA: + { + htmltext = "30006-01.html"; + break; + } + case HADEL: + { + if (qs.getCond() == 4) + { + qs.setCond(5, true); + htmltext = "33344-01.html"; + } + else if (qs.getCond() == 5) + { + final QuestState st = player.getQuestState("Q00580_BeyondTheMemories"); + if ((st != null) && st.isCompleted()) + { + qs.setCond(7, true); + giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1); + htmltext = null; + } + } + break; + } + } + break; + } + case State.COMPLETED: + + { + if (qs.isNowAvailable()) + { + qs.setState(State.CREATED); + htmltext = "34413-01.htm"; + } + else + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + break; + } + } + return htmltext; + } +} diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/noLevel.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/noLevel.html new file mode 100644 index 0000000000..1f3fb779d3 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/noLevel.html @@ -0,0 +1,4 @@ +Penny:
+I don't understand why someone like you is interested in this mission?
+(Only characters above Lv.85.) + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.htm new file mode 100644 index 0000000000..c2e8664bd9 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.htm @@ -0,0 +1,5 @@ +Giant's Minion Hadel:
+So, you are the guy interested in the Hamak Underground Ruins? I should examine your will and knowledge about the challenge first.
+If you fail my test, I'll send you back.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.html new file mode 100644 index 0000000000..906ef68554 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.html @@ -0,0 +1,4 @@ +Giant's Minion Hadel:
+You are the one that the Adventure Guild sent, huh? Do you want to cooperate? No reason to say no.
+(To receive "Beyond the Memories" quest, you have to take Penny's quest "Hamak Underground Ruins" first.)
+ \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-02.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-02.htm new file mode 100644 index 0000000000..9abe5b9ef2 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-02.htm @@ -0,0 +1,6 @@ +Giant's Minion Hadel:
+First of all, you need to know what the Hamak Underground Ruins are.
+The owner of the ruins, Hamak was a giant of obsession. He killed his wife by locking her up in the labyrinth out of delusional jealousy. The Hamak Underground Ruins are a place where the obsession is enhanced and collected.
+You need to understand what you're getting yourself into.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-03.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-03.htm new file mode 100644 index 0000000000..96e5dc747d --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-03.htm @@ -0,0 +1,5 @@ +Giant's Minion Hadel:
+When you enter the ruins, you will fight against the servants of Hamak. They are the ghosts of ancient times and are mere beings beyond memories. However, they are powerful enough to be a threat, as they are influenced by the space that Hamak dominates.
+You will find yourself in danger. Are you sure you can fight against the existences?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-04.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-04.htm new file mode 100644 index 0000000000..62fdb4c292 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-04.htm @@ -0,0 +1,6 @@ +Giant's Minion Hadel:
+Great Now I understand how strong your will and knowledge are.
+Here's what you need to do. Eliminate 200 Ancient Ghosts in the Hamak Underground Ruins.
+They are the Krakia Bathus, Krakia Carcass, Krakia Lotus, Rakzan, Weiss Khan, Weiss Ele, Bamonti, Seknus, and Noctum. + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-05.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-05.html new file mode 100644 index 0000000000..3ab528b516 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-05.html @@ -0,0 +1,4 @@ +Giant's Minion Hadel:
+Are you done? It's not such an easy place but it looks like you've managed just fine. Am I right to think that?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-06.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-06.html new file mode 100644 index 0000000000..9b63194ba5 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-06.html @@ -0,0 +1,3 @@ +Giant's Minion Hadel:
+I'm shocked at just how capable you are. If you can, please help us again. Someone as dependable as you is always welcome.
+ \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/Q00580_BeyondTheMemories.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/Q00580_BeyondTheMemories.java new file mode 100644 index 0000000000..f0ebe04620 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/Q00580_BeyondTheMemories.java @@ -0,0 +1,211 @@ +/* + * 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.Q00580_BeyondTheMemories; + +import java.util.HashSet; +import java.util.Set; + +import com.l2jmobius.gameserver.enums.QuestSound; +import com.l2jmobius.gameserver.enums.QuestType; +import com.l2jmobius.gameserver.model.Location; +import com.l2jmobius.gameserver.model.actor.Npc; +import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import com.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import com.l2jmobius.gameserver.model.quest.Quest; +import com.l2jmobius.gameserver.model.quest.QuestState; +import com.l2jmobius.gameserver.model.quest.State; +import com.l2jmobius.gameserver.network.NpcStringId; + +import quests.Q00561_BasicMissionHarnakUndergroundRuins.Q00561_BasicMissionHarnakUndergroundRuins; + +/** + * Regular Barrier Maintenance (529) + * @URL https://l2wiki.com/Regular_Barrier_Maintenance + * @author Mobius + */ +public class Q00580_BeyondTheMemories extends Quest +{ + // NPCs + private static final int START_NPC = 33344; // Giant's Minion Hadel + private static final int[] MONSTERS = + { + 22931, // Krakia Bathus + 22932, // Krakia Carcass + 22933, // Krakia Lotus + 22934, // Rakzan + 22935, // Weiss Khan + 22936, // Weiss Ele + 22937, // Bamonti + 22938, // Seknus + 23349, // Noctum + 22939, // Demonic Bathus + 22940, // Demonic Carcass + 22941, // Demonic Lotus + 22942, // Demonic Rakzan + 22943, // Demonic Weiss Khan + 22944, // Demonic Weiss Ele + 22945, // Demonic Bamonti + 22946, // Demonic Seknus + 23350, // Demonic Noctum + }; + // Misc + private static final int KILLING_NPCSTRING_ID = NpcStringId.DEFEAT_MONSTERS_IN_THE_UNDERGROUND_RUINS.getId(); + private static final QuestType QUEST_TYPE = QuestType.DAILY; // REPEATABLE, ONE_TIME, DAILY + private static final boolean PARTY_QUEST = true; + private static final int KILLING_COND = 1; + private static final int FINISH_COND = 2; + private static final int MIN_LEVEL = 85; + // Location + private static final Location HARNAK_UNDERGROUND_RUINS = new Location(-114700, 147909, -7715); + // Rewards + private static final int EXP = 231860550; + private static final int SP = 231840; + private static final int ADENA_AMOUNT = 505080; + + public Q00580_BeyondTheMemories() + { + super(580); + addStartNpc(START_NPC); + addTalkId(START_NPC); + addKillId(MONSTERS); + addCondMinLevel(MIN_LEVEL, getNoQuestMsg(null)); + addCondStartedQuest(Q00561_BasicMissionHarnakUndergroundRuins.class.getSimpleName(), "33344-01.html"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + switch (event) + { + case "33344-02.htm": + case "33344-03.htm": + { + return event; + } + case "33344-04.htm": + { + if (qs.isCreated()) + { + qs.startQuest(); + qs.setCond(KILLING_COND); + } + break; + } + case "gotoharnak": + { + // Teleport to Harnak Underground Ruins Inside + player.teleToLocation(HARNAK_UNDERGROUND_RUINS); + break; + } + case "33344-06.html": + { + if (qs.isCond(FINISH_COND)) + { + // Reward. + addExpAndSp(player, EXP, SP); + giveAdena(player, ADENA_AMOUNT, false); + qs.exitQuest(QUEST_TYPE, true); + } + break; + } + } + return event; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + if (npc.getId() == START_NPC) + { + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "33344-01.htm"; + break; + } + case State.STARTED: + { + if (qs.isCond(KILLING_COND)) + { + htmltext = "33344-04.htm"; + } + else if (qs.isCond(FINISH_COND)) + { + htmltext = "33344-05.html"; + } + break; + } + case State.COMPLETED: + { + if (qs.isNowAvailable()) + { + qs.setState(State.CREATED); + htmltext = "33344-01.htm"; + } + else + { + htmltext = getAlreadyCompletedMsg(player, QUEST_TYPE); + } + 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.isCond(KILLING_COND)) + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + qs.set("AncientGhosts", killedGhosts); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (killedGhosts >= 200) + { + qs.setCond(FINISH_COND, true); + } + sendNpcLogList(killer); + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isCond(KILLING_COND)) + { + final Set holder = new HashSet<>(); + holder.add(new NpcLogListHolder(KILLING_NPCSTRING_ID, true, qs.getInt("AncientGhosts"))); + return holder; + } + 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 2b09b2eb8f..3962c0d3e1 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 @@ -115,9 +115,11 @@ import quests.Q00511_AwlUnderFoot.Q00511_AwlUnderFoot; import quests.Q00512_BladeUnderFoot.Q00512_BladeUnderFoot; import quests.Q00551_OlympiadStarter.Q00551_OlympiadStarter; import quests.Q00553_OlympiadUndefeated.Q00553_OlympiadUndefeated; +import quests.Q00561_BasicMissionHarnakUndergroundRuins.Q00561_BasicMissionHarnakUndergroundRuins; import quests.Q00562_BasicMissionAltarOfEvil.Q00562_BasicMissionAltarOfEvil; import quests.Q00563_BasicMissionBloodySwampland.Q00563_BasicMissionBloodySwampland; import quests.Q00564_BasicMissionKartiasLabyrinthSolo.Q00564_BasicMissionKartiasLabyrinthSolo; +import quests.Q00580_BeyondTheMemories.Q00580_BeyondTheMemories; import quests.Q00581_ThePurificationRitual.Q00581_ThePurificationRitual; import quests.Q00582_WashBloodWithBlood.Q00582_WashBloodWithBlood; import quests.Q00583_MeaningOfSurvival.Q00583_MeaningOfSurvival; @@ -511,7 +513,7 @@ public class QuestMasterHandler Q00529_RegularBarrierMaintenance.class, // TODO: Not done. Q00551_OlympiadStarter.class, Q00553_OlympiadUndefeated.class, - Q00561_BasicMissionHarnakUndergroundRuins.class, // TODO: Not done. + Q00561_BasicMissionHarnakUndergroundRuins.class, Q00562_BasicMissionAltarOfEvil.class, Q00563_BasicMissionBloodySwampland.class, Q00564_BasicMissionKartiasLabyrinthSolo.class, @@ -528,7 +530,7 @@ public class QuestMasterHandler Q00575_SpecialMissionFortuna.class, // TODO: Not done. Q00576_SpecialMissionDefeatSpezion.class, // TODO: Not done. Q00577_BasicMissionSilentValley.class, // TODO: Not done. - Q00580_BeyondTheMemories.class, // TODO: Not done. + Q00580_BeyondTheMemories.class, Q00581_ThePurificationRitual.class, Q00582_WashBloodWithBlood.class, Q00583_MeaningOfSurvival.class, diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00561_BasicMissionHarnakUndergroundRuins.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00561_BasicMissionHarnakUndergroundRuins.java deleted file mode 100644 index ed2428129e..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00561_BasicMissionHarnakUndergroundRuins.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 com.l2jmobius.Config; -import com.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00561_BasicMissionHarnakUndergroundRuins extends Quest -{ - private static final int START_NPC = 34413; - - public Q00561_BasicMissionHarnakUndergroundRuins() - { - super(561); - 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/Q00580_BeyondTheMemories.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00580_BeyondTheMemories.java deleted file mode 100644 index 5a3c2403f4..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00580_BeyondTheMemories.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 com.l2jmobius.Config; -import com.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00580_BeyondTheMemories extends Quest -{ - private static final int START_NPC = 33344; - - public Q00580_BeyondTheMemories() - { - super(580); - 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 0467f9ea43..517d34bae5 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 @@ -7,7 +7,6 @@ 557 Red Libra Request - Fall of Etina 558 Request from the Red Libra Guild - Sea of Spores 559 Request from the Red Libra Guild - Krofin’s Nest -561 Basic Mission: Harnak Underground Ruins 565 Basic Mission: Fairy Settlement - West 566 Basic Mission: Fairy Settlement - East 567 Basic Mission: Isle of Souls @@ -22,7 +21,6 @@ 577 Basic Mission: Silent Valley 578 Basic Mission: Cemetery 579 Basic Mission: Blazing Swamp -580 Beyond the Memories 585 Can't Go Against the Time 586 Mutated Creatures 587 More Aggressive Operation diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-01.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-01.html new file mode 100644 index 0000000000..0767d2d868 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-01.html @@ -0,0 +1,4 @@ +Gatekeeper Milia:
+Are you going to the Ruins of Ye Sagira? I know how to get there.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-02.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-02.html new file mode 100644 index 0000000000..9332fe8258 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-02.html @@ -0,0 +1,4 @@ +Gatekeeper Milia:
+It is difficult to teleport directly to the Hamak Underground Ruins. You should take a detour. First, you must teleport to the entrance zone of the Ruins of Ye Sagira. I can help you do this. From there, go to the Ruins of Ye Sagira and then to Exploration Area 1, where you can find Giant's Minion Hadel.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-03.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-03.html new file mode 100644 index 0000000000..465612d4ec --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-03.html @@ -0,0 +1,5 @@ +Gatekeeper Milia:
+In fact, there is a shortcut. The Sayunes next to me can take you directly to Hadel.
+It doesn't matter which way you choose as long as it takes you to where you want to go.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-04.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-04.html new file mode 100644 index 0000000000..6ac6a07896 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30006-04.html @@ -0,0 +1,3 @@ +Gatekeeper Milia:
+I've explained everything I could about teleportation. Make the best use of Gatekeepers to get to where you want. See you!
+ \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-01.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-01.html new file mode 100644 index 0000000000..e3300b0690 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-01.html @@ -0,0 +1,4 @@ +Gatekeeper Elisa:
+You want to know how to go to the Hamak Underground Ruins? I see! You must be from the Adventure Guild! I'll fill you in briefly on what us Gatekeepers do and also tell you how to teleport through us.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-02.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-02.html new file mode 100644 index 0000000000..af23b82d15 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-02.html @@ -0,0 +1,5 @@ +Gatekeeper Elisa:
+We Gatekeepers use magic to Teleport long distances in a short time via the Gates of Time and Space. We've been trained in the Ivory Tower for a long time to learn these abilities.
+We charge you according to the distance of the teleport, as there are consumables needed for it. However, for adventurers in lower levels, we sometimes waiver the cost.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-03.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-03.html new file mode 100644 index 0000000000..84c6440c07 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-03.html @@ -0,0 +1,5 @@ +Gatekeeper Elisa:
+However, at least, you have to know in which territory the location is, when you want to go somewhere. Is your final destination the Hamak Underground Ruins? If you want to get there, you have to go to the Talking Island Village first.
+If you are teleporting to a certain quest destination, the location will be at the top of the Teleport List so, it's more convenient. Easy, right?
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-04.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-04.html new file mode 100644 index 0000000000..ca3927622c --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/30848-04.html @@ -0,0 +1,3 @@ +Gatekeeper Elisa:
+When you're ready, talk to me to experience teleporting. When you get to the Talking Island Village, talk to Milia the Gatekeeper. I wish you success.
+ \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/33344-01.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/33344-01.html new file mode 100644 index 0000000000..34761bb7aa --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/33344-01.html @@ -0,0 +1,4 @@ +Giant's Minion Hadel:
+You are the one that the Adventure Guild sent, huh? Do you want to cooperate? No reason to say no.
+(To receive "Hamak Underground Ruins", you have to complete Hadel's quest "Beyond the Memories" first.)
+ \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-01.htm new file mode 100644 index 0000000000..0df57c1c05 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-01.htm @@ -0,0 +1,4 @@ +Adventure Guildsman Penny:
+Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-02.htm new file mode 100644 index 0000000000..57672cc277 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-02.htm @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+Herphah thought the best way for you to grow was to carry out missions with us.
+I agree with her. If you accomplish the missions I give you, I'm sure you'll quickly become more powerful.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-03.htm new file mode 100644 index 0000000000..e9b27d581c --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-03.htm @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+I know that you're confused. But, you'll understand soon. If you accept the mission, I'll explain right away.
+Are you interested in further righteous work?
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-04.htm new file mode 100644 index 0000000000..0b0389445c --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-04.htm @@ -0,0 +1,6 @@ +Adventure Guildsman Penny:
+So you've already learned about the mission. In that case, you can start it right away, without any more explanation.
+But if you want to listen to my explanation again, I would be more than happy to tell you.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-05.html new file mode 100644 index 0000000000..379f0bcfe1 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-05.html @@ -0,0 +1,3 @@ +Adventure Guildsman Penny:
+You have to accomplish the task at Hamak Underground Ruins on Talking Island. To do so, you need to move to the Ruins of Ye Sagira and talk to Giant's Minion Hadel.
+ \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-06.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-06.html new file mode 100644 index 0000000000..d0929b7a6e --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-06.html @@ -0,0 +1,4 @@ +Adventure Guildsman Penny:
+Welcome back! So, did you do a good job?
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-07.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-07.html new file mode 100644 index 0000000000..ba0fe1f086 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-07.html @@ -0,0 +1,3 @@ +Adventure Guildsman Penny:
+Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!
+ \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-08.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-08.html new file mode 100644 index 0000000000..190351d034 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-08.html @@ -0,0 +1,3 @@ +Adventure Guildsman Penny:
+To do the mission, you have to go to Black Wizard Lapathia at the Altar of Evil. Do the mission that Lapathia gives. Then, come back to me.
+ \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-09.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-09.html new file mode 100644 index 0000000000..d8a20e5612 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-09.html @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+In this world, there are many factions. The factions usually are based on their own regions. Sometimes, they are specialized in specific activities, such as fishing, and wield their influence. If you build relations with a faction and establish an Amity Level, you can conduct activities within the faction and take more missions.
+Among these factions, I am a part of the Adventure Guild. When you implement the mission that I gave you, you'll assist the activities of the Adventure Guild. If you do well in the mission from our faction, I'll give you an even better mission.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-10.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-10.html new file mode 100644 index 0000000000..3aa8fef610 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/34413-10.html @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+The mission I'll give you is to help the task at Hamak Underground Ruins on Talking Island.
+But first, you need to learn how get there.
+Go to Gatekeeper Elisa, the Gatekeeper of this town, and she will tell you how to go to the Hamak Underground Ruins. If you successfully arrive at the ruins, meet Giant's Minion Hadel and listen to him.
+ \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/Q00561_BasicMissionHarnakUndergroundRuins.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/Q00561_BasicMissionHarnakUndergroundRuins.java new file mode 100644 index 0000000000..2cdc311b05 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/Q00561_BasicMissionHarnakUndergroundRuins.java @@ -0,0 +1,222 @@ +/* + * 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.Q00561_BasicMissionHarnakUndergroundRuins; + +import com.l2jmobius.gameserver.enums.Faction; +import com.l2jmobius.gameserver.enums.QuestType; +import com.l2jmobius.gameserver.model.actor.Npc; +import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import com.l2jmobius.gameserver.model.quest.Quest; +import com.l2jmobius.gameserver.model.quest.QuestState; +import com.l2jmobius.gameserver.model.quest.State; +import com.l2jmobius.gameserver.network.serverpackets.ExTutorialShowId; +import com.l2jmobius.gameserver.network.serverpackets.TutorialShowHtml; + +/** + * Q00561_BasicMissionHarnakUndergroundRuins + * @URL http://l2on.net/en/?c=quests&id=561&game=1 + * @author NightBR + */ +public class Q00561_BasicMissionHarnakUndergroundRuins extends Quest +{ + // NPCs + private static final int PENNY = 34413; + private static final int ELISA = 30848; + private static final int MILIA = 30006; + private static final int HADEL = 33344; + // Rewards + private static final long EXP = 115930275; + private static final int SP = 115920; + private static final int FP = 100; // Faction points + private static final int SCROLL_OF_ESCAPE_HARNAK_UNDERGROUND_RUINS = 39496; + private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413; + // Misc + private static final int MIN_LEVEL = 85; + private static final int MAX_LEVEL = 87; + + public Q00561_BasicMissionHarnakUndergroundRuins() + { + super(561); + addStartNpc(PENNY); + addTalkId(PENNY, ELISA, MILIA, HADEL); + addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "34413-02.htm": + case "34413-03.htm": + case "34413-06.html": + case "34413-10.html": + case "30848-02.html": + case "30848-03.html": + case "30006-02.html": + case "30006-03.html": + { + htmltext = event; + break; + } + case "34413-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34413-05.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34413-09.html": + { + // Show Service/Help/Faction System page + // TODO: Find the correct Id for player.sendPacket(new ExTutorialShowId(22)); + player.sendPacket(new TutorialShowHtml(npc.getObjectId(), "..\\L2Text\\help_faction.htm", TutorialShowHtml.LARGE_WINDOW)); + qs.setCond(2, true); + htmltext = event; + break; + } + case "34413-07.html": + { + // Rewards + giveItems(player, SCROLL_OF_ESCAPE_HARNAK_UNDERGROUND_RUINS, 1); + addExpAndSp(player, EXP, SP); + addFactionPoints(player, Faction.ADVENTURE_GUILD, FP); // add FP points to ADVENTURE_GUILD Faction + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + break; + } + case "30848-04.html": // ELISA + { + // Show Service/Help/Gatekeeper page + player.sendPacket(new ExTutorialShowId(55)); + qs.setCond(3, true); + htmltext = event; + break; + } + case "30006-04.html": // MILIA + { + qs.setCond(4, 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() == PENNY) + { + htmltext = "34413-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case PENNY: + { + if (qs.getCond() == 1) + { + htmltext = "34413-04.htm"; + } + else if (qs.getCond() == 2) + { + htmltext = "33509-10.htm"; + } + else if (qs.getCond() == 4) + { + htmltext = "34413-05.html"; + } + else + { + htmltext = "34413-06.html"; + } + break; + } + case ELISA: + { + htmltext = "30848-01.html"; + break; + } + case MILIA: + { + htmltext = "30006-01.html"; + break; + } + case HADEL: + { + if (qs.getCond() == 4) + { + qs.setCond(5, true); + htmltext = "33344-01.html"; + } + else if (qs.getCond() == 5) + { + final QuestState st = player.getQuestState("Q00580_BeyondTheMemories"); + if ((st != null) && st.isCompleted()) + { + qs.setCond(7, true); + giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1); + htmltext = null; + } + } + break; + } + } + break; + } + case State.COMPLETED: + + { + if (qs.isNowAvailable()) + { + qs.setState(State.CREATED); + htmltext = "34413-01.htm"; + } + else + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + break; + } + } + return htmltext; + } +} diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/noLevel.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/noLevel.html new file mode 100644 index 0000000000..1f3fb779d3 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00561_BasicMissionHarnakUndergroundRuins/noLevel.html @@ -0,0 +1,4 @@ +Penny:
+I don't understand why someone like you is interested in this mission?
+(Only characters above Lv.85.) + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.htm new file mode 100644 index 0000000000..c2e8664bd9 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.htm @@ -0,0 +1,5 @@ +Giant's Minion Hadel:
+So, you are the guy interested in the Hamak Underground Ruins? I should examine your will and knowledge about the challenge first.
+If you fail my test, I'll send you back.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.html new file mode 100644 index 0000000000..906ef68554 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-01.html @@ -0,0 +1,4 @@ +Giant's Minion Hadel:
+You are the one that the Adventure Guild sent, huh? Do you want to cooperate? No reason to say no.
+(To receive "Beyond the Memories" quest, you have to take Penny's quest "Hamak Underground Ruins" first.)
+ \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-02.htm new file mode 100644 index 0000000000..9abe5b9ef2 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-02.htm @@ -0,0 +1,6 @@ +Giant's Minion Hadel:
+First of all, you need to know what the Hamak Underground Ruins are.
+The owner of the ruins, Hamak was a giant of obsession. He killed his wife by locking her up in the labyrinth out of delusional jealousy. The Hamak Underground Ruins are a place where the obsession is enhanced and collected.
+You need to understand what you're getting yourself into.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-03.htm new file mode 100644 index 0000000000..96e5dc747d --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-03.htm @@ -0,0 +1,5 @@ +Giant's Minion Hadel:
+When you enter the ruins, you will fight against the servants of Hamak. They are the ghosts of ancient times and are mere beings beyond memories. However, they are powerful enough to be a threat, as they are influenced by the space that Hamak dominates.
+You will find yourself in danger. Are you sure you can fight against the existences?
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-04.htm new file mode 100644 index 0000000000..62fdb4c292 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-04.htm @@ -0,0 +1,6 @@ +Giant's Minion Hadel:
+Great Now I understand how strong your will and knowledge are.
+Here's what you need to do. Eliminate 200 Ancient Ghosts in the Hamak Underground Ruins.
+They are the Krakia Bathus, Krakia Carcass, Krakia Lotus, Rakzan, Weiss Khan, Weiss Ele, Bamonti, Seknus, and Noctum. + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-05.html new file mode 100644 index 0000000000..3ab528b516 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-05.html @@ -0,0 +1,4 @@ +Giant's Minion Hadel:
+Are you done? It's not such an easy place but it looks like you've managed just fine. Am I right to think that?
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-06.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-06.html new file mode 100644 index 0000000000..9b63194ba5 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/33344-06.html @@ -0,0 +1,3 @@ +Giant's Minion Hadel:
+I'm shocked at just how capable you are. If you can, please help us again. Someone as dependable as you is always welcome.
+ \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/Q00580_BeyondTheMemories.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/Q00580_BeyondTheMemories.java new file mode 100644 index 0000000000..f0ebe04620 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00580_BeyondTheMemories/Q00580_BeyondTheMemories.java @@ -0,0 +1,211 @@ +/* + * 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.Q00580_BeyondTheMemories; + +import java.util.HashSet; +import java.util.Set; + +import com.l2jmobius.gameserver.enums.QuestSound; +import com.l2jmobius.gameserver.enums.QuestType; +import com.l2jmobius.gameserver.model.Location; +import com.l2jmobius.gameserver.model.actor.Npc; +import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import com.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import com.l2jmobius.gameserver.model.quest.Quest; +import com.l2jmobius.gameserver.model.quest.QuestState; +import com.l2jmobius.gameserver.model.quest.State; +import com.l2jmobius.gameserver.network.NpcStringId; + +import quests.Q00561_BasicMissionHarnakUndergroundRuins.Q00561_BasicMissionHarnakUndergroundRuins; + +/** + * Regular Barrier Maintenance (529) + * @URL https://l2wiki.com/Regular_Barrier_Maintenance + * @author Mobius + */ +public class Q00580_BeyondTheMemories extends Quest +{ + // NPCs + private static final int START_NPC = 33344; // Giant's Minion Hadel + private static final int[] MONSTERS = + { + 22931, // Krakia Bathus + 22932, // Krakia Carcass + 22933, // Krakia Lotus + 22934, // Rakzan + 22935, // Weiss Khan + 22936, // Weiss Ele + 22937, // Bamonti + 22938, // Seknus + 23349, // Noctum + 22939, // Demonic Bathus + 22940, // Demonic Carcass + 22941, // Demonic Lotus + 22942, // Demonic Rakzan + 22943, // Demonic Weiss Khan + 22944, // Demonic Weiss Ele + 22945, // Demonic Bamonti + 22946, // Demonic Seknus + 23350, // Demonic Noctum + }; + // Misc + private static final int KILLING_NPCSTRING_ID = NpcStringId.DEFEAT_MONSTERS_IN_THE_UNDERGROUND_RUINS.getId(); + private static final QuestType QUEST_TYPE = QuestType.DAILY; // REPEATABLE, ONE_TIME, DAILY + private static final boolean PARTY_QUEST = true; + private static final int KILLING_COND = 1; + private static final int FINISH_COND = 2; + private static final int MIN_LEVEL = 85; + // Location + private static final Location HARNAK_UNDERGROUND_RUINS = new Location(-114700, 147909, -7715); + // Rewards + private static final int EXP = 231860550; + private static final int SP = 231840; + private static final int ADENA_AMOUNT = 505080; + + public Q00580_BeyondTheMemories() + { + super(580); + addStartNpc(START_NPC); + addTalkId(START_NPC); + addKillId(MONSTERS); + addCondMinLevel(MIN_LEVEL, getNoQuestMsg(null)); + addCondStartedQuest(Q00561_BasicMissionHarnakUndergroundRuins.class.getSimpleName(), "33344-01.html"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + switch (event) + { + case "33344-02.htm": + case "33344-03.htm": + { + return event; + } + case "33344-04.htm": + { + if (qs.isCreated()) + { + qs.startQuest(); + qs.setCond(KILLING_COND); + } + break; + } + case "gotoharnak": + { + // Teleport to Harnak Underground Ruins Inside + player.teleToLocation(HARNAK_UNDERGROUND_RUINS); + break; + } + case "33344-06.html": + { + if (qs.isCond(FINISH_COND)) + { + // Reward. + addExpAndSp(player, EXP, SP); + giveAdena(player, ADENA_AMOUNT, false); + qs.exitQuest(QUEST_TYPE, true); + } + break; + } + } + return event; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + if (npc.getId() == START_NPC) + { + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "33344-01.htm"; + break; + } + case State.STARTED: + { + if (qs.isCond(KILLING_COND)) + { + htmltext = "33344-04.htm"; + } + else if (qs.isCond(FINISH_COND)) + { + htmltext = "33344-05.html"; + } + break; + } + case State.COMPLETED: + { + if (qs.isNowAvailable()) + { + qs.setState(State.CREATED); + htmltext = "33344-01.htm"; + } + else + { + htmltext = getAlreadyCompletedMsg(player, QUEST_TYPE); + } + 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.isCond(KILLING_COND)) + { + final int killedGhosts = qs.getInt("AncientGhosts") + 1; + qs.set("AncientGhosts", killedGhosts); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (killedGhosts >= 200) + { + qs.setCond(FINISH_COND, true); + } + sendNpcLogList(killer); + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isCond(KILLING_COND)) + { + final Set holder = new HashSet<>(); + holder.add(new NpcLogListHolder(KILLING_NPCSTRING_ID, true, qs.getInt("AncientGhosts"))); + return holder; + } + 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 c43413e044..7a6ab8fe3e 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 @@ -114,9 +114,11 @@ import quests.Q00511_AwlUnderFoot.Q00511_AwlUnderFoot; import quests.Q00512_BladeUnderFoot.Q00512_BladeUnderFoot; import quests.Q00551_OlympiadStarter.Q00551_OlympiadStarter; import quests.Q00553_OlympiadUndefeated.Q00553_OlympiadUndefeated; +import quests.Q00561_BasicMissionHarnakUndergroundRuins.Q00561_BasicMissionHarnakUndergroundRuins; import quests.Q00562_BasicMissionAltarOfEvil.Q00562_BasicMissionAltarOfEvil; import quests.Q00563_BasicMissionBloodySwampland.Q00563_BasicMissionBloodySwampland; import quests.Q00564_BasicMissionKartiasLabyrinthSolo.Q00564_BasicMissionKartiasLabyrinthSolo; +import quests.Q00580_BeyondTheMemories.Q00580_BeyondTheMemories; import quests.Q00581_ThePurificationRitual.Q00581_ThePurificationRitual; import quests.Q00582_WashBloodWithBlood.Q00582_WashBloodWithBlood; import quests.Q00583_MeaningOfSurvival.Q00583_MeaningOfSurvival; @@ -514,7 +516,7 @@ public class QuestMasterHandler Q00551_OlympiadStarter.class, Q00553_OlympiadUndefeated.class, Q00560_HowToOvercomeFear.class, // FIXME: Custom. - Q00561_BasicMissionHarnakUndergroundRuins.class, // TODO: Not done. + Q00561_BasicMissionHarnakUndergroundRuins.class, Q00562_BasicMissionAltarOfEvil.class, Q00563_BasicMissionBloodySwampland.class, Q00564_BasicMissionKartiasLabyrinthSolo.class, @@ -532,7 +534,7 @@ public class QuestMasterHandler Q00577_BasicMissionSilentValley.class, // TODO: Not done. Q00578_BasicMissionCemetery.class, // TODO: Not done. Q00579_BasicMissionBlazingSwamp.class, // TODO: Not done. - Q00580_BeyondTheMemories.class, // TODO: Not done. + Q00580_BeyondTheMemories.class, Q00581_ThePurificationRitual.class, Q00582_WashBloodWithBlood.class, Q00583_MeaningOfSurvival.class, diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00561_BasicMissionHarnakUndergroundRuins.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00561_BasicMissionHarnakUndergroundRuins.java deleted file mode 100644 index ed2428129e..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00561_BasicMissionHarnakUndergroundRuins.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 com.l2jmobius.Config; -import com.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00561_BasicMissionHarnakUndergroundRuins extends Quest -{ - private static final int START_NPC = 34413; - - public Q00561_BasicMissionHarnakUndergroundRuins() - { - super(561); - 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/Q00580_BeyondTheMemories.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00580_BeyondTheMemories.java deleted file mode 100644 index 5a3c2403f4..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00580_BeyondTheMemories.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 com.l2jmobius.Config; -import com.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q00580_BeyondTheMemories extends Quest -{ - private static final int START_NPC = 33344; - - public Q00580_BeyondTheMemories() - { - super(580); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -}