diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/MissingQuests.txt index e48395140b..30d8522274 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/MissingQuests.txt +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/MissingQuests.txt @@ -14,7 +14,6 @@ 781 Utilize the Darkness - Seed of Annihilation 782 Utilize the Darkness - Seed of Hellfire 789 Waiting for Pa'agrio -792 The Superion Giants 800 Hunter Guild Request - Altar of Evil 801 Hunter Guild Request - Gludio Territory 802 Hunter Guild Request - Turek Orc Campsite diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm new file mode 100644 index 0000000000..59fb9c9f24 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm @@ -0,0 +1,4 @@ +Fire Dragon Bride Leona Blackbird:
+Hellbound is too dangerous for you. Please leave.
+(Only characters Lv. 102 or above who have completed the "The Superion Giants" quest may undertake this quest.) + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm new file mode 100644 index 0000000000..44aed3572a --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm new file mode 100644 index 0000000000..90c5056f6f --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Ah, adventurer! There you are again. How about helping us some more?
+What do you say? If you don't remember what the mission was, I can tell you again.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm new file mode 100644 index 0000000000..224dc6d50e --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Adventurer! Good to see you. Since you've helped us so much already, how about helping us some more?
+What do you say? If you don't remember what the mission was, I can tell you again.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm new file mode 100644 index 0000000000..cde912722a --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm @@ -0,0 +1,5 @@ +Master Cyphona:
+I've been waiting for you, adventurer. Well since you are here now, will you listen to me? I know I can trust you, but if you complete this mission, we'll become better allies and your pockets will get heavier. What do you say? Or do you need me to explain the mission again?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm new file mode 100644 index 0000000000..a627ba42d2 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm @@ -0,0 +1,4 @@ +Master Cyphona:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm new file mode 100644 index 0000000000..9547c52c50 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm new file mode 100644 index 0000000000..74c5ef2ab4 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 100 Mutated Spirit's Souls. +Intermediate Mission - Collect 200 Mutated Spirit's Souls. +Advanced Mission - Collect 300 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html new file mode 100644 index 0000000000..c210a2c6e5 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html @@ -0,0 +1,6 @@ +Master Cyphona:
+This isn't the first time we've met? You've completed a mission before? I see... Well, I don't really have a good memory.
+If you have completed a mission before, then that means you must have a Mark of Trust. What? You don't have one?
+Then you are either a liar, or you haven't been here in a long time. My trust is something you must continously try to maintain. Will you listen to me?
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm new file mode 100644 index 0000000000..8fda4a294a --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 100 Mutated Spirit's Souls. +Intermediate Mission - Collect 200 Mutated Spirit's Souls. +Advanced Mission - Collect 300 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm new file mode 100644 index 0000000000..dc3a31e65c --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 150 Mutated Spirit's Souls. +Intermediate Mission - Collect 300 Mutated Spirit's Souls. +Advanced Mission - Collect 450 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm new file mode 100644 index 0000000000..9041babe57 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm @@ -0,0 +1,3 @@ +Master Cyphona:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 200. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html new file mode 100644 index 0000000000..07261ba7c6 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html new file mode 100644 index 0000000000..099d5d976b --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Your Unworldly Visitors Faction Level Must be 7 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html new file mode 100644 index 0000000000..e576d51eae --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html new file mode 100644 index 0000000000..b0210c16ab --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html new file mode 100644 index 0000000000..b1267c2d60 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the advanced mission to collect 450 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html new file mode 100644 index 0000000000..b330ec30ef --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 100 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html new file mode 100644 index 0000000000..76cd4c2418 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html new file mode 100644 index 0000000000..a6a8e37cf3 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 300 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html new file mode 100644 index 0000000000..0a171daee2 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html @@ -0,0 +1,5 @@ +Master Cyphona:
+You want to finish already? Well, I can still give you a reward... But it won't be something good. Are you sure?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html new file mode 100644 index 0000000000..241bbb0727 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 100 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html new file mode 100644 index 0000000000..038165ac20 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html new file mode 100644 index 0000000000..2ee03e6bff --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 300 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html new file mode 100644 index 0000000000..6125f68565 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html @@ -0,0 +1,6 @@ +Master Cyphona:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html new file mode 100644 index 0000000000..c5512d08c4 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html new file mode 100644 index 0000000000..42ec78bacd --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html new file mode 100644 index 0000000000..459ea37ee6 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html new file mode 100644 index 0000000000..ec3450a5fc --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html new file mode 100644 index 0000000000..2bf94feff3 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward. We'll be able to maintain our trust. As long as you don't forget about us, that is. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html new file mode 100644 index 0000000000..c2f962f4f2 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward, I'll remember how you've helped us all those times. Here's a higher level Mark of Trust. Thank you for all of your help. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html new file mode 100644 index 0000000000..aacd7919d3 --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward for helping us. Although you didn't get all the Marks, I still remember how you helped us. I have no doubt the trust between us has deepened even more. + \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java new file mode 100644 index 0000000000..53151428ac --- /dev/null +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java @@ -0,0 +1,353 @@ +/* + * 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.Q00792_TheSuperionGiants; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +import quests.not_done.Q10856_SuperionAppears; + +/** + * The Superion Giants (792) + * @URL https://l2wiki.com/The_Superion_Giants + * @author Dmitri + */ +public class Q00792_TheSuperionGiants extends Quest +{ + // NPC + private static final int HISTY = 34243; + // Monsters + private static final int[] MONSTERS = + { + 23774, // Delta Bathus + 23775, // Kracos Delta + 23776, // Kshan Delta + 23777, // Royal temple + 23778, // Royal Shooter + 23779, // Royal wizard + 23780, // Royal First Temple + 23781, // Royal Accurate Shooter + 23782, // Royal Archmage + 23783, // Royal Gatekeeper + }; + // Items + private static final int TRACES_OF_THE_SCATTERED_GIANT = 47192; + private static final int BASIC_SUPPLY_BOX = 48254; + private static final int INTERMEDIATE_SUPPLY_BOX = 48255; + private static final int ADVANCED_SUPPLY_BOX = 48256; + // Misc + private static final int MIN_LEVEL = 102; + + public Q00792_TheSuperionGiants() + { + super(792); + addStartNpc(HISTY); + addTalkId(HISTY); + addKillId(MONSTERS); + registerQuestItems(TRACES_OF_THE_SCATTERED_GIANT); + addCondMinLevel(MIN_LEVEL, "34243-00.htm"); + addCondCompletedQuest(Q10856_SuperionAppears.class.getSimpleName(), "34243-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 "34243-02.htm": + case "34243-03.htm": + case "34243-04.htm": + case "34243-04a.htm": + case "34243-04b.htm": + case "34243-06.html": + case "34243-06a.html": + case "34243-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case "34243-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34243-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34243-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34243-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 5: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 100) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 22_221_427_950L, 22_221_360); + addFactionPoints(player, Faction.GIANT_TRACKERS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 200) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 44_442_855_900L, 44_442_720); + addFactionPoints(player, Faction.GIANT_TRACKERS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 300) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 66_664_283_850L, 66_664_080); + addFactionPoints(player, Faction.GIANT_TRACKERS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "34243-01.htm"; + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case 2: + { + htmltext = "34243-08.html"; + break; + } + case 3: + { + htmltext = "34243-08a.html"; + break; + } + case 4: + { + htmltext = "34243-08b.html"; + break; + } + case 5: + case 6: + case 7: + { + htmltext = "34243-09.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34243-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 100, 1, true)) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 200, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 300, 1, true)) + { + qs.setCond(7, true); + } + break; + } + } + } + } +} \ No newline at end of file diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/QuestMasterHandler.java index f358d845ee..4f3641c0e4 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -185,6 +185,7 @@ import quests.Q00779_UtilizeTheDarknessSeedOfDestruction.Q00779_UtilizeTheDarkne import quests.Q00783_VestigeOfTheMagicPower.Q00783_VestigeOfTheMagicPower; import quests.Q00787_TheRoleOfAWatcher.Q00787_TheRoleOfAWatcher; import quests.Q00790_ObtainingFerinsTrust.Q00790_ObtainingFerinsTrust; +import quests.Q00792_TheSuperionGiants.Q00792_TheSuperionGiants; import quests.Q00817_BlackAteliaResearch.Q00817_BlackAteliaResearch; import quests.Q00823_DisappearedRaceNewFairy.Q00823_DisappearedRaceNewFairy; import quests.Q00826_InSearchOfTheSecretWeapon.Q00826_InSearchOfTheSecretWeapon; @@ -476,7 +477,6 @@ import quests.not_done.Q00780_UtilizeTheDarknessSeedOfInfinity; import quests.not_done.Q00781_UtilizeTheDarknessSeedOfAnnihilation; import quests.not_done.Q00782_UtilizeTheDarknessSeedOfHellfire; import quests.not_done.Q00789_WaitingForPaagrio; -import quests.not_done.Q00792_TheSuperionGiants; import quests.not_done.Q00816_PlansToRepairTheStronghold; import quests.not_done.Q00824_AttackTheCommandPost; import quests.not_done.Q00836_RequestFromTheBlackbirdClan; @@ -721,7 +721,7 @@ public class QuestMasterHandler Q00787_TheRoleOfAWatcher.class, Q00789_WaitingForPaagrio.class, // TODO: Not done. Q00790_ObtainingFerinsTrust.class, - Q00792_TheSuperionGiants.class, // TODO: Not done. + Q00792_TheSuperionGiants.class, Q00816_PlansToRepairTheStronghold.class, // TODO: Not done. Q00817_BlackAteliaResearch.class, Q00823_DisappearedRaceNewFairy.class, diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.java deleted file mode 100644 index 2d0986cf95..0000000000 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.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 Q00792_TheSuperionGiants extends Quest -{ - private static final int START_NPC = 34243; - - public Q00792_TheSuperionGiants() - { - super(792); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/MissingQuests.txt index ba86dd0773..de669022d0 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/MissingQuests.txt +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/MissingQuests.txt @@ -68,7 +68,6 @@ 788 Red Libra Request - Altar of Evil 789 Waiting for Pa'agrio 791 Red Libra Request - Fairy Settlement -792 The Superion Giants 800 Hunter Guild Request - Altar of Evil 801 Hunter Guild Request - Gludio Territory 802 Hunter Guild Request - Turek Orc Campsite diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm new file mode 100644 index 0000000000..59fb9c9f24 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm @@ -0,0 +1,4 @@ +Fire Dragon Bride Leona Blackbird:
+Hellbound is too dangerous for you. Please leave.
+(Only characters Lv. 102 or above who have completed the "The Superion Giants" quest may undertake this quest.) + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm new file mode 100644 index 0000000000..44aed3572a --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm new file mode 100644 index 0000000000..90c5056f6f --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Ah, adventurer! There you are again. How about helping us some more?
+What do you say? If you don't remember what the mission was, I can tell you again.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm new file mode 100644 index 0000000000..224dc6d50e --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Adventurer! Good to see you. Since you've helped us so much already, how about helping us some more?
+What do you say? If you don't remember what the mission was, I can tell you again.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm new file mode 100644 index 0000000000..cde912722a --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm @@ -0,0 +1,5 @@ +Master Cyphona:
+I've been waiting for you, adventurer. Well since you are here now, will you listen to me? I know I can trust you, but if you complete this mission, we'll become better allies and your pockets will get heavier. What do you say? Or do you need me to explain the mission again?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm new file mode 100644 index 0000000000..a627ba42d2 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm @@ -0,0 +1,4 @@ +Master Cyphona:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm new file mode 100644 index 0000000000..9547c52c50 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm new file mode 100644 index 0000000000..74c5ef2ab4 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 100 Mutated Spirit's Souls. +Intermediate Mission - Collect 200 Mutated Spirit's Souls. +Advanced Mission - Collect 300 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html new file mode 100644 index 0000000000..c210a2c6e5 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html @@ -0,0 +1,6 @@ +Master Cyphona:
+This isn't the first time we've met? You've completed a mission before? I see... Well, I don't really have a good memory.
+If you have completed a mission before, then that means you must have a Mark of Trust. What? You don't have one?
+Then you are either a liar, or you haven't been here in a long time. My trust is something you must continously try to maintain. Will you listen to me?
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm new file mode 100644 index 0000000000..8fda4a294a --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 100 Mutated Spirit's Souls. +Intermediate Mission - Collect 200 Mutated Spirit's Souls. +Advanced Mission - Collect 300 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm new file mode 100644 index 0000000000..dc3a31e65c --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 150 Mutated Spirit's Souls. +Intermediate Mission - Collect 300 Mutated Spirit's Souls. +Advanced Mission - Collect 450 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm new file mode 100644 index 0000000000..9041babe57 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm @@ -0,0 +1,3 @@ +Master Cyphona:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 200. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html new file mode 100644 index 0000000000..07261ba7c6 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html new file mode 100644 index 0000000000..099d5d976b --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Your Unworldly Visitors Faction Level Must be 7 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html new file mode 100644 index 0000000000..e576d51eae --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html new file mode 100644 index 0000000000..b0210c16ab --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html new file mode 100644 index 0000000000..b1267c2d60 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the advanced mission to collect 450 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html new file mode 100644 index 0000000000..b330ec30ef --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 100 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html new file mode 100644 index 0000000000..76cd4c2418 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html new file mode 100644 index 0000000000..a6a8e37cf3 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 300 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html new file mode 100644 index 0000000000..0a171daee2 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html @@ -0,0 +1,5 @@ +Master Cyphona:
+You want to finish already? Well, I can still give you a reward... But it won't be something good. Are you sure?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html new file mode 100644 index 0000000000..241bbb0727 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 100 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html new file mode 100644 index 0000000000..038165ac20 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html new file mode 100644 index 0000000000..2ee03e6bff --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 300 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html new file mode 100644 index 0000000000..6125f68565 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html @@ -0,0 +1,6 @@ +Master Cyphona:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html new file mode 100644 index 0000000000..c5512d08c4 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html new file mode 100644 index 0000000000..42ec78bacd --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html new file mode 100644 index 0000000000..459ea37ee6 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html new file mode 100644 index 0000000000..ec3450a5fc --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html new file mode 100644 index 0000000000..2bf94feff3 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward. We'll be able to maintain our trust. As long as you don't forget about us, that is. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html new file mode 100644 index 0000000000..c2f962f4f2 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward, I'll remember how you've helped us all those times. Here's a higher level Mark of Trust. Thank you for all of your help. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html new file mode 100644 index 0000000000..aacd7919d3 --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward for helping us. Although you didn't get all the Marks, I still remember how you helped us. I have no doubt the trust between us has deepened even more. + \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java new file mode 100644 index 0000000000..53151428ac --- /dev/null +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java @@ -0,0 +1,353 @@ +/* + * 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.Q00792_TheSuperionGiants; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +import quests.not_done.Q10856_SuperionAppears; + +/** + * The Superion Giants (792) + * @URL https://l2wiki.com/The_Superion_Giants + * @author Dmitri + */ +public class Q00792_TheSuperionGiants extends Quest +{ + // NPC + private static final int HISTY = 34243; + // Monsters + private static final int[] MONSTERS = + { + 23774, // Delta Bathus + 23775, // Kracos Delta + 23776, // Kshan Delta + 23777, // Royal temple + 23778, // Royal Shooter + 23779, // Royal wizard + 23780, // Royal First Temple + 23781, // Royal Accurate Shooter + 23782, // Royal Archmage + 23783, // Royal Gatekeeper + }; + // Items + private static final int TRACES_OF_THE_SCATTERED_GIANT = 47192; + private static final int BASIC_SUPPLY_BOX = 48254; + private static final int INTERMEDIATE_SUPPLY_BOX = 48255; + private static final int ADVANCED_SUPPLY_BOX = 48256; + // Misc + private static final int MIN_LEVEL = 102; + + public Q00792_TheSuperionGiants() + { + super(792); + addStartNpc(HISTY); + addTalkId(HISTY); + addKillId(MONSTERS); + registerQuestItems(TRACES_OF_THE_SCATTERED_GIANT); + addCondMinLevel(MIN_LEVEL, "34243-00.htm"); + addCondCompletedQuest(Q10856_SuperionAppears.class.getSimpleName(), "34243-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 "34243-02.htm": + case "34243-03.htm": + case "34243-04.htm": + case "34243-04a.htm": + case "34243-04b.htm": + case "34243-06.html": + case "34243-06a.html": + case "34243-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case "34243-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34243-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34243-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34243-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 5: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 100) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 22_221_427_950L, 22_221_360); + addFactionPoints(player, Faction.GIANT_TRACKERS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 200) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 44_442_855_900L, 44_442_720); + addFactionPoints(player, Faction.GIANT_TRACKERS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 300) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 66_664_283_850L, 66_664_080); + addFactionPoints(player, Faction.GIANT_TRACKERS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "34243-01.htm"; + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case 2: + { + htmltext = "34243-08.html"; + break; + } + case 3: + { + htmltext = "34243-08a.html"; + break; + } + case 4: + { + htmltext = "34243-08b.html"; + break; + } + case 5: + case 6: + case 7: + { + htmltext = "34243-09.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34243-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 100, 1, true)) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 200, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 300, 1, true)) + { + qs.setCond(7, true); + } + break; + } + } + } + } +} \ No newline at end of file diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/QuestMasterHandler.java index 4ed82daef0..f76f948697 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -186,6 +186,7 @@ import quests.Q00779_UtilizeTheDarknessSeedOfDestruction.Q00779_UtilizeTheDarkne import quests.Q00783_VestigeOfTheMagicPower.Q00783_VestigeOfTheMagicPower; import quests.Q00787_TheRoleOfAWatcher.Q00787_TheRoleOfAWatcher; import quests.Q00790_ObtainingFerinsTrust.Q00790_ObtainingFerinsTrust; +import quests.Q00792_TheSuperionGiants.Q00792_TheSuperionGiants; import quests.Q00817_BlackAteliaResearch.Q00817_BlackAteliaResearch; import quests.Q00823_DisappearedRaceNewFairy.Q00823_DisappearedRaceNewFairy; import quests.Q00826_InSearchOfTheSecretWeapon.Q00826_InSearchOfTheSecretWeapon; @@ -482,7 +483,6 @@ import quests.not_done.Q00780_UtilizeTheDarknessSeedOfInfinity; import quests.not_done.Q00781_UtilizeTheDarknessSeedOfAnnihilation; import quests.not_done.Q00782_UtilizeTheDarknessSeedOfHellfire; import quests.not_done.Q00789_WaitingForPaagrio; -import quests.not_done.Q00792_TheSuperionGiants; import quests.not_done.Q00816_PlansToRepairTheStronghold; import quests.not_done.Q00824_AttackTheCommandPost; import quests.not_done.Q00836_RequestFromTheBlackbirdClan; @@ -749,7 +749,7 @@ public class QuestMasterHandler Q00787_TheRoleOfAWatcher.class, Q00789_WaitingForPaagrio.class, // TODO: Not done. Q00790_ObtainingFerinsTrust.class, - Q00792_TheSuperionGiants.class, // TODO: Not done. + Q00792_TheSuperionGiants.class, Q00816_PlansToRepairTheStronghold.class, // TODO: Not done. Q00817_BlackAteliaResearch.class, Q00823_DisappearedRaceNewFairy.class, diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.java deleted file mode 100644 index 2d0986cf95..0000000000 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.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 Q00792_TheSuperionGiants extends Quest -{ - private static final int START_NPC = 34243; - - public Q00792_TheSuperionGiants() - { - super(792); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -} diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/MissingQuests.txt index 6bbcb09a90..554f4d0951 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 @@ -89,7 +89,6 @@ 788 Red Libra Request - Altar of Evil 789 Waiting for Pa'agrio 791 Red Libra Request - Fairy Settlement -792 The Superion Giants 800 Hunter Guild Request - Altar of Evil 801 Hunter Guild Request - Gludio Territory 802 Hunter Guild Request - Turek Orc Campsite diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm new file mode 100644 index 0000000000..59fb9c9f24 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm @@ -0,0 +1,4 @@ +Fire Dragon Bride Leona Blackbird:
+Hellbound is too dangerous for you. Please leave.
+(Only characters Lv. 102 or above who have completed the "The Superion Giants" quest may undertake this quest.) + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm new file mode 100644 index 0000000000..44aed3572a --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm new file mode 100644 index 0000000000..90c5056f6f --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Ah, adventurer! There you are again. How about helping us some more?
+What do you say? If you don't remember what the mission was, I can tell you again.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm new file mode 100644 index 0000000000..224dc6d50e --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Adventurer! Good to see you. Since you've helped us so much already, how about helping us some more?
+What do you say? If you don't remember what the mission was, I can tell you again.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm new file mode 100644 index 0000000000..cde912722a --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm @@ -0,0 +1,5 @@ +Master Cyphona:
+I've been waiting for you, adventurer. Well since you are here now, will you listen to me? I know I can trust you, but if you complete this mission, we'll become better allies and your pockets will get heavier. What do you say? Or do you need me to explain the mission again?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm new file mode 100644 index 0000000000..a627ba42d2 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm @@ -0,0 +1,4 @@ +Master Cyphona:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm new file mode 100644 index 0000000000..9547c52c50 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm new file mode 100644 index 0000000000..74c5ef2ab4 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 100 Mutated Spirit's Souls. +Intermediate Mission - Collect 200 Mutated Spirit's Souls. +Advanced Mission - Collect 300 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html new file mode 100644 index 0000000000..c210a2c6e5 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html @@ -0,0 +1,6 @@ +Master Cyphona:
+This isn't the first time we've met? You've completed a mission before? I see... Well, I don't really have a good memory.
+If you have completed a mission before, then that means you must have a Mark of Trust. What? You don't have one?
+Then you are either a liar, or you haven't been here in a long time. My trust is something you must continously try to maintain. Will you listen to me?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm new file mode 100644 index 0000000000..8fda4a294a --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 100 Mutated Spirit's Souls. +Intermediate Mission - Collect 200 Mutated Spirit's Souls. +Advanced Mission - Collect 300 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm new file mode 100644 index 0000000000..dc3a31e65c --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 150 Mutated Spirit's Souls. +Intermediate Mission - Collect 300 Mutated Spirit's Souls. +Advanced Mission - Collect 450 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm new file mode 100644 index 0000000000..9041babe57 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm @@ -0,0 +1,3 @@ +Master Cyphona:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 200. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html new file mode 100644 index 0000000000..07261ba7c6 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html new file mode 100644 index 0000000000..099d5d976b --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Your Unworldly Visitors Faction Level Must be 7 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html new file mode 100644 index 0000000000..e576d51eae --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html new file mode 100644 index 0000000000..b0210c16ab --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html new file mode 100644 index 0000000000..b1267c2d60 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the advanced mission to collect 450 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html new file mode 100644 index 0000000000..b330ec30ef --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 100 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html new file mode 100644 index 0000000000..76cd4c2418 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html new file mode 100644 index 0000000000..a6a8e37cf3 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 300 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html new file mode 100644 index 0000000000..0a171daee2 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html @@ -0,0 +1,5 @@ +Master Cyphona:
+You want to finish already? Well, I can still give you a reward... But it won't be something good. Are you sure?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html new file mode 100644 index 0000000000..241bbb0727 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 100 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html new file mode 100644 index 0000000000..038165ac20 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html new file mode 100644 index 0000000000..2ee03e6bff --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 300 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html new file mode 100644 index 0000000000..6125f68565 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html @@ -0,0 +1,6 @@ +Master Cyphona:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html new file mode 100644 index 0000000000..c5512d08c4 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html new file mode 100644 index 0000000000..42ec78bacd --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html new file mode 100644 index 0000000000..459ea37ee6 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html new file mode 100644 index 0000000000..ec3450a5fc --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html new file mode 100644 index 0000000000..2bf94feff3 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward. We'll be able to maintain our trust. As long as you don't forget about us, that is. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html new file mode 100644 index 0000000000..c2f962f4f2 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward, I'll remember how you've helped us all those times. Here's a higher level Mark of Trust. Thank you for all of your help. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html new file mode 100644 index 0000000000..aacd7919d3 --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward for helping us. Although you didn't get all the Marks, I still remember how you helped us. I have no doubt the trust between us has deepened even more. + \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java new file mode 100644 index 0000000000..53151428ac --- /dev/null +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java @@ -0,0 +1,353 @@ +/* + * 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.Q00792_TheSuperionGiants; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +import quests.not_done.Q10856_SuperionAppears; + +/** + * The Superion Giants (792) + * @URL https://l2wiki.com/The_Superion_Giants + * @author Dmitri + */ +public class Q00792_TheSuperionGiants extends Quest +{ + // NPC + private static final int HISTY = 34243; + // Monsters + private static final int[] MONSTERS = + { + 23774, // Delta Bathus + 23775, // Kracos Delta + 23776, // Kshan Delta + 23777, // Royal temple + 23778, // Royal Shooter + 23779, // Royal wizard + 23780, // Royal First Temple + 23781, // Royal Accurate Shooter + 23782, // Royal Archmage + 23783, // Royal Gatekeeper + }; + // Items + private static final int TRACES_OF_THE_SCATTERED_GIANT = 47192; + private static final int BASIC_SUPPLY_BOX = 48254; + private static final int INTERMEDIATE_SUPPLY_BOX = 48255; + private static final int ADVANCED_SUPPLY_BOX = 48256; + // Misc + private static final int MIN_LEVEL = 102; + + public Q00792_TheSuperionGiants() + { + super(792); + addStartNpc(HISTY); + addTalkId(HISTY); + addKillId(MONSTERS); + registerQuestItems(TRACES_OF_THE_SCATTERED_GIANT); + addCondMinLevel(MIN_LEVEL, "34243-00.htm"); + addCondCompletedQuest(Q10856_SuperionAppears.class.getSimpleName(), "34243-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 "34243-02.htm": + case "34243-03.htm": + case "34243-04.htm": + case "34243-04a.htm": + case "34243-04b.htm": + case "34243-06.html": + case "34243-06a.html": + case "34243-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case "34243-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34243-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34243-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34243-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 5: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 100) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 22_221_427_950L, 22_221_360); + addFactionPoints(player, Faction.GIANT_TRACKERS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 200) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 44_442_855_900L, 44_442_720); + addFactionPoints(player, Faction.GIANT_TRACKERS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 300) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 66_664_283_850L, 66_664_080); + addFactionPoints(player, Faction.GIANT_TRACKERS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "34243-01.htm"; + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case 2: + { + htmltext = "34243-08.html"; + break; + } + case 3: + { + htmltext = "34243-08a.html"; + break; + } + case 4: + { + htmltext = "34243-08b.html"; + break; + } + case 5: + case 6: + case 7: + { + htmltext = "34243-09.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34243-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 100, 1, true)) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 200, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 300, 1, true)) + { + qs.setCond(7, true); + } + break; + } + } + } + } +} \ No newline at end of file diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/QuestMasterHandler.java index ed3678b886..e306cb303c 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 @@ -192,6 +192,7 @@ import quests.Q00779_UtilizeTheDarknessSeedOfDestruction.Q00779_UtilizeTheDarkne import quests.Q00783_VestigeOfTheMagicPower.Q00783_VestigeOfTheMagicPower; import quests.Q00787_TheRoleOfAWatcher.Q00787_TheRoleOfAWatcher; import quests.Q00790_ObtainingFerinsTrust.Q00790_ObtainingFerinsTrust; +import quests.Q00792_TheSuperionGiants.Q00792_TheSuperionGiants; import quests.Q00817_BlackAteliaResearch.Q00817_BlackAteliaResearch; import quests.Q00823_DisappearedRaceNewFairy.Q00823_DisappearedRaceNewFairy; import quests.Q00826_InSearchOfTheSecretWeapon.Q00826_InSearchOfTheSecretWeapon; @@ -694,7 +695,7 @@ public class QuestMasterHandler Q00787_TheRoleOfAWatcher.class, Q00789_WaitingForPaagrio.class, // TODO: Not done. Q00790_ObtainingFerinsTrust.class, - Q00792_TheSuperionGiants.class, // TODO: Not done. + Q00792_TheSuperionGiants.class, Q00816_PlansToRepairTheStronghold.class, // TODO: Not done. Q00817_BlackAteliaResearch.class, Q00823_DisappearedRaceNewFairy.class, diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.java deleted file mode 100644 index 2d0986cf95..0000000000 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.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 Q00792_TheSuperionGiants extends Quest -{ - private static final int START_NPC = 34243; - - public Q00792_TheSuperionGiants() - { - super(792); - 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 ace24b4e1f..fd22571e6e 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 @@ -99,7 +99,6 @@ 788 Red Libra Request - Altar of Evil 789 Waiting for Pa'agrio 791 Red Libra Request - Fairy Settlement -792 The Superion Giants 800 Hunter Guild Request - Altar of Evil 801 Hunter Guild Request - Gludio Territory 802 Hunter Guild Request - Turek Orc Campsite diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm new file mode 100644 index 0000000000..59fb9c9f24 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm @@ -0,0 +1,4 @@ +Fire Dragon Bride Leona Blackbird:
+Hellbound is too dangerous for you. Please leave.
+(Only characters Lv. 102 or above who have completed the "The Superion Giants" quest may undertake this quest.) + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm new file mode 100644 index 0000000000..44aed3572a --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm new file mode 100644 index 0000000000..90c5056f6f --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Ah, adventurer! There you are again. How about helping us some more?
+What do you say? If you don't remember what the mission was, I can tell you again.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm new file mode 100644 index 0000000000..224dc6d50e --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Adventurer! Good to see you. Since you've helped us so much already, how about helping us some more?
+What do you say? If you don't remember what the mission was, I can tell you again.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm new file mode 100644 index 0000000000..cde912722a --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm @@ -0,0 +1,5 @@ +Master Cyphona:
+I've been waiting for you, adventurer. Well since you are here now, will you listen to me? I know I can trust you, but if you complete this mission, we'll become better allies and your pockets will get heavier. What do you say? Or do you need me to explain the mission again?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm new file mode 100644 index 0000000000..a627ba42d2 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm @@ -0,0 +1,4 @@ +Master Cyphona:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm new file mode 100644 index 0000000000..9547c52c50 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm new file mode 100644 index 0000000000..74c5ef2ab4 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 100 Mutated Spirit's Souls. +Intermediate Mission - Collect 200 Mutated Spirit's Souls. +Advanced Mission - Collect 300 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html new file mode 100644 index 0000000000..c210a2c6e5 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html @@ -0,0 +1,6 @@ +Master Cyphona:
+This isn't the first time we've met? You've completed a mission before? I see... Well, I don't really have a good memory.
+If you have completed a mission before, then that means you must have a Mark of Trust. What? You don't have one?
+Then you are either a liar, or you haven't been here in a long time. My trust is something you must continously try to maintain. Will you listen to me?
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm new file mode 100644 index 0000000000..8fda4a294a --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 100 Mutated Spirit's Souls. +Intermediate Mission - Collect 200 Mutated Spirit's Souls. +Advanced Mission - Collect 300 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm new file mode 100644 index 0000000000..dc3a31e65c --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 150 Mutated Spirit's Souls. +Intermediate Mission - Collect 300 Mutated Spirit's Souls. +Advanced Mission - Collect 450 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm new file mode 100644 index 0000000000..9041babe57 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm @@ -0,0 +1,3 @@ +Master Cyphona:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 200. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html new file mode 100644 index 0000000000..07261ba7c6 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html new file mode 100644 index 0000000000..099d5d976b --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Your Unworldly Visitors Faction Level Must be 7 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html new file mode 100644 index 0000000000..e576d51eae --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html new file mode 100644 index 0000000000..b0210c16ab --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html new file mode 100644 index 0000000000..b1267c2d60 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the advanced mission to collect 450 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html new file mode 100644 index 0000000000..b330ec30ef --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 100 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html new file mode 100644 index 0000000000..76cd4c2418 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html new file mode 100644 index 0000000000..a6a8e37cf3 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 300 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html new file mode 100644 index 0000000000..0a171daee2 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html @@ -0,0 +1,5 @@ +Master Cyphona:
+You want to finish already? Well, I can still give you a reward... But it won't be something good. Are you sure?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html new file mode 100644 index 0000000000..241bbb0727 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 100 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html new file mode 100644 index 0000000000..038165ac20 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html new file mode 100644 index 0000000000..2ee03e6bff --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 300 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html new file mode 100644 index 0000000000..6125f68565 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html @@ -0,0 +1,6 @@ +Master Cyphona:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html new file mode 100644 index 0000000000..c5512d08c4 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html new file mode 100644 index 0000000000..42ec78bacd --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html new file mode 100644 index 0000000000..459ea37ee6 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html new file mode 100644 index 0000000000..ec3450a5fc --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html new file mode 100644 index 0000000000..2bf94feff3 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward. We'll be able to maintain our trust. As long as you don't forget about us, that is. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html new file mode 100644 index 0000000000..c2f962f4f2 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward, I'll remember how you've helped us all those times. Here's a higher level Mark of Trust. Thank you for all of your help. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html new file mode 100644 index 0000000000..aacd7919d3 --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward for helping us. Although you didn't get all the Marks, I still remember how you helped us. I have no doubt the trust between us has deepened even more. + \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java new file mode 100644 index 0000000000..53151428ac --- /dev/null +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java @@ -0,0 +1,353 @@ +/* + * 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.Q00792_TheSuperionGiants; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +import quests.not_done.Q10856_SuperionAppears; + +/** + * The Superion Giants (792) + * @URL https://l2wiki.com/The_Superion_Giants + * @author Dmitri + */ +public class Q00792_TheSuperionGiants extends Quest +{ + // NPC + private static final int HISTY = 34243; + // Monsters + private static final int[] MONSTERS = + { + 23774, // Delta Bathus + 23775, // Kracos Delta + 23776, // Kshan Delta + 23777, // Royal temple + 23778, // Royal Shooter + 23779, // Royal wizard + 23780, // Royal First Temple + 23781, // Royal Accurate Shooter + 23782, // Royal Archmage + 23783, // Royal Gatekeeper + }; + // Items + private static final int TRACES_OF_THE_SCATTERED_GIANT = 47192; + private static final int BASIC_SUPPLY_BOX = 48254; + private static final int INTERMEDIATE_SUPPLY_BOX = 48255; + private static final int ADVANCED_SUPPLY_BOX = 48256; + // Misc + private static final int MIN_LEVEL = 102; + + public Q00792_TheSuperionGiants() + { + super(792); + addStartNpc(HISTY); + addTalkId(HISTY); + addKillId(MONSTERS); + registerQuestItems(TRACES_OF_THE_SCATTERED_GIANT); + addCondMinLevel(MIN_LEVEL, "34243-00.htm"); + addCondCompletedQuest(Q10856_SuperionAppears.class.getSimpleName(), "34243-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 "34243-02.htm": + case "34243-03.htm": + case "34243-04.htm": + case "34243-04a.htm": + case "34243-04b.htm": + case "34243-06.html": + case "34243-06a.html": + case "34243-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case "34243-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34243-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34243-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34243-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 5: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 100) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 22_221_427_950L, 22_221_360); + addFactionPoints(player, Faction.GIANT_TRACKERS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 200) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 44_442_855_900L, 44_442_720); + addFactionPoints(player, Faction.GIANT_TRACKERS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 300) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 66_664_283_850L, 66_664_080); + addFactionPoints(player, Faction.GIANT_TRACKERS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "34243-01.htm"; + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case 2: + { + htmltext = "34243-08.html"; + break; + } + case 3: + { + htmltext = "34243-08a.html"; + break; + } + case 4: + { + htmltext = "34243-08b.html"; + break; + } + case 5: + case 6: + case 7: + { + htmltext = "34243-09.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34243-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 100, 1, true)) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 200, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 300, 1, true)) + { + qs.setCond(7, true); + } + break; + } + } + } + } +} \ No newline at end of file diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/QuestMasterHandler.java index d14edd8ca5..be38e5b4de 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 @@ -163,6 +163,7 @@ import quests.Q00779_UtilizeTheDarknessSeedOfDestruction.Q00779_UtilizeTheDarkne import quests.Q00783_VestigeOfTheMagicPower.Q00783_VestigeOfTheMagicPower; import quests.Q00787_TheRoleOfAWatcher.Q00787_TheRoleOfAWatcher; import quests.Q00790_ObtainingFerinsTrust.Q00790_ObtainingFerinsTrust; +import quests.Q00792_TheSuperionGiants.Q00792_TheSuperionGiants; import quests.Q00817_BlackAteliaResearch.Q00817_BlackAteliaResearch; import quests.Q00823_DisappearedRaceNewFairy.Q00823_DisappearedRaceNewFairy; import quests.Q00826_InSearchOfTheSecretWeapon.Q00826_InSearchOfTheSecretWeapon; @@ -623,7 +624,7 @@ public class QuestMasterHandler Q00787_TheRoleOfAWatcher.class, Q00789_WaitingForPaagrio.class, // TODO: Not done. Q00790_ObtainingFerinsTrust.class, - Q00792_TheSuperionGiants.class, // TODO: Not done. + Q00792_TheSuperionGiants.class, Q00816_PlansToRepairTheStronghold.class, // TODO: Not done. Q00817_BlackAteliaResearch.class, Q00823_DisappearedRaceNewFairy.class, diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.java deleted file mode 100644 index 2d0986cf95..0000000000 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.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 Q00792_TheSuperionGiants extends Quest -{ - private static final int START_NPC = 34243; - - public Q00792_TheSuperionGiants() - { - super(792); - 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 5b686b0537..50933e7487 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 @@ -108,7 +108,6 @@ 788 Red Libra Request - Altar of Evil 789 Waiting for Pa'agrio 791 Red Libra Request - Fairy Settlement -792 The Superion Giants 800 Hunter Guild Request - Altar of Evil 801 Hunter Guild Request - Gludio Territory 802 Hunter Guild Request - Turek Orc Campsite diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm new file mode 100644 index 0000000000..59fb9c9f24 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm @@ -0,0 +1,4 @@ +Fire Dragon Bride Leona Blackbird:
+Hellbound is too dangerous for you. Please leave.
+(Only characters Lv. 102 or above who have completed the "The Superion Giants" quest may undertake this quest.) + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm new file mode 100644 index 0000000000..44aed3572a --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm new file mode 100644 index 0000000000..90c5056f6f --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Ah, adventurer! There you are again. How about helping us some more?
+What do you say? If you don't remember what the mission was, I can tell you again.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm new file mode 100644 index 0000000000..224dc6d50e --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Adventurer! Good to see you. Since you've helped us so much already, how about helping us some more?
+What do you say? If you don't remember what the mission was, I can tell you again.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm new file mode 100644 index 0000000000..cde912722a --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm @@ -0,0 +1,5 @@ +Master Cyphona:
+I've been waiting for you, adventurer. Well since you are here now, will you listen to me? I know I can trust you, but if you complete this mission, we'll become better allies and your pockets will get heavier. What do you say? Or do you need me to explain the mission again?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm new file mode 100644 index 0000000000..a627ba42d2 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm @@ -0,0 +1,4 @@ +Master Cyphona:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm new file mode 100644 index 0000000000..9547c52c50 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm new file mode 100644 index 0000000000..74c5ef2ab4 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 100 Mutated Spirit's Souls. +Intermediate Mission - Collect 200 Mutated Spirit's Souls. +Advanced Mission - Collect 300 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html new file mode 100644 index 0000000000..c210a2c6e5 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html @@ -0,0 +1,6 @@ +Master Cyphona:
+This isn't the first time we've met? You've completed a mission before? I see... Well, I don't really have a good memory.
+If you have completed a mission before, then that means you must have a Mark of Trust. What? You don't have one?
+Then you are either a liar, or you haven't been here in a long time. My trust is something you must continously try to maintain. Will you listen to me?
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm new file mode 100644 index 0000000000..8fda4a294a --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 100 Mutated Spirit's Souls. +Intermediate Mission - Collect 200 Mutated Spirit's Souls. +Advanced Mission - Collect 300 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm new file mode 100644 index 0000000000..dc3a31e65c --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 150 Mutated Spirit's Souls. +Intermediate Mission - Collect 300 Mutated Spirit's Souls. +Advanced Mission - Collect 450 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm new file mode 100644 index 0000000000..9041babe57 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm @@ -0,0 +1,3 @@ +Master Cyphona:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 200. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html new file mode 100644 index 0000000000..07261ba7c6 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html new file mode 100644 index 0000000000..099d5d976b --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Your Unworldly Visitors Faction Level Must be 7 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html new file mode 100644 index 0000000000..e576d51eae --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html new file mode 100644 index 0000000000..b0210c16ab --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html new file mode 100644 index 0000000000..b1267c2d60 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the advanced mission to collect 450 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html new file mode 100644 index 0000000000..b330ec30ef --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 100 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html new file mode 100644 index 0000000000..76cd4c2418 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html new file mode 100644 index 0000000000..a6a8e37cf3 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 300 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html new file mode 100644 index 0000000000..0a171daee2 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html @@ -0,0 +1,5 @@ +Master Cyphona:
+You want to finish already? Well, I can still give you a reward... But it won't be something good. Are you sure?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html new file mode 100644 index 0000000000..241bbb0727 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 100 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html new file mode 100644 index 0000000000..038165ac20 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html new file mode 100644 index 0000000000..2ee03e6bff --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 300 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html new file mode 100644 index 0000000000..6125f68565 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html @@ -0,0 +1,6 @@ +Master Cyphona:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html new file mode 100644 index 0000000000..c5512d08c4 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html new file mode 100644 index 0000000000..42ec78bacd --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html new file mode 100644 index 0000000000..459ea37ee6 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html new file mode 100644 index 0000000000..ec3450a5fc --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html new file mode 100644 index 0000000000..2bf94feff3 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward. We'll be able to maintain our trust. As long as you don't forget about us, that is. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html new file mode 100644 index 0000000000..c2f962f4f2 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward, I'll remember how you've helped us all those times. Here's a higher level Mark of Trust. Thank you for all of your help. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html new file mode 100644 index 0000000000..aacd7919d3 --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward for helping us. Although you didn't get all the Marks, I still remember how you helped us. I have no doubt the trust between us has deepened even more. + \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java new file mode 100644 index 0000000000..53151428ac --- /dev/null +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java @@ -0,0 +1,353 @@ +/* + * 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.Q00792_TheSuperionGiants; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +import quests.not_done.Q10856_SuperionAppears; + +/** + * The Superion Giants (792) + * @URL https://l2wiki.com/The_Superion_Giants + * @author Dmitri + */ +public class Q00792_TheSuperionGiants extends Quest +{ + // NPC + private static final int HISTY = 34243; + // Monsters + private static final int[] MONSTERS = + { + 23774, // Delta Bathus + 23775, // Kracos Delta + 23776, // Kshan Delta + 23777, // Royal temple + 23778, // Royal Shooter + 23779, // Royal wizard + 23780, // Royal First Temple + 23781, // Royal Accurate Shooter + 23782, // Royal Archmage + 23783, // Royal Gatekeeper + }; + // Items + private static final int TRACES_OF_THE_SCATTERED_GIANT = 47192; + private static final int BASIC_SUPPLY_BOX = 48254; + private static final int INTERMEDIATE_SUPPLY_BOX = 48255; + private static final int ADVANCED_SUPPLY_BOX = 48256; + // Misc + private static final int MIN_LEVEL = 102; + + public Q00792_TheSuperionGiants() + { + super(792); + addStartNpc(HISTY); + addTalkId(HISTY); + addKillId(MONSTERS); + registerQuestItems(TRACES_OF_THE_SCATTERED_GIANT); + addCondMinLevel(MIN_LEVEL, "34243-00.htm"); + addCondCompletedQuest(Q10856_SuperionAppears.class.getSimpleName(), "34243-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 "34243-02.htm": + case "34243-03.htm": + case "34243-04.htm": + case "34243-04a.htm": + case "34243-04b.htm": + case "34243-06.html": + case "34243-06a.html": + case "34243-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case "34243-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34243-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34243-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34243-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 5: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 100) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 22_221_427_950L, 22_221_360); + addFactionPoints(player, Faction.GIANT_TRACKERS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 200) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 44_442_855_900L, 44_442_720); + addFactionPoints(player, Faction.GIANT_TRACKERS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 300) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 66_664_283_850L, 66_664_080); + addFactionPoints(player, Faction.GIANT_TRACKERS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "34243-01.htm"; + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case 2: + { + htmltext = "34243-08.html"; + break; + } + case 3: + { + htmltext = "34243-08a.html"; + break; + } + case 4: + { + htmltext = "34243-08b.html"; + break; + } + case 5: + case 6: + case 7: + { + htmltext = "34243-09.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34243-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 100, 1, true)) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 200, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 300, 1, true)) + { + qs.setCond(7, true); + } + break; + } + } + } + } +} \ No newline at end of file diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/QuestMasterHandler.java index e9d16eea47..a9fdc56550 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 @@ -163,6 +163,7 @@ import quests.Q00779_UtilizeTheDarknessSeedOfDestruction.Q00779_UtilizeTheDarkne import quests.Q00783_VestigeOfTheMagicPower.Q00783_VestigeOfTheMagicPower; import quests.Q00787_TheRoleOfAWatcher.Q00787_TheRoleOfAWatcher; import quests.Q00790_ObtainingFerinsTrust.Q00790_ObtainingFerinsTrust; +import quests.Q00792_TheSuperionGiants.Q00792_TheSuperionGiants; import quests.Q00817_BlackAteliaResearch.Q00817_BlackAteliaResearch; import quests.Q00823_DisappearedRaceNewFairy.Q00823_DisappearedRaceNewFairy; import quests.Q00826_InSearchOfTheSecretWeapon.Q00826_InSearchOfTheSecretWeapon; @@ -642,7 +643,7 @@ public class QuestMasterHandler Q00787_TheRoleOfAWatcher.class, Q00789_WaitingForPaagrio.class, // TODO: Not done. Q00790_ObtainingFerinsTrust.class, - Q00792_TheSuperionGiants.class, // TODO: Not done. + Q00792_TheSuperionGiants.class, Q00816_PlansToRepairTheStronghold.class, // TODO: Not done. Q00817_BlackAteliaResearch.class, Q00823_DisappearedRaceNewFairy.class, diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.java deleted file mode 100644 index 2d0986cf95..0000000000 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.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 Q00792_TheSuperionGiants extends Quest -{ - private static final int START_NPC = 34243; - - public Q00792_TheSuperionGiants() - { - super(792); - 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 41f93fdf6d..1f5942d440 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 @@ -125,7 +125,6 @@ 780 Utilize the Darkness - Seed of Infinity 781 Utilize the Darkness - Seed of Annihilation 782 Utilize the Darkness - Seed of Hellfire -792 The Superion Giants 816 Plans to Repair the Stronghold 824 Command Post Raid 834 Against Dragonclaw diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm new file mode 100644 index 0000000000..59fb9c9f24 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-00.htm @@ -0,0 +1,4 @@ +Fire Dragon Bride Leona Blackbird:
+Hellbound is too dangerous for you. Please leave.
+(Only characters Lv. 102 or above who have completed the "The Superion Giants" quest may undertake this quest.) + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm new file mode 100644 index 0000000000..44aed3572a --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Ah, adventurer! There you are again. How about helping us some more? if you do, you can deepen the mutual trust with us and Ferin.
+What do you say? if you don't remember what to do, I can tell you again. + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm new file mode 100644 index 0000000000..90c5056f6f --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01a.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Ah, adventurer! There you are again. How about helping us some more?
+What do you say? If you don't remember what the mission was, I can tell you again.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm new file mode 100644 index 0000000000..224dc6d50e --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01b.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+Adventurer! Good to see you. Since you've helped us so much already, how about helping us some more?
+What do you say? If you don't remember what the mission was, I can tell you again.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm new file mode 100644 index 0000000000..cde912722a --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-01c.htm @@ -0,0 +1,5 @@ +Master Cyphona:
+I've been waiting for you, adventurer. Well since you are here now, will you listen to me? I know I can trust you, but if you complete this mission, we'll become better allies and your pockets will get heavier. What do you say? Or do you need me to explain the mission again?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm new file mode 100644 index 0000000000..a627ba42d2 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-02.htm @@ -0,0 +1,4 @@ +Master Cyphona:
+We've begun an investigation in the Garden of Spirits starting from here. However, we are being threatened by the spirits there, so something must be done.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm new file mode 100644 index 0000000000..9547c52c50 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-03.htm @@ -0,0 +1,6 @@ +Master Cyphona:
+We know of a way to defeat those spirits, at least temporarily. This way, we'll be able to put the spirits at rest, even if it's just for a little while.
+Of course, we will give you a reward for your help. And there is one more thing. While you are helping us, you'll build trust with us. The more we trust you, the more rewards we will give you, and there are some secret missions that we only give to those we trust.
+That's about it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm new file mode 100644 index 0000000000..74c5ef2ab4 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 100 Mutated Spirit's Souls. +Intermediate Mission - Collect 200 Mutated Spirit's Souls. +Advanced Mission - Collect 300 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html new file mode 100644 index 0000000000..c210a2c6e5 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04.html @@ -0,0 +1,6 @@ +Master Cyphona:
+This isn't the first time we've met? You've completed a mission before? I see... Well, I don't really have a good memory.
+If you have completed a mission before, then that means you must have a Mark of Trust. What? You don't have one?
+Then you are either a liar, or you haven't been here in a long time. My trust is something you must continously try to maintain. Will you listen to me?
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm new file mode 100644 index 0000000000..8fda4a294a --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04a.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 100 Mutated Spirit's Souls. +Intermediate Mission - Collect 200 Mutated Spirit's Souls. +Advanced Mission - Collect 300 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm new file mode 100644 index 0000000000..dc3a31e65c --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-04b.htm @@ -0,0 +1,9 @@ +Master Cyphona:
+Good. Let me tell you what to do. Just choose the mission that you are capable of doing.
+Basic Mission - Collect 150 Mutated Spirit's Souls. +Intermediate Mission - Collect 300 Mutated Spirit's Souls. +Advanced Mission - Collect 450 Mutated Spirit's Souls.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm new file mode 100644 index 0000000000..9041babe57 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.htm @@ -0,0 +1,3 @@ +Master Cyphona:
+Alright. Here's the mission. Hunt the Kerberos Leger, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and the Fury Kerberos Nero, and collect their Mutated Spirit's Souls as proof.
You can get rewards only if you bring at least 200. Of course, you'll get more rewards if you bring more. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html new file mode 100644 index 0000000000..07261ba7c6 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Your Unworldly Visitors Faction Level Must be 6 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html new file mode 100644 index 0000000000..099d5d976b --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-05a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Your Unworldly Visitors Faction Level Must be 7 or above may undertake this mission. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html new file mode 100644 index 0000000000..e576d51eae --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the basic mission to collect 200 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html new file mode 100644 index 0000000000..b0210c16ab --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06a.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the intermediate mission to collect 400 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html new file mode 100644 index 0000000000..b1267c2d60 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-06b.html @@ -0,0 +1,6 @@ +Master Cyphona:
+You have chosen the advanced mission to collect 450 Mutated Spirit's Souls. Once you have selected the difficulty of the mission, you must meet the requirements in order to complete it. Choose wisely.
+Are you sure you want to proceed with this mission?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html new file mode 100644 index 0000000000..b330ec30ef --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 100 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html new file mode 100644 index 0000000000..76cd4c2418 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07a.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 200 Mutated Spirit's Souls. It should be manageable. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html new file mode 100644 index 0000000000..a6a8e37cf3 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07b.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Good. Left me explain the details. Go to the Garden of Spirits, defeat the Kerberos Lager, Kerberos Fort, Kerberos Nero, Fury Sylph Barrena, Fury Sylph Labido, Fury Sylph Purka, Fury Kerberos Leger, and Fury Kerberos Nero, and put them to rest.
+As evidence, please bring back 300 Mutated Spirit's Souls. It should be manageable. +y> \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html new file mode 100644 index 0000000000..0a171daee2 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-07c.html @@ -0,0 +1,5 @@ +Master Cyphona:
+You want to finish already? Well, I can still give you a reward... But it won't be something good. Are you sure?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html new file mode 100644 index 0000000000..241bbb0727 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 100 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html new file mode 100644 index 0000000000..038165ac20 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 200 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html new file mode 100644 index 0000000000..2ee03e6bff --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-08b.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Go to the Garden of Spirits and defeat all type monsters until you collect 300 Mutated Spirit's Souls. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html new file mode 100644 index 0000000000..6125f68565 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09.html @@ -0,0 +1,6 @@ +Master Cyphona:
+Toy have collected all of the Mutated Spirit's Souls. You have completed the mission successfully.
+I would like to congratulate you on completing the mission. Here's your reward. If you have a Faction Amity Token, I can give You more rewards.
+ + + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html new file mode 100644 index 0000000000..c5512d08c4 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09a.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html new file mode 100644 index 0000000000..42ec78bacd --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09b.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html new file mode 100644 index 0000000000..459ea37ee6 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-09c.html @@ -0,0 +1,4 @@ +Master Cyphona:
+You completed the mission!
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html new file mode 100644 index 0000000000..ec3450a5fc --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10.html @@ -0,0 +1,4 @@ +Master Cyphona:
+Here is your reward. This will also help to improve the trust between you and us at the Unworldly Visitors.
+As long as you don't forget us, that is. We thank you for your hard work. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html new file mode 100644 index 0000000000..2bf94feff3 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10a.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward. We'll be able to maintain our trust. As long as you don't forget about us, that is. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html new file mode 100644 index 0000000000..c2f962f4f2 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10b.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward, I'll remember how you've helped us all those times. Here's a higher level Mark of Trust. Thank you for all of your help. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html new file mode 100644 index 0000000000..aacd7919d3 --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/34243-10c.html @@ -0,0 +1,3 @@ +Master Cyphona:
+Here's your reward for helping us. Although you didn't get all the Marks, I still remember how you helped us. I have no doubt the trust between us has deepened even more. + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java new file mode 100644 index 0000000000..53151428ac --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q00792_TheSuperionGiants/Q00792_TheSuperionGiants.java @@ -0,0 +1,353 @@ +/* + * 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.Q00792_TheSuperionGiants; + +import org.l2jmobius.Config; +import org.l2jmobius.gameserver.enums.Faction; +import org.l2jmobius.gameserver.enums.QuestType; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; + +import quests.not_done.Q10856_SuperionAppears; + +/** + * The Superion Giants (792) + * @URL https://l2wiki.com/The_Superion_Giants + * @author Dmitri + */ +public class Q00792_TheSuperionGiants extends Quest +{ + // NPC + private static final int HISTY = 34243; + // Monsters + private static final int[] MONSTERS = + { + 23774, // Delta Bathus + 23775, // Kracos Delta + 23776, // Kshan Delta + 23777, // Royal temple + 23778, // Royal Shooter + 23779, // Royal wizard + 23780, // Royal First Temple + 23781, // Royal Accurate Shooter + 23782, // Royal Archmage + 23783, // Royal Gatekeeper + }; + // Items + private static final int TRACES_OF_THE_SCATTERED_GIANT = 47192; + private static final int BASIC_SUPPLY_BOX = 48254; + private static final int INTERMEDIATE_SUPPLY_BOX = 48255; + private static final int ADVANCED_SUPPLY_BOX = 48256; + // Misc + private static final int MIN_LEVEL = 102; + + public Q00792_TheSuperionGiants() + { + super(792); + addStartNpc(HISTY); + addTalkId(HISTY); + addKillId(MONSTERS); + registerQuestItems(TRACES_OF_THE_SCATTERED_GIANT); + addCondMinLevel(MIN_LEVEL, "34243-00.htm"); + addCondCompletedQuest(Q10856_SuperionAppears.class.getSimpleName(), "34243-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 "34243-02.htm": + case "34243-03.htm": + case "34243-04.htm": + case "34243-04a.htm": + case "34243-04b.htm": + case "34243-06.html": + case "34243-06a.html": + case "34243-06b.html": + { + htmltext = event; + break; + } + case "select_mission": + { + qs.startQuest(); + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case "return": + { + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case "34243-07.html": + { + qs.setCond(2, true); + htmltext = event; + break; + } + case "34243-07a.html": + { + qs.setCond(3, true); + htmltext = event; + break; + } + case "34243-07b.html": + { + qs.setCond(4, true); + htmltext = event; + break; + } + case "34243-10.html": + { + final int chance = getRandom(100); + switch (qs.getCond()) + { + case 5: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 100) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + addExpAndSp(player, 22_221_427_950L, 22_221_360); + addFactionPoints(player, Faction.GIANT_TRACKERS, 100); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 6: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 200) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + addExpAndSp(player, 44_442_855_900L, 44_442_720); + addFactionPoints(player, Faction.GIANT_TRACKERS, 200); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + case 7: + { + if ((getQuestItemsCount(player, TRACES_OF_THE_SCATTERED_GIANT) == 300) && (player.getLevel() >= MIN_LEVEL)) + { + if (chance < 2) + { + giveItems(player, BASIC_SUPPLY_BOX, 1); + } + else if (chance < 20) + { + giveItems(player, INTERMEDIATE_SUPPLY_BOX, 1); + } + else if (chance < 100) + { + giveItems(player, ADVANCED_SUPPLY_BOX, 1); + } + addExpAndSp(player, 66_664_283_850L, 66_664_080); + addFactionPoints(player, Faction.GIANT_TRACKERS, 300); + qs.exitQuest(QuestType.DAILY, true); + htmltext = event; + } + else + { + htmltext = getNoQuestLevelRewardMsg(player); + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "34243-01.htm"; + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + { + if ((player.getFactionLevel(Faction.GIANT_TRACKERS) >= 6) && (player.getFactionLevel(Faction.GIANT_TRACKERS) < 7)) + { + htmltext = "34243-04a.htm"; + break; + } + else if (player.getFactionLevel(Faction.GIANT_TRACKERS) >= 7) + { + htmltext = "34243-04b.htm"; + break; + } + htmltext = "34243-04.htm"; + break; + } + case 2: + { + htmltext = "34243-08.html"; + break; + } + case 3: + { + htmltext = "34243-08a.html"; + break; + } + case 4: + { + htmltext = "34243-08b.html"; + break; + } + case 5: + case 6: + case 7: + { + htmltext = "34243-09.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + if (!qs.isNowAvailable()) + { + htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY); + } + else + { + qs.setState(State.CREATED); + htmltext = "34243-01.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance player, boolean isSummon) + { + executeForEachPlayer(player, npc, isSummon, true, false); + return super.onKill(npc, player, isSummon); + } + + @Override + public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && (qs.getCond() > 1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE)) + { + switch (qs.getCond()) + { + case 2: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 100, 1, true)) + { + qs.setCond(5, true); + } + break; + } + case 3: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 200, 1, true)) + { + qs.setCond(6, true); + } + break; + } + case 4: + { + if (giveItemRandomly(player, npc, TRACES_OF_THE_SCATTERED_GIANT, 1, 300, 1, true)) + { + qs.setCond(7, true); + } + break; + } + } + } + } +} \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/QuestMasterHandler.java index 44beaa7fb8..3ac0389899 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 @@ -78,6 +78,7 @@ import quests.Q00778_OperationRoaringFlame.Q00778_OperationRoaringFlame; import quests.Q00779_UtilizeTheDarknessSeedOfDestruction.Q00779_UtilizeTheDarknessSeedOfDestruction; import quests.Q00783_VestigeOfTheMagicPower.Q00783_VestigeOfTheMagicPower; import quests.Q00790_ObtainingFerinsTrust.Q00790_ObtainingFerinsTrust; +import quests.Q00792_TheSuperionGiants.Q00792_TheSuperionGiants; import quests.Q00823_DisappearedRaceNewFairy.Q00823_DisappearedRaceNewFairy; import quests.Q00826_InSearchOfTheSecretWeapon.Q00826_InSearchOfTheSecretWeapon; import quests.Q00827_EinhasadsOrder.Q00827_EinhasadsOrder; @@ -294,7 +295,7 @@ public class QuestMasterHandler Q00782_UtilizeTheDarknessSeedOfHellfire.class, // TODO: Not done. Q00783_VestigeOfTheMagicPower.class, Q00790_ObtainingFerinsTrust.class, - Q00792_TheSuperionGiants.class, // TODO: Not done. + Q00792_TheSuperionGiants.class, Q00816_PlansToRepairTheStronghold.class, // TODO: Not done. Q00823_DisappearedRaceNewFairy.class, Q00824_AttackTheCommandPost.class, // TODO: Not done. diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.java deleted file mode 100644 index 2d0986cf95..0000000000 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/not_done/Q00792_TheSuperionGiants.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 Q00792_TheSuperionGiants extends Quest -{ - private static final int START_NPC = 34243; - - public Q00792_TheSuperionGiants() - { - super(792); - addStartNpc(START_NPC); - addTalkId(START_NPC); - addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null)); - } -}