From 78f05e33a55e3436963bf6a1999adcf80ed9a16d Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Fri, 6 Mar 2020 17:41:24 +0000 Subject: [PATCH] Addition of quest 594 and 595. Contributed by Dmitri. --- .../data/scripts/quests/MissingQuests.txt | 2 - .../34227-01.html | 5 + .../34227-02.html | 3 + .../34227-03.html | 3 + .../34413-01.htm | 4 + .../34413-02.htm | 5 + .../34413-03.htm | 5 + .../34413-04.htm | 3 + .../34413-05.html | 5 + .../34413-06.html | 4 + .../34413-07.html | 3 + .../Q00594_BasicMissionDimensionalRift.java | 174 +++++++++++++ .../nolevel.html | 4 + .../31340-01.html | 5 + .../31340-02.html | 4 + .../31340-03.html | 4 + .../31340-04.html | 4 + .../33840-01.html | 5 + .../33840-02.html | 4 + .../33840-03.html | 3 + .../33840-04.html | 4 + .../33840-05.html | 5 + .../34413-01.htm | 4 + .../34413-02.htm | 4 + .../34413-03.htm | 4 + .../34413-04.htm | 5 + .../34413-05.html | 4 + .../34413-06.html | 4 + .../34413-07.html | 5 + .../34413-08.html | 4 + .../34413-09.html | 4 + .../34413-10.html | 3 + ...00595_SpecialMissionRaidersCrossroads.java | 230 ++++++++++++++++++ .../nolevel.html | 4 + .../scripts/quests/QuestMasterHandler.java | 8 +- .../Q00594_BasicMissionDimensionalRift.java | 36 --- ...00595_SpecialMissionRaidersCrossroads.java | 36 --- .../data/scripts/quests/MissingQuests.txt | 2 - .../34227-01.html | 5 + .../34227-02.html | 3 + .../34227-03.html | 3 + .../34413-01.htm | 4 + .../34413-02.htm | 5 + .../34413-03.htm | 5 + .../34413-04.htm | 3 + .../34413-05.html | 5 + .../34413-06.html | 4 + .../34413-07.html | 3 + .../Q00594_BasicMissionDimensionalRift.java | 174 +++++++++++++ .../nolevel.html | 4 + .../31340-01.html | 5 + .../31340-02.html | 4 + .../31340-03.html | 4 + .../31340-04.html | 4 + .../33840-01.html | 5 + .../33840-02.html | 4 + .../33840-03.html | 3 + .../33840-04.html | 4 + .../33840-05.html | 5 + .../34413-01.htm | 4 + .../34413-02.htm | 4 + .../34413-03.htm | 4 + .../34413-04.htm | 5 + .../34413-05.html | 4 + .../34413-06.html | 4 + .../34413-07.html | 5 + .../34413-08.html | 4 + .../34413-09.html | 4 + .../34413-10.html | 3 + ...00595_SpecialMissionRaidersCrossroads.java | 230 ++++++++++++++++++ .../nolevel.html | 4 + .../scripts/quests/QuestMasterHandler.java | 8 +- .../Q00594_BasicMissionDimensionalRift.java | 36 --- ...00595_SpecialMissionRaidersCrossroads.java | 36 --- 74 files changed, 1070 insertions(+), 156 deletions(-) create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-01.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-02.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-03.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-01.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-02.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-03.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-04.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-05.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-06.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-07.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/Q00594_BasicMissionDimensionalRift.java create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/nolevel.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-01.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-02.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-03.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-04.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-01.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-02.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-03.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-04.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-05.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-01.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-02.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-03.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-04.htm create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-05.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-06.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-07.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-08.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-09.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-10.html create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/Q00595_SpecialMissionRaidersCrossroads.java create mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/nolevel.html delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00594_BasicMissionDimensionalRift.java delete mode 100644 L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00595_SpecialMissionRaidersCrossroads.java create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-01.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-02.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-03.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-01.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-02.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-03.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-04.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-05.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-06.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-07.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/Q00594_BasicMissionDimensionalRift.java create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/nolevel.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-01.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-02.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-03.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-04.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-01.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-02.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-03.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-04.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-05.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-01.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-02.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-03.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-04.htm create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-05.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-06.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-07.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-08.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-09.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-10.html create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/Q00595_SpecialMissionRaidersCrossroads.java create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/nolevel.html delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00594_BasicMissionDimensionalRift.java delete mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00595_SpecialMissionRaidersCrossroads.java 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 3be11360ea..bbc7bb5280 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 @@ -11,8 +11,6 @@ 585 Can't Go Against the Time 586 Mutated Creatures 591 Great Ambitions -594 Basic Mission: Dimensional Rift -595 Special Mission: Raider's Crossroads 596 Special Mission: Defeat Baylor 599 Demons and Dimensional Energy 655 A Grand Plan for Taming Wild Beasts diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-01.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-01.html new file mode 100644 index 0000000000..b48a9d0b06 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-01.html @@ -0,0 +1,5 @@ +Quartermaster:
+You are the one that the Adventure Guild sent, huh? Do you want to cooperate? No reason to say no.
+(To receive "Dimensional Rift", you have to complete Beloa quest "Exploring the Dimension - 30-day Search Operation.)
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-02.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-02.html new file mode 100644 index 0000000000..0f2ef4342f --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-02.html @@ -0,0 +1,3 @@ +Quartermaster:
+Complete Beloa daily quest. The necessary quest: Exploring the Dimension - 30-day Search Operation. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-03.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-03.html new file mode 100644 index 0000000000..0f2ef4342f --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-03.html @@ -0,0 +1,3 @@ +Quartermaster:
+Complete Beloa daily quest. The necessary quest: Exploring the Dimension - 30-day Search Operation. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-01.htm new file mode 100644 index 0000000000..f76fbfd581 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/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/Q00594_BasicMissionDimensionalRift/34413-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-02.htm new file mode 100644 index 0000000000..e75e7f80a3 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/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/Q00594_BasicMissionDimensionalRift/34413-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-03.htm new file mode 100644 index 0000000000..0c2ea7cdc6 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/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/Q00594_BasicMissionDimensionalRift/34413-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-04.htm new file mode 100644 index 0000000000..64e9adb50c --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-04.htm @@ -0,0 +1,3 @@ +Adventure Guildsman Penny:
+You have to accomplish the task at Dimensional Rift on Aden. To do so, you need to move to the Dimensional Rift and talk to Beloa.
+ \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-05.html new file mode 100644 index 0000000000..230a40e7d4 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-05.html @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+The mission I'll give you is to help the task at Dimensional Rift on Aden.
+But first, you need to learn how get there.
+If you successfully arrive at the ruins, meet Beloa and listen to him.
+ \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-06.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-06.html new file mode 100644 index 0000000000..c1a3d056c7 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/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/Q00594_BasicMissionDimensionalRift/34413-07.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-07.html new file mode 100644 index 0000000000..d710743738 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/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/Q00594_BasicMissionDimensionalRift/Q00594_BasicMissionDimensionalRift.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/Q00594_BasicMissionDimensionalRift.java new file mode 100644 index 0000000000..1c41a800d4 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/Q00594_BasicMissionDimensionalRift.java @@ -0,0 +1,174 @@ +/* + * 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.Q00594_BasicMissionDimensionalRift; + +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * Basic Mission: Dimensional Rift (594) + * @URL https://l2wiki.com/Basic_Mission:_Dimensional_Rift + * @author Dmitri + */ +public class Q00594_BasicMissionDimensionalRift extends Quest +{ + // NPCs + private static final int PENNY = 34413; + private static final int BELOA = 34227; + // Rewards + private static final int SCROLL_OF_ESCAPE_DIMENSIONAL_RIFT = 80312; + private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413; + // Misc + private static final int MIN_LEVEL = 95; + private static final int MAX_LEVEL = 99; + + public Q00594_BasicMissionDimensionalRift() + { + super(594); + addStartNpc(PENNY); + addTalkId(PENNY, BELOA); + 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": + { + htmltext = event; + break; + } + case "34413-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34227-02.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34413-07.html": + { + // Rewards + giveItems(player, SCROLL_OF_ESCAPE_DIMENSIONAL_RIFT, 1); + addExpAndSp(player, 896549940, 896535); + addFactionPoints(player, Faction.ADVENTURE_GUILD, 130); // add FP points to ADVENTURE_GUILD Faction + qs.exitQuest(QuestType.DAILY, 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-05.html"; + } + else if (qs.getCond() == 3) + { + htmltext = "34413-06.html"; + } + break; + } + case BELOA: + { + if (qs.getCond() == 1) + { + htmltext = "34227-01.html"; + } + else if (qs.getCond() == 2) + { + final QuestState st = player.getQuestState("Q00926_30DaySearchOperation"); + if ((st != null) && st.isCompleted()) + { + qs.setCond(3, true); + giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1); + htmltext = null; + } + else + { + htmltext = "34227-03.html"; + } + } + 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/Q00594_BasicMissionDimensionalRift/nolevel.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/nolevel.html new file mode 100644 index 0000000000..e21a9344c8 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/nolevel.html @@ -0,0 +1,4 @@ +Penny:
+I don't understand why someone like you is interested in this mission?
+(Only characters above Lv.95-99.) + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-01.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-01.html new file mode 100644 index 0000000000..4334243dde --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-01.html @@ -0,0 +1,5 @@ +Captain Mathias:
+hello wanderer. You need to complete one quest.
+The necessary quest: An Impending Threat.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-02.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-02.html new file mode 100644 index 0000000000..3a59eb3236 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-02.html @@ -0,0 +1,4 @@ +Captain Mathias:
+as soon as you complete the task, come back to me
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-03.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-03.html new file mode 100644 index 0000000000..86ade34776 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-03.html @@ -0,0 +1,4 @@ +Captain Mathias:
+you need to complete the task An Impending Threat.
+Anyway, there's no other option. Go and check the missions.
+ \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-04.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-04.html new file mode 100644 index 0000000000..86ade34776 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-04.html @@ -0,0 +1,4 @@ +Captain Mathias:
+you need to complete the task An Impending Threat.
+Anyway, there's no other option. Go and check the missions.
+ \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-01.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-01.html new file mode 100644 index 0000000000..d7ba1c5a17 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-01.html @@ -0,0 +1,5 @@ +Bruener:
+I asked the Adventure Guild to send an adventurer but didn't expect they would send you. I'd like to see how good you are.
+(To complete the "Special Mission: Raider's Crossroads", you must complete the "Operation Roaring Flame".)
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-02.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-02.html new file mode 100644 index 0000000000..09ed41c9b6 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-02.html @@ -0,0 +1,4 @@ +Bruener:
+Go and complete the main task. I hope for you.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-03.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-03.html new file mode 100644 index 0000000000..7f4174aa1b --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-03.html @@ -0,0 +1,3 @@ +Bruener:
+how to complete the quest: Operation Roaring Flame come back to me. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-04.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-04.html new file mode 100644 index 0000000000..c75501a377 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-04.html @@ -0,0 +1,4 @@ +Bruener:
+hello traveler. You have already completed the quest Operation Roaring Flame.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-05.html new file mode 100644 index 0000000000..31c96a3703 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-05.html @@ -0,0 +1,5 @@ +Bruener:
+You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?
+Don't tell me you're going to walk all the way up there. I know a better way.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-01.htm new file mode 100644 index 0000000000..411c9ea2bf --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/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/Q00595_SpecialMissionRaidersCrossroads/34413-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-02.htm new file mode 100644 index 0000000000..f5d92d685e --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-02.htm @@ -0,0 +1,4 @@ +Adventure Guildsman Penny:
+Herphah wants you to do some missions, and I'll chose an appropriate mission depending on your relationship with us at the Adventure Guild.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-03.htm new file mode 100644 index 0000000000..2670cbe898 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-03.htm @@ -0,0 +1,4 @@ +Adventure Guildsman Penny:
+You need to know how to get into the quest area. Talk to Captain Mathias in Rune Township. If successful, our Adventure Guild will give you additional rewards on top of the mission payment and your relationship with our faction will grow even stronger.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-04.htm new file mode 100644 index 0000000000..56b44cf780 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-04.htm @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+You have already collected everything you need to know about the mission. You should be able to start a mission right away without further explanation.
+But if you want to listen to the explanation again, I'd be happy to tell you.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-05.html new file mode 100644 index 0000000000..96d3d3e5d7 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-05.html @@ -0,0 +1,4 @@ +Adventure Guildsman Penny:
+Good choice. Now, go to Captain Mathias at the Rune Township and do the mission that she gives you. When the mission is done, come back to me.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-06.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-06.html new file mode 100644 index 0000000000..abbb3e3213 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-06.html @@ -0,0 +1,4 @@ +Adventure Guildsman Penny:
+You must learn how to get to the mission area. Speak with Captain Mathias in Rune
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-07.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-07.html new file mode 100644 index 0000000000..2270cfe24d --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-07.html @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+I hope you can help us.
+go and fulfill the request of Priest Captain Mathias in Rune Township.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-08.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-08.html new file mode 100644 index 0000000000..5bd683a63b --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-08.html @@ -0,0 +1,4 @@ +Adventure Guildsman Penny:
+I hope you can help us.
+go and fulfill the request of Captain Mathias in Rune Township. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-09.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-09.html new file mode 100644 index 0000000000..1b3b18ec29 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-09.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/Q00595_SpecialMissionRaidersCrossroads/34413-10.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-10.html new file mode 100644 index 0000000000..527423450b --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-10.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/Q00595_SpecialMissionRaidersCrossroads/Q00595_SpecialMissionRaidersCrossroads.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/Q00595_SpecialMissionRaidersCrossroads.java new file mode 100644 index 0000000000..0318a809ad --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/Q00595_SpecialMissionRaidersCrossroads.java @@ -0,0 +1,230 @@ +/* + * 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.Q00595_SpecialMissionRaidersCrossroads; + +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.Location; +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; + +/** + * Special Mission: Raider's Crossroads (595) + * @URL https://l2wiki.com/Special_Mission:_Raider%27s_Crossroads + * @author Dmitri + */ +public class Q00595_SpecialMissionRaidersCrossroads extends Quest +{ + // NPCs + private static final int PENNY = 34413; + private static final int BRUENER = 33840; + private static final int MATHIAS = 31340; + // Rewards + private static final int SCROLL_OF_ESCAPE_RAIDERS_CROSSROADS = 37017; + private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413; + // Misc + private static final int MIN_LEVEL = 97; + private static final int MAX_LEVEL = 99; + // Location + private static final Location TOWN_OF_ADEN = new Location(146632, 26760, -2213); + + public Q00595_SpecialMissionRaidersCrossroads() + { + super(593); + addStartNpc(PENNY); + addTalkId(PENNY, BRUENER, MATHIAS); + 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-07.html": + case "31340-02.html": + case "33840-02.html": + { + htmltext = event; + break; + } + case "34413-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34413-08.html": // PENNY + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "31340-03.html": // MATHIAS + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "33840-03.html": // BRUENER + { + qs.setCond(5, true); + htmltext = event; + break; + } + case "33840-05.html": // BRUENER + { + giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1); + htmltext = event; + break; + } + case "usescroll": + { + // TODO: force player to use item SCROLL_OF_ESCAPE_TOWN_OF_ADEN + player.teleToLocation(TOWN_OF_ADEN); // Town of Aden near Npc Penny - temp solution + takeItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, -1); // remove SOE - temp solution + break; + } + case "34413-10.html": + { + // Rewards + giveItems(player, SCROLL_OF_ESCAPE_RAIDERS_CROSSROADS, 1); + addExpAndSp(player, 2692129950L, 5384220); + addFactionPoints(player, Faction.ADVENTURE_GUILD, 250); // add FP points to ADVENTURE_GUILD Faction + qs.exitQuest(QuestType.DAILY, 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-05.html"; + } + else if (qs.getCond() == 2) + { + htmltext = "34413-08.html"; + } + else if (qs.getCond() == 6) + { + htmltext = "34413-09.html"; + } + break; + } + case MATHIAS: + { + if (qs.getCond() == 2) + { + htmltext = "31340-01.html"; + } + else if (qs.getCond() == 3) + { + final QuestState st = player.getQuestState("Q10445_AnImpendingThreat"); + if ((st != null) && st.isCompleted()) + { + qs.setCond(4, true); + htmltext = null; + } + else + { + htmltext = "31340-03.html"; + } + } + else if (qs.getCond() == 4) + { + htmltext = "31340-04.html"; + } + break; + } + case BRUENER: + { + if (qs.getCond() == 4) + { + htmltext = "33840-01.html"; + } + else if (qs.getCond() == 5) + { + final QuestState st = player.getQuestState("Q00778_OperationRoaringFlame"); + if ((st != null) && st.isCompleted()) + { + qs.setCond(6, true); + htmltext = "33840-04.html"; + } + else + { + htmltext = "33840-03.html"; + } + } + 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/Q00595_SpecialMissionRaidersCrossroads/nolevel.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/nolevel.html new file mode 100644 index 0000000000..fc8e896128 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/nolevel.html @@ -0,0 +1,4 @@ +Penny:
+I don't understand why someone like you is interested in this mission?
+(Only characters above Lv.97-99.) + \ No newline at end of file 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 dfcaf7bb62..d1a286869f 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 @@ -142,6 +142,8 @@ import quests.Q00588_HeadOnCrash.Q00588_HeadOnCrash; import quests.Q00589_ASecretChange.Q00589_ASecretChange; import quests.Q00590_ToEachTheirOwn.Q00590_ToEachTheirOwn; import quests.Q00593_BasicMissionPaganTemple.Q00593_BasicMissionPaganTemple; +import quests.Q00594_BasicMissionDimensionalRift.Q00594_BasicMissionDimensionalRift; +import quests.Q00595_SpecialMissionRaidersCrossroads.Q00595_SpecialMissionRaidersCrossroads; import quests.Q00600_KeyToTheRefiningProcess.Q00600_KeyToTheRefiningProcess; import quests.Q00617_GatherTheFlames.Q00617_GatherTheFlames; import quests.Q00618_IntoTheFlame.Q00618_IntoTheFlame; @@ -498,8 +500,6 @@ import quests.not_done.Q00579_BasicMissionBlazingSwamp; import quests.not_done.Q00585_CantGoAgainstTheTime; import quests.not_done.Q00586_MutatedCreatures; import quests.not_done.Q00591_GreatAmbitions; -import quests.not_done.Q00594_BasicMissionDimensionalRift; -import quests.not_done.Q00595_SpecialMissionRaidersCrossroads; import quests.not_done.Q00596_SpecialMissionDefeatBaylor; import quests.not_done.Q00599_DemonsAndDimensionalEnergy; import quests.not_done.Q00655_AGrandPlanForTamingWildBeasts; @@ -724,8 +724,8 @@ public class QuestMasterHandler Q00590_ToEachTheirOwn.class, Q00591_GreatAmbitions.class, // TODO: Not done. Q00593_BasicMissionPaganTemple.class, - Q00594_BasicMissionDimensionalRift.class, // TODO: Not done. - Q00595_SpecialMissionRaidersCrossroads.class, // TODO: Not done. + Q00594_BasicMissionDimensionalRift.class, + Q00595_SpecialMissionRaidersCrossroads.class, Q00596_SpecialMissionDefeatBaylor.class, // TODO: Not done. Q00599_DemonsAndDimensionalEnergy.class, // TODO: Not done. Q00600_KeyToTheRefiningProcess.class, diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00594_BasicMissionDimensionalRift.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00594_BasicMissionDimensionalRift.java deleted file mode 100644 index f2ac9648e4..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00594_BasicMissionDimensionalRift.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 Q00594_BasicMissionDimensionalRift extends Quest -{ - private static final int START_NPC = 34413; - - public Q00594_BasicMissionDimensionalRift() - { - super(594); - 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/Q00595_SpecialMissionRaidersCrossroads.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00595_SpecialMissionRaidersCrossroads.java deleted file mode 100644 index 802353aebf..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00595_SpecialMissionRaidersCrossroads.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 Q00595_SpecialMissionRaidersCrossroads extends Quest -{ - private static final int START_NPC = 34413; - - public Q00595_SpecialMissionRaidersCrossroads() - { - super(595); - 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 de99868b7b..ccee576965 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 @@ -43,8 +43,6 @@ 586 Mutated Creatures 591 Great Ambitions 592 Snow's Plea - Monsters from Three Areas -594 Basic Mission: Dimensional Rift -595 Special Mission: Raider's Crossroads 596 Special Mission: Defeat Baylor 599 Demons and Dimensional Energy 655 A Grand Plan for Taming Wild Beasts diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-01.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-01.html new file mode 100644 index 0000000000..b48a9d0b06 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-01.html @@ -0,0 +1,5 @@ +Quartermaster:
+You are the one that the Adventure Guild sent, huh? Do you want to cooperate? No reason to say no.
+(To receive "Dimensional Rift", you have to complete Beloa quest "Exploring the Dimension - 30-day Search Operation.)
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-02.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-02.html new file mode 100644 index 0000000000..0f2ef4342f --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-02.html @@ -0,0 +1,3 @@ +Quartermaster:
+Complete Beloa daily quest. The necessary quest: Exploring the Dimension - 30-day Search Operation. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-03.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-03.html new file mode 100644 index 0000000000..0f2ef4342f --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34227-03.html @@ -0,0 +1,3 @@ +Quartermaster:
+Complete Beloa daily quest. The necessary quest: Exploring the Dimension - 30-day Search Operation. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-01.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-01.htm new file mode 100644 index 0000000000..f76fbfd581 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/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_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-02.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-02.htm new file mode 100644 index 0000000000..e75e7f80a3 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/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_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-03.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-03.htm new file mode 100644 index 0000000000..0c2ea7cdc6 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/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_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-04.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-04.htm new file mode 100644 index 0000000000..64e9adb50c --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-04.htm @@ -0,0 +1,3 @@ +Adventure Guildsman Penny:
+You have to accomplish the task at Dimensional Rift on Aden. To do so, you need to move to the Dimensional Rift and talk to Beloa.
+ \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-05.html new file mode 100644 index 0000000000..230a40e7d4 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-05.html @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+The mission I'll give you is to help the task at Dimensional Rift on Aden.
+But first, you need to learn how get there.
+If you successfully arrive at the ruins, meet Beloa and listen to him.
+ \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-06.html new file mode 100644 index 0000000000..c1a3d056c7 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/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_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-07.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/34413-07.html new file mode 100644 index 0000000000..d710743738 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/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_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/Q00594_BasicMissionDimensionalRift.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/Q00594_BasicMissionDimensionalRift.java new file mode 100644 index 0000000000..1c41a800d4 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/Q00594_BasicMissionDimensionalRift.java @@ -0,0 +1,174 @@ +/* + * 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.Q00594_BasicMissionDimensionalRift; + +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +/** + * Basic Mission: Dimensional Rift (594) + * @URL https://l2wiki.com/Basic_Mission:_Dimensional_Rift + * @author Dmitri + */ +public class Q00594_BasicMissionDimensionalRift extends Quest +{ + // NPCs + private static final int PENNY = 34413; + private static final int BELOA = 34227; + // Rewards + private static final int SCROLL_OF_ESCAPE_DIMENSIONAL_RIFT = 80312; + private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413; + // Misc + private static final int MIN_LEVEL = 95; + private static final int MAX_LEVEL = 99; + + public Q00594_BasicMissionDimensionalRift() + { + super(594); + addStartNpc(PENNY); + addTalkId(PENNY, BELOA); + 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": + { + htmltext = event; + break; + } + case "34413-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34227-02.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34413-07.html": + { + // Rewards + giveItems(player, SCROLL_OF_ESCAPE_DIMENSIONAL_RIFT, 1); + addExpAndSp(player, 896549940, 896535); + addFactionPoints(player, Faction.ADVENTURE_GUILD, 130); // add FP points to ADVENTURE_GUILD Faction + qs.exitQuest(QuestType.DAILY, 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-05.html"; + } + else if (qs.getCond() == 3) + { + htmltext = "34413-06.html"; + } + break; + } + case BELOA: + { + if (qs.getCond() == 1) + { + htmltext = "34227-01.html"; + } + else if (qs.getCond() == 2) + { + final QuestState st = player.getQuestState("Q00926_30DaySearchOperation"); + if ((st != null) && st.isCompleted()) + { + qs.setCond(3, true); + giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1); + htmltext = null; + } + else + { + htmltext = "34227-03.html"; + } + } + 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_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/nolevel.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/nolevel.html new file mode 100644 index 0000000000..e21a9344c8 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00594_BasicMissionDimensionalRift/nolevel.html @@ -0,0 +1,4 @@ +Penny:
+I don't understand why someone like you is interested in this mission?
+(Only characters above Lv.95-99.) + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-01.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-01.html new file mode 100644 index 0000000000..4334243dde --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-01.html @@ -0,0 +1,5 @@ +Captain Mathias:
+hello wanderer. You need to complete one quest.
+The necessary quest: An Impending Threat.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-02.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-02.html new file mode 100644 index 0000000000..3a59eb3236 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-02.html @@ -0,0 +1,4 @@ +Captain Mathias:
+as soon as you complete the task, come back to me
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-03.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-03.html new file mode 100644 index 0000000000..86ade34776 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-03.html @@ -0,0 +1,4 @@ +Captain Mathias:
+you need to complete the task An Impending Threat.
+Anyway, there's no other option. Go and check the missions.
+ \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-04.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-04.html new file mode 100644 index 0000000000..86ade34776 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/31340-04.html @@ -0,0 +1,4 @@ +Captain Mathias:
+you need to complete the task An Impending Threat.
+Anyway, there's no other option. Go and check the missions.
+ \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-01.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-01.html new file mode 100644 index 0000000000..d7ba1c5a17 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-01.html @@ -0,0 +1,5 @@ +Bruener:
+I asked the Adventure Guild to send an adventurer but didn't expect they would send you. I'd like to see how good you are.
+(To complete the "Special Mission: Raider's Crossroads", you must complete the "Operation Roaring Flame".)
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-02.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-02.html new file mode 100644 index 0000000000..09ed41c9b6 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-02.html @@ -0,0 +1,4 @@ +Bruener:
+Go and complete the main task. I hope for you.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-03.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-03.html new file mode 100644 index 0000000000..7f4174aa1b --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-03.html @@ -0,0 +1,3 @@ +Bruener:
+how to complete the quest: Operation Roaring Flame come back to me. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-04.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-04.html new file mode 100644 index 0000000000..c75501a377 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-04.html @@ -0,0 +1,4 @@ +Bruener:
+hello traveler. You have already completed the quest Operation Roaring Flame.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-05.html new file mode 100644 index 0000000000..31c96a3703 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/33840-05.html @@ -0,0 +1,5 @@ +Bruener:
+You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?
+Don't tell me you're going to walk all the way up there. I know a better way.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-01.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-01.htm new file mode 100644 index 0000000000..411c9ea2bf --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/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_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-02.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-02.htm new file mode 100644 index 0000000000..f5d92d685e --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-02.htm @@ -0,0 +1,4 @@ +Adventure Guildsman Penny:
+Herphah wants you to do some missions, and I'll chose an appropriate mission depending on your relationship with us at the Adventure Guild.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-03.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-03.htm new file mode 100644 index 0000000000..2670cbe898 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-03.htm @@ -0,0 +1,4 @@ +Adventure Guildsman Penny:
+You need to know how to get into the quest area. Talk to Captain Mathias in Rune Township. If successful, our Adventure Guild will give you additional rewards on top of the mission payment and your relationship with our faction will grow even stronger.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-04.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-04.htm new file mode 100644 index 0000000000..56b44cf780 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-04.htm @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+You have already collected everything you need to know about the mission. You should be able to start a mission right away without further explanation.
+But if you want to listen to the explanation again, I'd be happy to tell you.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-05.html new file mode 100644 index 0000000000..96d3d3e5d7 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-05.html @@ -0,0 +1,4 @@ +Adventure Guildsman Penny:
+Good choice. Now, go to Captain Mathias at the Rune Township and do the mission that she gives you. When the mission is done, come back to me.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-06.html new file mode 100644 index 0000000000..abbb3e3213 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-06.html @@ -0,0 +1,4 @@ +Adventure Guildsman Penny:
+You must learn how to get to the mission area. Speak with Captain Mathias in Rune
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-07.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-07.html new file mode 100644 index 0000000000..2270cfe24d --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-07.html @@ -0,0 +1,5 @@ +Adventure Guildsman Penny:
+I hope you can help us.
+go and fulfill the request of Priest Captain Mathias in Rune Township.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-08.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-08.html new file mode 100644 index 0000000000..5bd683a63b --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-08.html @@ -0,0 +1,4 @@ +Adventure Guildsman Penny:
+I hope you can help us.
+go and fulfill the request of Captain Mathias in Rune Township. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-09.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-09.html new file mode 100644 index 0000000000..1b3b18ec29 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-09.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_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-10.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-10.html new file mode 100644 index 0000000000..527423450b --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/34413-10.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_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/Q00595_SpecialMissionRaidersCrossroads.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/Q00595_SpecialMissionRaidersCrossroads.java new file mode 100644 index 0000000000..0318a809ad --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/Q00595_SpecialMissionRaidersCrossroads.java @@ -0,0 +1,230 @@ +/* + * 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.Q00595_SpecialMissionRaidersCrossroads; + +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.Location; +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; + +/** + * Special Mission: Raider's Crossroads (595) + * @URL https://l2wiki.com/Special_Mission:_Raider%27s_Crossroads + * @author Dmitri + */ +public class Q00595_SpecialMissionRaidersCrossroads extends Quest +{ + // NPCs + private static final int PENNY = 34413; + private static final int BRUENER = 33840; + private static final int MATHIAS = 31340; + // Rewards + private static final int SCROLL_OF_ESCAPE_RAIDERS_CROSSROADS = 37017; + private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413; + // Misc + private static final int MIN_LEVEL = 97; + private static final int MAX_LEVEL = 99; + // Location + private static final Location TOWN_OF_ADEN = new Location(146632, 26760, -2213); + + public Q00595_SpecialMissionRaidersCrossroads() + { + super(593); + addStartNpc(PENNY); + addTalkId(PENNY, BRUENER, MATHIAS); + 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-07.html": + case "31340-02.html": + case "33840-02.html": + { + htmltext = event; + break; + } + case "34413-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34413-08.html": // PENNY + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "31340-03.html": // MATHIAS + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "33840-03.html": // BRUENER + { + qs.setCond(5, true); + htmltext = event; + break; + } + case "33840-05.html": // BRUENER + { + giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1); + htmltext = event; + break; + } + case "usescroll": + { + // TODO: force player to use item SCROLL_OF_ESCAPE_TOWN_OF_ADEN + player.teleToLocation(TOWN_OF_ADEN); // Town of Aden near Npc Penny - temp solution + takeItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, -1); // remove SOE - temp solution + break; + } + case "34413-10.html": + { + // Rewards + giveItems(player, SCROLL_OF_ESCAPE_RAIDERS_CROSSROADS, 1); + addExpAndSp(player, 2692129950L, 5384220); + addFactionPoints(player, Faction.ADVENTURE_GUILD, 250); // add FP points to ADVENTURE_GUILD Faction + qs.exitQuest(QuestType.DAILY, 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-05.html"; + } + else if (qs.getCond() == 2) + { + htmltext = "34413-08.html"; + } + else if (qs.getCond() == 6) + { + htmltext = "34413-09.html"; + } + break; + } + case MATHIAS: + { + if (qs.getCond() == 2) + { + htmltext = "31340-01.html"; + } + else if (qs.getCond() == 3) + { + final QuestState st = player.getQuestState("Q10445_AnImpendingThreat"); + if ((st != null) && st.isCompleted()) + { + qs.setCond(4, true); + htmltext = null; + } + else + { + htmltext = "31340-03.html"; + } + } + else if (qs.getCond() == 4) + { + htmltext = "31340-04.html"; + } + break; + } + case BRUENER: + { + if (qs.getCond() == 4) + { + htmltext = "33840-01.html"; + } + else if (qs.getCond() == 5) + { + final QuestState st = player.getQuestState("Q00778_OperationRoaringFlame"); + if ((st != null) && st.isCompleted()) + { + qs.setCond(6, true); + htmltext = "33840-04.html"; + } + else + { + htmltext = "33840-03.html"; + } + } + 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_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/nolevel.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/nolevel.html new file mode 100644 index 0000000000..fc8e896128 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00595_SpecialMissionRaidersCrossroads/nolevel.html @@ -0,0 +1,4 @@ +Penny:
+I don't understand why someone like you is interested in this mission?
+(Only characters above Lv.97-99.) + \ No newline at end of file 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 196a03d9a6..10c134d595 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 @@ -72,6 +72,8 @@ import quests.Q00588_HeadOnCrash.Q00588_HeadOnCrash; import quests.Q00589_ASecretChange.Q00589_ASecretChange; import quests.Q00590_ToEachTheirOwn.Q00590_ToEachTheirOwn; import quests.Q00593_BasicMissionPaganTemple.Q00593_BasicMissionPaganTemple; +import quests.Q00594_BasicMissionDimensionalRift.Q00594_BasicMissionDimensionalRift; +import quests.Q00595_SpecialMissionRaidersCrossroads.Q00595_SpecialMissionRaidersCrossroads; import quests.Q00600_KeyToTheRefiningProcess.Q00600_KeyToTheRefiningProcess; import quests.Q00618_IntoTheFlame.Q00618_IntoTheFlame; import quests.Q00620_FourGoblets.Q00620_FourGoblets; @@ -261,8 +263,6 @@ import quests.not_done.Q00504_CompetitionForTheBanditStronghold; import quests.not_done.Q00585_CantGoAgainstTheTime; import quests.not_done.Q00586_MutatedCreatures; import quests.not_done.Q00591_GreatAmbitions; -import quests.not_done.Q00594_BasicMissionDimensionalRift; -import quests.not_done.Q00595_SpecialMissionRaidersCrossroads; import quests.not_done.Q00596_SpecialMissionDefeatBaylor; import quests.not_done.Q00599_DemonsAndDimensionalEnergy; import quests.not_done.Q00655_AGrandPlanForTamingWildBeasts; @@ -398,8 +398,8 @@ public class QuestMasterHandler Q00590_ToEachTheirOwn.class, Q00591_GreatAmbitions.class, // TODO: Not done. Q00593_BasicMissionPaganTemple.class, - Q00594_BasicMissionDimensionalRift.class, // TODO: Not done. - Q00595_SpecialMissionRaidersCrossroads.class, // TODO: Not done. + Q00594_BasicMissionDimensionalRift.class, + Q00595_SpecialMissionRaidersCrossroads.class, Q00596_SpecialMissionDefeatBaylor.class, // TODO: Not done. Q00599_DemonsAndDimensionalEnergy.class, // TODO: Not done. Q00600_KeyToTheRefiningProcess.class, diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00594_BasicMissionDimensionalRift.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00594_BasicMissionDimensionalRift.java deleted file mode 100644 index f2ac9648e4..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00594_BasicMissionDimensionalRift.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 Q00594_BasicMissionDimensionalRift extends Quest -{ - private static final int START_NPC = 34413; - - public Q00594_BasicMissionDimensionalRift() - { - super(594); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00595_SpecialMissionRaidersCrossroads.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00595_SpecialMissionRaidersCrossroads.java deleted file mode 100644 index 802353aebf..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00595_SpecialMissionRaidersCrossroads.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 Q00595_SpecialMissionRaidersCrossroads extends Quest -{ - private static final int START_NPC = 34413; - - public Q00595_SpecialMissionRaidersCrossroads() - { - super(595); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -}