From ad9b3da392e05a5d63185d619ce0da38e819d671 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Wed, 8 Jan 2020 14:39:29 +0000 Subject: [PATCH] Addition of quest With All Your Might (10598). Contributed by Dmitri. --- .../data/scripts/quests/MissingQuests.txt | 1 - .../Q10598_WithAllYourMight/34411-00.htm | 5 + .../Q10598_WithAllYourMight/34411-01.htm | 4 + .../Q10598_WithAllYourMight/34411-02.htm | 4 + .../Q10598_WithAllYourMight/34411-03.htm | 4 + .../Q10598_WithAllYourMight/34411-04.htm | 3 + .../Q10598_WithAllYourMight/34411-05.html | 3 + .../Q10598_WithAllYourMight/34411-06.html | 4 + .../Q10598_WithAllYourMight/34411-07.html | 4 + .../Q10598_WithAllYourMight/34411-08.html | 3 + .../Q10598_WithAllYourMight/34412-01.html | 4 + .../Q10598_WithAllYourMight/34412-02.html | 4 + .../Q10598_WithAllYourMight/34412-03.html | 4 + .../Q10598_WithAllYourMight/34412-04.html | 3 + .../Q10598_WithAllYourMight/34412-05.html | 3 + .../Q10598_WithAllYourMight/34412-06.html | 3 + .../Q10598_WithAllYourMight.java | 217 ++++++++++++++++++ .../scripts/quests/QuestMasterHandler.java | 3 +- .../not_done/Q10598_WithAllYourMight.java | 36 --- .../data/scripts/quests/MissingQuests.txt | 1 - .../Q10598_WithAllYourMight/34411-00.htm | 5 + .../Q10598_WithAllYourMight/34411-01.htm | 4 + .../Q10598_WithAllYourMight/34411-02.htm | 4 + .../Q10598_WithAllYourMight/34411-03.htm | 4 + .../Q10598_WithAllYourMight/34411-04.htm | 3 + .../Q10598_WithAllYourMight/34411-05.html | 3 + .../Q10598_WithAllYourMight/34411-06.html | 4 + .../Q10598_WithAllYourMight/34411-07.html | 4 + .../Q10598_WithAllYourMight/34411-08.html | 3 + .../Q10598_WithAllYourMight/34412-01.html | 4 + .../Q10598_WithAllYourMight/34412-02.html | 4 + .../Q10598_WithAllYourMight/34412-03.html | 4 + .../Q10598_WithAllYourMight/34412-04.html | 3 + .../Q10598_WithAllYourMight/34412-05.html | 3 + .../Q10598_WithAllYourMight/34412-06.html | 3 + .../Q10598_WithAllYourMight.java | 217 ++++++++++++++++++ .../scripts/quests/QuestMasterHandler.java | 3 +- .../not_done/Q10598_WithAllYourMight.java | 36 --- .../data/scripts/quests/MissingQuests.txt | 1 - .../Q10598_WithAllYourMight/34411-00.htm | 5 + .../Q10598_WithAllYourMight/34411-01.htm | 4 + .../Q10598_WithAllYourMight/34411-02.htm | 4 + .../Q10598_WithAllYourMight/34411-03.htm | 4 + .../Q10598_WithAllYourMight/34411-04.htm | 3 + .../Q10598_WithAllYourMight/34411-05.html | 3 + .../Q10598_WithAllYourMight/34411-06.html | 4 + .../Q10598_WithAllYourMight/34411-07.html | 4 + .../Q10598_WithAllYourMight/34411-08.html | 3 + .../Q10598_WithAllYourMight/34412-01.html | 4 + .../Q10598_WithAllYourMight/34412-02.html | 4 + .../Q10598_WithAllYourMight/34412-03.html | 4 + .../Q10598_WithAllYourMight/34412-04.html | 3 + .../Q10598_WithAllYourMight/34412-05.html | 3 + .../Q10598_WithAllYourMight/34412-06.html | 3 + .../Q10598_WithAllYourMight.java | 217 ++++++++++++++++++ .../scripts/quests/QuestMasterHandler.java | 3 +- .../not_done/Q10598_WithAllYourMight.java | 36 --- .../data/scripts/quests/MissingQuests.txt | 1 - .../Q10598_WithAllYourMight/34411-00.htm | 5 + .../Q10598_WithAllYourMight/34411-01.htm | 4 + .../Q10598_WithAllYourMight/34411-02.htm | 4 + .../Q10598_WithAllYourMight/34411-03.htm | 4 + .../Q10598_WithAllYourMight/34411-04.htm | 3 + .../Q10598_WithAllYourMight/34411-05.html | 3 + .../Q10598_WithAllYourMight/34411-06.html | 4 + .../Q10598_WithAllYourMight/34411-07.html | 4 + .../Q10598_WithAllYourMight/34411-08.html | 3 + .../Q10598_WithAllYourMight/34412-01.html | 4 + .../Q10598_WithAllYourMight/34412-02.html | 4 + .../Q10598_WithAllYourMight/34412-03.html | 4 + .../Q10598_WithAllYourMight/34412-04.html | 3 + .../Q10598_WithAllYourMight/34412-05.html | 3 + .../Q10598_WithAllYourMight/34412-06.html | 3 + .../Q10598_WithAllYourMight.java | 217 ++++++++++++++++++ .../scripts/quests/QuestMasterHandler.java | 3 +- .../not_done/Q10598_WithAllYourMight.java | 36 --- 76 files changed, 1096 insertions(+), 152 deletions(-) create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html create mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/Q10598_WithAllYourMight.java delete mode 100644 L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q10598_WithAllYourMight.java create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html create mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/Q10598_WithAllYourMight.java delete mode 100644 L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q10598_WithAllYourMight.java create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/Q10598_WithAllYourMight.java delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q10598_WithAllYourMight.java create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/Q10598_WithAllYourMight.java delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q10598_WithAllYourMight.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 84486bacb0..4dd7ad384e 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 @@ -164,7 +164,6 @@ 10594 Fergason's Scheme 10595 The Dimensional Warp, Part 8 10596 The Dimensional Warp, Part 9 -10598 With All Your Might 10599 Thread of Fate Hanging on the Mother Tree 10726 The Minstrel's Song, Part 5 10731 The Minstrel's Song, Part 6 diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm new file mode 100644 index 0000000000..9510addbed --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm @@ -0,0 +1,5 @@ +Hierarch Asterios:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103.) + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm new file mode 100644 index 0000000000..6b1f423d07 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm @@ -0,0 +1,4 @@ +Hierarch Asterios:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm new file mode 100644 index 0000000000..0c2eb94ebd --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm @@ -0,0 +1,4 @@ +Hierarch Asterios:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm new file mode 100644 index 0000000000..93ab3089dd --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm @@ -0,0 +1,4 @@ +Hierarch Asterios:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm new file mode 100644 index 0000000000..51e3d32167 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm @@ -0,0 +1,3 @@ +Hierarch Asterios:
+NOT DONE QUEST (@TODO need retail html).
+ \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html new file mode 100644 index 0000000000..182d79420e --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html @@ -0,0 +1,3 @@ +Hierarch Asterios:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html new file mode 100644 index 0000000000..7c85f6a172 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html @@ -0,0 +1,4 @@ +Hierarch Asterios:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html new file mode 100644 index 0000000000..63daba6b99 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html @@ -0,0 +1,4 @@ +Hierarch Asterios:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html new file mode 100644 index 0000000000..182d79420e --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html @@ -0,0 +1,3 @@ +Hierarch Asterios:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html new file mode 100644 index 0000000000..d3db8e02c2 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html @@ -0,0 +1,4 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html new file mode 100644 index 0000000000..0e315a4cbf --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html @@ -0,0 +1,4 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html new file mode 100644 index 0000000000..f0edcf6d48 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html @@ -0,0 +1,4 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html new file mode 100644 index 0000000000..c93420fb11 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html @@ -0,0 +1,3 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html new file mode 100644 index 0000000000..c93420fb11 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html @@ -0,0 +1,3 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html new file mode 100644 index 0000000000..c93420fb11 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html @@ -0,0 +1,3 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/Q10598_WithAllYourMight.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/Q10598_WithAllYourMight.java new file mode 100644 index 0000000000..8b01b6d4c3 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/Q10598_WithAllYourMight.java @@ -0,0 +1,217 @@ +/* + * 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.Q10598_WithAllYourMight; + +import org.l2jmobius.Config; +import org.l2jmobius.commons.util.CommonUtil; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree; + +/** + * With All Your Might (10598) + * @URL https://l2wiki.com/With_All_Your_Might + * @author Dmitri + */ +public class Q10598_WithAllYourMight extends Quest +{ + // NPCs + private static final int ASTERIOS = 34411; + private static final int NERUPA = 34412; + // Monsters + private static final int[] MONSTERS = + { + 24117, // Crystal Reep + 24118, // Crystal Reep + 24119, // Crystal Needle + 24120, // Crystal Needle + 24121, // Treant Blossom + 24122, // Treant Blossom + 24123, // Flush Teasle + 24124, // Flush Teasle + 24125, // Creeper Rampike + 24126, // Creeper Rampike + 24139, // Reep Child + 24140, // Needle Child + 24141, // Blossom Child + 24142, // Teasle Child + 24127, // Lithra Aprias + 24128 // Nerupa Aprias + }; + // Items + private static final int LITHRAS_CONSIDERATION = 48366; + // Rewards + private static final int ELCYUM_CRYSTAL = 36514; + private static final int RUNE_STONE = 39738; + // Misc + private static final int MIN_LEVEL = 103; + + public Q10598_WithAllYourMight() + { + super(10598); + addStartNpc(ASTERIOS); + addTalkId(ASTERIOS, NERUPA); + addKillId(MONSTERS); + registerQuestItems(LITHRAS_CONSIDERATION); + addCondMinLevel(MIN_LEVEL, "34411-00.htm"); + addCondCompletedQuest(Q10597_EscapeToTheShadowOfTheMotherTree.class.getSimpleName(), "34411-00.htm"); + addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 10, "34411-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34411-02.htm": + case "34411-03.htm": + case "34412-02.html": + case "34412-03.html": + case "34411-07.html": + { + htmltext = event; + break; + } + case "34411-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34412-04.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34411-08.html": + { + if (qs.isCond(3)) + { + addExpAndSp(player, 543832495200L, 543832200); + takeItems(player, LITHRAS_CONSIDERATION, -1); + giveItems(player, ELCYUM_CRYSTAL, 3); + giveItems(player, RUNE_STONE, 1); + qs.exitQuest(false, true); + htmltext = event; + break; + } + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == ASTERIOS) + { + htmltext = "34411-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case ASTERIOS: + { + if (qs.isCond(1)) + { + htmltext = "34411-04.htm"; + } + else if (qs.isCond(2)) + { + htmltext = "34411-05.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34411-06.html"; + } + break; + } + case NERUPA: + { + if (qs.isCond(1)) + { + htmltext = "34412-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34412-05.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34412-06.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isCond(2) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE) && CommonUtil.contains(MONSTERS, npc.getId())) + { + giveItems(player, LITHRAS_CONSIDERATION, 1); + playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (getQuestItemsCount(player, LITHRAS_CONSIDERATION) >= 2000) + { + qs.setCond(3, true); + } + } + } +} 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 d444533b11..af6462ef54 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 @@ -385,6 +385,7 @@ import quests.Q10577_TemperARustingBlade.Q10577_TemperARustingBlade; import quests.Q10578_TheSoulOfASword.Q10578_TheSoulOfASword; import quests.Q10579_ContainingTheAttributePower.Q10579_ContainingTheAttributePower; import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree; +import quests.Q10598_WithAllYourMight.Q10598_WithAllYourMight; import quests.Q10658_MakkumInTheDimension.Q10658_MakkumInTheDimension; import quests.Q10701_TheRoadToDestruction.Q10701_TheRoadToDestruction; import quests.Q10702_TheRoadToInfinity.Q10702_TheRoadToInfinity; @@ -956,7 +957,7 @@ public class QuestMasterHandler Q10595_TheDimensionalWarpPart8.class, // TODO: Not done. Q10596_TheDimensionalWarpPart9.class, // TODO: Not done. Q10597_EscapeToTheShadowOfTheMotherTree.class, - Q10598_WithAllYourMight.class, // TODO: Not done. + Q10598_WithAllYourMight.class, Q10599_ThreadOfFateHangingOnTheMotherTree.class, // TODO: Not done. Q10658_MakkumInTheDimension.class, Q10701_TheRoadToDestruction.class, diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q10598_WithAllYourMight.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q10598_WithAllYourMight.java deleted file mode 100644 index 2fad66430f..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q10598_WithAllYourMight.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package quests.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10598_WithAllYourMight extends Quest -{ - private static final int START_NPC = 34411; - - public Q10598_WithAllYourMight() - { - super(10598); - 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 73e7e85a76..bf9919afa6 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 @@ -176,7 +176,6 @@ 10594 Fergason's Scheme 10595 The Dimensional Warp, Part 8 10596 The Dimensional Warp, Part 9 -10598 With All Your Might 10599 Thread of Fate Hanging on the Mother Tree 10726 The Minstrel's Song, Part 5 10731 The Minstrel's Song, Part 6 diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm new file mode 100644 index 0000000000..9510addbed --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm @@ -0,0 +1,5 @@ +Hierarch Asterios:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103.) + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm new file mode 100644 index 0000000000..6b1f423d07 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm @@ -0,0 +1,4 @@ +Hierarch Asterios:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm new file mode 100644 index 0000000000..0c2eb94ebd --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm @@ -0,0 +1,4 @@ +Hierarch Asterios:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm new file mode 100644 index 0000000000..93ab3089dd --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm @@ -0,0 +1,4 @@ +Hierarch Asterios:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm new file mode 100644 index 0000000000..51e3d32167 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm @@ -0,0 +1,3 @@ +Hierarch Asterios:
+NOT DONE QUEST (@TODO need retail html).
+ \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html new file mode 100644 index 0000000000..182d79420e --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html @@ -0,0 +1,3 @@ +Hierarch Asterios:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html new file mode 100644 index 0000000000..7c85f6a172 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html @@ -0,0 +1,4 @@ +Hierarch Asterios:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html new file mode 100644 index 0000000000..63daba6b99 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html @@ -0,0 +1,4 @@ +Hierarch Asterios:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html new file mode 100644 index 0000000000..182d79420e --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html @@ -0,0 +1,3 @@ +Hierarch Asterios:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html new file mode 100644 index 0000000000..d3db8e02c2 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html @@ -0,0 +1,4 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html new file mode 100644 index 0000000000..0e315a4cbf --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html @@ -0,0 +1,4 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html new file mode 100644 index 0000000000..f0edcf6d48 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html @@ -0,0 +1,4 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html new file mode 100644 index 0000000000..c93420fb11 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html @@ -0,0 +1,3 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html new file mode 100644 index 0000000000..c93420fb11 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html @@ -0,0 +1,3 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html new file mode 100644 index 0000000000..c93420fb11 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html @@ -0,0 +1,3 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/Q10598_WithAllYourMight.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/Q10598_WithAllYourMight.java new file mode 100644 index 0000000000..8b01b6d4c3 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/Q10598_WithAllYourMight.java @@ -0,0 +1,217 @@ +/* + * 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.Q10598_WithAllYourMight; + +import org.l2jmobius.Config; +import org.l2jmobius.commons.util.CommonUtil; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree; + +/** + * With All Your Might (10598) + * @URL https://l2wiki.com/With_All_Your_Might + * @author Dmitri + */ +public class Q10598_WithAllYourMight extends Quest +{ + // NPCs + private static final int ASTERIOS = 34411; + private static final int NERUPA = 34412; + // Monsters + private static final int[] MONSTERS = + { + 24117, // Crystal Reep + 24118, // Crystal Reep + 24119, // Crystal Needle + 24120, // Crystal Needle + 24121, // Treant Blossom + 24122, // Treant Blossom + 24123, // Flush Teasle + 24124, // Flush Teasle + 24125, // Creeper Rampike + 24126, // Creeper Rampike + 24139, // Reep Child + 24140, // Needle Child + 24141, // Blossom Child + 24142, // Teasle Child + 24127, // Lithra Aprias + 24128 // Nerupa Aprias + }; + // Items + private static final int LITHRAS_CONSIDERATION = 48366; + // Rewards + private static final int ELCYUM_CRYSTAL = 36514; + private static final int RUNE_STONE = 39738; + // Misc + private static final int MIN_LEVEL = 103; + + public Q10598_WithAllYourMight() + { + super(10598); + addStartNpc(ASTERIOS); + addTalkId(ASTERIOS, NERUPA); + addKillId(MONSTERS); + registerQuestItems(LITHRAS_CONSIDERATION); + addCondMinLevel(MIN_LEVEL, "34411-00.htm"); + addCondCompletedQuest(Q10597_EscapeToTheShadowOfTheMotherTree.class.getSimpleName(), "34411-00.htm"); + addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 10, "34411-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34411-02.htm": + case "34411-03.htm": + case "34412-02.html": + case "34412-03.html": + case "34411-07.html": + { + htmltext = event; + break; + } + case "34411-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34412-04.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34411-08.html": + { + if (qs.isCond(3)) + { + addExpAndSp(player, 543832495200L, 543832200); + takeItems(player, LITHRAS_CONSIDERATION, -1); + giveItems(player, ELCYUM_CRYSTAL, 3); + giveItems(player, RUNE_STONE, 1); + qs.exitQuest(false, true); + htmltext = event; + break; + } + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == ASTERIOS) + { + htmltext = "34411-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case ASTERIOS: + { + if (qs.isCond(1)) + { + htmltext = "34411-04.htm"; + } + else if (qs.isCond(2)) + { + htmltext = "34411-05.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34411-06.html"; + } + break; + } + case NERUPA: + { + if (qs.isCond(1)) + { + htmltext = "34412-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34412-05.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34412-06.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isCond(2) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE) && CommonUtil.contains(MONSTERS, npc.getId())) + { + giveItems(player, LITHRAS_CONSIDERATION, 1); + playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (getQuestItemsCount(player, LITHRAS_CONSIDERATION) >= 2000) + { + qs.setCond(3, true); + } + } + } +} 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 4b6bf8e0f5..02fde64143 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 @@ -339,6 +339,7 @@ import quests.Q10577_TemperARustingBlade.Q10577_TemperARustingBlade; import quests.Q10578_TheSoulOfASword.Q10578_TheSoulOfASword; import quests.Q10579_ContainingTheAttributePower.Q10579_ContainingTheAttributePower; import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree; +import quests.Q10598_WithAllYourMight.Q10598_WithAllYourMight; import quests.Q10658_MakkumInTheDimension.Q10658_MakkumInTheDimension; import quests.Q10701_TheRoadToDestruction.Q10701_TheRoadToDestruction; import quests.Q10702_TheRoadToInfinity.Q10702_TheRoadToInfinity; @@ -870,7 +871,7 @@ public class QuestMasterHandler Q10595_TheDimensionalWarpPart8.class, // TODO: Not done. Q10596_TheDimensionalWarpPart9.class, // TODO: Not done. Q10597_EscapeToTheShadowOfTheMotherTree.class, - Q10598_WithAllYourMight.class, // TODO: Not done. + Q10598_WithAllYourMight.class, Q10599_ThreadOfFateHangingOnTheMotherTree.class, // TODO: Not done. Q10658_MakkumInTheDimension.class, Q10701_TheRoadToDestruction.class, diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q10598_WithAllYourMight.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q10598_WithAllYourMight.java deleted file mode 100644 index 2fad66430f..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q10598_WithAllYourMight.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package quests.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10598_WithAllYourMight extends Quest -{ - private static final int START_NPC = 34411; - - public Q10598_WithAllYourMight() - { - super(10598); - 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 08d90cd351..38a1ae6476 100644 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/MissingQuests.txt +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/MissingQuests.txt @@ -184,7 +184,6 @@ 10594 Fergason's Scheme 10595 The Dimensional Warp, Part 8 10596 The Dimensional Warp, Part 9 -10598 With All Your Might 10599 Thread of Fate Hanging on the Mother Tree 10726 The Minstrel's Song, Part 5 10731 The Minstrel's Song, Part 6 diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm new file mode 100644 index 0000000000..9510addbed --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm @@ -0,0 +1,5 @@ +Hierarch Asterios:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103.) + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm new file mode 100644 index 0000000000..6b1f423d07 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm @@ -0,0 +1,4 @@ +Hierarch Asterios:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm new file mode 100644 index 0000000000..0c2eb94ebd --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm @@ -0,0 +1,4 @@ +Hierarch Asterios:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm new file mode 100644 index 0000000000..93ab3089dd --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm @@ -0,0 +1,4 @@ +Hierarch Asterios:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm new file mode 100644 index 0000000000..51e3d32167 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm @@ -0,0 +1,3 @@ +Hierarch Asterios:
+NOT DONE QUEST (@TODO need retail html).
+ \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html new file mode 100644 index 0000000000..182d79420e --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html @@ -0,0 +1,3 @@ +Hierarch Asterios:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html new file mode 100644 index 0000000000..7c85f6a172 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html @@ -0,0 +1,4 @@ +Hierarch Asterios:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html new file mode 100644 index 0000000000..63daba6b99 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html @@ -0,0 +1,4 @@ +Hierarch Asterios:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html new file mode 100644 index 0000000000..182d79420e --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html @@ -0,0 +1,3 @@ +Hierarch Asterios:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html new file mode 100644 index 0000000000..d3db8e02c2 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html @@ -0,0 +1,4 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html new file mode 100644 index 0000000000..0e315a4cbf --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html @@ -0,0 +1,4 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html new file mode 100644 index 0000000000..f0edcf6d48 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html @@ -0,0 +1,4 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html new file mode 100644 index 0000000000..c93420fb11 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html @@ -0,0 +1,3 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html new file mode 100644 index 0000000000..c93420fb11 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html @@ -0,0 +1,3 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html new file mode 100644 index 0000000000..c93420fb11 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html @@ -0,0 +1,3 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/Q10598_WithAllYourMight.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/Q10598_WithAllYourMight.java new file mode 100644 index 0000000000..8b01b6d4c3 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/Q10598_WithAllYourMight.java @@ -0,0 +1,217 @@ +/* + * 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.Q10598_WithAllYourMight; + +import org.l2jmobius.Config; +import org.l2jmobius.commons.util.CommonUtil; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree; + +/** + * With All Your Might (10598) + * @URL https://l2wiki.com/With_All_Your_Might + * @author Dmitri + */ +public class Q10598_WithAllYourMight extends Quest +{ + // NPCs + private static final int ASTERIOS = 34411; + private static final int NERUPA = 34412; + // Monsters + private static final int[] MONSTERS = + { + 24117, // Crystal Reep + 24118, // Crystal Reep + 24119, // Crystal Needle + 24120, // Crystal Needle + 24121, // Treant Blossom + 24122, // Treant Blossom + 24123, // Flush Teasle + 24124, // Flush Teasle + 24125, // Creeper Rampike + 24126, // Creeper Rampike + 24139, // Reep Child + 24140, // Needle Child + 24141, // Blossom Child + 24142, // Teasle Child + 24127, // Lithra Aprias + 24128 // Nerupa Aprias + }; + // Items + private static final int LITHRAS_CONSIDERATION = 48366; + // Rewards + private static final int ELCYUM_CRYSTAL = 36514; + private static final int RUNE_STONE = 39738; + // Misc + private static final int MIN_LEVEL = 103; + + public Q10598_WithAllYourMight() + { + super(10598); + addStartNpc(ASTERIOS); + addTalkId(ASTERIOS, NERUPA); + addKillId(MONSTERS); + registerQuestItems(LITHRAS_CONSIDERATION); + addCondMinLevel(MIN_LEVEL, "34411-00.htm"); + addCondCompletedQuest(Q10597_EscapeToTheShadowOfTheMotherTree.class.getSimpleName(), "34411-00.htm"); + addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 10, "34411-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34411-02.htm": + case "34411-03.htm": + case "34412-02.html": + case "34412-03.html": + case "34411-07.html": + { + htmltext = event; + break; + } + case "34411-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34412-04.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34411-08.html": + { + if (qs.isCond(3)) + { + addExpAndSp(player, 543832495200L, 543832200); + takeItems(player, LITHRAS_CONSIDERATION, -1); + giveItems(player, ELCYUM_CRYSTAL, 3); + giveItems(player, RUNE_STONE, 1); + qs.exitQuest(false, true); + htmltext = event; + break; + } + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == ASTERIOS) + { + htmltext = "34411-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case ASTERIOS: + { + if (qs.isCond(1)) + { + htmltext = "34411-04.htm"; + } + else if (qs.isCond(2)) + { + htmltext = "34411-05.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34411-06.html"; + } + break; + } + case NERUPA: + { + if (qs.isCond(1)) + { + htmltext = "34412-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34412-05.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34412-06.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isCond(2) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE) && CommonUtil.contains(MONSTERS, npc.getId())) + { + giveItems(player, LITHRAS_CONSIDERATION, 1); + playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (getQuestItemsCount(player, LITHRAS_CONSIDERATION) >= 2000) + { + qs.setCond(3, true); + } + } + } +} 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 1d6ffc8c0c..f4bd6ba233 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 @@ -338,6 +338,7 @@ import quests.Q10577_TemperARustingBlade.Q10577_TemperARustingBlade; import quests.Q10578_TheSoulOfASword.Q10578_TheSoulOfASword; import quests.Q10579_ContainingTheAttributePower.Q10579_ContainingTheAttributePower; import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree; +import quests.Q10598_WithAllYourMight.Q10598_WithAllYourMight; import quests.Q10658_MakkumInTheDimension.Q10658_MakkumInTheDimension; import quests.Q10701_TheRoadToDestruction.Q10701_TheRoadToDestruction; import quests.Q10702_TheRoadToInfinity.Q10702_TheRoadToInfinity; @@ -892,7 +893,7 @@ public class QuestMasterHandler Q10595_TheDimensionalWarpPart8.class, // TODO: Not done. Q10596_TheDimensionalWarpPart9.class, // TODO: Not done. Q10597_EscapeToTheShadowOfTheMotherTree.class, - Q10598_WithAllYourMight.class, // TODO: Not done. + Q10598_WithAllYourMight.class, Q10599_ThreadOfFateHangingOnTheMotherTree.class, // TODO: Not done. Q10658_MakkumInTheDimension.class, Q10701_TheRoadToDestruction.class, diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q10598_WithAllYourMight.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q10598_WithAllYourMight.java deleted file mode 100644 index 2fad66430f..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q10598_WithAllYourMight.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package quests.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10598_WithAllYourMight extends Quest -{ - private static final int START_NPC = 34411; - - public Q10598_WithAllYourMight() - { - super(10598); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/MissingQuests.txt index 7c04d32844..f8ed37d0bd 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/MissingQuests.txt +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/MissingQuests.txt @@ -176,7 +176,6 @@ 10594 Fergason's Scheme 10595 The Dimensional Warp, Part 8 10596 The Dimensional Warp, Part 9 -10598 With All Your Might 10599 Thread of Fate Hanging on the Mother Tree 10673 Valentine's Day, Lucy's Reply 10848 Trials before the Battle diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm new file mode 100644 index 0000000000..9510addbed --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm @@ -0,0 +1,5 @@ +Hierarch Asterios:
+The Enchanted Valley has changed, so it's very dangerous.
+I don't think you are supposed to be here yet. Come back when you get stronger.
+(Only characters above Lv. 103.) + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm new file mode 100644 index 0000000000..6b1f423d07 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm @@ -0,0 +1,4 @@ +Hierarch Asterios:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm new file mode 100644 index 0000000000..0c2eb94ebd --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm @@ -0,0 +1,4 @@ +Hierarch Asterios:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm new file mode 100644 index 0000000000..93ab3089dd --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm @@ -0,0 +1,4 @@ +Hierarch Asterios:
+NOT DONE QUEST (@TODO need retail html).
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm new file mode 100644 index 0000000000..51e3d32167 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm @@ -0,0 +1,3 @@ +Hierarch Asterios:
+NOT DONE QUEST (@TODO need retail html).
+ \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html new file mode 100644 index 0000000000..182d79420e --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html @@ -0,0 +1,3 @@ +Hierarch Asterios:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html new file mode 100644 index 0000000000..7c85f6a172 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html @@ -0,0 +1,4 @@ +Hierarch Asterios:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html new file mode 100644 index 0000000000..63daba6b99 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html @@ -0,0 +1,4 @@ +Hierarch Asterios:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html new file mode 100644 index 0000000000..182d79420e --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html @@ -0,0 +1,3 @@ +Hierarch Asterios:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html new file mode 100644 index 0000000000..d3db8e02c2 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html @@ -0,0 +1,4 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html new file mode 100644 index 0000000000..0e315a4cbf --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html @@ -0,0 +1,4 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html new file mode 100644 index 0000000000..f0edcf6d48 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html @@ -0,0 +1,4 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html new file mode 100644 index 0000000000..c93420fb11 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html @@ -0,0 +1,3 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html new file mode 100644 index 0000000000..c93420fb11 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html @@ -0,0 +1,3 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html new file mode 100644 index 0000000000..c93420fb11 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html @@ -0,0 +1,3 @@ +Nerupa:
+I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/Q10598_WithAllYourMight.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/Q10598_WithAllYourMight.java new file mode 100644 index 0000000000..8b01b6d4c3 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q10598_WithAllYourMight/Q10598_WithAllYourMight.java @@ -0,0 +1,217 @@ +/* + * 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.Q10598_WithAllYourMight; + +import org.l2jmobius.Config; +import org.l2jmobius.commons.util.CommonUtil; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree; + +/** + * With All Your Might (10598) + * @URL https://l2wiki.com/With_All_Your_Might + * @author Dmitri + */ +public class Q10598_WithAllYourMight extends Quest +{ + // NPCs + private static final int ASTERIOS = 34411; + private static final int NERUPA = 34412; + // Monsters + private static final int[] MONSTERS = + { + 24117, // Crystal Reep + 24118, // Crystal Reep + 24119, // Crystal Needle + 24120, // Crystal Needle + 24121, // Treant Blossom + 24122, // Treant Blossom + 24123, // Flush Teasle + 24124, // Flush Teasle + 24125, // Creeper Rampike + 24126, // Creeper Rampike + 24139, // Reep Child + 24140, // Needle Child + 24141, // Blossom Child + 24142, // Teasle Child + 24127, // Lithra Aprias + 24128 // Nerupa Aprias + }; + // Items + private static final int LITHRAS_CONSIDERATION = 48366; + // Rewards + private static final int ELCYUM_CRYSTAL = 36514; + private static final int RUNE_STONE = 39738; + // Misc + private static final int MIN_LEVEL = 103; + + public Q10598_WithAllYourMight() + { + super(10598); + addStartNpc(ASTERIOS); + addTalkId(ASTERIOS, NERUPA); + addKillId(MONSTERS); + registerQuestItems(LITHRAS_CONSIDERATION); + addCondMinLevel(MIN_LEVEL, "34411-00.htm"); + addCondCompletedQuest(Q10597_EscapeToTheShadowOfTheMotherTree.class.getSimpleName(), "34411-00.htm"); + addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 10, "34411-00.htm"); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + String htmltext = null; + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "34411-02.htm": + case "34411-03.htm": + case "34412-02.html": + case "34412-03.html": + case "34411-07.html": + { + htmltext = event; + break; + } + case "34411-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34412-04.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34411-08.html": + { + if (qs.isCond(3)) + { + addExpAndSp(player, 543832495200L, 543832200); + takeItems(player, LITHRAS_CONSIDERATION, -1); + giveItems(player, ELCYUM_CRYSTAL, 3); + giveItems(player, RUNE_STONE, 1); + qs.exitQuest(false, true); + htmltext = event; + break; + } + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == ASTERIOS) + { + htmltext = "34411-01.htm"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case ASTERIOS: + { + if (qs.isCond(1)) + { + htmltext = "34411-04.htm"; + } + else if (qs.isCond(2)) + { + htmltext = "34411-05.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34411-06.html"; + } + break; + } + case NERUPA: + { + if (qs.isCond(1)) + { + htmltext = "34412-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34412-05.html"; + } + else if (qs.isCond(3)) + { + htmltext = "34412-06.html"; + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isCond(2) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE) && CommonUtil.contains(MONSTERS, npc.getId())) + { + giveItems(player, LITHRAS_CONSIDERATION, 1); + playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET); + + if (getQuestItemsCount(player, LITHRAS_CONSIDERATION) >= 2000) + { + qs.setCond(3, true); + } + } + } +} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/QuestMasterHandler.java index 71e2f9d3de..47b6358991 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -146,6 +146,7 @@ import quests.Q10589_WhereFatesIntersect.Q10589_WhereFatesIntersect; import quests.Q10590_ReawakenedFate.Q10590_ReawakenedFate; import quests.Q10591_NobleMaterial.Q10591_NobleMaterial; import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree; +import quests.Q10598_WithAllYourMight.Q10598_WithAllYourMight; import quests.Q10658_MakkumInTheDimension.Q10658_MakkumInTheDimension; import quests.Q10701_TheRoadToDestruction.Q10701_TheRoadToDestruction; import quests.Q10702_TheRoadToInfinity.Q10702_TheRoadToInfinity; @@ -446,7 +447,7 @@ public class QuestMasterHandler Q10595_TheDimensionalWarpPart8.class, // TODO: Not done. Q10596_TheDimensionalWarpPart9.class, // TODO: Not done. Q10597_EscapeToTheShadowOfTheMotherTree.class, - Q10598_WithAllYourMight.class, // TODO: Not done. + Q10598_WithAllYourMight.class, Q10599_ThreadOfFateHangingOnTheMotherTree.class, // TODO: Not done. Q10658_MakkumInTheDimension.class, Q10673_ValentinesDayLucysReply.class, // TODO: Not done. diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q10598_WithAllYourMight.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q10598_WithAllYourMight.java deleted file mode 100644 index 2fad66430f..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q10598_WithAllYourMight.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package quests.not_done; - -import org.l2jmobius.Config; -import org.l2jmobius.gameserver.model.quest.Quest; - -/** - * @author Mobius - */ -public class Q10598_WithAllYourMight extends Quest -{ - private static final int START_NPC = 34411; - - public Q10598_WithAllYourMight() - { - super(10598); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -}