From c0f116ca79ed620d348238030264258e6e470234 Mon Sep 17 00:00:00 2001 From: Adry_85 <Adrya85@hotmail.it> Date: Thu, 15 May 2014 22:19:02 +0000 Subject: [PATCH] BETA: Retail like quest '''Trial of Duty''' (212). Patch by: jurchiks, Pandragon Reviewed by: Adry_85 Tested by: Adry_85 --- L2J_DataPack_BETA/dist/game/data/scripts.cfg | 1 - .../quests/212_TrialOfDuty/30109-03.htm | 4 - .../quests/212_TrialOfDuty/30109-04.htm | 3 - .../quests/212_TrialOfDuty/30109-05.htm | 4 - .../quests/212_TrialOfDuty/30116-04.htm | 4 - .../quests/212_TrialOfDuty/30116-05.htm | 3 - .../quests/212_TrialOfDuty/30116-09.htm | 3 - .../quests/212_TrialOfDuty/30116-10.htm | 3 - .../quests/212_TrialOfDuty/30311-01.htm | 4 - .../quests/212_TrialOfDuty/30311-02.htm | 3 - .../quests/212_TrialOfDuty/30653-01.htm | 7 - .../quests/212_TrialOfDuty/30653-02.htm | 3 - .../quests/212_TrialOfDuty/30653-03.htm | 4 - .../quests/212_TrialOfDuty/30653-04.htm | 3 - .../quests/212_TrialOfDuty/30654-01.htm | 6 - .../quests/212_TrialOfDuty/30654-02.htm | 3 - .../quests/212_TrialOfDuty/30654-03.htm | 3 - .../quests/212_TrialOfDuty/30654-04.htm | 3 - .../quests/212_TrialOfDuty/30654-05.htm | 4 - .../quests/212_TrialOfDuty/30654-06.htm | 3 - .../quests/212_TrialOfDuty/30655-03.htm | 3 - .../quests/212_TrialOfDuty/30655-04.htm | 4 - .../quests/212_TrialOfDuty/30656-01.htm | 4 - .../quests/212_TrialOfDuty/__init__.py | 324 ---------- .../30109-01.html} | 6 +- .../30109-02.html} | 6 +- .../quests/Q00212_TrialOfDuty/30109-03.htm | 4 + .../quests/Q00212_TrialOfDuty/30109-04.htm | 3 + .../quests/Q00212_TrialOfDuty/30109-04a.htm | 4 + .../quests/Q00212_TrialOfDuty/30109-05.html | 4 + .../30116-01.html} | 8 +- .../30116-02.html} | 6 +- .../30116-03.html} | 10 +- .../quests/Q00212_TrialOfDuty/30116-04.html | 4 + .../quests/Q00212_TrialOfDuty/30116-05.html | 3 + .../30116-06.html} | 4 +- .../30116-07.html} | 4 +- .../30116-08.html} | 8 +- .../quests/Q00212_TrialOfDuty/30116-09.html | 3 + .../quests/Q00212_TrialOfDuty/30116-10.html | 3 + .../quests/Q00212_TrialOfDuty/30311-01.html | 5 + .../quests/Q00212_TrialOfDuty/30311-02.html | 3 + .../quests/Q00212_TrialOfDuty/30653-01.html | 6 + .../quests/Q00212_TrialOfDuty/30653-02.html | 3 + .../quests/Q00212_TrialOfDuty/30653-03.html | 4 + .../quests/Q00212_TrialOfDuty/30653-04.html | 3 + .../quests/Q00212_TrialOfDuty/30654-01.html | 8 + .../quests/Q00212_TrialOfDuty/30654-02.html | 3 + .../quests/Q00212_TrialOfDuty/30654-03.html | 4 + .../quests/Q00212_TrialOfDuty/30654-04.html | 3 + .../quests/Q00212_TrialOfDuty/30654-05.html | 4 + .../quests/Q00212_TrialOfDuty/30654-06.html | 3 + .../30655-01.html} | 6 +- .../30655-02.html} | 9 +- .../quests/Q00212_TrialOfDuty/30655-03.html | 4 + .../quests/Q00212_TrialOfDuty/30655-04.html | 4 + .../30655-05.html} | 4 +- .../quests/Q00212_TrialOfDuty/30656-01.html | 4 + .../Q00212_TrialOfDuty.java | 589 ++++++++++++++++++ .../scripts/quests/QuestMasterHandler.java | 2 + .../dist/sql/game/updates/20140516update.sql | 1 + 61 files changed, 717 insertions(+), 441 deletions(-) delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-05.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-05.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-09.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-10.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30311-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30311-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30653-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30653-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30653-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30653-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-05.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-06.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30656-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/__init__.py rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{212_TrialOfDuty/30109-01.htm => Q00212_TrialOfDuty/30109-01.html} (98%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{212_TrialOfDuty/30109-02.htm => Q00212_TrialOfDuty/30109-02.html} (98%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-03.htm create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-04.htm create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-04a.htm create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-05.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{212_TrialOfDuty/30116-01.htm => Q00212_TrialOfDuty/30116-01.html} (66%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{212_TrialOfDuty/30116-02.htm => Q00212_TrialOfDuty/30116-02.html} (84%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{212_TrialOfDuty/30116-03.htm => Q00212_TrialOfDuty/30116-03.html} (87%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-04.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-05.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{212_TrialOfDuty/30116-06.htm => Q00212_TrialOfDuty/30116-06.html} (62%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{212_TrialOfDuty/30116-07.htm => Q00212_TrialOfDuty/30116-07.html} (50%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{212_TrialOfDuty/30116-08.htm => Q00212_TrialOfDuty/30116-08.html} (76%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-09.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-10.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30311-01.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30311-02.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30653-01.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30653-02.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30653-03.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30653-04.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-01.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-02.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-03.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-04.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-05.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-06.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{212_TrialOfDuty/30655-01.htm => Q00212_TrialOfDuty/30655-01.html} (89%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{212_TrialOfDuty/30655-02.htm => Q00212_TrialOfDuty/30655-02.html} (65%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-03.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-04.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{212_TrialOfDuty/30655-05.htm => Q00212_TrialOfDuty/30655-05.html} (56%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30656-01.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/Q00212_TrialOfDuty.java create mode 100644 L2J_DataPack_BETA/dist/sql/game/updates/20140516update.sql diff --git a/L2J_DataPack_BETA/dist/game/data/scripts.cfg b/L2J_DataPack_BETA/dist/game/data/scripts.cfg index 4f1fd895ae..e8ea13d5ad 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts.cfg +++ b/L2J_DataPack_BETA/dist/game/data/scripts.cfg @@ -232,7 +232,6 @@ quests/178_IconicTrinity/__init__.py quests/184_Nikolas_Cooperation_Contract/__init__.py quests/185_Nikolas_Cooperation_Consideration/__init__.py quests/211_TrialOfChallenger/__init__.py -quests/212_TrialOfDuty/__init__.py quests/213_TrialOfSeeker/__init__.py quests/214_TrialOfScholar/__init__.py quests/215_TrialOfPilgrim/__init__.py diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-03.htm deleted file mode 100644 index e29fdaa86f..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Grand Master Hannavalt:<br> -Do you hold higher ambitions than being a mere Knight? You must examine your motivation for fighting. It may be to protect loved ones, for the glory of the kingdom, for power... But true knights fight for the<font color="LEVEL"> 'calling'</font> that is given them. The Trial of the Calling is the way for you to determine what your calling is.<br> -<a action="bypass -h Quest 212_TrialOfDuty 1">Say you will attempt the Trial of the Calling</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-04.htm deleted file mode 100644 index c83e1f23e6..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-04.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Grand Master Hannavalt:<br> -First you must find<font color="LEVEL"> Sir Aaron Tanford</font>. He resides in the<font color="LEVEL"> southern Wastelands</font> of Gludio. He shall give you your first test. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-05.htm deleted file mode 100644 index 19069d9f8f..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Grand Master Hannavalt:<br> -Greetings. So, you have received your calling? You needn't tell me what it is. The virtues, actions, and responsibilities that you have seen, heard, and felt are the true callings of the Knight. Keep that deeply in your heart.<br> -Accept this Mark of the Calling. May the good will of Einhasad always remain in your heart... -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-04.htm deleted file mode 100644 index d012f2c32b..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-04.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Priest Dustin:<br> -<font color="LEVEL">The Orcs have an appalling custom of carrying around the remains of their enemies as a sort of charm or amulet.</font> They say that the more courageous the enemy, the greater the power... It is said that Athebaldt's remains were cut up into pieces and and fashioned into amulets for the<font color="LEVEL"> Breka Orc Overlords</font>. These creatures are fierce and violent! But I must give Leon a proper burial. Can you retrieve his remains for me?<br> -<a action="bypass -h Quest 212_TrialOfDuty 30116_4">"Please let me take that task."</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-05.htm deleted file mode 100644 index 600df10a27..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-05.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Priest Dustin:<br> -Our religious traditions dictate that we can hold a funeral if we have the skull, ribs, and shinbone. Slay the<font color="LEVEL"> Breka Orc Overlords</font> and bring back<font color="LEVEL"> Sir Athebaldt's skull, ribs, and shinbone</font>. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-09.htm deleted file mode 100644 index 34a9513715..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-09.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Priest Dustin:<br> -Have you delivered Sir Leon Athebaldt's remains to his family?<font color="LEVEL"> Sir Collin Windawood</font> of<font color="LEVEL"> Talking Island</font> is expecting you. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-10.htm deleted file mode 100644 index d677173c56..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-10.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Priest Dustin:<br> -You have done all that I asked. Do you still have the letter of commendation I gave you? Deliver it to<font color="LEVEL"> Grand Master Hannavalt</font> in<font color="LEVEL"> Giran</font>. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30311-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30311-01.htm deleted file mode 100644 index f9cb8a4559..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30311-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Sir Collin Windawood:<br> -These! Are these the bones of Leon?! I heard he died a glorious death on the battle against Orcs... What a pity... Never did I know that I would meet you again like this, my nephew! I regret that we couldn't fight in the same battlefield!<br> -Young Warrior, I give you my gratitude in the name of my family. I heard that you worked hard to recover his bones. Thank you so much. I wrote a letter in gratitude to you and the Einhasad shrine. Give this to<font color="LEVEL"> Priest Dustin</font>. From now on... I shall prepare for my nephew's funeral... Whew... -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30311-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30311-02.htm deleted file mode 100644 index 4559a17452..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30311-02.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Sir Collin Windawood:<br> -Young Warrior, thank you for recovering my nephews remains and bringing them back here. I give you my gratitude in the name of our family. Now please take the letter that I gave you to<font color="LEVEL"> Priest Dustin of Giran Castle Town</font>. Thank you. May the light of Einhasad lead you to the right way. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30653-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30653-01.htm deleted file mode 100644 index a961cf25c3..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30653-01.htm +++ /dev/null @@ -1,7 +0,0 @@ -<html><body>Sir Aaron Tanford:<br> -One of the virtues that define a Knight's brilliance is<font color="LEVEL"> dignity</font>. But the meaning of dignity differs from person to person...<br> -Right now, some group of gangs who knows nothing about dignity settled down in this Wastelands, and are disturbing the people around the area. By that I mean<font color="LEVEL"> Harrod and his perpetrators,</font> who was once a prestigious Knight of Gludio.<br> -At the time with war against Grecia, Harrod was allured by the enemy's leader. So he betrayed us and became the agent of the invaders. Sir Klaus Vasper who couldn't forgive his betrayal, chased after him tenaciously until he finally stuck in a spear into his heart. Karol said that 'A knight who abandoned his dignity is as good as dead' and without even holding a funeral, he dumped his body in the Wastelands.<br> -Even God seemed to disapprove of his rest, so he had no peace even dead. The once-prestigious Knight had been degraded into a cursed devil.<br> -Perhaps the only thing that can free him from the curse is this rusted Knight sword.<font color="LEVEL"> The undead skulls which are wondering around the Wasteland</font> are his perpetrators. As you terminate the filthy undead skulls one by one, you'll be able to confront the<font color="LEVEL"> Spirit of Harrod </font> in the end. Kill him with the sword I gave you, and remind him of the noble dignity of a Gludio Knight. If possible, please bring something that he left as he died. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30653-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30653-02.htm deleted file mode 100644 index ac833c8210..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30653-02.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Sir Aaron Tanford:<br> -I know it is not an easy task. But it is a necessary job for you to do, in order to acquire brilliance. Make an end to the<font color="LEVEL"> Spirits of Harrod</font> with the rusty sword I gave you, and free him from his disgraceful curse. As you terminate the<font color="LEVEL"> undead skulls wandering around the Wastelands</font> one by one, you'll be able to confront him in the end. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30653-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30653-03.htm deleted file mode 100644 index 31f7788863..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30653-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Sir Aaron Tanford:<br> -After all, the unfortunate Knight wasn't able to recover his dignity. All that is left for him is this tears of regret. What an intensive curse. So is it his fate to wander around the Wastelands like that forever?... But he can't blame anyone else but himself.<br> -Well done! You have completed my assignment successfully. However this is not the end of it. Now you must go to the<font color="LEVEL"> Dark Elven Guild in Dion Castle Town</font> and meet<font color="LEVEL"> Sir Kiel Knighthawk</font>. He will be waiting for you with your second task. By all means I hope that you complete the rest of your tasks successfully. I shall pray to Einhasad for your brilliance. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30653-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30653-04.htm deleted file mode 100644 index 4ac1d19b8d..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30653-04.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Sir Aaron Tanford:<br> -If you want to know about the second level of the trial, go and meet<font color="LEVEL"> Sir Kiel Knighthawk</font>. He is in the<font color="LEVEL"> Dark Elven Guild of Dion Castle Town</font>. By all means I hope that you complete the rest of your tasks successfully. I shall pray to Einhasad for your brilliance. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-01.htm deleted file mode 100644 index 27f9019e89..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-01.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Sir Kiel Nighthawk:<br> -Nice to meet you, young Warrior. I am Kiel Nighthawk of the Griffon Knight union. I already received a notice from Hannavalt.<br> -One of the virtues that define a Knight's brightness is a<font color="LEVEL"> sense of justice</font>. There is a miserable history in this land of Dion because of the lack of justice. Especially the unfair mortification of Sir Talianus is such a case. Sir Talianus wrote in the report about the specific situations at the peasant's uprising. It was something that he prepared to give to the King, but unfortunately the report was torn into pieces and Sir Talianus was executed. The Soldiers who served him tried to collect the torn pages but even they were all killed.<br> -Even until this day, there are some people who claim that they heard the voices of the Knight and his followers, wailing in agony. Thou who sticks to what he believed was right, but his spirits are still wandering on earth, unable to side with Shilen... I want you to carry out the justice that he couldn't complete.<br> -Gather the pieces of the report and restore the contents of his articles. As you kill the undead of the execution ground one by one, you'll be able to gather the pieces of the report. Kill the<font color="LEVEL"> strains</font> and the<font color="LEVEL"> ghouls</font> to collect the<font color="LEVEL"> torn pieces of the report</font>. When you gather all the pieces and complete<font color="LEVEL"> Talianus's Report</font> bring it back to me. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-02.htm deleted file mode 100644 index b8d24b28fa..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-02.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Sir Kiel Nighthawk:<br> -It is just as I had explained before. There are no changes. Kill the<font color="LEVEL"> strains</font> and the<font color="LEVEL"> ghouls</font> to collect the<font color="LEVEL"> torn pieces of the report</font>. When you gather all the pieces and complete the report of<font color="LEVEL"> Sir Talianus</font>, bring it back to me. Period. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-03.htm deleted file mode 100644 index 014e61284a..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-03.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Sir Kiel Nighthawk:<br> -The very report that Sir Talianus couldn't deliver to the King until the end... When you meet his spirit and promise him that you will deliver the report to the King of Aden, he will finally be able to rest in peace. His spirits are now captured in the doomed tree of the execution ground. Take the<font color="LEVEL"> Mirror of Orpic</font> with you. There is power dwelling in this mirror which enables you to see the spirits of the dead. Go to the execution ground and get rid of the<font color="LEVEL"> hanged man ripper</font> who is suppressing the spirits of him. Then you shall be able to confront the ghost of Sir Talianus. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-04.htm deleted file mode 100644 index e161a94ef2..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-04.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Sir Kiel Nighthawk:<br> -It seems that you have not yet met the<font color="LEVEL"> Spirit of Sir Talianus</font>. Let the spirits have the rest and peace it deserves. Go now to the execution ground and get rid of<font color="LEVEL"> hanged man ripper</font> to free Sir Talianus from his grief. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-05.htm deleted file mode 100644 index 1a0c513a63..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Sir Kiel Nighthawk:<br> -Now that I hear your story, it occurs to me that there must be some other reasons why the spirits of Talianus can't rest in peace... I will have to do some more research on this.<br> -As for you, you should now go to the<font color="LEVEL"> Hunter's Village</font> to take the next stage in the trial. There at the Hunter's Village you must meet<font color="LEVEL"> Sir Isael Silvershadow</font>. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-06.htm deleted file mode 100644 index db0845b026..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30654-06.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Sir Kiel Nighthawk:<br> -The task of resolving Sir Talianus' spite was my trial for you. About the next stage of the trial, you should ask<font color="LEVEL"> Sir Isael Silvershadow </font> of the<font color="LEVEL"> Hunter's Village</font>. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-03.htm deleted file mode 100644 index f8451979c4..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-03.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Isael Silvershadow:<br> -The hour of the memorial service draws near. We must have the<font color="LEVEL"> personal articles of the guards</font> from the<font color="LEVEL"> leto lizardmen</font> for the ceremony. We need<font color="LEVEL"> about 20 pieces</font> of the articles. Thank you for your assistance in this matter. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-04.htm deleted file mode 100644 index 2a51959277..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-04.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Isael Silvershadow:<br> -Well done! The guards' families will be eternally grateful for your services. The representative of the families has asked me to present you with this jewel. It is called<font color="LEVEL"> the Tear of Loyalty</font>.<br> -Grandmaster Hannavalt has requested that you go to<font color="LEVEL"> Father Dustin</font> in<font color="LEVEL"> Giran Castle Town</font>. He shall give you your final task. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30656-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30656-01.htm deleted file mode 100644 index d31e9a8452..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30656-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Spirit of Sir Talianus:<br> -The report that I tried to give to the King... Please deliver it to the King of Aden...<br> -But, listen young Warrior... I have something to confess. The depth of my sin is deeper than the well... Until the day I pay off the debts of my sin, and until justice settles down on this land of Dion, I shall not be able to rest in peace. I do not dare to... -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/__init__.py deleted file mode 100644 index e4aa8a9a97..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/__init__.py +++ /dev/null @@ -1,324 +0,0 @@ -# Made by Mr. Have fun! Version 0.2 -# Fixed by Artful (http://L2PLanet.ru Lineage2 C3 Server) -# version 0.4 - updated by Kerberos on 2007.11.10 -import sys -from com.l2jserver.gameserver.model.quest import State -from com.l2jserver.gameserver.model.quest import QuestState -from com.l2jserver.gameserver.model.quest import Quest as JQuest - -qn = "212_TrialOfDuty" - -MARK_OF_DUTY = 2633 -LETTER_OF_DUSTIN = 2634 -KNIGHTS_TEAR = 2635 -MIRROR_OF_ORPIC = 2636 -TEAR_OF_CONFESSION = 2637 -REPORT_PIECE = 2638 -TALIANUSS_REPORT = 2639 -TEAR_OF_LOYALTY = 2640 -MILITAS_ARTICLE = 2641 -SAINTS_ASHES_URN = 2642 -ATEBALTS_SKULL = 2643 -ATEBALTS_RIBS = 2644 -ATEBALTS_SHIN = 2645 -LETTER_OF_WINDAWOOD = 2646 -OLD_KNIGHT_SWORD = 3027 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(2634, 2647)+[3027] - - def onAdvEvent (self,event,npc, player) : - htmltext = event - st = player.getQuestState(qn) - if not st : return - if event == "1" : - htmltext = "30109-04.htm" - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - st.set("cond","1") - elif event == "30116_1" : - htmltext = "30116-02.htm" - elif event == "30116_2" : - htmltext = "30116-03.htm" - elif event == "30116_3" : - htmltext = "30116-04.htm" - elif event == "30116_4" : - htmltext = "30116-05.htm" - st.takeItems(TEAR_OF_LOYALTY,1) - st.set("cond","14") - st.playSound("ItemSound.quest_middle") - return htmltext - - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - cond=st.getInt("cond") - npcId = npc.getId() - id = st.getState() - if npcId != 30109 and id != State.STARTED : return htmltext - if id == State.CREATED : - st.set("cond","0") - st.set("onlyone","0") - st.set("id","0") - if npcId == 30109 and cond == 0 and st.getInt("onlyone")==0 : - if player.getClassId().ordinal() in [ 0x04, 0x13, 0x20] : - if player.getLevel() >= 35 : - htmltext = "30109-03.htm" - else : - htmltext = "30109-01.htm" - st.exitQuest(1) - else: - htmltext = "30109-02.htm" - st.exitQuest(1) - elif npcId == 30109 and cond == 0 and st.getInt("onlyone")==1 : - htmltext = Quest.getAlreadyCompletedMsg(player) - - elif npcId == 30109 and cond == 18 and st.getQuestItemsCount(LETTER_OF_DUSTIN): - st.takeItems(LETTER_OF_DUSTIN,1) - st.addExpAndSp(762576,49458) - st.giveItems(57,138968) - st.giveItems(7562,8) - st.giveItems(MARK_OF_DUTY,1) - htmltext = "30109-05.htm" - st.exitQuest(False) - st.playSound("ItemSound.quest_finish") - st.set("onlyone","1") - st.set("cond","0") - elif npcId == 30109 and cond == 1 : - htmltext = "30109-04.htm" - elif npcId == 30653 and cond == 1 : - htmltext = "30653-01.htm" - if st.getQuestItemsCount(OLD_KNIGHT_SWORD) == 0 : - st.giveItems(OLD_KNIGHT_SWORD,1) - st.set("cond","2") - st.playSound("ItemSound.quest_middle") - elif npcId == 30653 and cond == 2 and st.getQuestItemsCount(KNIGHTS_TEAR)==0 : - htmltext = "30653-02.htm" - elif npcId == 30653 and cond == 3 and st.getQuestItemsCount(KNIGHTS_TEAR) : - htmltext = "30653-03.htm" - st.takeItems(KNIGHTS_TEAR,1) - st.takeItems(OLD_KNIGHT_SWORD,1) - st.set("cond","4") - st.playSound("ItemSound.quest_middle") - elif npcId == 30653 and cond == 4 : - htmltext = "30653-04.htm" - elif npcId == 30654 and cond == 4 : - htmltext = "30654-01.htm" - st.set("cond","5") - st.playSound("ItemSound.quest_middle") - elif npcId == 30654 and cond == 5 and st.getQuestItemsCount(TALIANUSS_REPORT)==0 : - htmltext = "30654-02.htm" - elif npcId == 30654 and cond == 6 and st.getQuestItemsCount(TALIANUSS_REPORT) : - htmltext = "30654-03.htm" - st.set("cond","7") - st.playSound("ItemSound.quest_middle") - st.giveItems(MIRROR_OF_ORPIC,1) - elif npcId == 30654 and cond == 7 : - htmltext = "30654-04.htm" - elif npcId == 30654 and cond == 9 and st.getQuestItemsCount(TEAR_OF_CONFESSION) : - htmltext = "30654-05.htm" - st.takeItems(TEAR_OF_CONFESSION,1) - st.set("cond","10") - st.playSound("ItemSound.quest_middle") - elif npcId == 30654 and cond == 10 : - htmltext = "30654-06.htm" - elif npcId == 30656 and cond == 8 and st.getQuestItemsCount(MIRROR_OF_ORPIC) : - htmltext = "30656-01.htm" - st.takeItems(MIRROR_OF_ORPIC,1) - st.takeItems(TALIANUSS_REPORT,1) - st.giveItems(TEAR_OF_CONFESSION,1) - st.set("cond","9") - st.playSound("ItemSound.quest_middle") - elif npcId == 30655 and cond == 10 : - if player.getLevel() >= 35 : - htmltext = "30655-02.htm" - st.set("cond","11") - st.playSound("ItemSound.quest_middle") - else: - htmltext = "30655-01.htm" - elif npcId == 30655 and cond == 11 : - htmltext = "30655-03.htm" - elif npcId == 30655 and cond == 12 : - htmltext = "30655-04.htm" - st.takeItems(MILITAS_ARTICLE,st.getQuestItemsCount(MILITAS_ARTICLE)) - st.giveItems(TEAR_OF_LOYALTY,1) - st.set("cond","13") - st.playSound("ItemSound.quest_middle") - elif npcId == 30655 and cond == 13 : - htmltext = "30655-05.htm" - elif npcId == 30116 and cond == 13 and st.getQuestItemsCount(TEAR_OF_LOYALTY) : - htmltext = "30116-01.htm" - elif npcId == 30116 and cond == 14 : - htmltext = "30116-06.htm" - elif npcId == 30116 and cond == 15 : - htmltext = "30116-07.htm" - st.takeItems(ATEBALTS_SKULL,1) - st.takeItems(ATEBALTS_RIBS,1) - st.takeItems(ATEBALTS_SHIN,1) - st.giveItems(SAINTS_ASHES_URN,1) - st.set("cond","16") - st.playSound("ItemSound.quest_middle") - elif npcId == 30116 and cond == 17 : - htmltext = "30116-08.htm" - st.takeItems(LETTER_OF_WINDAWOOD,1) - st.giveItems(LETTER_OF_DUSTIN,1) - st.set("cond","18") - st.playSound("ItemSound.quest_middle") - elif npcId == 30116 and cond == 16 : - htmltext = "30116-09.htm" - elif npcId == 30116 and cond == 18 : - htmltext = "30116-10.htm" - elif npcId == 30311 and cond == 16 and st.getQuestItemsCount(SAINTS_ASHES_URN) : - htmltext = "30311-01.htm" - st.takeItems(SAINTS_ASHES_URN,1) - st.giveItems(LETTER_OF_WINDAWOOD,1) - st.set("cond","17") - st.playSound("ItemSound.quest_middle") - elif npcId == 30311 and cond == 14 : - htmltext = "30311-02.htm" - return htmltext - - def onKill(self,npc,player,isPet): - st = player.getQuestState(qn) - if not st : return - if st.getState() != State.STARTED : return - cond=st.getInt("cond") - npcId = npc.getId() - if npcId in [20190,20191] : - if cond == 2 : - if self.getRandom(50)<2 : - st.addSpawn(27119,npc,True,0) - st.playSound("ItemSound.quest_before_battle") - elif npcId == 27119 : - if cond == 2 and st.getQuestItemsCount(OLD_KNIGHT_SWORD) > 0 : - st.giveItems(KNIGHTS_TEAR,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","3") - elif npcId == 20200 : - if cond == 5 and st.getQuestItemsCount(REPORT_PIECE) < 10 and st.getQuestItemsCount(TALIANUSS_REPORT) == 0 : - if st.getQuestItemsCount(REPORT_PIECE) == 9 : - if self.getRandom(2) == 1 : - st.takeItems(REPORT_PIECE,st.getQuestItemsCount(REPORT_PIECE)) - st.giveItems(TALIANUSS_REPORT,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","6") - elif self.getRandom(2) == 1 : - st.giveItems(REPORT_PIECE,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == 20201 : - if cond == 5 and st.getQuestItemsCount(REPORT_PIECE) < 10 and st.getQuestItemsCount(TALIANUSS_REPORT) == 0 : - if st.getQuestItemsCount(REPORT_PIECE) == 9 : - if self.getRandom(2) == 1 : - st.takeItems(REPORT_PIECE,st.getQuestItemsCount(REPORT_PIECE)) - st.giveItems(TALIANUSS_REPORT,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","6") - elif self.getRandom(2) == 1 : - st.giveItems(REPORT_PIECE,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == 20144 : - if cond == 7 : - if self.getRandom(100)<33 : - st.addSpawn(30656,npc.getX(),npc.getY(),npc.getZ(),npc.getHeading(),True,300000) - st.playSound("ItemSound.quest_middle") - st.set("cond","8") - elif npcId == 20577 : - if cond == 11 and st.getQuestItemsCount(MILITAS_ARTICLE) < 20 : - if st.getQuestItemsCount(MILITAS_ARTICLE) == 19 : - st.giveItems(MILITAS_ARTICLE,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","12") - else: - st.giveItems(MILITAS_ARTICLE,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == 20578 : - if cond == 11 and st.getQuestItemsCount(MILITAS_ARTICLE) < 20 : - if st.getQuestItemsCount(MILITAS_ARTICLE) == 19 : - st.giveItems(MILITAS_ARTICLE,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","12") - else: - st.giveItems(MILITAS_ARTICLE,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == 20579 : - if cond == 11 and st.getQuestItemsCount(MILITAS_ARTICLE) < 20 : - if st.getQuestItemsCount(MILITAS_ARTICLE) == 19 : - st.giveItems(MILITAS_ARTICLE,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","12") - else: - st.giveItems(MILITAS_ARTICLE,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == 20580 : - if cond == 11 and st.getQuestItemsCount(MILITAS_ARTICLE) < 20 : - if st.getQuestItemsCount(MILITAS_ARTICLE) == 19 : - st.giveItems(MILITAS_ARTICLE,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","12") - else: - st.giveItems(MILITAS_ARTICLE,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == 20581 : - if cond == 11 and st.getQuestItemsCount(MILITAS_ARTICLE) < 20 : - if st.getQuestItemsCount(MILITAS_ARTICLE) == 19 : - st.giveItems(MILITAS_ARTICLE,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","12") - else: - st.giveItems(MILITAS_ARTICLE,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == 20582 : - if cond == 11 and st.getQuestItemsCount(MILITAS_ARTICLE) < 20 : - if st.getQuestItemsCount(MILITAS_ARTICLE) == 19 : - st.giveItems(MILITAS_ARTICLE,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","12") - else: - st.giveItems(MILITAS_ARTICLE,1) - st.playSound("ItemSound.quest_itemget") - elif npcId == 20270 : - if cond == 14 : - if self.getRandom(2) == 1 : - if st.getQuestItemsCount(ATEBALTS_SKULL) == 0 : - st.giveItems(ATEBALTS_SKULL,1) - st.playSound("ItemSound.quest_itemget") - elif st.getQuestItemsCount(ATEBALTS_RIBS) == 0 : - st.giveItems(ATEBALTS_RIBS,1) - st.playSound("ItemSound.quest_itemget") - elif st.getQuestItemsCount(ATEBALTS_SHIN) == 0 : - st.giveItems(ATEBALTS_SHIN,1) - st.set("cond","15") - st.playSound("ItemSound.quest_middle") - return - -QUEST = Quest(212,qn,"Trial Of Duty") - -QUEST.addStartNpc(30109) - -QUEST.addTalkId(30109) - -QUEST.addTalkId(30116) -QUEST.addTalkId(30311) -QUEST.addTalkId(30653) -QUEST.addTalkId(30654) -QUEST.addTalkId(30655) -QUEST.addTalkId(30656) - -QUEST.addKillId(20144) -QUEST.addKillId(20190) -QUEST.addKillId(20191) -QUEST.addKillId(20200) -QUEST.addKillId(20201) -QUEST.addKillId(20270) -QUEST.addKillId(27119) -QUEST.addKillId(20577) -QUEST.addKillId(20578) -QUEST.addKillId(20579) -QUEST.addKillId(20580) -QUEST.addKillId(20581) -QUEST.addKillId(20582) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-01.html similarity index 98% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-01.html index 91c8bbcba7..e68258dbd9 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-01.html @@ -1,4 +1,4 @@ -<html><body>Grand Master Hannavalt:<br> -You fool! You are hardly worthy of the title you bear! Before you think of advancement, you must first improve your skills!<br> -(This quest may only be undertaken by Knights, Elven Knights, or Palus Knights of level 35 or higher.) +<html><body>Grand Master Hannavalt:<br> +You fool! You are hardly worthy of the title you bear! Before you think of advancement, you must first improve your skills!<br> +(This quest may only be undertaken by Knights, Elven Knights, or Palus Knights of level 35 or higher.) </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-02.html similarity index 98% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-02.html index 8d36ca1e56..80bb50b25e 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30109-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-02.html @@ -1,4 +1,4 @@ -<html><body>Grand Master Hannavalt:<br> -The calling I refer to may only be answered by a Knight. You should seek another guide.<br> -(This quest may only be undertaken by Knights, Elven Knights, or Palus Knights of level 35 or higher.) +<html><body>Grand Master Hannavalt:<br> +The calling I refer to may only be answered by a Knight. You should seek another guide.<br> +(This quest may only be undertaken by Knights, Elven Knights, or Palus Knights of level 35 or higher.) </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-03.htm new file mode 100644 index 0000000000..41bdc711f5 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-03.htm @@ -0,0 +1,4 @@ +<html><body>Grand Master Hannavalt:<br> +Do you hold higher ambitions than being a mere Knight? You must examine your motivation for fighting. It may be to protect loved ones, for the glory of the kingdom, for power... But true knights fight for the <font color="LEVEL">'calling'</font> that is given them. The Trial of Duty is the way for you to determine what your calling is.<br> +<a action="bypass -h Quest Q00212_TrialOfDuty quest_accept">Say you will attempt the Trial of Duty</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-04.htm new file mode 100644 index 0000000000..bc62880bcc --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-04.htm @@ -0,0 +1,3 @@ +<html><body>Grand Master Hannavalt:<br> +First you must find <font color="LEVEL">Sir Aaron Tanford</font>. He resides in the <font color="LEVEL">Southern Wastelands</font> of Gludio. He shall give you your first test. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-04a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-04a.htm new file mode 100644 index 0000000000..446139c526 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-04a.htm @@ -0,0 +1,4 @@ +<html><body>Grand Master Hannavalt:<br> +First, meet with <font color="LEVEL">Sir Aron Tanford</font>. You will find him <font color="LEVEL">south of the Wasteland</font>. He will assign you your first task.<br> +Take this <font color="LEVEL">Dimension Diamond</font>. You can trade it to the village gatekeeper for something special that may help you on your journey. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-05.html new file mode 100644 index 0000000000..1825d8269a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30109-05.html @@ -0,0 +1,4 @@ +<html><body>Grand Master Hannavalt:<br> +Be welcome. So, now you know your calling? No need to tell me. The actions you saw, heard and felt, those are the very call of the knight and the virtue of chivalry. Learn those lessons well; engrave them on your heart.<br> +Now I will give you the Mark of Duty. May Einhasad protect you! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-01.html similarity index 66% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-01.html index 58296f0b24..9b5d70efc6 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-01.html @@ -1,5 +1,5 @@ -<html><body>Priest Dustin:<br> -Welcome, noble Knight. May the blessings of Einhasad be with you.<br> -I am troubled by recent violence of the foreign races. We have lost many of our young in fights with them... Just six months ago, a fine, strapping young lad named<font color="LEVEL"> Leon Athebaldt</font> was killed in battle with the Breka Orcs.<br> -<a action="bypass -h Quest 212_TrialOfDuty 30116_1">Ask about Leon Athebaldt</a> +<html><body>Priest Dustin:<br> +Welcome, noble Knight. May the blessings of Einhasad be with you.<br> +I am troubled by recent violence of the foreign races. We have lost many of our young in fights with them... Just six months ago, a fine, strapping young lad named <font color="LEVEL">Leon Athebaldt</font> was killed in battle with the Breka Orcs.<br> +<a action="bypass -h Quest Q00212_TrialOfDuty 30116-02.html">Ask about Leon Athebaldt</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-02.html similarity index 84% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-02.html index e754d4ede2..a70412ca7a 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-02.html @@ -1,4 +1,4 @@ -<html><body>Priest Dustin:<br> -He was a dashing young knight, sworn to serve Einhasad's holy will and protect the innocent. He took his vow in this very temple. He was an honorable and devout young man, nephew of the famous Sir Collin. He was even considered for canonization by the High Priest! We all had high hopes for him, for what he might acheive for the kingdom and for the Goddess of Light... ...but alas, he has been taken from us. Oh well, it was the will of Eisenhad.<br> -<a action="bypass -h Quest 212_TrialOfDuty 30116_2">Ask about Athebaldt's death</a> +<html><body>Priest Dustin:<br> +He was a dashing young knight, sworn to serve Einhasad's holy will and protect the innocent. He took his vow in this very temple. He was an honorable and devout young man, nephew of the famous Sir Collin. He was even considered for canonization by the High Priest! We all had high hopes for him, for what he might acheive for the kingdom and for the Goddess of Light... ...but alas, he has been taken from us. Oh well, it was the will of Eisenhad.<br> +<a action="bypass -h Quest Q00212_TrialOfDuty 30116-03.html">Ask about Athebaldt's death</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-03.html similarity index 87% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-03.html index 09aa8e4ca6..7d433a57fa 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-03.html @@ -1,6 +1,6 @@ -<html><body>Priest Dustin:<br> -Last winter a giant horde of blood-thirsty<font color="LEVEL"> Breka Orcs</font> swept in from the north and invaded Giran. Those violent thugs looted homes and businesses, and even threatened the castle. They gave the Royal Guards quite a challenge.<br> -Leon Athebaldt led his men in an attack on the Breka Orc encampment. With remarkable courage, they killed the Breka Orc Overlords one by one. Thanks to this effort the Breka Orcs were driven back into the north part of Giran.<br> -The final battle to drive them entirely out of Giran was the fiercest yet. The lone survivor of that battle was Leon's servant. He barely escaped with a shield and weapons inscribed with his master's crest. According to him, Athebaldt fought valiantly to the death, slaying Orcs to his left and right. Eventually he was no match for the hundreds of Orcs that continued to attack in waves against him. His remains have not been found. I'm sure the Breka Orcs have taken them for some nefarious purpose. It saddens me deeply that he cannot be given a proper burial.<br> -<a action="bypass -h Quest 212_TrialOfDuty 30116_3">Ask about the remains</a> +<html><body>Priest Dustin:<br> +Last winter a giant horde of blood-thirsty <font color="LEVEL">Breka Orcs</font> swept in from the north and invaded Giran. Those violent thugs looted homes and businesses, and even threatened the castle. They gave the Royal Guards quite a challenge.<br> +Leon Athebaldt led his men in an attack on the Breka Orc encampment. With remarkable courage, they killed the Breka Orc Overlords one by one. Thanks to this effort the Breka Orcs were driven back into the north part of Giran.<br> +The final battle to drive them entirely out of Giran was the fiercest yet. The lone survivor of that battle was Leon's servant. He barely escaped with a shield and weapons inscribed with his master's crest. According to him, Athebaldt fought valiantly to the death, slaying Orcs to his left and right. Eventually he was no match for the hundreds of Orcs that continued to attack in waves against him. His remains have not been found. I'm sure the Breka Orcs have taken them for some nefarious purpose. It saddens me deeply that he cannot be given a proper burial.<br> +<a action="bypass -h Quest Q00212_TrialOfDuty 30116-04.html">Ask about the remains</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-04.html new file mode 100644 index 0000000000..fb8da17420 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-04.html @@ -0,0 +1,4 @@ +<html><body>Priest Dustin:<br> +<font color="LEVEL">The Orcs have an appalling custom of carrying around the remains of their enemies as a sort of charm or amulet.</font> They say that the more courageous the enemy, the greater the power... It is said that Athebaldt's remains were cut up into pieces and fashioned into amulets for the <font color="LEVEL">Breka Orc Overlords</font>. These creatures are fierce and violent! But I must give Leon a proper burial. Can you retrieve his remains for me?<br> +<a action="bypass -h Quest Q00212_TrialOfDuty 30116-05.html">"Please let me take that task."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-05.html new file mode 100644 index 0000000000..aa2abd6211 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-05.html @@ -0,0 +1,3 @@ +<html><body>Priest Dustin:<br> +Our religious traditions dictate that we can hold a funeral if we have the skull, ribs, and shinbone. Slay the <font color="LEVEL">Breka Orc Overlords</font> and bring back <font color="LEVEL">Sir Athebaldt's Skull, ribs, and shinbone</font>. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-06.html similarity index 62% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-06.html index 56625222a2..6f5e634738 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-06.html @@ -1,3 +1,3 @@ -<html><body>Priest Dustin:<br> -Please gather Sir Leon Athebaldt's remains. You must recover 3 portions:<font color="LEVEL"> the skull, ribs, and shinbone</font>. It sickens me to think of precious Leon's body decorating the necks of Orcs! This must not stand! +<html><body>Priest Dustin:<br> +Please gather Sir Leon Athebaldt's remains. You must recover 3 portions: <font color="LEVEL">the skull, ribs, and shinbone</font>. It sickens me to think of precious Leon's body decorating the necks of Orcs! This must not stand! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-07.html similarity index 50% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-07.html index bbc2d901dc..1a149d2c79 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-07.html @@ -1,3 +1,3 @@ -<html><body>Priest Dustin:<br> -Thank you so very much. Now we may finally hold a proper funeral for Leon Athebaldt. I have cremated part of his remains and put them into this urn. Please deliver it to Leon's uncle,<font color="LEVEL"> Sir Collin Windawood</font>. He is the Governor of<font color="LEVEL"> Talking Island</font>. +<html><body>Priest Dustin:<br> +Thank you so very much. Now we may finally hold a proper funeral for Leon Athebaldt. I have cremated part of his remains and put them into this urn. Please deliver it to Leon's uncle, <font color="LEVEL">Sir Collin Windawood</font>. He is the Governor of <font color="LEVEL">Talking Island</font>. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-08.html similarity index 76% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-08.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-08.html index 80696ba4ca..c88c688b09 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30116-08.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-08.html @@ -1,5 +1,5 @@ -<html><body>Priest Dustin:<br> -Well done! I thank you in the name of the church of Einhasad.<br> -Sir Athebaldt will at last be at peace in the arms of Einhasad. The peace that we now enjoy would not have been possible without sacrifices such as this. Great things are achieved only at great cost... Sometimes a painful sacrifice must be made for the greater good.<br> -I have written a letter commending your efforts. Take this to<font color="LEVEL"> Grand Master Hannavalt</font>. +<html><body>Priest Dustin:<br> +Well done! I thank you in the name of the church of Einhasad.<br> +Sir Athebaldt will at last be at peace in the arms of Einhasad. The peace that we now enjoy would not have been possible without sacrifices such as this. Great things are achieved only at great cost... Sometimes a painful sacrifice must be made for the greater good.<br> +I have written a letter commending your efforts. Take this to <font color="LEVEL">Grand Master Hannavalt</font>. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-09.html new file mode 100644 index 0000000000..3361e5df46 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-09.html @@ -0,0 +1,3 @@ +<html><body>Priest Dustin:<br> +Have you delivered Sir Leon Athebaldt's remains to his family? <font color="LEVEL">Sir Collin Windawood</font> of <font color="LEVEL">Talking Island</font> is expecting you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-10.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-10.html new file mode 100644 index 0000000000..1895a04e92 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30116-10.html @@ -0,0 +1,3 @@ +<html><body>Priest Dustin:<br> +You have done all that I asked. Do you still have the letter of commendation I gave you? Deliver it to <font color="LEVEL">Grand Master Hannavalt</font> in <font color="LEVEL">Giran</font>. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30311-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30311-01.html new file mode 100644 index 0000000000..746d676ed7 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30311-01.html @@ -0,0 +1,5 @@ +<html><body>Sir Collin Windawood:<br> +Could these actually be the bones of Leon? I heard of his glorious death during the battle against Orcs... What a loss... Never did I expect that I would see you like this, my beloved nephew! I regret I wasn't with you at the moment of your death!<br> +Young Warrior, My family is in your debt. I know it wasn't easy to recover his bones. Thank you so much. Take this letter to <font color="LEVEL">Priest Dustin</font>.<br> +Now I shall prepare for my nephew's funeral... +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30311-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30311-02.html new file mode 100644 index 0000000000..991e385612 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30311-02.html @@ -0,0 +1,3 @@ +<html><body>Sir Collin Windawood:<br> +Young Warrior, thank you for recovering my nephew's remains and bringing them back to us. My family is in your debt. Now please take the letter that I gave you to <font color="LEVEL">Priest Dustin of the Town of Giran</font>. Thank you. May the light of Einhasad guide your path. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30653-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30653-01.html new file mode 100644 index 0000000000..3ae296ba31 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30653-01.html @@ -0,0 +1,6 @@ +<html><body>Sir Aaron Tanford:<br> +<font color="LEVEL">Dignity</font> is one of the virtues that define a Knight's worth. Dignity takes various forms in different people...<br> +As we speak there are vicious gangs, who know nothing of dignity, prowling the Wastelands disturbing the residents. These gangs are led by <font color="LEVEL">Herod</font>. He was once a prestigious Knight of Gludio.<br> +During the war against Gracia, Herod was tempted to treason by the enemy's leader. He became an agent of the invaders! Sir Klaus Vasper chased him doggedly and eventually put a spear through his heart. Karol said that 'A Knight who abandons his dignity is as good as dead.' Not wanting to give the traitor the dignity of a funeral, his corpse was left to rot in the Wastelands.<br> +This made his soul become a cursed devil, and the only way to get rid of him is to free him from the curse with this rusty sword. <font color="LEVEL">The skeleton raiders wandering around the Wastelands</font> are his minions. As you destroy the filthy skeleton raiders one by one, you will confront the <font color="LEVEL">Spirit of Herod</font>. Kill him with the rusty sword I gave you, and remind him of the noble dignity of a Gludio Knight. If possible, please bring proof of his end. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30653-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30653-02.html new file mode 100644 index 0000000000..4bf04fff19 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30653-02.html @@ -0,0 +1,3 @@ +<html><body>Sir Aaron Tanford:<br> +I realize that it is not an easy task. But it is necessary for you to do it in order to acquire brilliance. You must kill the <font color="LEVEL">Spirit of Herod</font> with the rusty sword I gave you, and free him from his disgraceful curse. While killing the <font color="LEVEL">skeleton raiders wandering around the Wastelands</font> you will confront Herod. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30653-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30653-03.html new file mode 100644 index 0000000000..9c08a045bd --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30653-03.html @@ -0,0 +1,4 @@ +<html><body>Sir Aaron Tanford:<br> +So the unfortunate knight was not able to recover his honor. Was this tear of return the only thing that remained? What a dreadful curse! So it is his fate to wander the Wastelands forever... He has no one to blame but himself.<br> +Well done! You have completed the task successfully. But the task does not end with this. Go to the <font color="LEVEL">Dark Elf Guild in the Town of Dion</font> and meet <font color="LEVEL">Sir Kiel Nighthawk</font>. He will be waiting for you with your second task. I pray to Einhasad that you finish all your tasks successfully and get your "wish". +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30653-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30653-04.html new file mode 100644 index 0000000000..3f5d9bca5f --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30653-04.html @@ -0,0 +1,3 @@ +<html><body>Sir Aaron Tanford:<br> +You will learn the second part of the trial when you visit <font color="LEVEL">Sir Kiel Nighthawk</font>. He is in the <font color="LEVEL">Dark Elf Guild of the Town of Dion</font>. I shall pray to Einhasad for the successful completion of your tasks. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-01.html new file mode 100644 index 0000000000..3dc0e22f83 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-01.html @@ -0,0 +1,8 @@ +<html><body>Sir Kiel Nighthawk:<br> +Greetings, young Warrior. I am Kiel Nighthawk of the Griffon Knight union. Hannavalt sent word that you were coming.<br> +One of the virtues that define a Knight's character is a <font color="LEVEL">sense of justice</font>. The history of this land of Dion is rife with gross injustice. One of the most heinous was the case of Sir Talianus.<br> +He was commissioned by the King to write a report about the causes and effects of the peasant's uprising. He was captured by rebels and accused of being a spy. He suffered days of unspeakable torture before death mercifully came. His report was torn up and scattered to the wind.<br> +His troops tried to collect the pieces of the report and they suffered the same fate as their leader.<br> +Until this day people claim that they hear the agonized wails of Sir Talianus and his troops, wafting across the execution grounds. I fear that their spirits are wandering the earth, unable to join with Shilen... Would you please seek justice for Sir Talianus?<br> +Kill the <font color="LEVEL">strains</font> and the <font color="LEVEL">ghouls</font> to collect the <font color="LEVEL">torn pieces of the report</font>. When you gather all the pieces and complete <font color="LEVEL">Talianus' Report</font> bring it back to me. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-02.html new file mode 100644 index 0000000000..1d3b1c3316 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-02.html @@ -0,0 +1,3 @@ +<html><body>Sir Kiel Nighthawk:<br> +As I said, you must kill the <font color="LEVEL">strains</font> and the <font color="LEVEL">ghouls</font> to collect the <font color="LEVEL">torn pieces of the report</font>. When you gather all the pieces of <font color="LEVEL">Sir Talianus' report</font>, bring it back to me. Got it? +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-03.html new file mode 100644 index 0000000000..fb3bef7700 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-03.html @@ -0,0 +1,4 @@ +<html><body>Sir Kiel Nighthawk:<br> +Ah, the report that was to be presented to the King... Perhaps now we can release the spirits of Sir Talianus and his comrades from their torment...<br> +Take this <font color="LEVEL">Mirror of Orpic</font> with you and go to the Execution Grounds. There is power dwelling in this mirror which enables you to see the spirits of the dead. You must find and confront the doomed <font color="LEVEL">hangman tree</font>. Free the spirits of Sir Talianus and his troops from their prison. Tell the spirit of Sir Talianus that the report for which he and his men gave their lives will be delivered to the King. This should give them peace at last. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-04.html new file mode 100644 index 0000000000..78ff8e18ff --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-04.html @@ -0,0 +1,3 @@ +<html><body>Sir Kiel Nighthawk:<br> +You have not yet freed <font color="LEVEL">Spirit of Sir Talianus</font>. The spirits of these brave soldiers must be put to rest. Go now to the Execution Grounds and destroy the <font color="LEVEL">hangman tree</font> to free Sir Talianus from his torment. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-05.html new file mode 100644 index 0000000000..e4315025cf --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-05.html @@ -0,0 +1,4 @@ +<html><body>Sir Kiel Nighthawk:<br> +Very interesting... It occurs to me that there must be some other reason why the spirits of Talianus and his men cannot rest in peace... I must do more research on this.<br> +You should now go and find <font color="LEVEL">Sir Isael Silvershadow</font> in <font color="LEVEL">Hunter's Village</font> to take the next part of the test. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-06.html new file mode 100644 index 0000000000..ff36dd27f9 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30654-06.html @@ -0,0 +1,3 @@ +<html><body>Sir Kiel Nighthawk:<br> +You have given peace to the tortured souls of Sir Talianus and his men. You have passed this part of the trial admirably. For the next stage, you must seek out <font color="LEVEL">Sir Isael Silvershadow </font> in the <font color="LEVEL">Hunter's Village</font>. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-01.html similarity index 89% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-01.html index 1140b64524..f11ed532a9 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-01.html @@ -1,4 +1,4 @@ -<html><body>Isael Silvershadow:<br> -Hello, young knight. May you be blessed by starlight. Welcome to the Hunters' Village.<br> -True to Hannavalt's words, you have the talent to become a great Knight, but you are not quite ready this task. Please continue your training. +<html><body>Isael Silvershadow:<br> +Hello, young knight. May you be blessed by starlight. Welcome to the Hunters Village.<br> +True to Hannavalt's words, you have the talent to become a great Knight, but you are not quite ready this task. Please continue your training. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-02.html similarity index 65% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-02.html index 5aa81977b0..63311e3afb 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-02.html @@ -1,5 +1,6 @@ -<html><body>Isael Silvershadow:<br> -May the blessings of the starlight shine upon you. Hello, young warrior. Welcome to the Hunters Village. True to Hannavalt's words, you seem to have the potential to become a great Knight someday.<br> -Let's briefly discuss the last virtue of a Knight, loyalty. Loyalty may be towards a lord, towards the teachings of the divine powers, or to a town and its residents whom you've sworn to protect... A good example would be the guards that risked their lives to battle the Leto lizardmen and protect this village. The loyalty they displayed in sacrificing their lives to protect their homes and loved ones is surely honorable indeed.<br> -My task for you is to recover the<font color="LEVEL"> milita's article</font> from the<font color="LEVEL"> Leto lizardmen.</font> The families of the fallen guards wish to hold a memorial for them. Considering their sacrifice, should we not at least do this much for them? In order to hold the memorial, we need<font color="LEVEL"> 20 pieces of the articles.</font> Well then, good luck on your journey. +<html><body>Isael Silvershadow:<br> +May the blessings of the starlight shine upon you. Hello, young warrior. Welcome to the Hunters Village. True to Hannavalt's words, you seem to have the potential to become a great Knight someday.<br> +Let's briefly discuss the last virtue of a Knight, loyalty. Loyalty may be towards a lord, towards the teachings of the divine powers, or to a town and its residents whom you've sworn to protect... A good example would be the guards that risked their lives to battle the Leto Lizardmen and protect this village. The loyalty they displayed in sacrificing their lives to protect their homes and loved ones is surely honorable indeed.<br> +My task for you is to recover the <font color="LEVEL">milita's article</font> from the <font color="LEVEL">Leto Lizardmen.</font> The families of the fallen guards wish to hold a memorial for them. Considering their sacrifice, should we not at least do this much for them? In order to hold the memorial, we need <font color="LEVEL">20 pieces of the articles.</font> Well then, good luck on your journey.<br> +Leto Lizardmen can be found on the Plains of the Lizardmen. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-03.html new file mode 100644 index 0000000000..42970e53c0 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-03.html @@ -0,0 +1,4 @@ +<html><body>Isael Silvershadow:<br> +The hour of the memorial service draws near. We must have the <font color="LEVEL">personal articles of the guards</font> from the <font color="LEVEL">Leto Lizardmen</font> for the ceremony. We need <font color="LEVEL">about 20 pieces</font> of the articles. Thank you for your assistance in this matter.<br> +Leto Lizardmen can be found on the Plains of the Lizardmen. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-04.html new file mode 100644 index 0000000000..a597ca16ae --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-04.html @@ -0,0 +1,4 @@ +<html><body>Isael Silvershadow:<br> +Well done! The guards' families will be eternally grateful for your services. The representative of the families has asked me to present you with this jewel. It is called <font color="LEVEL">the Tear of Loyalty</font>.<br> +Grand Master Hannavalt has requested that you go to <font color="LEVEL">Father Dustin</font> in <font color="LEVEL">the Town of Giran</font>. He shall give you your final task. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-05.html similarity index 56% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-05.html index f41abf468b..7c55baa1c0 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/212_TrialOfDuty/30655-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30655-05.html @@ -1,3 +1,3 @@ -<html><body>Isael Silvershadow:<br> -You must proceed with haste to<font color="LEVEL"> Father Dustin</font> in<font color="LEVEL"> Giran Castle Town</font>. He is preparing the last trial that you must face. With your admirable skills you should pass this test easily. I wish you luck. +<html><body>Isael Silvershadow:<br> +You must proceed with haste to <font color="LEVEL">Father Dustin</font> in <font color="LEVEL">the Town of Giran</font>. He is preparing the last trial that you must face. With your admirable skills you should pass this test easily. I wish you luck. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30656-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30656-01.html new file mode 100644 index 0000000000..c69d6d8c21 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/30656-01.html @@ -0,0 +1,4 @@ +<html><body>Spirit of Sir Talianus:<br> +The report... Must get to the King! Please... please, could you deliver it to the King of Aden...<br> +Young Warrior... hear my confession... The depth of my sin is deeper than you can imagine... Until my wrongs are righted, and justice prevails in this land of Dion, I shall not rest in peace... I do not dare to... +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/Q00212_TrialOfDuty.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/Q00212_TrialOfDuty.java new file mode 100644 index 0000000000..8f9b442e17 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00212_TrialOfDuty/Q00212_TrialOfDuty.java @@ -0,0 +1,589 @@ +/* + * Copyright (C) 2004-2014 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack 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. + * + * L2J DataPack 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 <http://www.gnu.org/licenses/>. + */ +package quests.Q00212_TrialOfDuty; + +import com.l2jserver.gameserver.enums.CategoryType; +import com.l2jserver.gameserver.enums.QuestSound; +import com.l2jserver.gameserver.model.actor.L2Npc; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.base.ClassId; +import com.l2jserver.gameserver.model.holders.ItemHolder; +import com.l2jserver.gameserver.model.items.L2Weapon; +import com.l2jserver.gameserver.model.quest.Quest; +import com.l2jserver.gameserver.model.quest.QuestState; +import com.l2jserver.gameserver.model.variables.PlayerVariables; +import com.l2jserver.gameserver.network.serverpackets.SocialAction; +import com.l2jserver.gameserver.util.Util; + +/** + * Trial of Duty (212) + * @author jurchiks + */ +public final class Q00212_TrialOfDuty extends Quest +{ + // NPCs + private static final int HANNAVALT = 30109; + private static final int DUSTIN = 30116; + private static final int SIR_COLLIN_WINDAWOOD = 30311; + private static final int SIR_ARON_TANFORD = 30653; + private static final int SIR_KIEL_NIGHTHAWK = 30654; + private static final int ISAEL_SILVERSHADOW = 30655; + private static final int SPIRIT_OF_SIR_TALIANUS = 30656; + // Items + private static final int LETTER_OF_DUSTIN = 2634; + private static final int KNIGHTS_TEAR = 2635; + private static final int MIRROR_OF_ORPIC = 2636; + private static final int TEAR_OF_CONFESSION = 2637; + private static final ItemHolder REPORT_PIECE = new ItemHolder(2638, 10); + private static final int TALIANUSS_REPORT = 2639; + private static final int TEAR_OF_LOYALTY = 2640; + private static final ItemHolder MILITAS_ARTICLE = new ItemHolder(2641, 20); + private static final int SAINTS_ASHES_URN = 2641; + private static final int ATHEBALDTS_SKULL = 2643; + private static final int ATHEBALDTS_RIBS = 2644; + private static final int ATHEBALDTS_SHIN = 2645; + private static final int LETTER_OF_WINDAWOOD = 2646; + private static final int OLD_KNIGHTS_SWORD = 3027; + // Monsters + private static final int HANGMAN_TREE = 20144; + private static final int SKELETON_MARAUDER = 20190; + private static final int SKELETON_RAIDER = 20191; + private static final int STRAIN = 20200; + private static final int GHOUL = 20201; + private static final int BREKA_ORC_OVERLORD = 20270; + private static final int LETO_LIZARDMAN = 20577; + private static final int LETO_LIZARDMAN_ARCHER = 20578; + private static final int LETO_LIZARDMAN_SOLDIER = 20579; + private static final int LETO_LIZARDMAN_WARRIOR = 20580; + private static final int LETO_LIZARDMAN_SHAMAN = 20581; + private static final int LETO_LIZARDMAN_OVERLORD = 20582; + private static final int SPIRIT_OF_SIR_HEROD = 27119; + // Rewards + private static final int MARK_OF_DUTY = 2633; + private static final int DIMENSIONAL_DIAMOND = 7562; + // Misc + private static final int MIN_LEVEL = 35; + + public Q00212_TrialOfDuty() + { + super(212, Q00212_TrialOfDuty.class.getSimpleName(), "Trial of Duty"); + addStartNpc(HANNAVALT); + addTalkId(HANNAVALT, DUSTIN, SIR_COLLIN_WINDAWOOD, SIR_ARON_TANFORD, SIR_KIEL_NIGHTHAWK, ISAEL_SILVERSHADOW, SPIRIT_OF_SIR_TALIANUS); + addKillId(HANGMAN_TREE, SKELETON_MARAUDER, SKELETON_RAIDER, STRAIN, GHOUL, BREKA_ORC_OVERLORD, LETO_LIZARDMAN, LETO_LIZARDMAN_ARCHER, LETO_LIZARDMAN_SOLDIER, LETO_LIZARDMAN_WARRIOR, LETO_LIZARDMAN_SHAMAN, LETO_LIZARDMAN_OVERLORD, SPIRIT_OF_SIR_HEROD); + registerQuestItems(LETTER_OF_DUSTIN, KNIGHTS_TEAR, MIRROR_OF_ORPIC, TEAR_OF_CONFESSION, REPORT_PIECE.getId(), TALIANUSS_REPORT, TEAR_OF_LOYALTY, MILITAS_ARTICLE.getId(), SAINTS_ASHES_URN, ATHEBALDTS_SKULL, ATHEBALDTS_RIBS, ATHEBALDTS_SHIN, LETTER_OF_WINDAWOOD, OLD_KNIGHTS_SWORD); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + String html = null; + + if (qs == null) + { + return html; + } + + switch (event) + { + case "quest_accept": + { + if (qs.isCreated() && (player.getLevel() >= MIN_LEVEL) && player.isInCategory(CategoryType.KNIGHT_GROUP)) + { + qs.startQuest(); + qs.setMemoState(1); + qs.set("flag", 0); + + if (rewardDimensionalDiamonds(player)) + { + html = "30109-04a.htm"; + } + else + { + html = "30109-04.htm"; + } + } + break; + } + case "30116-02.html": + case "30116-03.html": + case "30116-04.html": + { + if (qs.isMemoState(10) && hasQuestItems(player, TEAR_OF_LOYALTY)) + { + html = event; + } + break; + } + case "30116-05.html": + { + if (qs.isMemoState(10) && hasQuestItems(player, TEAR_OF_LOYALTY)) + { + html = event; + takeItems(player, TEAR_OF_LOYALTY, -1); + qs.setMemoState(11); + qs.setCond(14, true); + } + break; + } + } + return html; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + + if ((qs == null) || !Util.checkIfInRange(1500, killer, npc, true)) + { + return super.onKill(npc, killer, isSummon); + } + + switch (npc.getId()) + { + case SKELETON_MARAUDER: + case SKELETON_RAIDER: + { + if (qs.isMemoState(2)) + { + final int flag = qs.getInt("flag"); + + if (getRandom(100) < (flag * 10)) + { + addSpawn(SPIRIT_OF_SIR_HEROD, npc); + qs.set("flag", 0); + } + else + { + qs.set("flag", flag + 1); + } + } + break; + } + case SPIRIT_OF_SIR_HEROD: + { + if (qs.isMemoState(2)) + { + final L2Weapon weapon = killer.getActiveWeaponItem(); + + if ((weapon != null) && (weapon.getId() == OLD_KNIGHTS_SWORD)) + { + giveItems(killer, KNIGHTS_TEAR, 1); + qs.setMemoState(3); + qs.setCond(3, true); + } + } + break; + } + case STRAIN: + case GHOUL: + { + if (qs.isMemoState(5) && !hasQuestItems(killer, TALIANUSS_REPORT)) + { + if (giveItemRandomly(killer, npc, REPORT_PIECE.getId(), 1, REPORT_PIECE.getCount(), 1, true)) + { + takeItem(killer, REPORT_PIECE); + giveItems(killer, TALIANUSS_REPORT, 1); + qs.setCond(6); + } + } + break; + } + case HANGMAN_TREE: + { + if (qs.isMemoState(6)) + { + final int flag = qs.getInt("flag"); + + if (getRandom(100) < ((flag - 3) * 33)) + { + addSpawn(SPIRIT_OF_SIR_TALIANUS, npc); + qs.set("flag", 0); + qs.setCond(8, true); + } + else + { + qs.set("flag", flag + 1); + } + } + break; + } + case LETO_LIZARDMAN: + case LETO_LIZARDMAN_ARCHER: + case LETO_LIZARDMAN_SOLDIER: + case LETO_LIZARDMAN_WARRIOR: + case LETO_LIZARDMAN_SHAMAN: + case LETO_LIZARDMAN_OVERLORD: + { + if (qs.isMemoState(9) && giveItemRandomly(killer, npc, MILITAS_ARTICLE.getId(), 1, MILITAS_ARTICLE.getCount(), 1, true)) + { + qs.setCond(12); + } + break; + } + case BREKA_ORC_OVERLORD: + { + if (qs.isMemoState(11)) + { + if (!hasQuestItems(killer, ATHEBALDTS_SKULL)) + { + giveItems(killer, ATHEBALDTS_SKULL, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + else if (!hasQuestItems(killer, ATHEBALDTS_RIBS)) + { + giveItems(killer, ATHEBALDTS_RIBS, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + else if (!hasQuestItems(killer, ATHEBALDTS_SHIN)) + { + giveItems(killer, ATHEBALDTS_SHIN, 1); + qs.setCond(15, true); + } + } + break; + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance talker) + { + final QuestState qs = getQuestState(talker, true); + String html = getNoQuestMsg(talker); + + switch (npc.getId()) + { + case HANNAVALT: + { + if (qs.isCreated()) + { + if (!talker.isInCategory(CategoryType.KNIGHT_GROUP)) + { + html = "30109-02.html"; + } + else if (talker.getLevel() < MIN_LEVEL) + { + html = "30109-01.html"; + } + else + { + html = "30109-03.htm"; + } + } + else if (qs.isStarted()) + { + switch (qs.getMemoState()) + { + case 1: + { + html = "30109-04.html"; + break; + } + case 14: + { + if (hasQuestItems(talker, LETTER_OF_DUSTIN)) + { + html = "30109-05.html"; + takeItems(talker, LETTER_OF_DUSTIN, -1); + addExpAndSp(talker, 762576, 49458); + giveAdena(talker, 138968, true); + giveItems(talker, MARK_OF_DUTY, 1); + qs.exitQuest(false, true); + talker.sendPacket(new SocialAction(talker.getObjectId(), 3)); + rewardDimensionalDiamonds(talker); + } + break; + } + } + } + else + { + html = getAlreadyCompletedMsg(talker); + } + break; + } + case SIR_ARON_TANFORD: + { + switch (qs.getMemoState()) + { + case 1: + { + html = "30653-01.html"; + + if (!hasQuestItems(talker, OLD_KNIGHTS_SWORD)) + { + giveItems(talker, OLD_KNIGHTS_SWORD, 1); + } + + qs.setMemoState(2); + qs.setCond(2, true); + break; + } + case 2: + { + if (hasQuestItems(talker, OLD_KNIGHTS_SWORD)) + { + html = "30653-02.html"; + } + break; + } + case 3: + { + if (hasQuestItems(talker, KNIGHTS_TEAR)) + { + html = "30653-03.html"; + takeItems(talker, -1, KNIGHTS_TEAR, OLD_KNIGHTS_SWORD); + qs.setMemoState(4); + qs.setCond(4, true); + } + break; + } + case 4: + { + html = "30653-04.html"; + break; + } + } + break; + } + case SIR_KIEL_NIGHTHAWK: + { + switch (qs.getMemoState()) + { + case 4: + { + html = "30654-01.html"; + qs.setMemoState(5); + qs.setCond(5, true); + break; + } + case 5: + { + if (!hasQuestItems(talker, TALIANUSS_REPORT)) + { + html = "30654-02.html"; + } + else + { + html = "30654-03.html"; + qs.setMemoState(6); + qs.setCond(7, true); + giveItems(talker, MIRROR_OF_ORPIC, 1); + } + break; + } + case 6: + { + if (hasQuestItems(talker, MIRROR_OF_ORPIC)) + { + html = "30654-04.html"; + } + break; + } + case 7: + { + if (hasQuestItems(talker, TEAR_OF_CONFESSION)) + { + html = "30654-05.html"; + takeItems(talker, TEAR_OF_CONFESSION, -1); + qs.setMemoState(8); + qs.setCond(10, true); + } + break; + } + case 8: + { + html = "30654-06.html"; + break; + } + } + break; + } + case SPIRIT_OF_SIR_TALIANUS: + { + if (qs.isMemoState(6) && hasQuestItems(talker, MIRROR_OF_ORPIC, TALIANUSS_REPORT)) + { + html = "30656-01.html"; + takeItems(talker, -1, MIRROR_OF_ORPIC, TALIANUSS_REPORT); + giveItems(talker, TEAR_OF_CONFESSION, 1); + qs.setMemoState(7); + qs.setCond(9, true); + npc.deleteMe(); + } + break; + } + case ISAEL_SILVERSHADOW: + { + switch (qs.getMemoState()) + { + case 8: + { + if (talker.getLevel() < MIN_LEVEL) + { + html = "30655-01.html"; + } + else + { + html = "30655-02.html"; + qs.setMemoState(9); + qs.setCond(11, true); + } + break; + } + case 9: + { + if (!hasItem(talker, MILITAS_ARTICLE)) + { + html = "30655-03.html"; + } + else + { + html = "30655-04.html"; + giveItems(talker, TEAR_OF_LOYALTY, 1); + takeItem(talker, MILITAS_ARTICLE); + qs.setMemoState(10); + qs.setCond(13, true); + } + break; + } + case 10: + { + if (hasQuestItems(talker, TEAR_OF_LOYALTY)) + { + html = "30655-05.html"; + } + break; + } + } + break; + } + case DUSTIN: + { + switch (qs.getMemoState()) + { + case 10: + { + if (hasQuestItems(talker, TEAR_OF_LOYALTY)) + { + html = "30116-01.html"; + } + break; + } + case 11: + { + if (!hasQuestItems(talker, ATHEBALDTS_SKULL, ATHEBALDTS_RIBS, ATHEBALDTS_SHIN)) + { + html = "30116-06.html"; + } + else + { + html = "30116-07.html"; + takeItems(talker, -1, ATHEBALDTS_SKULL, ATHEBALDTS_RIBS, ATHEBALDTS_SHIN); + giveItems(talker, SAINTS_ASHES_URN, 1); + qs.setMemoState(12); + qs.setCond(16, true); + } + break; + } + case 12: + { + if (hasQuestItems(talker, SAINTS_ASHES_URN)) + { + html = "30116-09.html"; + } + break; + } + case 13: + { + if (hasQuestItems(talker, LETTER_OF_WINDAWOOD)) + { + html = "30116-08.html"; + takeItems(talker, LETTER_OF_WINDAWOOD, -1); + giveItems(talker, LETTER_OF_DUSTIN, 1); + qs.setMemoState(14); + qs.setCond(18, true); + } + break; + } + case 14: + { + if (hasQuestItems(talker, LETTER_OF_DUSTIN)) + { + html = "30116-10.html"; + } + break; + } + } + break; + } + case SIR_COLLIN_WINDAWOOD: + { + switch (qs.getMemoState()) + { + case 12: + { + if (hasQuestItems(talker, SAINTS_ASHES_URN)) + { + html = "30311-01.html"; + takeItems(talker, SAINTS_ASHES_URN, -1); + giveItems(talker, LETTER_OF_WINDAWOOD, 1); + qs.setMemoState(13); + qs.setCond(17, true); + } + break; + } + case 13: + { + if (hasQuestItems(talker, LETTER_OF_WINDAWOOD)) + { + html = "30311-02.html"; + } + break; + } + } + break; + } + } + return html; + } + + private static boolean rewardDimensionalDiamonds(L2PcInstance player) + { + final PlayerVariables vars = player.getVariables(); + + if (!vars.getBoolean("2ND_CLASS_DIAMOND_REWARD", false)) + { + if (player.getClassId() == ClassId.knight) + { + rewardItems(player, DIMENSIONAL_DIAMOND, 45); + } + else + { + rewardItems(player, DIMENSIONAL_DIAMOND, 61); + } + + vars.set("2ND_CLASS_DIAMOND_REWARD", true); + return true; + } + return false; + } +} diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/QuestMasterHandler.java index f37b0357b4..8f5de97297 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -148,6 +148,7 @@ import quests.Q00195_SevenSignsSecretRitualOfThePriests.Q00195_SevenSignsSecretR import quests.Q00196_SevenSignsSealOfTheEmperor.Q00196_SevenSignsSealOfTheEmperor; import quests.Q00197_SevenSignsTheSacredBookOfSeal.Q00197_SevenSignsTheSacredBookOfSeal; import quests.Q00198_SevenSignsEmbryo.Q00198_SevenSignsEmbryo; +import quests.Q00212_TrialOfDuty.Q00212_TrialOfDuty; import quests.Q00235_MimirsElixir.Q00235_MimirsElixir; import quests.Q00237_WindsOfChange.Q00237_WindsOfChange; import quests.Q00238_SuccessFailureOfBusiness.Q00238_SuccessFailureOfBusiness; @@ -506,6 +507,7 @@ public class QuestMasterHandler Q00196_SevenSignsSealOfTheEmperor.class, Q00197_SevenSignsTheSacredBookOfSeal.class, Q00198_SevenSignsEmbryo.class, + Q00212_TrialOfDuty.class, Q00235_MimirsElixir.class, Q00237_WindsOfChange.class, Q00238_SuccessFailureOfBusiness.class, diff --git a/L2J_DataPack_BETA/dist/sql/game/updates/20140516update.sql b/L2J_DataPack_BETA/dist/sql/game/updates/20140516update.sql new file mode 100644 index 0000000000..9c070d9713 --- /dev/null +++ b/L2J_DataPack_BETA/dist/sql/game/updates/20140516update.sql @@ -0,0 +1 @@ +UPDATE character_quests SET name='Q00212_TrialOfDuty' WHERE name='212_TrialOfDuty'; \ No newline at end of file -- GitLab