From c6a568f4438b38a4734ba8b42233542d66caf5dd Mon Sep 17 00:00:00 2001 From: Zealar <Zealar@users.noreply.github.com> Date: Sat, 9 Aug 2014 19:40:46 +0000 Subject: [PATCH] BETA: Few quests convert from py to Java: * (62) Path Of The Trooper * (402) Path Of The Human Knight * (403) Path Of The Rogue * (404) Path Of The Human Wizard * (405) Path Of The Cleric Patch by: ivantotov --- L2J_DataPack_BETA/dist/game/data/scripts.cfg | 5 - .../quests/402_PathToKnight/30289-01.htm | 5 - .../quests/402_PathToKnight/30289-02.htm | 6 - .../quests/402_PathToKnight/30289-03.htm | 5 - .../quests/402_PathToKnight/30289-04.htm | 4 - .../quests/402_PathToKnight/30311-01.htm | 5 - .../quests/402_PathToKnight/30332-01.htm | 5 - .../quests/402_PathToKnight/30332-02.htm | 4 - .../quests/402_PathToKnight/30379-02.htm | 5 - .../quests/402_PathToKnight/30379-03.htm | 4 - .../quests/402_PathToKnight/30417-02.htm | 3 - .../quests/402_PathToKnight/30417-04.htm | 3 - .../quests/402_PathToKnight/30417-06.htm | 5 - .../quests/402_PathToKnight/30417-07.htm | 6 - .../quests/402_PathToKnight/30417-08.htm | 5 - .../quests/402_PathToKnight/30417-14.htm | 4 - .../quests/402_PathToKnight/30653-01.htm | 4 - .../quests/402_PathToKnight/__init__.py | 301 --------- .../quests/403_PathToRogue/30379-03.htm | 4 - .../quests/403_PathToRogue/30379-04.htm | 9 - .../quests/403_PathToRogue/30379-05.htm | 12 - .../quests/403_PathToRogue/30379-06.htm | 11 - .../quests/403_PathToRogue/30379-07.htm | 9 - .../quests/403_PathToRogue/30379-08.htm | 11 - .../quests/403_PathToRogue/30379-09.htm | 7 - .../quests/403_PathToRogue/30425-01.htm | 13 - .../quests/403_PathToRogue/30425-06.htm | 5 - .../quests/403_PathToRogue/30425-08.htm | 9 - .../quests/403_PathToRogue/__init__.py | 185 ----- .../quests/404_PathToWizard/30391-02.htm | 9 - .../quests/404_PathToWizard/30409-02.htm | 9 - .../quests/404_PathToWizard/30409-03.htm | 9 - .../quests/404_PathToWizard/30411-02.htm | 9 - .../quests/404_PathToWizard/30411-03.htm | 11 - .../quests/404_PathToWizard/30411-04.htm | 9 - .../quests/404_PathToWizard/30412-01.htm | 8 - .../quests/404_PathToWizard/30412-02.htm | 9 - .../quests/404_PathToWizard/30412-04.htm | 10 - .../quests/404_PathToWizard/30413-01.htm | 8 - .../quests/404_PathToWizard/30413-04.htm | 9 - .../quests/404_PathToWizard/__init__.py | 271 -------- .../quests/405_PathToCleric/30022-01.htm | 10 - .../quests/405_PathToCleric/30022-03.htm | 9 - .../quests/405_PathToCleric/30022-04.htm | 9 - .../quests/405_PathToCleric/30022-05.htm | 10 - .../quests/405_PathToCleric/30022-09.htm | 11 - .../quests/405_PathToCleric/30253-02.htm | 9 - .../quests/405_PathToCleric/30333-01.htm | 11 - .../quests/405_PathToCleric/__init__.py | 185 ----- .../quests/62_PathoftheTrooper/32194-01.htm | 10 - .../quests/62_PathoftheTrooper/32194-02.htm | 7 - .../quests/62_PathoftheTrooper/32194-04.htm | 5 - .../quests/62_PathoftheTrooper/32197-00a.htm | 5 - .../quests/62_PathoftheTrooper/32197-00b.htm | 4 - .../quests/62_PathoftheTrooper/32197-02.htm | 11 - .../quests/62_PathoftheTrooper/32197-04.htm | 7 - .../quests/62_PathoftheTrooper/__init__.py | 134 ---- .../Q00062_PathOfTheTrooper/32194-01.html | 6 + .../Q00062_PathOfTheTrooper/32194-02.html | 4 + .../32194-03.html} | 3 +- .../Q00062_PathOfTheTrooper/32194-04.html | 3 + .../32194-05.html} | 2 +- .../32194-06.html} | 3 +- .../32194-07.html} | 0 .../32197-01.htm | 4 +- .../Q00062_PathOfTheTrooper/32197-02.html | 5 + .../Q00062_PathOfTheTrooper/32197-03.html | 4 + .../Q00062_PathOfTheTrooper/32197-04.html | 4 + .../32197-05.html} | 0 .../Q00062_PathOfTheTrooper/32197-06.htm | 6 + .../32197-07.html} | 2 +- .../Q00062_PathOfTheTrooper/32197-08.html | 4 + .../32197-09.html} | 0 .../32197-10.html} | 5 +- .../Q00062_PathOfTheTrooper.java | 303 +++++++++ .../30031-01.html} | 2 +- .../30031-02.html} | 4 +- .../30031-03.html} | 2 +- .../30031-04.html} | 0 .../30031-05.html} | 0 .../30037-01.html} | 2 +- .../30037-02.html} | 4 +- .../30037-03.html} | 2 +- .../30037-04.html} | 2 +- .../30037-05.html} | 2 +- .../30039-01.html} | 2 +- .../30039-02.html} | 2 +- .../30039-03.html} | 2 +- .../30039-04.html} | 0 .../30039-05.html} | 0 .../Q00402_PathOfTheHumanKnight/30289-01.html | 5 + .../Q00402_PathOfTheHumanKnight/30289-02.html | 6 + .../Q00402_PathOfTheHumanKnight/30289-03.html | 5 + .../Q00402_PathOfTheHumanKnight/30289-04.html | 4 + .../30289-05.html} | 0 .../30289-06.html} | 0 .../Q00402_PathOfTheHumanKnight/30332-01.html | 5 + .../Q00402_PathOfTheHumanKnight/30332-02.html | 4 + .../30332-03.html} | 2 +- .../30332-04.html} | 2 +- .../30332-05.html} | 0 .../30379-01.html} | 2 +- .../Q00402_PathOfTheHumanKnight/30379-02.html | 5 + .../Q00402_PathOfTheHumanKnight/30379-03.html | 4 + .../30379-04.html} | 0 .../30379-05.html} | 0 .../30417-01.htm | 2 +- .../Q00402_PathOfTheHumanKnight/30417-02.htm | 5 + .../30417-02a.htm | 0 .../30417-03.htm | 0 .../Q00402_PathOfTheHumanKnight/30417-04.htm | 3 + .../30417-05.htm | 2 +- .../Q00402_PathOfTheHumanKnight/30417-06.html | 5 + .../Q00402_PathOfTheHumanKnight/30417-07.htm | 6 + .../Q00402_PathOfTheHumanKnight/30417-08.htm | 5 + .../30417-09.html} | 2 +- .../30417-10.html} | 6 +- .../30417-11.html} | 6 +- .../30417-12.html} | 2 +- .../30417-13.html} | 2 +- .../Q00402_PathOfTheHumanKnight/30417-14.html | 4 + .../30417-15.html} | 0 .../Q00402_PathOfTheHumanKnight/30653-01.html | 4 + .../Q00402_PathOfTheHumanKnight.java | 630 ++++++++++++++++++ .../30379-01.htm | 12 +- .../30379-02.htm | 10 +- .../30379-02a.htm | 10 +- .../quests/Q00403_PathOfTheRogue/30379-03.htm | 5 + .../quests/Q00403_PathOfTheRogue/30379-04.htm | 3 + .../quests/Q00403_PathOfTheRogue/30379-05.htm | 5 + .../quests/Q00403_PathOfTheRogue/30379-06.htm | 5 + .../Q00403_PathOfTheRogue/30379-07.html | 3 + .../Q00403_PathOfTheRogue/30379-08.html | 5 + .../Q00403_PathOfTheRogue/30379-09.html | 5 + .../30379-10.html} | 12 +- .../30379-11.html} | 12 +- .../Q00403_PathOfTheRogue/30425-01.html | 7 + .../30425-02.html} | 12 +- .../30425-03.html} | 12 +- .../30425-04.html} | 12 +- .../30425-05.html} | 16 +- .../Q00403_PathOfTheRogue/30425-06.html | 4 + .../30425-07.html} | 12 +- .../Q00403_PathOfTheRogue/30425-08.html | 3 + .../Q00403_PathOfTheRogue.java | 371 +++++++++++ .../30391-01.htm | 10 +- .../Q00404_PathOfTheHumanWizard/30391-02.htm | 4 + .../30391-02a.htm | 10 +- .../30391-03.htm | 10 +- .../30391-04.htm | 12 +- .../30391-05.html} | 10 +- .../30391-06.html} | 12 +- .../30391-07.htm} | 14 +- .../30409-01.html} | 12 +- .../Q00404_PathOfTheHumanWizard/30409-02.html | 3 + .../Q00404_PathOfTheHumanWizard/30409-03.html | 4 + .../Q00404_PathOfTheHumanWizard/30409-04.html | 3 + .../30410-01.html} | 12 +- .../30410-02.html} | 12 +- .../30410-03.html} | 10 +- .../30410-04.html} | 10 +- .../30411-01.html} | 12 +- .../Q00404_PathOfTheHumanWizard/30411-02.html | 3 + .../Q00404_PathOfTheHumanWizard/30411-03.html | 5 + .../Q00404_PathOfTheHumanWizard/30411-04.html | 3 + .../Q00404_PathOfTheHumanWizard/30412-01.html | 6 + .../Q00404_PathOfTheHumanWizard/30412-02.html | 3 + .../30412-03.html} | 14 +- .../Q00404_PathOfTheHumanWizard/30412-04.html | 4 + .../Q00404_PathOfTheHumanWizard/30413-01.html | 5 + .../30413-02.html} | 12 +- .../30413-03.html} | 12 +- .../Q00404_PathOfTheHumanWizard/30413-04.html | 3 + .../Q00404_PathOfTheHumanWizard.java | 393 +++++++++++ .../30017-01.html} | 0 .../30017-02.html} | 0 .../Q00405_PathOfTheCleric/30022-01.htm | 4 + .../30022-02.htm | 10 +- .../30022-02a.htm | 10 +- .../Q00405_PathOfTheCleric/30022-03.htm | 4 + .../Q00405_PathOfTheCleric/30022-04.htm | 3 + .../Q00405_PathOfTheCleric/30022-05.htm | 4 + .../30022-06.html} | 10 +- .../30022-07.html} | 10 +- .../30022-08.html} | 12 +- .../Q00405_PathOfTheCleric/30022-09.html | 5 + .../30030-01.html} | 10 +- .../30030-02.html} | 10 +- .../30253-01.html} | 12 +- .../Q00405_PathOfTheCleric/30253-02.html | 3 + .../Q00405_PathOfTheCleric/30333-01.html | 5 + .../30333-02.html} | 10 +- .../30333-03.html} | 10 +- .../30333-04.html} | 10 +- .../30408-01.html} | 14 +- .../30408-02.html} | 10 +- .../30408-03.html} | 10 +- .../30408-04.html} | 10 +- .../30408-05.html} | 10 +- .../Q00405_PathOfTheCleric.java | 328 +++++++++ .../scripts/quests/QuestMasterHandler.java | 10 + 201 files changed, 2405 insertions(+), 1862 deletions(-) delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30311-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-06.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-07.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-08.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-14.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30653-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/__init__.py delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-05.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-06.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-07.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-08.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-09.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-06.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-08.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/__init__.py delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30409-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30409-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/__init__.py delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-05.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-09.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30253-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30333-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/__init__.py delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-00a.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-00b.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/__init__.py create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-01.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-02.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{62_PathoftheTrooper/32194-03.htm => Q00062_PathOfTheTrooper/32194-03.html} (72%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-04.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{62_PathoftheTrooper/32194-05.htm => Q00062_PathOfTheTrooper/32194-05.html} (68%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{62_PathoftheTrooper/32194-06.htm => Q00062_PathOfTheTrooper/32194-06.html} (51%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{62_PathoftheTrooper/32194-07.htm => Q00062_PathOfTheTrooper/32194-07.html} (100%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{62_PathoftheTrooper => Q00062_PathOfTheTrooper}/32197-01.htm (62%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-02.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-03.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-04.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{62_PathoftheTrooper/32197-07.htm => Q00062_PathOfTheTrooper/32197-05.html} (100%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-06.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{62_PathoftheTrooper/32197-03.htm => Q00062_PathOfTheTrooper/32197-07.html} (79%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-08.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{62_PathoftheTrooper/32197-05.htm => Q00062_PathOfTheTrooper/32197-09.html} (100%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{62_PathoftheTrooper/32197-06.htm => Q00062_PathOfTheTrooper/32197-10.html} (62%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/Q00062_PathOfTheTrooper.java rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30031-01.htm => Q00402_PathOfTheHumanKnight/30031-01.html} (64%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30031-02.htm => Q00402_PathOfTheHumanKnight/30031-02.html} (64%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30031-03.htm => Q00402_PathOfTheHumanKnight/30031-03.html} (80%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30031-04.htm => Q00402_PathOfTheHumanKnight/30031-04.html} (100%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30031-05.htm => Q00402_PathOfTheHumanKnight/30031-05.html} (100%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30037-01.htm => Q00402_PathOfTheHumanKnight/30037-01.html} (75%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30037-02.htm => Q00402_PathOfTheHumanKnight/30037-02.html} (60%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30037-03.htm => Q00402_PathOfTheHumanKnight/30037-03.html} (50%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30037-04.htm => Q00402_PathOfTheHumanKnight/30037-04.html} (89%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30037-05.htm => Q00402_PathOfTheHumanKnight/30037-05.html} (79%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30039-01.htm => Q00402_PathOfTheHumanKnight/30039-01.html} (58%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30039-02.htm => Q00402_PathOfTheHumanKnight/30039-02.html} (89%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30039-03.htm => Q00402_PathOfTheHumanKnight/30039-03.html} (75%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30039-04.htm => Q00402_PathOfTheHumanKnight/30039-04.html} (100%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30039-05.htm => Q00402_PathOfTheHumanKnight/30039-05.html} (100%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-01.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-02.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-03.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-04.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30289-05.htm => Q00402_PathOfTheHumanKnight/30289-05.html} (100%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30289-06.htm => Q00402_PathOfTheHumanKnight/30289-06.html} (100%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-01.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-02.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30332-03.htm => Q00402_PathOfTheHumanKnight/30332-03.html} (89%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30332-04.htm => Q00402_PathOfTheHumanKnight/30332-04.html} (70%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30332-05.htm => Q00402_PathOfTheHumanKnight/30332-05.html} (100%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30379-01.htm => Q00402_PathOfTheHumanKnight/30379-01.html} (80%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30379-02.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30379-03.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30379-04.htm => Q00402_PathOfTheHumanKnight/30379-04.html} (100%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30379-05.htm => Q00402_PathOfTheHumanKnight/30379-05.html} (100%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight => Q00402_PathOfTheHumanKnight}/30417-01.htm (80%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-02.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight => Q00402_PathOfTheHumanKnight}/30417-02a.htm (100%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight => Q00402_PathOfTheHumanKnight}/30417-03.htm (100%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-04.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight => Q00402_PathOfTheHumanKnight}/30417-05.htm (76%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-06.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-07.htm create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-08.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30417-09.htm => Q00402_PathOfTheHumanKnight/30417-09.html} (59%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30417-10.htm => Q00402_PathOfTheHumanKnight/30417-10.html} (58%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30417-11.htm => Q00402_PathOfTheHumanKnight/30417-11.html} (63%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30417-12.htm => Q00402_PathOfTheHumanKnight/30417-12.html} (67%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30417-13.htm => Q00402_PathOfTheHumanKnight/30417-13.html} (59%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-14.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{402_PathToKnight/30417-15.htm => Q00402_PathOfTheHumanKnight/30417-15.html} (100%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30653-01.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/Q00402_PathOfTheHumanKnight.java rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{403_PathToRogue => Q00403_PathOfTheRogue}/30379-01.htm (65%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{403_PathToRogue => Q00403_PathOfTheRogue}/30379-02.htm (82%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{403_PathToRogue => Q00403_PathOfTheRogue}/30379-02a.htm (67%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-03.htm create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-04.htm create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-05.htm create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-06.htm create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-07.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-08.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-09.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{403_PathToRogue/30379-10.htm => Q00403_PathOfTheRogue/30379-10.html} (68%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{403_PathToRogue/30379-11.htm => Q00403_PathOfTheRogue/30379-11.html} (50%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-01.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{403_PathToRogue/30425-02.htm => Q00403_PathOfTheRogue/30425-02.html} (79%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{403_PathToRogue/30425-03.htm => Q00403_PathOfTheRogue/30425-03.html} (57%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{403_PathToRogue/30425-04.htm => Q00403_PathOfTheRogue/30425-04.html} (81%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{403_PathToRogue/30425-05.htm => Q00403_PathOfTheRogue/30425-05.html} (59%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-06.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{403_PathToRogue/30425-07.htm => Q00403_PathOfTheRogue/30425-07.html} (52%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-08.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/Q00403_PathOfTheRogue.java rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{404_PathToWizard => Q00404_PathOfTheHumanWizard}/30391-01.htm (79%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-02.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{404_PathToWizard => Q00404_PathOfTheHumanWizard}/30391-02a.htm (76%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{404_PathToWizard => Q00404_PathOfTheHumanWizard}/30391-03.htm (86%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{404_PathToWizard => Q00404_PathOfTheHumanWizard}/30391-04.htm (69%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{404_PathToWizard/30391-05.htm => Q00404_PathOfTheHumanWizard/30391-05.html} (69%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{404_PathToWizard/30391-06.htm => Q00404_PathOfTheHumanWizard/30391-06.html} (78%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{404_PathToWizard/30391-08.htm => Q00404_PathOfTheHumanWizard/30391-07.htm} (51%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{404_PathToWizard/30409-01.htm => Q00404_PathOfTheHumanWizard/30409-01.html} (69%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30409-02.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30409-03.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30409-04.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{404_PathToWizard/30410-01.htm => Q00404_PathOfTheHumanWizard/30410-01.html} (66%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{404_PathToWizard/30410-02.htm => Q00404_PathOfTheHumanWizard/30410-02.html} (61%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{404_PathToWizard/30410-03.htm => Q00404_PathOfTheHumanWizard/30410-03.html} (83%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{404_PathToWizard/30410-04.htm => Q00404_PathOfTheHumanWizard/30410-04.html} (60%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{404_PathToWizard/30411-01.htm => Q00404_PathOfTheHumanWizard/30411-01.html} (58%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30411-02.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30411-03.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30411-04.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30412-01.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30412-02.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{404_PathToWizard/30412-03.htm => Q00404_PathOfTheHumanWizard/30412-03.html} (63%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30412-04.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30413-01.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{404_PathToWizard/30413-02.htm => Q00404_PathOfTheHumanWizard/30413-02.html} (54%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{404_PathToWizard/30413-03.htm => Q00404_PathOfTheHumanWizard/30413-03.html} (57%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30413-04.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/Q00404_PathOfTheHumanWizard.java rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric/30017-01.htm => Q00405_PathOfTheCleric/30017-01.html} (100%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric/30017-02.htm => Q00405_PathOfTheCleric/30017-02.html} (100%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-01.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric => Q00405_PathOfTheCleric}/30022-02.htm (57%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric => Q00405_PathOfTheCleric}/30022-02a.htm (72%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-03.htm create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-04.htm create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-05.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric/30022-06.htm => Q00405_PathOfTheCleric/30022-06.html} (61%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric/30022-07.htm => Q00405_PathOfTheCleric/30022-07.html} (65%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric/30022-08.htm => Q00405_PathOfTheCleric/30022-08.html} (72%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-09.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric/30030-01.htm => Q00405_PathOfTheCleric/30030-01.html} (82%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric/30030-02.htm => Q00405_PathOfTheCleric/30030-02.html} (70%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric/30253-01.htm => Q00405_PathOfTheCleric/30253-01.html} (70%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30253-02.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30333-01.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric/30333-02.htm => Q00405_PathOfTheCleric/30333-02.html} (69%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric/30333-03.htm => Q00405_PathOfTheCleric/30333-03.html} (83%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric/30333-04.htm => Q00405_PathOfTheCleric/30333-04.html} (73%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric/30408-01.htm => Q00405_PathOfTheCleric/30408-01.html} (74%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric/30408-02.htm => Q00405_PathOfTheCleric/30408-02.html} (61%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric/30408-03.htm => Q00405_PathOfTheCleric/30408-03.html} (78%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric/30408-04.htm => Q00405_PathOfTheCleric/30408-04.html} (79%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{405_PathToCleric/30408-05.htm => Q00405_PathOfTheCleric/30408-05.html} (65%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/Q00405_PathOfTheCleric.java diff --git a/L2J_DataPack_BETA/dist/game/data/scripts.cfg b/L2J_DataPack_BETA/dist/game/data/scripts.cfg index c840ab48e4..a3c8d9bbd0 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts.cfg +++ b/L2J_DataPack_BETA/dist/game/data/scripts.cfg @@ -220,7 +220,6 @@ quests/23_LidiasHeart/__init__.py quests/25_HidingBehindTheTruth/__init__.py quests/60_GoodWorkReward/__init__.py quests/61_LawEnforcement/__init__.py -quests/62_PathoftheTrooper/__init__.py quests/63_PathoftheWarder/__init__.py quests/64_CertifiedBerserker/__init__.py quests/65_CertifiedSoulBreaker/__init__.py @@ -281,10 +280,6 @@ quests/379_FantasyWine/__init__.py quests/383_SearchingForTreasure/__init__.py quests/384_WarehouseKeepersPastime/__init__.py quests/386_StolenDignity/__init__.py -quests/402_PathToKnight/__init__.py -quests/403_PathToRogue/__init__.py -quests/404_PathToWizard/__init__.py -quests/405_PathToCleric/__init__.py quests/406_PathToElvenKnight/__init__.py quests/408_PathToElvenwizard/__init__.py quests/409_PathToOracle/__init__.py diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-01.htm deleted file mode 100644 index 3a485dfa38..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-01.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>High Priest Raymond:<br> -May the blessings of Einhasad be with you in your pilgrimage.<br> -Long ago the knights of the alliance were the protectors of the church of Einhasad -- in the chaos that followed the fall of the empire, it was the Knights of the alliance that protected the church from raiders and pagans, and protected the Priests from the evil army of Beleth that threatened the entire kingdom. We have not forgotten the assistance we received from them.<br> -<a action="bypass -h Quest 402_PathToKnight 30289-02.htm">Ask if there is anything you can do to help</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-02.htm deleted file mode 100644 index ea27c8470e..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-02.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>High Priest Raymond:<br> -There is no doubt that Einhasad has guided your footsteps here. You see, something is troubling me, and I was thinking of asking for the help of the knights.<br> -A few years ago, during the war with Gracia, we sent several priests to a small village in the south, now called the Ruins of Despair. There, the priests treated the wounded and performed funerals for the dead. But the village was suddenly attacked by mercenaries and the wounded soldiers, village people, and the priests of Einhasad were all brutally murdered<br> -The spirits of the dead have no peace and still haunt the ruins in the form of undead. It is the duty of a priest to console their spirits and put them to rest through prayer, but it is too dangerous of a task for someone not trained as a Cleric, like myself, to face the vicious monsters of black magic. That is why I am asking you a favor.<br> -<a action="bypass -h Quest 402_PathToKnight 30289-03.htm">Say you will do the favor</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-03.htm deleted file mode 100644 index 4774093a3d..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-03.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>High Priest Raymond:<br> -Esquire, I beg you! Please go to the<font color="LEVEL"> Ruins of Despair</font> to the south of the village and find the<font color="LEVEL"> departed spirits of the priests</font> that have turned into the undead. Destroy them with your sword and recover the Einhasad crosses that are somewhere on their bodies.<font color="LEVEL"> If you bring back twelve Einhasad crosses, I can perform a mass that soothes the spirits of the dead priests.</font><br> -Before you go, take this. It is a mark that shows you are performing a holy task for the church of Einhasad.<br> -Well then, I shall pray for your safe return. May the light of Einhasad guide you. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-04.htm deleted file mode 100644 index 0dd99fb4a9..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-04.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>High Priest Raymond:<br> -I can still hear the despairing cries of my priest brothers who are not yet at rest.<font color="LEVEL"> Please find twelve Einhasad crosses from the undead in the Ruins of Despair south of the village and bring them to me</font> so that I can perform a ceremony to soothe the spirits of the dead priests<br> -May the blessings of Einhasad be with you. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30311-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30311-01.htm deleted file mode 100644 index 263986cbae..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30311-01.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Sir Collin Windawood:<br> -Greetings, traveler. I see you are an esquire. You are to be commended for having come all the way to this isolated island on your pilgrimage. I am a member of the Knight League myself, but I do not really like Knights. All those I was acquainted with on the mainland spoke of justice and sacrifice, but were very calculating people who did not involve themselves in fights that were unprofitable.<br> -During the war with Gracia, the civil troops fought for their lives in the mud with crude spears while those that called themselves Knights discussed tactics at the table, hiding behind the castle walls. In my eyes, the courage and sacrifice of the farmer that died while fighting to protect their villages was far nobler than the virtue of any Knight. The will to put your faith into action -- that is what I think chivalry is.<br> -Good luck, esquire! When you end your trial and become a Human Knight, please remember our talk today. Well then, may the divine protection of Einhasad be with you. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-01.htm deleted file mode 100644 index 7451b437f7..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-01.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Captain Bathis:<br> -O ho! By your insignia, I see you are an esquire! Our guard is doing a fine job of protecting the village, and I don't think I'll need to ask for the help of a greenhorn like you.<br> -Well, if you really insist, there is one thing, but ...<br> -<a action="bypass -h Quest 402_PathToKnight 30332-02.htm">Ask what the task is</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-02.htm deleted file mode 100644 index 198b5eb300..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-02.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Captain Bathis:<br> -If you follow the road southeast of the village, you will come to a river that marks the border between Gludio and Dion. There is<font color="LEVEL"> a bridge</font> that crosses the river. Recently,<font color="LEVEL"> bugbears raiders</font> have appeared near the bridge and attacked trader coaches. Already twenty traders have lost their lives, and the goods that were stolen are too numerous to list. The traders have requested funds from the trader's guild headquarters in order to hire mercenaries, but the guild has yet to answer their request.<br> -I would be much obliged if you would get rid of the bugbears. According to the reports, there are about ten bugbears that attacked the trader coaches. Kill them and bring back<font color="LEVEL"> ten necklaces</font>. While on this task, you will be performing an official task of the Gludio guards, so take this with you. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-02.htm deleted file mode 100644 index 64e84dae7d..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-02.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Captain Bezique:<br> -My my ... you are quite stubborn. Fine. If you must play the part of the hero ... why don't you go and hunt the spiders that have been wrecking havoc lately? Giant spiders have recently been reported upturning farmers' carts, raiding sheep and cattle, and even attacking Humans.<br> -The monsters you need to hunt are called<font color="LEVEL"> poison spiders, or trimden</font>. Cut off their legs, then bring back twenty of them and I will give you the coin of the lords. Follow the southern coastal road and you will reach the area where they usually appear. I must follow procedure, so as a captain of the guard, I give you this mark to take with you.<br> -Well then, I hope you return with your life! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-03.htm deleted file mode 100644 index 7805e44f5a..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Captain Bezique:<br> - ... No doubt it was too difficult for you!<br> -As I told you,<font color="LEVEL"> bring back twenty legs of the giant poison spiders or trimden</font> and I will give you the coin of the lords. To reach the place where they are often sighted, follow the southern coastline road. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-02.htm deleted file mode 100644 index 51281f1b02..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-02.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Sir Klaus Vasper:<br> -My comrade of the sword, you do not have enough experience to become a Knight yet. Looking at your eyes, I see that the passion and faith in your heart is not false, but that alone is not sufficient to become a Knight. As long as you live in this world full of immorality, you need power to fuel your faith, and that power comes from experience on the battlefield.<br>Train a little more before you come back. When that day comes, I will test you to see if have the talents to become a true Human Knight. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-04.htm deleted file mode 100644 index 7946ef60c7..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-04.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Sir Klaus Vasper:<br> -Haven't you already received the<font color="LEVEL"> Sword of Ritual</font>? That sword is proof that you have the qualifications to become a Knight. If you take it to the grandmaster of the fighters guild, he will change your profession to a Human Knight. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-06.htm deleted file mode 100644 index ae8d7abdd7..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-06.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Sir Klaus Vasper:<br> -Originally, Knights were warriors selected to fight against injustice and protect the helpless people. As they are given the authority to be armed with a sword and shield, they must protect the commoners from danger. As times have changed, the status of the Knight has greatly changed as well, but the fact that we are the guardians of common people remains unaltered. That is the divine duty and summons given to us by Einhasad of the light.<br> -The journey taken by young Fighters to find their calling as a Guardian of Knights is the<font color="LEVEL"> trial of the esquire</font>. Esquires journey many places around the kingdom, especially into remote areas that do not receive the protection of the central army, and assist those in danger who ask for help. Those who receive help give the<font color="LEVEL"> coin of lords</font> as a token of thanks.<br> -<a action="bypass -h Quest 402_PathToKnight 30417-07.htm">Ask about the coin of lords</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-07.htm deleted file mode 100644 index 573d4b1b18..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-07.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Sir Klaus Vasper:<br> -Traditionally, the lord of those civilians that receive the aid of an esquire invites him to his castle as a token of thanks. A feast is given and the esquire is rewarded with gold coins. However, these days, the<font color="LEVEL"> coin of lords</font> has become an informal custom. The coin of lords is a gold coin engraved with the mark of the province. It signifies thanks in the name of the lord. Those who have the authority to bestow it are mostly the village Guard Captains and High Priests.<br> -Whether or not an esquire can be acknowledged as a formal Human Knight depends on how many coins of lords he returns with after completing his pilgrim's journey.<br> -If you wish to enter the knight guild and earn the title of Human Knight, you must go through this trial. You, comrade of the sword, will you take the trial of the esquire?<br> -<a action="bypass -h Quest 402_PathToKnight 30417-08.htm">Accept the trial of the esquire</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-08.htm deleted file mode 100644 index 7198b63802..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-08.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Sir Klaus Vasper:<br> -Good! I, Sir Vasper, guardian knight of the western region, commit you unto the trial of the esquire. During the trial, keep this mark on you at all times. With this, the people will know that you are an esquire in pilgrimage.<br> -Go around the various villages in Gludio and meet the<font color="LEVEL"> Guard Captains</font> and the<font color="LEVEL"> High Priests</font>. They will present you with various tasks that an esquire can do for the people. If you perform these tasks, you will receive a coin of lords. If you bring back<font color="LEVEL"> three</font> or more coins, you can complete the trial of the esquire.<br> -Very well, you should now depart on your journey. May the divine blessing of Einhasad be with you. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-14.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-14.htm deleted file mode 100644 index 8acddc5092..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-14.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Sir Klaus Vasper:<br> -You have successfully endured a most demanding trial. Congratulations! Now you are qualified to become a Human Knight.<br> -I will give you the sword of ritual. This sword was used in the knighting ceremony of the legendary Sir Cedric -- bear it with care. If you take this to the Grand Master of the fighters guild, he will change your profession to a Human Knight. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30653-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30653-01.htm deleted file mode 100644 index 8866fb2006..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30653-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Sir Aaron Tanford:<br> -From that mark, I see you are undergoing the Trial of the Esquire. I guess they are giving opportunities to amateurs like you these days? Your courage is admirable but I want to advise you to give up. Do you think just anyone becomes a Knight? Even more, you are not even of noble background, are you?<br> -One cannot become a true Knight without born disposition and talent. It is truly pathetic to see lowly ones struggle to become a Knight. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/__init__.py deleted file mode 100644 index efd587ce25..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/__init__.py +++ /dev/null @@ -1,301 +0,0 @@ -# Made by Mr. - Version 0.3 by DrLecter -# Shadow Weapon Coupons contributed by BiTi for the Official L2J Datapack Project -# Visit http://www.l2jdp.com/forum/ for more details -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 -from com.l2jserver.gameserver.network.serverpackets import SocialAction - -qn = "402_PathToKnight" - -MARK_OF_ESQUIRE = 1271 -SWORD_OF_RITUAL,COIN_OF_LORDS1,COIN_OF_LORDS2,COIN_OF_LORDS3,COIN_OF_LORDS4,COIN_OF_LORDS5,COIN_OF_LORDS6,GLUDIO_GUARDS_MARK1,\ -BUGBEAR_NECKLACE,EINHASAD_CHURCH_MARK1,EINHASAD_CRUCIFIX,GLUDIO_GUARDS_MARK2,POISON_SPIDER_LEG1,EINHASAD_CHURCH_MARK2,LIZARDMAN_TOTEM,\ -GLUDIO_GUARDS_MARK3,GIANT_SPIDER_HUSK,EINHASAD_CHURCH_MARK3,HORRIBLE_SKULL = range(1161,1180) - -DROPLIST={ - 20775:[GLUDIO_GUARDS_MARK1,BUGBEAR_NECKLACE,10,100], - 27024:[EINHASAD_CHURCH_MARK1,EINHASAD_CRUCIFIX,12,100], - 20038:[GLUDIO_GUARDS_MARK2,POISON_SPIDER_LEG1,20,100], - 20043:[GLUDIO_GUARDS_MARK2,POISON_SPIDER_LEG1,20,100], - 20050:[GLUDIO_GUARDS_MARK2,POISON_SPIDER_LEG1,20,100], - 20030:[EINHASAD_CHURCH_MARK2,LIZARDMAN_TOTEM,20,50], - 20027:[EINHASAD_CHURCH_MARK2,LIZARDMAN_TOTEM,20,100], - 20024:[EINHASAD_CHURCH_MARK2,LIZARDMAN_TOTEM,20,100], - 20103:[GLUDIO_GUARDS_MARK3,GIANT_SPIDER_HUSK,20,40], - 20106:[GLUDIO_GUARDS_MARK3,GIANT_SPIDER_HUSK,20,40], - 20108:[GLUDIO_GUARDS_MARK3,GIANT_SPIDER_HUSK,20,40], - 20404:[EINHASAD_CHURCH_MARK3,HORRIBLE_SKULL,10,100] -} - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(1162,1180) - - def onEvent (self,event,st) : - htmltext = event - classid = st.getPlayer().getClassId().getId() - level = st.getPlayer().getLevel() - squire = st.getQuestItemsCount(MARK_OF_ESQUIRE) - player = st.getPlayer() - coin1,coin2,coin3,coin4,coin5,coin6 = st.getQuestItemsCount(COIN_OF_LORDS1),st.getQuestItemsCount(COIN_OF_LORDS2),st.getQuestItemsCount(COIN_OF_LORDS3),st.getQuestItemsCount(COIN_OF_LORDS4),st.getQuestItemsCount(COIN_OF_LORDS5),st.getQuestItemsCount(COIN_OF_LORDS6) - guards_mark1,guards_mark2,guards_mark3=st.getQuestItemsCount(GLUDIO_GUARDS_MARK1),st.getQuestItemsCount(GLUDIO_GUARDS_MARK2),st.getQuestItemsCount(GLUDIO_GUARDS_MARK3) - church_mark1,church_mark2,church_mark3=st.getQuestItemsCount(EINHASAD_CHURCH_MARK1),st.getQuestItemsCount(EINHASAD_CHURCH_MARK2),st.getQuestItemsCount(EINHASAD_CHURCH_MARK3) - if event == "30417-02a.htm" : - if classid == 0x00 : - if level >= 18 : - if st.getQuestItemsCount(SWORD_OF_RITUAL)>0 : - htmltext = "30417-04.htm" - else: - htmltext = "30417-05.htm" - else : - htmltext = "30417-02.htm" - st.exitQuest(1) - elif classid != 0x04 : - htmltext = "30417-03.htm" - st.exitQuest(1) - elif event == "30417-08.htm" : - if st.getInt("cond")== 0 and classid == 0x00 and level >= 18 : - st.set("id","0") - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - st.giveItems(MARK_OF_ESQUIRE,1) - else: - htmltext = Quest.getNoQuestMsg(player) - elif event == "30332-02.htm" : - if squire and not guards_mark1 and not coin1: - st.giveItems(GLUDIO_GUARDS_MARK1,1) - else: - htmltext = Quest.getNoQuestMsg(player) - elif event == "30289-03.htm" : - if squire and not church_mark1 and not coin2: - st.giveItems(EINHASAD_CHURCH_MARK1,1) - else: - htmltext = Quest.getNoQuestMsg(player) - elif event == "30379-02.htm" : - if squire and not guards_mark2 and not coin3: - st.giveItems(GLUDIO_GUARDS_MARK2,1) - else: - htmltext = Quest.getNoQuestMsg(player) - elif event == "30037-02.htm" : - if squire and not church_mark2 and not coin4: - st.giveItems(EINHASAD_CHURCH_MARK2,1) - else: - htmltext = Quest.getNoQuestMsg(player) - elif event == "30039-02.htm" : - if squire and not guards_mark3 and not coin5: - st.giveItems(GLUDIO_GUARDS_MARK3,1) - else: - htmltext = Quest.getNoQuestMsg(player) - elif event == "30031-02.htm" : - if squire and not church_mark3 and not coin6: - st.giveItems(EINHASAD_CHURCH_MARK3,1) - else: - htmltext = Quest.getNoQuestMsg(player) - elif event == "30417-13.htm" : - if squire and (coin1+coin2+coin3+coin4+coin5+coin6)>=3 : - for item in range(1162,1180) : - st.takeItems(item,-1) - st.takeItems(MARK_OF_ESQUIRE,-1) - if player.getLevel() >= 20 : - st.addExpAndSp(160267, 11576) - elif player.getLevel() == 19 : - st.addExpAndSp(228064, 14925) - else: - st.addExpAndSp(295862, 18274) - st.giveItems(57, 163800) - st.giveItems(SWORD_OF_RITUAL,1) - st.set("cond","0") - st.exitQuest(False) - st.saveGlobalQuestVar("1ClassQuestFinished","1") - st.playSound("ItemSound.quest_finish") - player.sendPacket(SocialAction(player.getObjectId(),3)) - else: - htmltext = Quest.getNoQuestMsg(player) - elif event == "30417-14.htm" : - if squire and (coin1+coin2+coin3+coin4+coin5+coin6)>=3 : - if player.getLevel() >= 20 : - st.addExpAndSp(160267, 11576) - elif player.getLevel() == 19 : - st.addExpAndSp(228064, 14925) - else: - st.addExpAndSp(295862, 18274) - st.giveItems(57, 81900) - for item in range(1162,1180) : - st.takeItems(item,-1) - st.takeItems(MARK_OF_ESQUIRE,-1) - st.giveItems(SWORD_OF_RITUAL,1) - st.set("cond","0") - st.exitQuest(False) - st.playSound("ItemSound.quest_finish") - player.sendPacket(SocialAction(player.getObjectId(),3)) - else: - htmltext = Quest.getNoQuestMsg(player) - return htmltext - - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - - npcId = npc.getId() - id = st.getState() - if npcId != 30417 and id != State.STARTED : return htmltext - - squire = st.getQuestItemsCount(MARK_OF_ESQUIRE) - coin1,coin2,coin3,coin4,coin5,coin6 = st.getQuestItemsCount(COIN_OF_LORDS1),st.getQuestItemsCount(COIN_OF_LORDS2),st.getQuestItemsCount(COIN_OF_LORDS3),st.getQuestItemsCount(COIN_OF_LORDS4),st.getQuestItemsCount(COIN_OF_LORDS5),st.getQuestItemsCount(COIN_OF_LORDS6) - guards_mark1,guards_mark2,guards_mark3=st.getQuestItemsCount(GLUDIO_GUARDS_MARK1),st.getQuestItemsCount(GLUDIO_GUARDS_MARK2),st.getQuestItemsCount(GLUDIO_GUARDS_MARK3) - church_mark1,church_mark2,church_mark3=st.getQuestItemsCount(EINHASAD_CHURCH_MARK1),st.getQuestItemsCount(EINHASAD_CHURCH_MARK2),st.getQuestItemsCount(EINHASAD_CHURCH_MARK3) - cond = st.getInt("cond") - if id == State.COMPLETED: - htmltext=Quest.getAlreadyCompletedMsg(player) - - elif npcId == 30417 : - if cond==0 : - htmltext = "30417-01.htm" - elif cond==1 and squire : - if (coin1+coin2+coin3+coin4+coin5+coin6) < 3 : - htmltext = "30417-09.htm" - elif (coin1+coin2+coin3+coin4+coin5+coin6) == 3 : - htmltext = "30417-10.htm" - elif 3<(coin1+coin2+coin3+coin4+coin5+coin6)<6 : - htmltext = "30417-11.htm" - elif (coin1+coin2+coin3+coin4+coin5+coin6) == 6 : - htmltext = "30417-12.htm" - if player.getLevel() >= 20 : - st.addExpAndSp(320534, 23152) - elif player.getLevel() == 19 : - st.addExpAndSp(456128, 29850) - else: - st.addExpAndSp(591724, 36542) - st.giveItems(57, 163800) - for item in range(1162,1180) : - st.takeItems(item,-1) - st.takeItems(MARK_OF_ESQUIRE,-1) - st.giveItems(SWORD_OF_RITUAL,1) - st.set("cond","0") - st.exitQuest(False) - st.playSound("ItemSound.quest_finish") - player.sendPacket(SocialAction(player.getObjectId(),3)) - elif npcId == 30332 and cond==1 and squire : - if not guards_mark1 and not coin1 : - htmltext = "30332-01.htm" - elif guards_mark1 : - if st.getQuestItemsCount(BUGBEAR_NECKLACE)<10 : - htmltext = "30332-03.htm" - else: - htmltext = "30332-04.htm" - st.takeItems(BUGBEAR_NECKLACE,-1) - st.takeItems(GLUDIO_GUARDS_MARK1,1) - st.giveItems(COIN_OF_LORDS1,1) - elif coin1 : - htmltext = "30332-05.htm" - elif npcId == 30289 and cond==1 and squire : - if not church_mark1 and not coin2 : - htmltext = "30289-01.htm" - elif church_mark1 : - if st.getQuestItemsCount(EINHASAD_CRUCIFIX)<12 : - htmltext = "30289-04.htm" - else: - htmltext = "30289-05.htm" - st.takeItems(EINHASAD_CRUCIFIX,-1) - st.takeItems(EINHASAD_CHURCH_MARK1,1) - st.giveItems(COIN_OF_LORDS2,1) - elif coin2 : - htmltext = "30289-06.htm" - elif npcId == 30379 and cond==1 and squire : - if not coin3 and not guards_mark2 : - htmltext = "30379-01.htm" - elif guards_mark2 : - if st.getQuestItemsCount(POISON_SPIDER_LEG1)<20 : - htmltext = "30379-03.htm" - else: - htmltext = "30379-04.htm" - st.takeItems(POISON_SPIDER_LEG1,-1) - st.takeItems(GLUDIO_GUARDS_MARK2,1) - st.giveItems(COIN_OF_LORDS3,1) - elif coin3 : - htmltext = "30379-05.htm" - elif npcId == 30037 and cond==1 and squire : - if not coin4 and not church_mark2 : - htmltext = "30037-01.htm" - elif church_mark2 : - if st.getQuestItemsCount(LIZARDMAN_TOTEM)<20 : - htmltext = "30037-03.htm" - else: - htmltext = "30037-04.htm" - st.takeItems(LIZARDMAN_TOTEM,-1) - st.takeItems(EINHASAD_CHURCH_MARK2,1) - st.giveItems(COIN_OF_LORDS4,1) - elif coin4 : - htmltext = "30037-05.htm" - elif npcId == 30039 and cond==1 and squire : - if not guards_mark3 and not coin5 : - htmltext = "30039-01.htm" - elif guards_mark3 : - if st.getQuestItemsCount(GIANT_SPIDER_HUSK)<20 : - htmltext = "30039-03.htm" - else: - htmltext = "30039-04.htm" - st.takeItems(GIANT_SPIDER_HUSK,-1) - st.takeItems(GLUDIO_GUARDS_MARK3,1) - st.giveItems(COIN_OF_LORDS5,1) - elif coin5 : - htmltext = "30039-05.htm" - elif npcId == 30031 and cond==1 and squire : - if not church_mark3 and not coin6 : - htmltext = "30031-01.htm" - elif church_mark3 : - if st.getQuestItemsCount(HORRIBLE_SKULL)<10 : - htmltext = "30031-03.htm" - else: - htmltext = "30031-04.htm" - st.takeItems(HORRIBLE_SKULL,-1) - st.takeItems(EINHASAD_CHURCH_MARK3,1) - st.giveItems(COIN_OF_LORDS6,1) - elif coin6 : - htmltext = "30031-05.htm" - elif npcId == 30311 and cond==1 and squire : - htmltext = "30311-01.htm" - elif npcId == 30653 and cond==1 and squire : - htmltext = "30653-01.htm" - return htmltext - - def onKill(self,npc,player,isPet): - st = player.getQuestState(qn) - if not st : return - if st.getState() != State.STARTED : return - - if st.getInt("cond") : - item_required,item,max,chance=DROPLIST[npc.getId()] - if st.getQuestItemsCount(item_required) and st.getQuestItemsCount(item)<max and self.getRandom(100)<chance : - st.giveItems(item,1) - if st.getQuestItemsCount(item) == max : - st.playSound("ItemSound.quest_middle") - else: - st.playSound("ItemSound.quest_itemget") - return - -QUEST = Quest(402,qn,"Path To Knight") - -QUEST.addStartNpc(30417) - -QUEST.addTalkId(30417) - -QUEST.addTalkId(30031) -QUEST.addTalkId(30037) -QUEST.addTalkId(30039) -QUEST.addTalkId(30289) -QUEST.addTalkId(30311) -QUEST.addTalkId(30332) -QUEST.addTalkId(30379) -QUEST.addTalkId(30417) -QUEST.addTalkId(30653) - -for mob in DROPLIST.keys(): - QUEST.addKillId(mob) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-03.htm deleted file mode 100644 index afcc80d8bc..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Captain Bezique:<br> -You are an ambitious youth. However, I think you still lack skills. I have an eye for talent, and can say this with confidence ...<br> -I say this out of concern for your welfare, so don't be too discouraged. This task is too dangerous for you. However, I will give you work if you return to me after you gain more skill. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-04.htm deleted file mode 100644 index d1c2886f67..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-04.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Captain Bezique:<br> -Don't you already have the recommendation that I wrote you?? Take it to the Grand Master of the fighters guild. Then you can change profession to a Rogue. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-05.htm deleted file mode 100644 index 39ef9f98eb..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-05.htm +++ /dev/null @@ -1,12 +0,0 @@ -<html> - -<body> -Captain Bezique:<br> -You are a very motivated young person. Very well! Now let me tell you what you must do.<br> -Lately, we have been terribly troubled by a<font color="LEVEL"> party of bandits</font> who have been making their way into the village of Gludin. They are taking advantage of the fact that the entire village is occupied with the restoration, and appear and disappear at will to steal the wealth of the people.<br> -According to those who have seen them, they are not Humans but ol mahum. They are so swift that the guards lose them in pursuit every time. If you catch the thieves, I will acknowledge your talent and recommend you as a Rogue.<br> -<a action="bypass -h Quest 403_PathToRogue 1">Ask about the bandits</a> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-06.htm deleted file mode 100644 index 190dcecc17..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-06.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> -Captain Bezique:<br> -The thieves are no doubt some of the remaining troops of ol mahum. The foreign ol mahum troops that were employed by Gracia during the war a few years ago are still lingering in the campgrounds beyond the mountains northeast of the village.<br> -I will tell you one more thing. There is someone who can help you catch the thieves. She lives in this village and her name is<font color="LEVEL"> Neti</font> ... To tell you the truth, she was once a swashbuckling robber who made the corrupt aristocrats of the kingdom shiver in their sleep. Furthermore, she was a famous Mercenary who found many treasures in various ruins.<br> -She will be able to help you catch the thieves. If you go without any notice, you may be turned down at her door, so take this letter. I once did her a favor, so she will definitely help you. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-07.htm deleted file mode 100644 index 4be6053ee7..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-07.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Captain Bezique:<br> -You have not sought out<font color="LEVEL"> Neti</font> yet? She will give you much aid in catching the thieves. She lives in this village, so hurry and find her. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-08.htm deleted file mode 100644 index d1a553295c..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-08.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> -Captain Bezique:<br> -I see that you have received the horseshoe of light from Neti. It seems that she perceives some talent within you. You must be more skilled than you look. Very well then, it's time to become serious about stopping these thieves. This is<font color="LEVEL"> a wanted poster</font>.<br> -If you look at the poster, you can see that your targets call themselves<font color="LEVEL"> the Cat's Eye bandits</font>. All of them are of the ol mahum race, and apparently their leader's nickname is Cat's Eye. According to the reports received from my men, who I sent out on a scout mission, their headquarters are near<font color="LEVEL"> the abandoned camp</font>, where the remaining ol mahum forces often gather. If you don't know how to get there, ask Guard Praga.<br> -<font color="LEVEL">Use the bow and dagger that Neti gave you to get rid of the Cat's Eye bandits once and for all. And be sure to bring back the four items that were stolen from the villagers.</font> I think you'll agree that this is a worthy test of your skills? May the gods grant you victory! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-09.htm deleted file mode 100644 index a9c7ad5d15..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-09.htm +++ /dev/null @@ -1,7 +0,0 @@ -<html> -<body> -Captain Bezique: -<br> -Oh! You've recovered all the stolen items. Thank you for your trouble. Your skills are better than I thought. I think you really have the qualities to become a good Rogue. Red-eyed Bandits... Have you ever heard of them? They are the largest group of bandits on the continent with their home in the snow-covered mountains of Oren. I can't believe those stupid thieves were related to the Red-eyed Bandits... I need to make a detailed inquiry into this. Hmm... Anyhow, I will write you a letter of recommendation. Go to Grand Master Ramos at the Fighters Guild and show him my recommendation. Then you can change occupations to a Rogue. Well then, I wish you luck. Oh, and I almost forgot! I will give Neti back her bow and dagger for you. I have to go and thank her, anyway. -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-01.htm deleted file mode 100644 index 306951f4b9..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-01.htm +++ /dev/null @@ -1,13 +0,0 @@ -<html> - -<body> -Neti:<br> -Oh dear ...! Then Bezique must have told you all about my past!<br> -I cannot refuse because it is Bezique's request but ... A long time ago, he saved me when I was in a dilemma ... However, I really do hate these bothersome tasks!<br> -Fine. If you really want to catch those thieves, you must do what I say. All right?<br> -<a action="bypass -h Quest 403_PathToRogue 30425-02.htm">Say you understand</a><br> -<a action="bypass -h Quest 403_PathToRogue 30425-03.htm">Say you don't want to</a> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-06.htm deleted file mode 100644 index 0701e760b9..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-06.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Neti:<br> -Have you come already? I see you are far from finishing.<br> -<font color="LEVEL">Hurry on to the Ruins of Agony, and hunt the skeletons and spartoi. You must use the bow and dagger that I gave you. If you bring back ten bone pieces as proof of your success, I will let you pass the test. </font><br> -If you don't know the way to the two ruins, ask the guards. Well, you should leave now. Good luck! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-08.htm deleted file mode 100644 index 8e9a95687a..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-08.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Neti:<br> -Now take the horseshoe of light that I have given you and go to<font color="LEVEL"> Captain Bezique</font>. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/__init__.py deleted file mode 100644 index aa037bbe5c..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/__init__.py +++ /dev/null @@ -1,185 +0,0 @@ -# Made by Mr. Have fun! Version 0.2 -# Shadow Weapon Coupons contributed by BiTi for the Official L2J Datapack Project -# Visit http://www.l2jdp.com/forum/ for more details -import sys -from com.l2jserver.gameserver.model.itemcontainer import Inventory -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 -from com.l2jserver.gameserver.network.serverpackets import SocialAction - -qn = "403_PathToRogue" - -BEZIQUES_LETTER = 1180 -NETIS_BOW = 1181 -NETIS_DAGGER = 1182 -SPATOIS_BONES = 1183 -HORSESHOE_OF_LIGHT = 1184 -WANTED_BILL = 1185 -STOLEN_JEWELRY = 1186 -STOLEN_TOMES = 1187 -STOLEN_RING = 1188 -STOLEN_NECKLACE = 1189 -BEZIQUES_RECOMMENDATION = 1190 - -DROP_CHANCE = { 20035:2, 20042:3, 20045:2, 20051:2, 20054:8, 20060:8 } - -STOLEN_ITEM = { -0: (STOLEN_JEWELRY), -1: (STOLEN_TOMES), -2: (STOLEN_RING), -3: (STOLEN_NECKLACE) -} - -# Helper function - If player have all stolen items returns 1, otherwise 0 -def HaveAllStolenItems (st) : - for i in STOLEN_ITEM.keys() : - if st.getQuestItemsCount(STOLEN_ITEM[i]) == 0 : - return 0 - return 1 - -# Main Quest code -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(1180,1190) - - def onEvent (self,event,st) : - htmltext = event - player = st.getPlayer() - if event == "30379_2" : - if player.getClassId().getId() == 0x00 : - if player.getLevel() >= 18 : - if st.getQuestItemsCount(BEZIQUES_RECOMMENDATION)>0 : - htmltext = "30379-04.htm" - else: - htmltext = "30379-05.htm" - return htmltext - else : - htmltext = "30379-03.htm" - else: - if player.getClassId().getId() == 0x07 : - htmltext = "30379-02a.htm" - else: - htmltext = "30379-02.htm" - elif event == "1" : - st.set("id","0") - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - st.giveItems(BEZIQUES_LETTER,1) - htmltext = "30379-06.htm" - elif event == "30425_1" : - st.takeItems(BEZIQUES_LETTER,1) - if st.getQuestItemsCount(NETIS_BOW) == 0 : - st.giveItems(NETIS_BOW,1) - if st.getQuestItemsCount(NETIS_DAGGER) == 0 : - st.giveItems(NETIS_DAGGER,1) - st.set("cond","2") - htmltext = "30425-05.htm" - return htmltext - - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - - npcId = npc.getId() - id = st.getState() - if npcId != 30379 and id != State.STARTED : return htmltext - - if npcId == 30379 and st.getInt("cond")==0 : - htmltext = "30379-01.htm" - elif npcId == 30379 and st.getInt("cond") : - if st.getQuestItemsCount(HORSESHOE_OF_LIGHT) == 0 and HaveAllStolenItems(st) : - htmltext = "30379-09.htm" - isFinished = st.getGlobalQuestVar("1ClassQuestFinished") - if isFinished == "" : - if player.getLevel() >= 20 : - st.addExpAndSp(320534, 20232) - elif player.getLevel() == 19 : - st.addExpAndSp(456128, 26930) - else: - st.addExpAndSp(591724, 33628) - st.giveItems(57, 163800) - st.giveItems(BEZIQUES_RECOMMENDATION,1) - st.takeItems(NETIS_BOW,1) - st.takeItems(NETIS_DAGGER,1) - st.takeItems(WANTED_BILL,1) - for i in STOLEN_ITEM.keys() : - st.takeItems(STOLEN_ITEM[i],-1) - st.set("cond","0") - st.exitQuest(False) - st.saveGlobalQuestVar("1ClassQuestFinished","1") - st.playSound("ItemSound.quest_finish") - player.sendPacket(SocialAction(player.getObjectId(),3)) - elif st.getQuestItemsCount(HORSESHOE_OF_LIGHT) == 0 and st.getQuestItemsCount(BEZIQUES_LETTER)>0 : - htmltext = "30379-07.htm" - elif st.getQuestItemsCount(HORSESHOE_OF_LIGHT)>0 : - htmltext = "30379-08.htm" - st.takeItems(HORSESHOE_OF_LIGHT,1) - st.giveItems(WANTED_BILL,1) - st.set("cond","5") - elif st.getQuestItemsCount(NETIS_BOW) and st.getQuestItemsCount(NETIS_DAGGER) and st.getQuestItemsCount(WANTED_BILL) == 0 : - htmltext = "30379-10.htm" - elif st.getQuestItemsCount(WANTED_BILL) : - htmltext = "30379-11.htm" - elif npcId == 30425 and st.getInt("cond") and st.getQuestItemsCount(BEZIQUES_LETTER)>0 : - htmltext = "30425-01.htm" - elif npcId == 30425 and st.getInt("cond") and st.getQuestItemsCount(HORSESHOE_OF_LIGHT)==0 and st.getQuestItemsCount(BEZIQUES_LETTER)==0 : - if st.getQuestItemsCount(SPATOIS_BONES)<10 : - htmltext = "30425-06.htm" - elif st.getQuestItemsCount(WANTED_BILL) : - htmltext = "30425-08.htm" - elif st.getQuestItemsCount(SPATOIS_BONES) >= 10 : - htmltext = "30425-07.htm" - st.takeItems(SPATOIS_BONES,st.getQuestItemsCount(SPATOIS_BONES)) - st.giveItems(HORSESHOE_OF_LIGHT,1) - st.set("cond","4") - elif npcId == 30425 and st.getInt("cond") and st.getQuestItemsCount(HORSESHOE_OF_LIGHT)>0 : - htmltext = "30425-08.htm" - return htmltext - - def onKill(self,npc,player,isPet): - st = player.getQuestState(qn) - if not st : return - if st.getState() != State.STARTED : return - - npcId = npc.getId() - if st.getItemEquipped(Inventory.PAPERDOLL_RHAND) == NETIS_BOW or st.getItemEquipped(Inventory.PAPERDOLL_RHAND) == NETIS_DAGGER : - if npcId in (20035, 20042, 20045, 20051, 20054, 20060) : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(SPATOIS_BONES)<10 and self.getRandom(10)<DROP_CHANCE[npcId] : - st.giveItems(SPATOIS_BONES,1) - if st.getQuestItemsCount(SPATOIS_BONES) == 10 : - st.playSound("ItemSound.quest_middle") - st.set("cond","3") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == 27038 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(WANTED_BILL)>0 : - n = self.getRandom(4) - if st.getQuestItemsCount(STOLEN_ITEM[n]) == 0 : - st.giveItems(STOLEN_ITEM[n],1) - if not HaveAllStolenItems(st) : - st.playSound("ItemSound.quest_itemget") - else: - st.playSound("ItemSound.quest_middle") - st.set("cond","6") - return - -QUEST = Quest(403,qn,"Path To Rogue") - -QUEST.addStartNpc(30379) - -QUEST.addTalkId(30379) - -QUEST.addTalkId(30425) - -QUEST.addKillId(27038) - -for mobId in (20035,20042,20045,20051,20054,20060) : - QUEST.addKillId(mobId) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-02.htm deleted file mode 100644 index 46536d77ff..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-02.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Parina:<br> -Amazing powers such as water, fire, wind and earth are hidden within nature. When more time passes, you will come to understand. Until then, be patient and wait. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30409-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30409-02.htm deleted file mode 100644 index 3daae13883..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30409-02.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Earth Snake:<br> -If you want to receive the token of earth from me, bring me back red soil. The red soil contains the strong vitality of the earth and can be obtained by hunting the red bears that are frequently seen in the woods around these ruins. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30409-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30409-03.htm deleted file mode 100644 index 87849ade7f..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30409-03.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Earth Snake:<br> -If you have collected all four tokens of fire, water, wind and earth, that symbolize the four elements of nature, go to Parina in Gludin. Her deep understanding of elements and spirits will be able to guide you to a higher level. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-02.htm deleted file mode 100644 index a22b5884d1..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-02.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Fire Salamander:<br> -Child of Humans, have you come back already? Didn't I tell you to<font color="LEVEL"> kill the Ratman Warrior and bring back the key of flame?</font> Only then can I give you the token of flame. There are many Ratman Warriors north of these ruins or west beyond the mountains. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-03.htm deleted file mode 100644 index d9062797f6..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-03.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> -Fire Salamander:<br> -Ah ... I see you have found the key. I give you the flame earring as a token of fire. I name you predecessor of the flame ... Pray, do not neglect the desire for learning now rising within you.<br> -Your desires for knowledge lead to curiosity about the world. Thought caught up in that curiosity cannot stay in one place for very long, and will wander continuously in search of new knowledge. This is why the strong curiosity that stirs the scholar to travel is often compared to the wind.<br> -The next thing you must find is the<font color="LEVEL"> token of wind</font>.<font color="LEVEL"> In order to find it, you must first speak to the Wind Sylph. She is staying at the entrance of the Wastelands beyond the southwestern mountains. As you already know, there are three entrances to the Wastelands. The sylph will be at the northwest entrance.</font> I wish you luck! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-04.htm deleted file mode 100644 index ce7fa14cd2..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-04.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Fire Salamander:<br> -Child of Humans ... Haven't you already received the token of flame from me? You have already been recognized as the predecessor of flame, now go find the token of wind. In order to find the token, you must meet the Wind Sylph. You can meet her at the entrance to the Wastelands that is southwest of here. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-01.htm deleted file mode 100644 index f5d1b63722..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-01.htm +++ /dev/null @@ -1,8 +0,0 @@ -<html> -<body> -Wind Sylph:<br> -I see you have come to find the token of wind. The winds blowing here told me of your story. If you grant me one favor, I will happily give you the token of wind.<br> -Not long ago,<font color="LEVEL"> the wastelands lizardman</font> appeared in the southwest Wastelands, and it has been so noisy ever since that I haven't been able to savor the wind comfortably.<br> -<font color="LEVEL">Please make the wastelands lizardman quiet so my meditations are not disrupted. Then I will give you the token of wind.</font> -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-02.htm deleted file mode 100644 index 979bff4914..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-02.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Wind Sylph:<br> -Is it that you do not wish to grant my request? All the noise gives me a headache ... Please, I beg you.<font color="LEVEL"> Go quiet the lizardman.</font>He is in the southwest Wastelands. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-04.htm deleted file mode 100644 index 01703e16f1..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-04.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Wind Sylph:<br> -I see you have already earned the token of wind from me. What you must find now is the token of water. To find it, you must meet the undine of the water.<br> -The undine of the water is at<font color="LEVEL"> Fellmere Lake</font>. To find the lake, you must go north of here. Go pass the abandoned camp where the ol mahums are and go a little more north to reach Permel Lake. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-01.htm deleted file mode 100644 index 80104365c6..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-01.htm +++ /dev/null @@ -1,8 +0,0 @@ -<html> -<body> -Water Undine:<br> -Don't be a nuisance and disappear. I am busy purifying the force of water in the surrounding land!<br> -You want to earn the token of water? Well then, do me one favor. Do you see that lake? On the other side of the lake is a monster shaped like a strange eye called the<font color="LEVEL"> water seer</font>. It disturbs the force of water in this area and really gives me a headache.<br> -<font color="LEVEL">Kill the water seer and bring back two sparkle pebbles as proof. Then I will give you the token of water.</font> -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-04.htm deleted file mode 100644 index 9b5ed53afe..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-04.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Water Undine:<br> -Have you forgotten what I've said already? I told you to go find the earth snake! Go to the Grim Ruins north of here to meet it. You haven't given up on the token of earth, have you? - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/__init__.py deleted file mode 100644 index 91dc97588c..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/__init__.py +++ /dev/null @@ -1,271 +0,0 @@ -# Made by Mr. Have fun! Version 0.2 -# Shadow Weapon Coupons contributed by BiTi for the Official L2J Datapack Project -# Visit http://www.l2jdp.com/forum/ for more details -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 -from com.l2jserver.gameserver.network.serverpackets import SocialAction - -qn = "404_PathToWizard" - -MAP_OF_LUSTER = 1280 -KEY_OF_FLAME = 1281 -FLAME_EARING = 1282 -BROKEN_BRONZE_MIRROR = 1283 -WIND_FEATHER = 1284 -WIND_BANGEL = 1285 -RAMAS_DIARY = 1286 -SPARKLE_PEBBLE = 1287 -WATER_NECKLACE = 1288 -RUST_GOLD_COIN = 1289 -RED_SOIL = 1290 -EARTH_RING = 1291 -BEAD_OF_SEASON = 1292 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(1280, 1292) - - def onEvent (self,event,st) : - htmltext = event - player = st.getPlayer() - if event == "1" : - st.set("id","0") - if player.getClassId().getId() == 0x0a : - if player.getLevel() >= 18 : - if st.getQuestItemsCount(BEAD_OF_SEASON) : - htmltext = "30391-03.htm" - else: - htmltext = "30391-08.htm" - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - else: - htmltext = "30391-02.htm" - else: - if player.getClassId().getId() == 0x0b : - htmltext = "30391-02a.htm" - else: - htmltext = "30391-01.htm" - elif event == "30410_1" : - if st.getQuestItemsCount(WIND_FEATHER) == 0 : - htmltext = "30410-03.htm" - st.giveItems(WIND_FEATHER,1) - st.set("cond","6") - return htmltext - - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - - npcId = npc.getId() - id = st.getState() - if npcId != 30391 and id != State.STARTED : return htmltext - - if npcId == 30391 and st.getInt("cond")==0 : - #Talking to Parina before completing this quest - htmltext = "30391-04.htm" - return htmltext - elif npcId == 30391 and st.getInt("cond")!=0 and (st.getQuestItemsCount(FLAME_EARING)==0 or st.getQuestItemsCount(WIND_BANGEL)==0 or st.getQuestItemsCount(WATER_NECKLACE)==0 or st.getQuestItemsCount(EARTH_RING)==0) : - htmltext = "30391-05.htm" - elif npcId == 30411 and st.getInt("cond")!=0 and st.getQuestItemsCount(MAP_OF_LUSTER)==0 and st.getQuestItemsCount(FLAME_EARING)==0 : - #Taking to the Flame salamander for the first time - #gains us the MAP_OF_LUSTER - #and flags cond = 2 - if st.getQuestItemsCount(MAP_OF_LUSTER) == 0 : - st.giveItems(MAP_OF_LUSTER,1) - htmltext = "30411-01.htm" - st.set("cond","2") - elif npcId == 30411 and st.getInt("cond")!=0 and st.getQuestItemsCount(MAP_OF_LUSTER)!=0 and st.getQuestItemsCount(KEY_OF_FLAME)==0 : - #Talking to the Flame Salamander more than once - #without the KEY_OF_FLAME - #But with the MAP_OF_LUSTER - #results in the following text - htmltext = "30411-02.htm" - elif npcId == 30411 and st.getInt("cond")!=0 and st.getQuestItemsCount(MAP_OF_LUSTER)!=0 and st.getQuestItemsCount(KEY_OF_FLAME)!=0 : - #Talking to the Flame Salamander when Cond != 0 - #while we have a KEY_OF_FLAME from the ratmen and the MAP_OF_LUSTER - - #Remove both Items and give a FLAME_EARING - #Set the cond flag to 4 to signify we have State.COMPLETED the first part - st.takeItems(KEY_OF_FLAME,st.getQuestItemsCount(KEY_OF_FLAME)) - st.takeItems(MAP_OF_LUSTER,st.getQuestItemsCount(MAP_OF_LUSTER)) - if st.getQuestItemsCount(FLAME_EARING) == 0 : - st.giveItems(FLAME_EARING,1) - htmltext = "30411-03.htm" - st.set("cond","4") - elif npcId == 30411 and st.getInt("cond")!=0 and st.getQuestItemsCount(FLAME_EARING)!=0 : - #Talking to the Flame Salamander - #after finishing the Fire component results - #in the following text - htmltext = "30411-04.htm" - elif npcId == 30412 and st.getInt("cond")!=0 and st.getQuestItemsCount(FLAME_EARING)!=0 and st.getQuestItemsCount(BROKEN_BRONZE_MIRROR)==0 and st.getQuestItemsCount(WIND_BANGEL)==0 : - #Talking to the Wind Sylph for the first time - #With a FLAME_EARING (fire component complete) - - #Gives us a BROKEN_BRONZE_MIRROR - #and sets cond = 5 - if st.getQuestItemsCount(BROKEN_BRONZE_MIRROR) == 0 : - st.giveItems(BROKEN_BRONZE_MIRROR,1) - htmltext = "30412-01.htm" - st.set("cond","5") - elif npcId == 30412 and st.getInt("cond")!=0 and st.getQuestItemsCount(BROKEN_BRONZE_MIRROR)!=0 and st.getQuestItemsCount(WIND_FEATHER)==0 : - #Talking to the Wind Sylph for a second time - #results in the following text - htmltext = "30412-02.htm" - elif npcId == 30412 and st.getInt("cond")!=0 and st.getQuestItemsCount(BROKEN_BRONZE_MIRROR)!=0 and st.getQuestItemsCount(WIND_FEATHER)!=0 : - #Talking to the Wind Sylph with cond != 0 - #while having a BROKEN_BRONZE_MIRROR and a WIND_FEATHER - - #Removes both items - #Gives a WIND_BANGEL - #and sets cond = 7 - st.takeItems(WIND_FEATHER,st.getQuestItemsCount(WIND_FEATHER)) - st.takeItems(BROKEN_BRONZE_MIRROR,st.getQuestItemsCount(BROKEN_BRONZE_MIRROR)) - if st.getQuestItemsCount(WIND_BANGEL) == 0 : - st.giveItems(WIND_BANGEL,1) - htmltext = "30412-03.htm" - st.set("cond","7") - elif npcId == 30412 and st.getInt("cond")!=0 and st.getQuestItemsCount(WIND_BANGEL)!=0 : - #Talking to the Wind Sylph after we get the WIND_BANGLE - #results in the following text - htmltext = "30412-04.htm" - elif npcId == 30410 and st.getInt("cond")!=0 and st.getQuestItemsCount(BROKEN_BRONZE_MIRROR)!=0 and st.getQuestItemsCount(WIND_FEATHER)==0 : - #Talking to the Lizardman of the Wastelands for the first time - #begins this conversation - htmltext = "30410-01.htm" - elif npcId == 30410 and st.getInt("cond")!=0 and st.getQuestItemsCount(BROKEN_BRONZE_MIRROR)!=0 and st.getQuestItemsCount(WIND_FEATHER)!=0 : - #Talking to the Lizardman of the Wastelands after obtaining - #the WIND_FEATHER - htmltext = "30410-04.htm" - elif npcId == 30413 and st.getInt("cond")!=0 and st.getQuestItemsCount(WIND_BANGEL)!=0 and st.getQuestItemsCount(RAMAS_DIARY)==0 and st.getQuestItemsCount(WATER_NECKLACE)==0 : - #Talking to the Water Undine for the first time - #gives RAMAS_DIARY - #and sets cond = 8 - if st.getQuestItemsCount(RAMAS_DIARY) == 0 : - st.giveItems(RAMAS_DIARY,1) - htmltext = "30413-01.htm" - st.set("cond","8") - elif npcId == 30413 and st.getInt("cond")!=0 and st.getQuestItemsCount(RAMAS_DIARY)!=0 and st.getQuestItemsCount(SPARKLE_PEBBLE)<2 : - #Talking to the Water Undine for a second time - #without 2 SPARKLE_PEBLE - htmltext = "30413-02.htm" - elif npcId == 30413 and st.getInt("cond")!=0 and st.getQuestItemsCount(RAMAS_DIARY)!=0 and st.getQuestItemsCount(SPARKLE_PEBBLE)>=2 : - #Talking to the Water Undine with the 2 SPARKLE_PEBLE - - #removes both items - #and gives WATER_NECKLACE - #sets cond = 10 - st.takeItems(SPARKLE_PEBBLE,st.getQuestItemsCount(SPARKLE_PEBBLE)) - st.takeItems(RAMAS_DIARY,st.getQuestItemsCount(RAMAS_DIARY)) - if st.getQuestItemsCount(WATER_NECKLACE) == 0 : - st.giveItems(WATER_NECKLACE,1) - htmltext = "30413-03.htm" - st.set("cond","10") - elif npcId == 30413 and st.getInt("cond")!=0 and st.getQuestItemsCount(WATER_NECKLACE)!=0 : - #Talking to the Water Undine after completing it's task - htmltext = "30413-04.htm" - elif npcId == 30409 and st.getInt("cond")!=0 and st.getQuestItemsCount(WATER_NECKLACE)!=0 and st.getQuestItemsCount(RUST_GOLD_COIN)==0 and st.getQuestItemsCount(EARTH_RING)==0 : - #Talking to the Earth Snake for the first time - if st.getQuestItemsCount(RUST_GOLD_COIN) == 0 : - st.giveItems(RUST_GOLD_COIN,1) - htmltext = "30409-01.htm" - st.set("cond","11") - elif npcId == 30409 and st.getInt("cond")!=0 and st.getQuestItemsCount(RUST_GOLD_COIN)!=0 and st.getQuestItemsCount(RED_SOIL)==0 : - #Talking to the Earth Snake for a second time - #without RED_SOIL - htmltext = "30409-02.htm" - elif npcId == 30409 and st.getInt("cond")!=0 and st.getQuestItemsCount(RUST_GOLD_COIN)!=0 and st.getQuestItemsCount(RED_SOIL)!=0 : - #Talking to the Earth Snake afket collecting the RED_SOIL - - #Gives EARTH_RING - #and sets cond = 13 - st.takeItems(RED_SOIL,st.getQuestItemsCount(RED_SOIL)) - st.takeItems(RUST_GOLD_COIN,st.getQuestItemsCount(RUST_GOLD_COIN)) - if st.getQuestItemsCount(EARTH_RING) == 0 : - st.giveItems(EARTH_RING,1) - htmltext = "30409-03.htm" - st.set("cond","13") - elif npcId == 30409 and st.getInt("cond")!=0 and st.getQuestItemsCount(EARTH_RING)!=0 : - #Talking to the Earth Snake after completing his task - htmltext = "30409-03.htm" - elif npcId == 30391 and st.getInt("cond")!=0 and st.getQuestItemsCount(FLAME_EARING)!=0 and st.getQuestItemsCount(WIND_BANGEL)!=0 and st.getQuestItemsCount(WATER_NECKLACE)!=0 and st.getQuestItemsCount(EARTH_RING)!=0 : - #Talking to Parina after gathering all 4 tokens - #Gains BEAD_OF_SEASON - #Resets cond so these NPC's will no longer speak to you - #and Sets the quest as State.COMPLETED - st.takeItems(FLAME_EARING,st.getQuestItemsCount(FLAME_EARING)) - st.takeItems(WIND_BANGEL,st.getQuestItemsCount(WIND_BANGEL)) - st.takeItems(WATER_NECKLACE,st.getQuestItemsCount(WATER_NECKLACE)) - st.takeItems(EARTH_RING,st.getQuestItemsCount(EARTH_RING)) - if player.getLevel() >= 20 : - st.addExpAndSp(320534, 23152) - elif player.getLevel() == 19 : - st.addExpAndSp(456128, 29850) - else: - st.addExpAndSp(591724, 36548) - st.giveItems(57, 163800) - st.set("cond","0") - st.exitQuest(False) - st.saveGlobalQuestVar("1ClassQuestFinished","1") - player.sendPacket(SocialAction(player.getObjectId(),3)) - st.playSound("ItemSound.quest_finish") - if st.getQuestItemsCount(BEAD_OF_SEASON) == 0 : - st.giveItems(BEAD_OF_SEASON,1) - htmltext = "30391-06.htm" - - return htmltext - - def onKill(self,npc,player,isPet): - st = player.getQuestState(qn) - if not st : return - if st.getState() != State.STARTED : return - - npcId = npc.getId() - if npcId == 20359 : #Ratman Warrior, as of C3. - st.set("id","0") - #Only get a KEY_OF_FLAME if we are on the quest for the Fire Salamander - if st.getInt("cond") == 2 : - st.giveItems(KEY_OF_FLAME,1) - st.playSound("ItemSound.quest_middle") - #Increase the Cond so we can only get one key - st.set("cond","3") - elif npcId == 27030 : #water seer - st.set("id","0") - #Only get a SPARKLE_PEBBLE if we are on the quest for the Water Undine - if st.getInt("cond") == 8 and st.getQuestItemsCount(SPARKLE_PEBBLE) < 2: - st.giveItems(SPARKLE_PEBBLE,1) - if st.getQuestItemsCount(SPARKLE_PEBBLE) == 2 : - st.playSound("ItemSound.quest_middle") - st.set("cond","9") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == 20021 : #Red Bear - st.set("id","0") - #Only get a RED_SOIL if we are on the quest for the Earth Snake - if st.getInt("cond") == 11 : - st.giveItems(RED_SOIL,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","12") - return - -QUEST = Quest(404,qn,"Path To Wizard") - -QUEST.addStartNpc(30391) - -QUEST.addTalkId(30391) - -QUEST.addTalkId(30409) -QUEST.addTalkId(30410) -QUEST.addTalkId(30411) -QUEST.addTalkId(30412) -QUEST.addTalkId(30413) - -QUEST.addKillId(20021) -QUEST.addKillId(20359) -QUEST.addKillId(27030) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-01.htm deleted file mode 100644 index ae513290ae..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-01.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Priest Zigaunt:<br> -You will need the<font color="LEVEL"> mark of faith</font> to change profession to a Cleric. It is given to people with true faith. By chance there is a task suitable to prove your faith if you would agree to give it a try?<br> -<a action="bypass -h Quest 405_PathToCleric 1">Say you will take the task</a> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-03.htm deleted file mode 100644 index 42921fa037..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-03.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Priest Zigaunt:<br> -Thank you for your kindness, but the task is far too great to entrust to you. Gain more experience. We shall talk later when your skills have matured. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-04.htm deleted file mode 100644 index e67845af6b..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-04.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Priest Zigaunt:<br> -I see you already have the mark of faith. If you meet<font color="LEVEL"> High Priestess Levian</font>, you can change profession. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-05.htm deleted file mode 100644 index bb4beedb16..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-05.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Priest Zigaunt:<br> -By any chance, have you heard the rumors that there is a heretical book that criticizes our religion? The book is called<font color="LEVEL"> "Understanding of Miracles,"</font> and it was actually written by a person who used to be a priest. That is why the church wants to take care of this problem quietly.<br> -Can you retrieve the books that have been sold? Please do it undercover. The beginning of the rumor about this book was the<font color="LEVEL"> town of Gludio</font>. Begin your search there. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-09.htm deleted file mode 100644 index c9e85483e1..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-09.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> -Priest Zigaunt:<br> -This is definitely Lionel's signature. Thank you.<br> -With this, your faith has been fully proven. Here, take this<font color="LEVEL"> token of faith</font>. If you show that to the<font color="LEVEL"> High Priestess Levian</font>, she will change your profession to Cleric.<br> -I must excuse myself now, to make a report to the church. Goodbye. May the blessing of Einhasad be with you ... - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30253-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30253-02.htm deleted file mode 100644 index 70e2c4728f..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30253-02.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Trader Simplon:<br> -Why have you come back? Is it to find out whether I am selling threatening books? Please go away so you will not a disturb my customers! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30333-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30333-01.htm deleted file mode 100644 index 2d6fbb943c..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30333-01.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> -Guard Praga:<br> -Ah ... that book. But that book was quite interesting. And I bought it for money. I can't give it to you for free.<br> -Well, how about this? Recently, I was making rounds in<font color="LEVEL"> the Ruins of Agony</font> when I happened into a fight with the<font color="LEVEL"> ruin zombies</font>. At that time, I lost a pendant that my mother left me before she died. Please find it for me. Here, this is the chain of the necklace. See if the pendant fits it, and then return them to me, please.<br> -Don't wrinkle your nose like that. A true believer like you will be protected by your strong faith. If you need direction, you can reach the Grim Ruins by journeying west of the village. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/__init__.py deleted file mode 100644 index 6dfc80d77e..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/__init__.py +++ /dev/null @@ -1,185 +0,0 @@ -# Made by Mr. Have fun! Version 0.2 -# Shadow Weapon Coupons contributed by BiTi for the Official L2J Datapack Project -# Visit http://www.l2jdp.com/forum/ for more details -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 -from com.l2jserver.gameserver.network.serverpackets import SocialAction - -qn = "405_PathToCleric" - -LETTER_OF_ORDER1 = 1191 -LETTER_OF_ORDER2 = 1192 -BOOK_OF_LEMONIELL = 1193 -BOOK_OF_VIVI = 1194 -BOOK_OF_SIMLON = 1195 -BOOK_OF_PRAGA = 1196 -CERTIFICATE_OF_GALLINT = 1197 -PENDANT_OF_MOTHER = 1198 -NECKLACE_OF_MOTHER = 1199 -LEMONIELLS_COVENANT = 1200 -MARK_OF_FAITH = 1201 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(1191,1201) - - def onEvent (self,event,st) : - htmltext = event - level = st.getPlayer().getLevel() - classId = st.getPlayer().getClassId().getId() - if event == "1" : - st.set("id","0") - if level >= 18 and classId == 0x0a and st.getQuestItemsCount(MARK_OF_FAITH) == 0 : - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - st.giveItems(LETTER_OF_ORDER1,1) - htmltext = "30022-05.htm" - elif classId != 0x0a : - if classId == 0x0f : - htmltext = "30022-02a.htm" - else: - htmltext = "30022-02.htm" - elif level<18 and classId == 0x0a : - htmltext = "30022-03.htm" - elif level >= 18 and classId == 0x0a and st.getQuestItemsCount(MARK_OF_FAITH) == 1 : - htmltext = "30022-04.htm" - return htmltext - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - - npcId = npc.getId() - id = st.getState() - if npcId != 30022 and id != State.STARTED : return htmltext - - npcId = npc.getId() - id = st.getState() - if npcId == 30022 and st.getInt("cond")==0 : - if st.getQuestItemsCount(MARK_OF_FAITH) == 0 : - htmltext = "30022-01.htm" - return htmltext - else: - htmltext = "30022-04.htm" - elif npcId == 30022 and st.getInt("cond") and st.getQuestItemsCount(LETTER_OF_ORDER2)==1 and st.getQuestItemsCount(LEMONIELLS_COVENANT)==0 : - htmltext = "30022-07.htm" - elif npcId == 30022 and st.getInt("cond") and st.getQuestItemsCount(LETTER_OF_ORDER2)==1 and st.getQuestItemsCount(LEMONIELLS_COVENANT)==1 : - htmltext = "30022-09.htm" - st.takeItems(LETTER_OF_ORDER2,1) - st.takeItems(LEMONIELLS_COVENANT,1) - st.giveItems(MARK_OF_FAITH,1) - isFinished = st.getGlobalQuestVar("1ClassQuestFinished") - if isFinished == "" : - if player.getLevel() >= 20 : - st.addExpAndSp(320534, 23152) - elif player.getLevel() == 19 : - st.addExpAndSp(456128, 28630) - else: - st.addExpAndSp(591724, 35328) - st.giveItems(57, 163800) - st.set("cond","0") - st.exitQuest(False) - st.saveGlobalQuestVar("1ClassQuestFinished","1") - st.playSound("ItemSound.quest_finish") - player.sendPacket(SocialAction(player.getObjectId(),3)) - elif npcId == 30022 and st.getInt("cond") and st.getQuestItemsCount(LETTER_OF_ORDER1)==1 : - if st.getQuestItemsCount(BOOK_OF_VIVI) == 1 and st.getQuestItemsCount(BOOK_OF_SIMLON)>0 and st.getQuestItemsCount(BOOK_OF_PRAGA) == 1 : - htmltext = "30022-08.htm" - st.takeItems(BOOK_OF_PRAGA,1) - st.takeItems(BOOK_OF_VIVI,1) - st.takeItems(BOOK_OF_SIMLON,3) - st.takeItems(LETTER_OF_ORDER1,1) - st.giveItems(LETTER_OF_ORDER2,1) - st.set("cond","3") - else: - htmltext = "30022-06.htm" - elif npcId == 30253 and st.getInt("cond") and st.getQuestItemsCount(LETTER_OF_ORDER1)==1 : - if st.getQuestItemsCount(BOOK_OF_SIMLON) == 0 : - htmltext = "30253-01.htm" - st.giveItems(BOOK_OF_SIMLON,3) - elif st.getQuestItemsCount(BOOK_OF_SIMLON)>0 : - htmltext = "30253-02.htm" - elif npcId == 30030 and st.getInt("cond") and st.getQuestItemsCount(LETTER_OF_ORDER1)==1 : - if st.getQuestItemsCount(BOOK_OF_VIVI) == 0 : - htmltext = "30030-01.htm" - st.giveItems(BOOK_OF_VIVI,1) - elif st.getQuestItemsCount(BOOK_OF_VIVI) == 1 : - htmltext = "30030-02.htm" - elif npcId == 30333 and st.getInt("cond") and st.getQuestItemsCount(LETTER_OF_ORDER1)==1 : - if st.getQuestItemsCount(BOOK_OF_PRAGA) == 0 and st.getQuestItemsCount(NECKLACE_OF_MOTHER) == 0 : - htmltext = "30333-01.htm" - st.giveItems(NECKLACE_OF_MOTHER,1) - elif st.getQuestItemsCount(BOOK_OF_PRAGA) == 0 and st.getQuestItemsCount(NECKLACE_OF_MOTHER) == 1 and st.getQuestItemsCount(PENDANT_OF_MOTHER) == 0 : - htmltext = "30333-02.htm" - elif st.getQuestItemsCount(BOOK_OF_PRAGA) == 0 and st.getQuestItemsCount(NECKLACE_OF_MOTHER) == 1 and st.getQuestItemsCount(PENDANT_OF_MOTHER) == 1 : - htmltext = "30333-03.htm" - st.takeItems(NECKLACE_OF_MOTHER,1) - st.takeItems(PENDANT_OF_MOTHER,1) - st.giveItems(BOOK_OF_PRAGA,1) - st.set("cond","2") - elif st.getQuestItemsCount(BOOK_OF_PRAGA)>0 : - htmltext = "30333-04.htm" - elif npcId == 30408 and st.getInt("cond") : - if st.getQuestItemsCount(LETTER_OF_ORDER2) == 0 : - htmltext = "30408-02.htm" - elif st.getQuestItemsCount(LETTER_OF_ORDER2) == 1 and st.getQuestItemsCount(BOOK_OF_LEMONIELL) == 0 and st.getQuestItemsCount(LEMONIELLS_COVENANT) == 0 and st.getQuestItemsCount(CERTIFICATE_OF_GALLINT) == 0 : - htmltext = "30408-01.htm" - st.giveItems(BOOK_OF_LEMONIELL,1) - st.set("cond","4") - elif st.getQuestItemsCount(LETTER_OF_ORDER2) == 1 and st.getQuestItemsCount(BOOK_OF_LEMONIELL) == 1 and st.getQuestItemsCount(LEMONIELLS_COVENANT) == 0 and st.getQuestItemsCount(CERTIFICATE_OF_GALLINT) == 0 : - htmltext = "30408-03.htm" - elif st.getQuestItemsCount(LETTER_OF_ORDER2) == 1 and st.getQuestItemsCount(BOOK_OF_LEMONIELL) == 0 and st.getQuestItemsCount(LEMONIELLS_COVENANT) == 0 and st.getQuestItemsCount(CERTIFICATE_OF_GALLINT) == 1 : - htmltext = "30408-04.htm" - st.takeItems(CERTIFICATE_OF_GALLINT,1) - st.giveItems(LEMONIELLS_COVENANT,1) - st.set("cond","6") - elif st.getQuestItemsCount(LETTER_OF_ORDER2) == 1 and st.getQuestItemsCount(BOOK_OF_LEMONIELL) == 0 and st.getQuestItemsCount(LEMONIELLS_COVENANT) == 1 and st.getQuestItemsCount(CERTIFICATE_OF_GALLINT) == 0 : - htmltext = "30408-05.htm" - elif npcId == 30017 and st.getInt("cond") and st.getQuestItemsCount(LETTER_OF_ORDER2)==1 and st.getQuestItemsCount(LEMONIELLS_COVENANT)==0 : - if st.getQuestItemsCount(BOOK_OF_LEMONIELL) == 1 and st.getQuestItemsCount(CERTIFICATE_OF_GALLINT) == 0 : - htmltext = "30017-01.htm" - st.takeItems(BOOK_OF_LEMONIELL,1) - st.giveItems(CERTIFICATE_OF_GALLINT,1) - st.set("cond","5") - elif st.getQuestItemsCount(BOOK_OF_LEMONIELL) == 0 and st.getQuestItemsCount(CERTIFICATE_OF_GALLINT) == 1 : - htmltext = "30017-02.htm" - return htmltext - - def onKill(self,npc,player,isPet): - st = player.getQuestState(qn) - if not st : return - if st.getState() != State.STARTED : return - - npcId = npc.getId() - if npcId == 20026 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(PENDANT_OF_MOTHER) == 0 : - st.giveItems(PENDANT_OF_MOTHER,1) - st.playSound("ItemSound.quest_middle") - elif npcId == 20029 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(PENDANT_OF_MOTHER) == 0 : - st.giveItems(PENDANT_OF_MOTHER,1) - st.playSound("ItemSound.quest_middle") - return - -QUEST = Quest(405,qn,"Path To Cleric") - -QUEST.addStartNpc(30022) - -QUEST.addTalkId(30022) - -QUEST.addTalkId(30017) -QUEST.addTalkId(30030) -QUEST.addTalkId(30253) -QUEST.addTalkId(30333) -QUEST.addTalkId(30408) - -QUEST.addKillId(20026) -QUEST.addKillId(20029) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-01.htm deleted file mode 100644 index 97017e807d..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-01.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html><body>Master Shubain:<br> -You say that Master Gwain sent you? You must be taking the test to become a Trooper. -The test measures your bravery and strength, both of which are vital for a -great Trooper.<br> -But no matter how brave or strong a young warrior may be, he often fails the test -because he is nervous or afraid. He may do well during practice, but when it is time -for the real thing, he realizes that he is not yet ready.<br> -Only those who do not tremble before any foe will be able to pass the test. So...<br> -<a action="bypass -h Quest 62_PathoftheTrooper 32194-02.htm">"So...?"</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-02.htm deleted file mode 100644 index 198635845c..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-02.htm +++ /dev/null @@ -1,7 +0,0 @@ -<html><body>Master Shubain:<br> -Only those with extensive experience are able to pass the test. Ah, you are worried -that you do not have enough experience, eh? No need to fear. If you train from -now on as I instruct you, you will pass the test safely.<br> -<font color="LEVEL">Go to the Fellmere Harvesting Grounds, defeat the Felim -Lizardman Warriors and bring back 5 of their heads.</font> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-04.htm deleted file mode 100644 index b1d5c01b98..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-04.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Master Shubain:<br> -Good! Now let us move on to something a little more challenging. Go to <font color="LEVEL"> -WindMill Hill</font> south of here, defeat the huge Venomous Spiders and -bring back 10 legs. Oh, you had best take an antidote with you... -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-00a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-00a.htm deleted file mode 100644 index 97fc8a3349..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-00a.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Master Gwain:<br> -So you have come here because you want to become a Trooper, eh? You should know that we only admit those who possess the right temperament and natural ability to learn our sophisticated skills.<br> -In short, you must pass a test to prove yourself to us. I can tell from your look that you are not yet experienced enough to even attempt the test...<br> -(Only male Kamael soldiers level 18 or higher may embark on this quest.) -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-00b.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-00b.htm deleted file mode 100644 index 4edcacf59d..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-00b.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Master Gwain:<br> -Hmm, you want to become a Trooper? I'm sorry, but this is not the path for you...<br> -(Only male Kamael soldiers level 18 or higher may embark on this quest.) -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-02.htm deleted file mode 100644 index 76097ea7aa..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-02.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html><body>Master Gwain:<br> -Excellent! I like your boldness.<br> -The test itself is very simple. You must defeat a certain malignant spirit to prove -your bravery and strength and bring back the creature's hear as proof. But no matter -how talented you may be, a lack of experience will make you easy prey for this spirit.<br> -Therefore, before you begin the test, I advise you complete some additional training. -Frankly, I am sick of seeing the young of our race die meaningless deaths after taking -on this challenge equipped with nothing but courage.<br> -So go to Gludin Village, train under Master Shubain and bring back his letter of -recommendation. Then we will discuss the details of the test. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-04.htm deleted file mode 100644 index 6a1bd27ad1..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-04.htm +++ /dev/null @@ -1,7 +0,0 @@ -<html><body>Master Gwain:<br> -You have a letter of recommendation from Master Shubain? Good work! You no longer -have the look of a novice... Now I think you are ready for the test.<br> -Follow the road that runs west of this village to a place called the -<font color="LEVEL">Ruins of Agony</font>. Defeat the <font color="LEVEL"> -Tumran Bugbear</font> and bring me his heart. Good luck! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/__init__.py deleted file mode 100644 index f4465904a1..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/__init__.py +++ /dev/null @@ -1,134 +0,0 @@ -# Made by Emperorc -# Update 17-01-08 by t0rm3nt0r -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 -from com.l2jserver.gameserver.network.serverpackets import SocialAction - -qn = "62_PathoftheTrooper" - -#NPCs -Shubain = 32194 -Gwain = 32197 - -#Mobs -Warrior = 20014 -Spider = 20038 -Tumran = 20062 - -#Items -Head,Leg,Heart,Shubain_Rec,Gwain_Rec = range(9749,9754) - -class Quest (JQuest) : - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(9749,9753) - - def onEvent (self,event,st) : - htmltext = event - player = st.getPlayer() - if event == "32197-02.htm" : - st.set("cond","1") - st.setState(State.STARTED) - elif event == "32194-02.htm" : - st.set("cond","2") - return htmltext - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - npcId = npc.getId() - id = st.getState() - cond = st.getInt("cond") - if id == State.COMPLETED : - htmltext = "32197-07.htm" - elif npcId == Gwain : - if player.getLevel() < 18 : - htmltext = "32197-00a.htm" - st.exitQuest(1) - elif player.getClassId().getId() != 123 : - htmltext = "32197-00b.htm" - st.exitQuest(1) - elif id == State.CREATED : - htmltext = "32197-01.htm" - elif cond < 4 : - htmltext = "32197-03.htm" - elif cond == 4 : - htmltext = "32197-04.htm" - st.takeItems(Shubain_Rec,-1) - st.set("cond","5") - elif cond == 5 : - if not st.getQuestItemsCount(Heart) : - htmltext = "32197-05.htm" - else : - st.takeItems(Heart,-1) - isFinished = st.getGlobalQuestVar("1ClassQuestFinished") - if isFinished == "" : - st.addExpAndSp(8064,2368) - st.giveItems(57, 163800) - st.giveItems(Gwain_Rec,1) - st.exitQuest(False) - st.saveGlobalQuestVar("1ClassQuestFinished","1") - st.playSound("ItemSound.quest_finish") - player.sendPacket(SocialAction(player.getObjectId(),3)) - htmltext = "32197-06.htm" - elif npcId == Shubain : - if cond == 1 : - htmltext = "32194-01.htm" - elif cond == 2 : - if st.getQuestItemsCount(Head) < 5 : - htmltext = "32194-03.htm" - else : - htmltext = "32194-04.htm" - st.takeItems(Head,-1) - st.set("cond","3") - elif cond == 3 : - if st.getQuestItemsCount(Leg) < 10 : - htmltext = "32194-05.htm" - else : - htmltext = "32194-06.htm" - st.takeItems(Leg,-1) - st.giveItems(Shubain_Rec,1) - st.set("cond","4") - elif cond > 3 : - htmltext = "32194-07.htm" - return htmltext - - def onKill(self,npc,player,isPet): - st = player.getQuestState(qn) - if not st : return - if st.getState() != State.STARTED : return - npcId = npc.getId() - cond = st.getInt("cond") - if npcId == Warrior : - if st.getQuestItemsCount(Head) < 5 and cond == 2 : - st.giveItems(Head,1) - if st.getQuestItemsCount(Head) == 5 : - st.playSound("ItemSound.quest_middle") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == Spider : - if st.getQuestItemsCount(Leg) < 10 and cond == 3 : - st.giveItems(Leg,1) - if st.getQuestItemsCount(Leg) == 10 : - st.playSound("ItemSound.quest_middle") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == Tumran : - if not st.getQuestItemsCount(Heart) and cond == 5 : - st.giveItems(Heart,1) - st.playSound("ItemSound.quest_middle") - return - -QUEST = Quest(62,qn,"Path of the Trooper") - -QUEST.addStartNpc(Gwain) - -QUEST.addTalkId(Gwain) -QUEST.addTalkId(Shubain) - -QUEST.addKillId(Warrior) -QUEST.addKillId(Spider) -QUEST.addKillId(Tumran) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-01.html new file mode 100644 index 0000000000..b892217bed --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-01.html @@ -0,0 +1,6 @@ +<html><body>Master Shubain:<br> +You say that Master Gwain sent you? You must be taking the test to become a Trooper. The test measures your bravery and strength, both of which are vital for a great Trooper.<br> +But no matter how brave or strong a young warrior may be, he often fails the test because he is nervous or afraid. He may do well during practice, but when it is time for the real thing, he realizes that he is not yet ready.<br> +Only those who do not tremble before any foe will be able to pass the test. So...<br> +<a action="bypass -h Quest Q00062_PathOfTheTrooper 32194-02.html">"So...?"</a></body> +</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-02.html new file mode 100644 index 0000000000..6922db15e0 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-02.html @@ -0,0 +1,4 @@ +<html><body>Master Shubain:<br> +Only those with extensive experience are able to pass the test. Ah, you are worried that you do not have enough experience, eh? No need to fear. If you train from now on as I instruct you, you will pass the test safely.<br> +<font color="LEVEL">Go to the Fellmere Harvesting Grounds, defeat the Felim Lizardman Warriors and bring back 5 of their heads.</font> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-03.html similarity index 72% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-03.html index a5e7031ef5..377d352096 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-03.html @@ -1,4 +1,3 @@ <html><body>Master Shubain:<br> -As I told you earlier, experience is the best teacher. Go to the <font color="LEVEL">Fellmere Harvesting Grounds, defeat the Felim -Lizardman Warriors and bring back 5 of their heads.</font> +As I told you earlier, experience is the best teacher. Go to the <font color="LEVEL">Fellmere Harvesting Grounds, defeat the Felim Lizardman Warriors, and bring back 5 of their heads.</font> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-04.html new file mode 100644 index 0000000000..ca63cef2b1 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-04.html @@ -0,0 +1,3 @@ +<html><body>Master Shubain:<br> +Good! Now let us move on to something a little more challenging. Go to <font color="LEVEL">Windmill Hill</font> south of here, defeat the huge Venomous Spiders and bring back 10 legs. Oh, you had best take an antidote with you... +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-05.html similarity index 68% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-05.html index 8a567d8c4b..7c0788e188 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-05.html @@ -1,3 +1,3 @@ <html><body>Master Shubain:<br> -Go to <font color="LEVEL">WindMill Hill</font> south of here, defeat the huge poison spiders and bring back 10 legs. Oh, you had best take an antidote with you... +Go to <font color="LEVEL">Windmill Hill</font> south of here, defeat the huge poison spiders and bring back 10 legs. Oh, you had best take an antidote with you... </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-06.html similarity index 51% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-06.html index 9b0f63dd1c..68dab0a474 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-06.html @@ -1,4 +1,3 @@ <html><body>Master Shubain:<br> -Ah, you've returned! How did you fare? You have done well; I think you are ready -to take the test. Take this recommendation to Master Gwain in the Town of Gludio. +Ah, you've returned! How did you fare? You have done well; I think you are ready to take the test. Take this recommendation to Master Gwain in the Town of Gludio. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-07.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-07.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-01.htm similarity index 62% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-01.htm index 92e1c69042..92d6e81441 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-01.htm @@ -1,5 +1,5 @@ <html><body>Master Gwain:<br> -So you have come here because you want to become a Trooper, eh? You should know that we only admit those who possess the right temperament and natural ability to learn our sophisticated skills.<br> +So you have come here because you want to become a Dragoon, eh? You should know that we only admit those who possess the right temperament and natural ability to learn our sophisticated skills.<br> In short, you must pass a test to prove yourself to us. Interested?<br> -<a action="bypass -h Quest 62_PathoftheTrooper 32197-02.htm">Say you will do it.</a> +<a action="bypass -h Quest Q00062_PathOfTheTrooper ACCEPT">Say you will do it.</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-02.html new file mode 100644 index 0000000000..16f8c131c7 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-02.html @@ -0,0 +1,5 @@ +<html><body>Master Gwain:<br> +Ah, you have undoubtedly come here in order to become a Trooper. It is true that as a Trooper, you will be able to learn more and higher-level skills. But our guild only recognizes those whom we judge to be qualified and capable for this honor.<br> +Put simply, to become a Trooper you must first take a test to prove yourself. I don't think you are yet ready to take the test -- come back when you are more experienced.<br> +(Only male Kamael Soldiers who are level 18 and above may undertake this quest.) +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-03.html new file mode 100644 index 0000000000..c04469e2ab --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-03.html @@ -0,0 +1,4 @@ +<html><body>Master Gwain:<br> +Ah, so you wish to become a Trooper? I am sorry, but this is not your path. You cannot become a Trooper. Find the destiny right for you.<br> +(Only male Kamael Soldiers who are level 18 and above may undertake this quest.) +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-04.html new file mode 100644 index 0000000000..11242aa141 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-04.html @@ -0,0 +1,4 @@ +<html><body>Master Gwain:<br> +You want to become a Dragoon, eh? I'm sorry, but your race is not eligible.<br> +(Only Kamael characters may embark on this quest.) +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-05.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-05.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-06.htm new file mode 100644 index 0000000000..d213ce433f --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-06.htm @@ -0,0 +1,6 @@ +<html><body>Master Gwain:<br> +Excellent! I like your boldness.<br> +The test itself is very simple. You must defeat a certain malignant spirit to prove your bravery and strength and bring back the creature's heart as proof. But no matter how talented you may be, a lack of experience will make you easy prey for this spirit.<br> +Therefore, before you begin the test, I advise you complete some additional training. Frankly, I am sick of seeing the young of our race die meaningless deaths after taking on this challenge equipped with nothing but courage.<br> +So go to Gludin Village, train under Master Shubain and bring back his letter of recommendation. Then we will discuss the details of the test. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-07.html similarity index 79% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-07.html index 5165d53454..8a7fecf25b 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-07.html @@ -1,3 +1,3 @@ <html><body>Master Gwain:<br> -First, go to Master Shubain in Gludin Village, train under him and obtain his recommendation. Then return here and we will discuss the details of the test in more detail. +First, go to Master Shubain in Gludin Village, train under him and obtain his recommendation. Then return here and we will discuss the test in more detail. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-08.html new file mode 100644 index 0000000000..7424c0dcc6 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-08.html @@ -0,0 +1,4 @@ +<html><body>Master Gwain:<br> +You have a letter of recommendation from Master Shubain? Good work! You no longer have the look of a novice... Now I think you are ready for the test.<br> +Follow the road that runs west of this village to a place called the <font color="LEVEL">Ruins of Agony</font>. Defeat the <font color="LEVEL">Tumran Bugbear</font> and bring me his heart. Good luck! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-09.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-09.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-10.html similarity index 62% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-10.html index 99e6a4e7aa..94a0f9e3e2 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-10.html @@ -1,5 +1,4 @@ <html><body>Master Gwain:<br> -Ah, the heart of the Tumran Bugbear. Well done! You will make an excellent Trooper.<br> -Take this letter of recommendation to Grand Master Gershwin of the Kamael Guild -and he will approve your class transfer. Congratulations! +Ah, the heart of the Tumran Bugbear. Well done! You will make an excellent Dragoon.<br> +Take this letter of recommendation to Grand Master Gershwin of the Kamael Guild and he will approve your class transfer. Congratulations! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/Q00062_PathOfTheTrooper.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/Q00062_PathOfTheTrooper.java new file mode 100644 index 0000000000..62fdfec4bf --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/Q00062_PathOfTheTrooper.java @@ -0,0 +1,303 @@ +/* + * 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.Q00062_PathOfTheTrooper; + +import com.l2jserver.gameserver.enums.QuestSound; +import com.l2jserver.gameserver.enums.Race; +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.quest.Quest; +import com.l2jserver.gameserver.model.quest.QuestState; +import com.l2jserver.gameserver.network.serverpackets.SocialAction; +import com.l2jserver.gameserver.util.Util; + +/** + * Path Of The Trooper (62) + * @author ivantotov + */ +public final class Q00062_PathOfTheTrooper extends Quest +{ + // NPCs + private static final int MASTER_SHUBAIN = 32194; + private static final int MASTER_GWAIN = 32197; + // Items + private static final int FELIM_LIZARDMAN_HEAD = 9749; + private static final int VENOMOUS_SPIDERS_LEG = 9750; + private static final int TUMRAN_BUGBEAR_HEART = 9751; + private static final int SHUBAINS_RECOMMENDATION = 9752; + // Reward + private static final int GWAINS_RECOMMENDATION = 9753; + // Monster + private static final int FELIM_LIZARDMAN_WARRIOR = 20014; + private static final int VENOMOUS_SPIDER = 20038; + private static final int TUMRAN_BUGBEAR = 20062; + // Misc + private static final int MIN_LEVEL = 18; + + public Q00062_PathOfTheTrooper() + { + super(62, Q00062_PathOfTheTrooper.class.getSimpleName(), "Path Of The Trooper"); + addStartNpc(MASTER_GWAIN); + addTalkId(MASTER_GWAIN, MASTER_SHUBAIN); + addKillId(FELIM_LIZARDMAN_WARRIOR, VENOMOUS_SPIDER, TUMRAN_BUGBEAR); + registerQuestItems(FELIM_LIZARDMAN_HEAD, VENOMOUS_SPIDERS_LEG, TUMRAN_BUGBEAR_HEART, SHUBAINS_RECOMMENDATION); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "ACCEPT": + { + if (qs.isCreated()) + { + qs.startQuest(); + qs.setMemoState(1); + htmltext = "32197-06.htm"; + } + break; + } + case "32194-02.html": + { + if (qs.isCond(1)) + { + qs.setMemoState(2); + qs.setCond(2, true); + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && qs.isStarted() && Util.checkIfInRange(1500, npc, killer, true)) + { + switch (npc.getId()) + { + case FELIM_LIZARDMAN_WARRIOR: + { + if (qs.isCond(2) && (getQuestItemsCount(killer, FELIM_LIZARDMAN_HEAD) < 5)) + { + giveItems(killer, FELIM_LIZARDMAN_HEAD, 1); + if (getQuestItemsCount(killer, FELIM_LIZARDMAN_HEAD) == 5) + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + else + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case VENOMOUS_SPIDER: + { + if (qs.isCond(3) && (getQuestItemsCount(killer, VENOMOUS_SPIDERS_LEG) < 10)) + { + giveItems(killer, VENOMOUS_SPIDERS_LEG, 1); + if (getQuestItemsCount(killer, VENOMOUS_SPIDERS_LEG) == 10) + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + else + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case TUMRAN_BUGBEAR: + { + if (qs.isCond(5) && !hasQuestItems(killer, TUMRAN_BUGBEAR_HEART) && (getRandom(1000) < 500)) + { + giveItems(killer, TUMRAN_BUGBEAR_HEART, 1); + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + break; + } + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + if (qs.isCreated()) + { + if (npc.getId() == MASTER_GWAIN) + { + if (player.getRace() == Race.KAMAEL) + { + if (player.getClassId() == ClassId.maleSoldier) + { + if (player.getLevel() >= MIN_LEVEL) + { + htmltext = "32197-01.htm"; + } + else + { + htmltext = "32197-02.html"; + } + } + else + { + htmltext = "32197-03.html"; + } + } + else + { + htmltext = "32197-04.html"; + } + } + } + else if (qs.isStarted()) + { + switch (npc.getId()) + { + case MASTER_GWAIN: + { + switch (qs.getCond()) + { + case 1: + case 2: + case 3: + { + htmltext = "32197-07.html"; + break; + } + case 4: + { + takeItems(player, SHUBAINS_RECOMMENDATION, 1); + qs.setMemoState(5); + qs.setCond(5, true); + htmltext = "32197-08.html"; + break; + } + case 5: + { + if (!hasQuestItems(player, TUMRAN_BUGBEAR_HEART)) + { + htmltext = "32197-09.html"; + } + else + { + giveAdena(player, 163800, true); + takeItems(player, TUMRAN_BUGBEAR_HEART, 1); + giveItems(player, GWAINS_RECOMMENDATION, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 320534, 20848); + } + else if (level == 19) + { + addExpAndSp(player, 456128, 27546); + } + else + { + addExpAndSp(player, 591724, 34244); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = "32197-10.html"; + } + break; + } + } + break; + } + case MASTER_SHUBAIN: + { + switch (qs.getCond()) + { + case 1: + { + htmltext = "32194-01.html"; + break; + } + case 2: + { + if (getQuestItemsCount(player, FELIM_LIZARDMAN_HEAD) < 5) + { + htmltext = "32194-03.html"; + } + else + { + takeItems(player, FELIM_LIZARDMAN_HEAD, -1); + qs.setMemoState(3); + qs.setCond(3, true); + htmltext = "32194-04.html"; + } + break; + } + case 3: + { + if (getQuestItemsCount(player, VENOMOUS_SPIDERS_LEG) < 10) + { + htmltext = "32194-05.html"; + } + else + { + takeItems(player, VENOMOUS_SPIDERS_LEG, -1); + giveItems(player, SHUBAINS_RECOMMENDATION, 1); + qs.setMemoState(4); + qs.setCond(4, true); + htmltext = "32194-06.html"; + } + break; + } + case 4: + { + htmltext = "32194-07.html"; + break; + } + } + break; + } + } + } + else if (qs.isCompleted()) + { + if (npc.getId() == MASTER_GWAIN) + { + htmltext = "32197-05.html"; + } + } + return htmltext; + } +} \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-01.html similarity index 64% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-01.html index 92150bee21..2053e7068e 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-01.html @@ -1,4 +1,4 @@ <html><body>High Priest Biotin:<br> Now I see you were a squire. The church of Einhasad has always provided a restful place for pilgrims. Stay here and rest until your weary body and soul have recovered.<br> -<a action="bypass -h Quest 402_PathToKnight 30031-02.htm">Ask if there is anything you can help with</a> +<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30031-02.html">Ask if there is anything you can help with</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-02.html similarity index 64% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-02.html index 4c022abc33..253eb42d2e 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-02.html @@ -1,5 +1,5 @@ <html><body>High Priest Biotin:<br> Long ago, this place was where the Elves taught the Humans magic. However, not long after, the Humans betrayed the Elves and went to war with them. In the end, we Humans repaid kindness with betrayal.<br> -Although it was committed by our ancestors, we inherited their sin. We are still paying for their actions. On this island, dead Elves are unable to rest and became undead called<font color="LEVEL"> Silent Horrors</font> and threaten the island residents.<br> -Wouldn't it be best to put the souls of the elves slain by humans to rest, and ask pardon of their souls? I would like to ask you to do this favor. Go to the<font color="LEVEL"> Elven Ruins</font> and defeat the silent horrors. And please come back with<font color="LEVEL"> ten of their skulls</font>. I would like to perform a proper funeral service so the spirits of the elves can obtain rest. +Although it was committed by our ancestors, we inherited their sin. We are still paying for their actions. On this island, dead Elves are unable to rest and became undead called <font color="LEVEL">silent horrors</font> and threaten the island residents.<br> +Wouldn't it be best to put the souls of the elves slain by humans to rest, and ask pardon of their souls? I would like to ask you to do this favor. Go to the <font color="LEVEL">Elven Ruins</font> and defeat the silent horrors. And please come back with <font color="LEVEL">ten of their skulls</font>. I would like to perform a proper funeral service so the spirits of the elves can obtain rest. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-03.html similarity index 80% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-03.html index 0fd1663ab0..c76fc7e4bb 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-03.html @@ -1,3 +1,3 @@ <html><body>High Priest Biotin:<br> -You and I will represent the Humans and show respect to the spirits of the Elves that died by the hands of our ancestors one thousand years ago.<font color="LEVEL"> You must bring ten silent horror skulls from the Elven Ruins in order to perform a proper funeral service.</font> +You and I will represent the Humans and show respect to the spirits of the Elves that died by the hands of our ancestors one thousand years ago. <font color="LEVEL">You must bring ten silent horror skulls from the Elven Ruins in order to perform a proper funeral service.</font> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-04.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-04.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-05.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-05.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-01.html similarity index 75% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-01.html index ba6f8053e5..bdbb392cd5 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-01.html @@ -1,4 +1,4 @@ <html><body>High Priestess Levian:<br> This is the holy hall of Einhasad. How could you clad yourself with the tools of war and enter the most holy place? From your mark, I see you are a Knight in training. If that is the case, shouldn't you show all the more respect in the Temple of Einhasad? Next time, enter the temple in a more reverent costume.<br> -<a action="bypass -h Quest 402_PathToKnight 30037-02.htm">Ask if there is anything you can help with</a> +<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30037-02.html">Ask if there is anything you can help with</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-02.html similarity index 60% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-02.html index c4f85531fe..32dbb9fddd 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-02.html @@ -1,5 +1,5 @@ <html><body>High Priestess Levian:<br> -These days, I hear from the guards that the lizardmen appear in great numbers on the western shore of the province ... As you know, they look like lizards but are all evil creatures made by Shilen. The lizard is the descendent of the dragon, which is the ultimate creature of evil.<br> +These days, I hear from the guards that the lizardmen appear in great numbers on the southern shore of the province ... As you know, they look like lizards but are all evil creatures made by Shilen. The lizard is the descendent of the dragon, which is the ultimate creature of evil.<br> In addition, the guards say that these lizardmen perform strange sacrifices every night towards the sea. I am sure they are praying to Shilen, who lies asleep in the deep. Gludio is the land of the righteous ones that follow Einhasad. We cannot allow the land to become contaminated by unholy pagan creatures.<br> -In the name of Einhasad, destroy Shilen's evil creatures. Take this mark with you, and strike the lizardmen with your sword of righteousness.<font color="LEVEL"> If you return with twenty tokens after killing the lizardmen</font> I will give you the coin of lords. +In the name of Einhasad, destroy Shilen's evil creatures. Take this mark with you, and strike the lizardmen with your sword of righteousness. <font color="LEVEL">If you return with twenty tokens after killing the lizardmen</font> I will give you the Coin of Lords. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-03.html similarity index 50% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-03.html index 55a9b4ac19..1118f0aa0b 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-03.html @@ -1,3 +1,3 @@ <html><body>High Priestess Levian:<br> -How come you have returned so early?<font color="LEVEL"> You must return with twenty tokens of proof that you have killed the evil creatures of Shilen in order for me to give you the coin of lords.</font> +How come you have returned so early? <font color="LEVEL">You must return with twenty tokens of proof that you have killed the evil creatures of Shilen in order for me to give you the Coin of Lords.</font> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-04.html similarity index 89% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-04.html index a2d6a7daa7..58b6d14870 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-04.html @@ -1,5 +1,5 @@ <html><body>High Priestess Levian:<br> Thank you. Now the lizardmen will not dare covet the land of Gludio. When I look at the strange idols of the lizardmen, I get shivers. I am thinking of burning these unholy things.<br> -As we agreed, I will give you the coin of lords. May you always live by the will of Einhasad. Only the spiritual teachings of light will protect you from corruption.<br> +As we agreed, I will give you the Coin of Lords. May you always live by the will of Einhasad. Only the spiritual teachings of light will protect you from corruption.<br> Pray, do not take my advice lightly. I have seen many Knights fall to the apostles of darkness because of arrogance. In the end, they return to the arms of Einhasad as they are cleansed in the flames of the stake, but it is not a desirable fate. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-05.html similarity index 79% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-05.html index 21c2d0bb9b..9bb5ba5299 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-05.html @@ -1,3 +1,3 @@ <html><body>High Priestess Levian:<br> -May Einhasad bless your pilgrimage. By the way, have you been to Talking Island? As you know, that small and isolated island is also a part of the Gludio province. Therefore the captain of guards and High Priest there will also have the coin of lords. +May Einhasad bless your pilgrimage. By the way, have you been to Talking Island? As you know, that small and isolated island is also a part of the Gludio province. Therefore the captain of guards and High Priest there will also have the Coin of Lords. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-01.html similarity index 58% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-01.html index 5631d08938..99d6c14d8a 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-01.html @@ -1,4 +1,4 @@ <html><body>Captain Gilbert:<br> We have not met in a long time. So you are an esquire in training... Anyway, I am glad to see you! I am Captain Gilbert.<br> -<a action="bypass -h Quest 402_PathToKnight 30039-02.htm">Ask if there is anything you can help with</a> +<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30039-02.html">Ask if there is anything you can help with</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-02.html similarity index 89% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-02.html index 2c4ed0355a..e7de499b73 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-02.html @@ -1,4 +1,4 @@ <html><body>Captain Gilbert:<br> Giant spiders have always existed on Talking Island. They used to only live on the northern part of the island, but lately incidents of their attacking homes and carrying off livestock have increased. They are so huge and ferocious that it is sometimes too difficult for the guard troop to deal with them.<br> -Please. Destroy the giant spiders.<font color="LEVEL"> Hunt the spiders and peel off their husks. Return with twenty husks and I will give you the coin of the lords. </font> I am sorry to ask you to do such a dangerous task, but I cannot think of anyone but you who could possibly manage this. +Please. Destroy the giant spiders. <font color="LEVEL">Hunt the spiders and peel off their husks. Return with twenty husks and I will give you the coin of the lords. </font> I am sorry to ask you to do such a dangerous task, but I cannot think of anyone but you who could possibly manage this. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-03.html similarity index 75% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-03.html index 980c322647..cfe17f1f64 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-03.html @@ -1,3 +1,3 @@ <html><body>Captain Gilbert:<br> -Bring me<font color="LEVEL"> twenty giant spider husks</font> and I will give you the coin of the lords. I am sorry to ask you to do such a dangerous task, but I cannot think of anyone but you who could possibly manage this. +Bring me <font color="LEVEL">twenty giant spider husks</font> and I will give you the coin of the lords. I am sorry to ask you to do such a dangerous task, but I cannot think of anyone but you who could possibly manage this. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-04.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-04.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-05.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-05.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-01.html new file mode 100644 index 0000000000..328402b99e --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-01.html @@ -0,0 +1,5 @@ +<html><body>High Priest Raymond:<br> +May the blessings of Einhasad be with you always.<br> +Long ago the knights alliance protected the church of Einhasad. Not many know this, but in the chaos that followed the fall of the empire, it was that very alliance that protected the church from raiders and pagans, while still protecting the priests from the armies of Beleth. We never forgot the assistance we received from them over those dark, desperate days.<br> +<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30289-02.html">"Is this relevant?"</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-02.html new file mode 100644 index 0000000000..b3ac7bbec3 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-02.html @@ -0,0 +1,6 @@ +<html><body>High Priest Raymond:<br> +Of course! You see, we must ask the alliance's help again.<br> +A few years ago, during the war with Gracia, we sent several priests to a small village in the south. The priest treated the wounded and performed funerals for the dead there, but one day the village was attacked by mercenaries. Men, woman, child... it didn't matter - each was butchered where they stood. Their bodies may have decayed over time, but the spirits of the dead there have not peace and still haunt the village ruins as undead spectres.<br> +Of course, it is the duty of the priest to console their spirits and put them to rest through player, but it is too dangerous for someone like myself to face the horrors in those ruins. That is why I am asking you a favor.<br> +<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30289-03.html">Say you will do the favor</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-03.html new file mode 100644 index 0000000000..c3eafa025c --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-03.html @@ -0,0 +1,5 @@ +<html><body>High Priest Raymond:<br> +Esquire, I beg you! Please go to the <font color="LEVEL">Ruins of Despair</font> to the south of the village and find the <font color="LEVEL">departed spirits of the priests</font> that have turned into the undead. Destroy them with your sword and recover the Einhasad crosses that are somewhere on their bodies. <font color="LEVEL">If you bring back twelve Einhasad crosses, I can perform a mass that soothes the spirits of the dead priests.</font><br> +Before you go, take this. It is a mark that shows you are performing a holy task for the church of Einhasad.<br> +Well than, I shall pray for your safe return. May the light of Einhasad guide you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-04.html new file mode 100644 index 0000000000..15da30ba11 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-04.html @@ -0,0 +1,4 @@ +<html><body>High Priest Raymond:<br> +Even now, I can hear the cries and groans of despair from my priest brothers who cannot find rest. Please bring me <font color="LEVEL">twelve Silver Crosses of Einhasad</font> from the Undead Priests at the Ruins of Despair, which is to the south of the village, so that I may offer a service to appease their souls.<br> +May Einhasad's blessing be with you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-05.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-05.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-06.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-06.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-01.html new file mode 100644 index 0000000000..848c8cdc3f --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-01.html @@ -0,0 +1,5 @@ +<html><body>Captain Bathis:<br> +Oh-ho. That mark tells me that you're an apprentice knight! Our guards do a great job protecting the village, so I don't think we have much to as of someone like you.<br> +Well, if you insist on helping, there is one thing that you could do...<br> +<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30332-02.html">Ask what it is.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-02.html new file mode 100644 index 0000000000..cdfd419cf8 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-02.html @@ -0,0 +1,4 @@ +<html><body>Captain Bathis:<br> +If you follow the road northeast of the village, you will cross a river that marks the area between Gludio and Neutral Zone. There is <font color="LEVEL">a bridge</font> that crosses the river. Recently, <font color="LEVEL">bugbear raiders</font> have appeared around the area between the bridge and the Neutral Zone and attacked trader coaches. Already twenty traders have lost their lives, and the goods that were stolen are too numerous to list. The traders have requested funds from the trader's guild headquarters in order to hire mercenaries, but the guild has yet to answer their request.<br> +I would be much obliged if you would get rid of the bugbears. According to the reports, there are about ten bugbears that attacked the trader coaches. Kill them and bring back <font color="LEVEL">ten necklaces</font>. While on this task, you will be performing an official task of the Gludio guards, so take this with you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-03.html similarity index 89% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-03.html index 0b30245f27..a10009e16c 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-03.html @@ -1,4 +1,4 @@ <html><body>Captain Bathis:<br> Have you defeated the bugbear raiders? What do you mean, not yet? What have you done all this time?! I have already reported to my superiors that I have sent out soldiers to destroy the bugbears ... What will they take me for?!<br> -At this very moment, the Traders that do business with Dion are losing quite a bit of profit by having to take the long way around on the southern coastal road! This is not the time for you to be fooling around in the village! Go defeat the bugbears and bring back<font color="LEVEL"> ten necklaces</font>. Then I will give you the coin of the lords! +At this very moment, the Traders that do business with Dion are losing quite a bit of profit by having to take the long way around on the southern coastal road! This is not the time for you to be fooling around in the village! Go defeat the bugbears and bring back <font color="LEVEL">ten necklaces</font>. Then I will give you the coin of the lords! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-04.html similarity index 70% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-04.html index f5be3edf63..e4bbcfdf99 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-04.html @@ -1,4 +1,4 @@ <html><body>Captain Bathis:<br> -Oh, so you have killed all the bugbears. Now the traders can safely drive their carts to Dion. Here, take this -- it's a<font color="LEVEL"> coin of the lords</font>.<br> +Oh, so you have killed all the bugbears. Now the traders can safely drive their carts to Dion. Here, take this -- it's a <font color="LEVEL">coin of the lords</font>.<br> Now you have the coin in your hand, and I have preserved my dignity as captain of the guards. Wasn't that a good exchange? Ha! Well, have a fine day! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-05.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-05.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30379-01.html similarity index 80% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30379-01.html index e402c666dc..f145ddb964 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30379-01.html @@ -1,5 +1,5 @@ <html><body>Captain Bezique:<br> I have seen many young people like you who seek to become Human Knights. They foolishly try to act the part of the hero, and put not only themselves, but others in danger with their foolishness.<br> This age no longer needs noble heroes. No one expects a courageous knight to appear and save them. Do you know what the people want? They want well-organized guards, carrying good weapons that will protect them, and a strong castle wall outside the village.<br> -<a action="bypass -h Quest 402_PathToKnight 30379-02.htm">Ask if there is anything you can do to help</a> +<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30379-02.html">Ask if there is anything you can do to help</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30379-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30379-02.html new file mode 100644 index 0000000000..40e451f1c7 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30379-02.html @@ -0,0 +1,5 @@ +<html><body>Captain Bezique:<br> +My my ... you are quite stubborn. Fine. If you must play the part of the hero ... why don't you go and hunt the spiders that have been wreaking havoc lately? Giant spiders have recently been reported upturning farmers' carts, raiding sheep and cattle, and even attacking Humans.<br> +The monsters you need to hunt are called <font color="LEVEL">poison spiders, or arachnid tracker</font>. Cut off their legs, then bring back twenty of them and I will give you the coin of the lords. Go to the Windmill Hill on the left of the southern coastal road and you will see lots of them appearing. I must follow procedure, so being captain of the guards, I give you this mark to take with you.<br> +Well then, I hope you return with your life! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30379-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30379-03.html new file mode 100644 index 0000000000..92dc756614 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30379-03.html @@ -0,0 +1,4 @@ +<html><body>Captain Bezique:<br> +... No doubt it was too difficult for you!<br> +As I told you, <font color="LEVEL">bring back twenty legs of the giant poison spiders or arachnid tracker</font> and I will give you the coin of the lords. To reach the place where they are often sighted, follow the southern coastline road. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30379-04.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30379-04.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30379-05.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30379-05.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-01.htm similarity index 80% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-01.htm index fe128508d6..f366bfa910 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-01.htm @@ -1,4 +1,4 @@ <html><body>Sir Klaus Vasper:<br> Even in this age, there are still young fighters now and then who wish to become a Human Knight. However, most are novices wrapped up in fantasies that they will become hero knights like those from legends. There are not many that have the qualities of a true Knight -- in other words, the courage to sacrifice oneself and the faith to stand up against the absurdities of the world.<br> -<a action="bypass -h Quest 402_PathToKnight 30417-02a.htm">Say you want to become a Human Knight</a> +<a action="bypass -h Quest Q00402_PathOfTheHumanKnight ACCEPT">Say you want to become a Human Knight</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-02.htm new file mode 100644 index 0000000000..c0ca2ce2bf --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-02.htm @@ -0,0 +1,5 @@ +<html><body>Sir Klaus Vasper:<br> +y comrade of the sword, you are still not experienced enough to become a Knight. I can see the true passion and belief you hold in your heart, but those are not enough -- only through the forge of battle will you also gain the power to hold fast to those beliefs in the midst of unrighteousness.<br> +Come back when you are a little older and wiser. When you are ready, I will test your worthiness to be a true Knight.<br> +(Only characters level 18 and above may undertake this quest.) +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-02a.htm similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-02a.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-02a.htm diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-03.htm similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-03.htm diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-04.htm new file mode 100644 index 0000000000..713db46f09 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-04.htm @@ -0,0 +1,3 @@ +<html><body>Sir Klaus Vasper:<br> +Haven't you already received the <font color="LEVEL">Sword of Ritual</font>? That sword is proof that you have the qualifications to become a Knight. If you take it to the grand master of the fighters guild, he will change your profession to a Human Knight. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-05.htm similarity index 76% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-05.htm index 07ccbd70df..6272821ca5 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-05.htm @@ -1,4 +1,4 @@ <html><body>Sir Klaus Vasper:<br> You want to become a Human Knight? Then you must go through the<font color="LEVEL"> trial of the esquire</font> to prove that you are not merely a rash, hot-blooded fighter, but one with true knightly spirit. This is a form of ritual and a process of training that all who desire to become a Human Knight must perform.<br> -<a action="bypass -h Quest 402_PathToKnight 30417-06.htm">Ask about the trial of the esquire</a> +<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30417-06.html">Ask about the trial of the esquire</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-06.html new file mode 100644 index 0000000000..7d419377f3 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-06.html @@ -0,0 +1,5 @@ +<html><body>Sir Klaus Vasper:<br> +Knights were initially chosen to fight injustice and to protect the weak. The right to wear a sword and shield goes along with the responsibility to protect citizens from danger. The attire of knights has changed many times along with the changes of eras, but the fact that we are guardians of ordinary folk has not changed. That is because of the divine calling that we received from Einhasad, mother of creation.<br> +The moment that a young warrior begins the life of a guardian knight and embarks on a training mission is called the <font color="LEVEL">Trial of an Apprentice Human Knight.</font> An apprentice knight travels all over the kingdom, usually to the areas that don't receive the protection of the army, and aids those who ask for help. Those we receive help gives a <font color="LEVEL">Coin of Lords</font> as a token of the thanks to the apprentice knight.<br> +<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30417-07.htm">Ask about the Coin of Lord.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-07.htm new file mode 100644 index 0000000000..05d1d6dd66 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-07.htm @@ -0,0 +1,6 @@ +<html><body>Sir Karrel Vasper:<br> +Traditionally, the lord of the citizens who received the apprentice knight's help would show gratitude by inviting the apprentice to his castle and throwing a feast. But these days, the tradition is to give a <font color="LEVEL">Coin of Lords.</font> A Coin of Lords is a gold coin engraved with a wise saying, showing the lord's gratitude. The right to give out these coins is given to the village guard captain or high priest.<br> +When the pilgrimage is over and the apprentice knight returns, the number of Coins he has determines whether the apprentice knight will be formally recognized as a full-fledged knight.<br> +If you wish to join the Knight Guild and earn the title of a knight, you must also go through this trial. So, my brother of the sword, will you formally go through the trial of the apprentice knight?<br> +<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30417-08.htm">Receive the trial of the apprentice knight.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-08.htm new file mode 100644 index 0000000000..e91924b596 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-08.htm @@ -0,0 +1,5 @@ +<html><body>Sir Klaus Vasper:<br> +Very well. I, Sir Klaus Vasper, the guardian knight of the west, bestow this <font color="LEVEL">Trial of the Apprentice Knight</font> upon you. Always carry this mark with you while embarking on the trial. This is how people along your pilgrimage will recognize you as an apprentice knight.<br> +As you go around to the villages in the Gludio region, try to meet with the local <font color="LEVEL">guard captain</font> or the <font color="LEVEL">high priest.</font> They will suggest many difficult tasks that you may perform for the people. When you complete these tasks, you can obtain a Coin of Lords. If you return with <font color="LEVEL">three or more Coins</font>, you will have completed your trial.<br> +Then, embark on your journey. May Einhasad's protection be with you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-09.html similarity index 59% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-09.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-09.html index a9ad340af7..949097c01c 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-09.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-09.html @@ -1,3 +1,3 @@ <html><body>Sir Klaus Vasper:<br> -Your pilgrimage is not over until you receive at least<font color="LEVEL"> three</font><font color="LEVEL"> coins of lords</font>. Travel around the various villages in Gludio and meet the Guard Captains and High Priests. You can receive coins if you perform their tasks. +Your pilgrimage is not over until you receive at least <font color="LEVEL">three</font> <font color="LEVEL">coins of lords</font>. Travel around the various villages in Gludio and meet the Guard Captains and High Priests. You can receive coins if you perform their tasks. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-10.html similarity index 58% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-10.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-10.html index d57e5dccd9..689d8a1d7b 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-10.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-10.html @@ -1,6 +1,6 @@ <html><body>Sir Klaus Vasper:<br> Come, comrade of the sword. You have done well. By bringing these three coins of lords, you have proven you have the abilities and qualities to become a Knight.<br> -Now, do you want to complete the trial of the esquire? If so, I will give you the sword of ritual, with which you may change your profession to a Human Knight. Of course, if you want, you need not finish the trial of the esquire, but may instead continue with your journey.<br> -<a action="bypass -h Quest 402_PathToKnight 30417-15.htm">Say you will continue the trial of the esquire</a><br> -<a action="bypass -h Quest 402_PathToKnight 30417-13.htm">Say you will finish the trial</a> +Now, do you want to complete the trial of the esquire? If so, I will give you the Sword of Ritual, with which you may change your profession to a Human Knight. Of course, if you want, you need not finish the trial of the esquire, but may instead continue with your journey.<br> +<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30417-15.html">Say you will continue the trial of the esquire</a><br> +<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30417-13.html">Say you will finish the trial</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-11.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-11.html similarity index 63% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-11.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-11.html index a3e86f9f79..b1fec78353 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-11.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-11.html @@ -1,6 +1,6 @@ <html><body>Sir Klaus Vasper:<br> Welcome, comrade of the sword. I see you have had great success on your pilgrimage. You have brought many coins of lords when you only had to bring three ... This proves that you have sufficient ability and disposition to become a Human Knight.<br> -Now, do you want to complete the trial of the esquire? If so, I will give you the sword of ritual, with which you may change your profession to a Human Knight. Of course, if you want, you need not finish the trial of the esquire, but may instead continue with your journey.<br> -<a action="bypass -h Quest 402_PathToKnight 30417-15.htm">Say you will continue the trial of the esquire</a><br> -<a action="bypass -h Quest 402_PathToKnight 30417-14.htm">Say you will finish the trial</a> +Now, do you want to complete the trial of the esquire? If so, I will give you the Sword of Ritual, with which you may change your profession to a Human Knight. Of course, if you want, you need not finish the trial of the esquire, but may instead continue with your journey.<br> +<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30417-15.html">Say you will continue the trial of the esquire</a><br> +<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30417-14.html">Say you will finish the trial</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-12.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-12.html similarity index 67% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-12.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-12.html index 367e8cc068..17715d3ad4 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-12.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-12.html @@ -1,4 +1,4 @@ <html><body>Sir Klaus Vasper:<br> Welcome, comrade of the sword. I cannot be anything but surprised - it has been long indeed since any esquires that have brought back six coins of lords. This is more than enough to prove that you have the abilities and qualities to become a Human Knight.<br> -Now it is time to complete your trial as esquire. You have successfully endured this most demanding trial. Congratulations! Now you have earned the qualifications to become a Knight. I will give you the sword of ritual. This sword was used in the knighting ceremony of the legendary Sir Cedric -- bear it with care. If you take this to the Grand Master of the fighters guild, he will change your profession to a Human Knight. +Now it is time to complete your trial as esquire. You have successfully endured this most demanding trial. Congratulations! Now you have earned the qualifications to become a Knight. I will give you the Sword of Ritual. This sword was used in the knighting ceremony of the legendary Sir Sedrick -- bear it with care. If you take this to the Grand Master of the fighters guild, he will change your profession to a Human Knight. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-13.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-13.html similarity index 59% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-13.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-13.html index f1cbfa3de6..52947cf285 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-13.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-13.html @@ -1,5 +1,5 @@ <html><body>Sir Klaus Vasper:<br> You have successfully endured a most demanding trial. Congratulations! Now you are qualified to become a Human Knight.<br> -I will give you the sword of ritual. This sword was used in the knighting ceremony of the legendary Sir Cedric -- bear it with care. If you take this to the Grand Master of the fighters guild, he will change your profession to a Human Knight.<br> +I will give you the Sword of Ritual. This sword was used in the knighting ceremony of the legendary Sir Sedrick -- bear it with care. If you take this to the Grand Master of the fighters guild, he will change your profession to a Human Knight.<br> Now, it is time for you to leave. Keep the faith and the romance of chivalry in your heart, and make your own destiny. May the good will of Einhasad always remain with you through every challenge. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-14.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-14.html new file mode 100644 index 0000000000..5465f9d983 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-14.html @@ -0,0 +1,4 @@ +<html><body>Sir Klaus Vasper:<br> +You have successfully endured a most demanding trial. Congratulations! Now you are qualified to become a Human Knight.<br> +I will give you the Sword of Ritual. This sword was used in the knighting ceremony of the legendary Sir Sedrick -- bear it with care. If you take this to the Grand Master of the fighters guild, he will change your profession to a Human Knight. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-15.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-15.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-15.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30417-15.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30653-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30653-01.html new file mode 100644 index 0000000000..7cb19ec7d7 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30653-01.html @@ -0,0 +1,4 @@ +<html><body>Sir Aaron Tanford:<br> +From your mark I gather that you are undergoing the Trial of the Esquire. They must be hard up for students, eh? Your courage is admirable but, honestly my friend, you may as well give up. Do you think just anyone can become a Knight?<br> +You are not even of noble birth, are you? One cannot become a true Knight without noble birth and natural talent. It is really pathetic to see someone from the lower classes struggle to become a Knight. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/Q00402_PathOfTheHumanKnight.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/Q00402_PathOfTheHumanKnight.java new file mode 100644 index 0000000000..c2dd05b34d --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/Q00402_PathOfTheHumanKnight.java @@ -0,0 +1,630 @@ +/* + * 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.Q00402_PathOfTheHumanKnight; + +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.quest.Quest; +import com.l2jserver.gameserver.model.quest.QuestState; +import com.l2jserver.gameserver.network.serverpackets.SocialAction; +import com.l2jserver.gameserver.util.Util; + +/** + * Path Of The Human Knight (402) + * @author ivantotov + */ +public final class Q00402_PathOfTheHumanKnight extends Quest +{ + // NPCs + private static final int HIGH_PRIEST_BIOTIN = 30031; + private static final int LEVIAN = 30037; + private static final int CAPTAIN_GILBERT = 30039; + private static final int HIGH_PRIEST_RAYMOND = 30289; + private static final int CAPTAIN_BATHIS = 30332; + private static final int CAPTAIN_BEZIQUE = 30379; + private static final int SIR_KLAUS_VASPER = 30417; + private static final int SIR_ARON_TANFORD = 30653; + // Items + private static final int SQUIRES_MARK = 1271; + private static final int COIN_OF_LORDS1 = 1162; + private static final int COIN_OF_LORDS2 = 1163; + private static final int COIN_OF_LORDS3 = 1164; + private static final int COIN_OF_LORDS4 = 1165; + private static final int COIN_OF_LORDS5 = 1166; + private static final int COIN_OF_LORDS6 = 1167; + private static final int GLUDIO_GUARDS_1ST_BADGE = 1168; + private static final int BUGBEAR_NECKLACE = 1169; + private static final int EINHASADS_1ST_TEMPLE_BADGE = 1170; + private static final int EINHASAD_CRUCIFIX = 1171; + private static final int GLUDIO_GUARDS_2ND_BADGE = 1172; + private static final int VENOMOUS_SPIDERS_LEG = 1173; + private static final int EINHASADS_2ND_TEMPLE_BADGE = 1174; + private static final int LIZARDMANS_TOTEM = 1175; + private static final int GLUDIO_GUARDS_3RD_BADGE = 1176; + private static final int GIANT_SPIDERS_HUSK = 1177; + private static final int EINHASADS_3RD_TEMPLE_BADGE = 1178; + private static final int SKULL_OF_SILENT_HORROR = 1179; + // Reward + private static final int SWORD_OF_RITUAL = 1161; + // Monster + private static final int LANGK_LIZARDMAN_WARRIOR = 20024; + private static final int LANGK_LIZARDMAN_SCOUT = 20027; + private static final int LANGK_LIZARDMAN = 20030; + private static final int VENOMOUS_SPIDER = 20038; + private static final int ARACHNID_TRACKER = 20043; + private static final int ARACHNID_PREDATOR = 20050; + private static final int GIANT_SPIDER = 20103; + private static final int TALON_SPIDER = 20106; + private static final int BLADE_SPIDER = 20108; + private static final int SILENT_HORROR = 20404; + private static final int BUGBEAR_RAIDER = 20775; + // Quest Monster + private static final int UNDEAD_PRIEST = 27024; + // Misc + private static final int MIN_LEVEL = 18; + + public Q00402_PathOfTheHumanKnight() + { + super(402, Q00402_PathOfTheHumanKnight.class.getSimpleName(), "Path Of The Human Knight"); + addStartNpc(SIR_KLAUS_VASPER); + addTalkId(SIR_KLAUS_VASPER, HIGH_PRIEST_BIOTIN, LEVIAN, HIGH_PRIEST_RAYMOND, CAPTAIN_GILBERT, CAPTAIN_BATHIS, CAPTAIN_BEZIQUE, SIR_ARON_TANFORD); + addKillId(LANGK_LIZARDMAN_WARRIOR, LANGK_LIZARDMAN_SCOUT, LANGK_LIZARDMAN, VENOMOUS_SPIDER, ARACHNID_TRACKER, ARACHNID_PREDATOR, GIANT_SPIDER, TALON_SPIDER, BLADE_SPIDER, SILENT_HORROR, BUGBEAR_RAIDER, UNDEAD_PRIEST); + registerQuestItems(SQUIRES_MARK, COIN_OF_LORDS1, COIN_OF_LORDS2, COIN_OF_LORDS3, COIN_OF_LORDS4, COIN_OF_LORDS5, COIN_OF_LORDS6, GLUDIO_GUARDS_1ST_BADGE, BUGBEAR_NECKLACE, EINHASADS_1ST_TEMPLE_BADGE, EINHASAD_CRUCIFIX, GLUDIO_GUARDS_2ND_BADGE, VENOMOUS_SPIDERS_LEG, EINHASADS_2ND_TEMPLE_BADGE, LIZARDMANS_TOTEM, GLUDIO_GUARDS_3RD_BADGE, GIANT_SPIDERS_HUSK, EINHASADS_3RD_TEMPLE_BADGE, SKULL_OF_SILENT_HORROR); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + + if (qs == null) + { + return null; + } + + String htmltext = null; + final long CoinCount = getQuestItemsCount(player, COIN_OF_LORDS1, COIN_OF_LORDS2, COIN_OF_LORDS3, COIN_OF_LORDS4, COIN_OF_LORDS5, COIN_OF_LORDS6); + switch (event) + { + case "ACCEPT": + { + if (player.getClassId() == ClassId.fighter) + { + if (player.getLevel() >= MIN_LEVEL) + { + if (hasQuestItems(player, SWORD_OF_RITUAL)) + { + htmltext = "30417-04.htm"; + } + else + { + htmltext = "30417-05.htm"; + } + } + else + { + htmltext = "30417-02.htm"; + } + } + else if (player.getClassId() == ClassId.knight) + { + htmltext = "30417-02a.htm"; + } + else + { + htmltext = "30417-03.htm"; + } + break; + } + case "30417-08.htm": + { + qs.startQuest(); + giveItems(player, SQUIRES_MARK, 1); + htmltext = event; + break; + } + case "30289-02.html": + case "30417-06.html": + case "30417-07.htm": + case "30417-15.html": + { + htmltext = event; + break; + } + case "30417-13.html": + { + if (hasQuestItems(player, SQUIRES_MARK) && ((CoinCount) == 3)) + { + giveAdena(player, 81900, true); + giveItems(player, SWORD_OF_RITUAL, 1); + takeItems(player, COIN_OF_LORDS1, 1); + takeItems(player, COIN_OF_LORDS2, 1); + takeItems(player, COIN_OF_LORDS3, 1); + takeItems(player, COIN_OF_LORDS4, 1); + takeItems(player, COIN_OF_LORDS5, 1); + takeItems(player, COIN_OF_LORDS6, 1); + takeItems(player, GLUDIO_GUARDS_1ST_BADGE, 1); + takeItems(player, GLUDIO_GUARDS_2ND_BADGE, 1); + takeItems(player, GLUDIO_GUARDS_3RD_BADGE, 1); + takeItems(player, EINHASADS_1ST_TEMPLE_BADGE, 1); + takeItems(player, EINHASADS_2ND_TEMPLE_BADGE, 1); + takeItems(player, EINHASADS_3RD_TEMPLE_BADGE, 1); + takeItems(player, BUGBEAR_NECKLACE, 1); + takeItems(player, EINHASAD_CRUCIFIX, 1); + takeItems(player, VENOMOUS_SPIDERS_LEG, 1); + takeItems(player, LIZARDMANS_TOTEM, 1); + takeItems(player, GIANT_SPIDERS_HUSK, 1); + takeItems(player, SKULL_OF_SILENT_HORROR, 1); + takeItems(player, SQUIRES_MARK, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 160267, 11576); + } + else if (level == 19) + { + addExpAndSp(player, 228064, 14925); + } + else + { + addExpAndSp(player, 295862, 18274); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = event; + } + break; + } + case "30417-14.html": + { + if (hasQuestItems(player, SQUIRES_MARK) && ((CoinCount) > 3) && ((CoinCount) < 6)) + { + giveAdena(player, 81900, true); + giveItems(player, SWORD_OF_RITUAL, 1); + takeItems(player, COIN_OF_LORDS1, 1); + takeItems(player, COIN_OF_LORDS2, 1); + takeItems(player, COIN_OF_LORDS3, 1); + takeItems(player, COIN_OF_LORDS4, 1); + takeItems(player, COIN_OF_LORDS5, 1); + takeItems(player, COIN_OF_LORDS6, 1); + takeItems(player, GLUDIO_GUARDS_1ST_BADGE, 1); + takeItems(player, GLUDIO_GUARDS_2ND_BADGE, 1); + takeItems(player, GLUDIO_GUARDS_3RD_BADGE, 1); + takeItems(player, EINHASADS_1ST_TEMPLE_BADGE, 1); + takeItems(player, EINHASADS_2ND_TEMPLE_BADGE, 1); + takeItems(player, EINHASADS_3RD_TEMPLE_BADGE, 1); + takeItems(player, BUGBEAR_NECKLACE, 1); + takeItems(player, EINHASAD_CRUCIFIX, 1); + takeItems(player, VENOMOUS_SPIDERS_LEG, 1); + takeItems(player, LIZARDMANS_TOTEM, 1); + takeItems(player, GIANT_SPIDERS_HUSK, 1); + takeItems(player, SKULL_OF_SILENT_HORROR, 1); + takeItems(player, SQUIRES_MARK, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 160267, 11576); + } + else if (level == 19) + { + addExpAndSp(player, 228064, 14925); + } + else + { + addExpAndSp(player, 295862, 18274); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = event; + } + break; + } + case "30031-02.html": + { + giveItems(player, EINHASADS_3RD_TEMPLE_BADGE, 1); + htmltext = event; + break; + } + case "30037-02.html": + { + giveItems(player, EINHASADS_2ND_TEMPLE_BADGE, 1); + htmltext = event; + break; + } + case "30289-03.html": + { + giveItems(player, EINHASADS_1ST_TEMPLE_BADGE, 1); + htmltext = event; + break; + } + case "30039-02.html": + { + giveItems(player, GLUDIO_GUARDS_3RD_BADGE, 1); + htmltext = event; + break; + } + case "30379-02.html": + { + giveItems(player, GLUDIO_GUARDS_2ND_BADGE, 1); + htmltext = event; + break; + } + case "30332-02.html": + { + giveItems(player, GLUDIO_GUARDS_1ST_BADGE, 1); + htmltext = event; + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && qs.isStarted() && Util.checkIfInRange(1500, npc, killer, true)) + { + switch (npc.getId()) + { + case LANGK_LIZARDMAN_WARRIOR: + case LANGK_LIZARDMAN_SCOUT: + case LANGK_LIZARDMAN: + { + if (hasQuestItems(killer, EINHASADS_2ND_TEMPLE_BADGE) && (getQuestItemsCount(killer, LIZARDMANS_TOTEM) < 20) && (getRandom(10) < 5)) + { + giveItems(killer, LIZARDMANS_TOTEM, 1); + if (getQuestItemsCount(killer, LIZARDMANS_TOTEM) == 20) + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + else + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case VENOMOUS_SPIDER: + case ARACHNID_TRACKER: + case ARACHNID_PREDATOR: + { + if (hasQuestItems(killer, GLUDIO_GUARDS_2ND_BADGE) && (getQuestItemsCount(killer, VENOMOUS_SPIDERS_LEG) < 20)) + { + giveItems(killer, VENOMOUS_SPIDERS_LEG, 1); + if (getQuestItemsCount(killer, VENOMOUS_SPIDERS_LEG) == 20) + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + else + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case GIANT_SPIDER: + case TALON_SPIDER: + case BLADE_SPIDER: + { + if (hasQuestItems(killer, GLUDIO_GUARDS_3RD_BADGE) && (getQuestItemsCount(killer, GIANT_SPIDERS_HUSK) < 20) && (getRandom(10) < 4)) + { + giveItems(killer, GIANT_SPIDERS_HUSK, 1); + if (getQuestItemsCount(killer, GIANT_SPIDERS_HUSK) == 20) + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + else + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case SILENT_HORROR: + { + if (hasQuestItems(killer, EINHASADS_3RD_TEMPLE_BADGE) && (getQuestItemsCount(killer, SKULL_OF_SILENT_HORROR) < 10) && (getRandom(10) < 4)) + { + giveItems(killer, SKULL_OF_SILENT_HORROR, 1); + if (getQuestItemsCount(killer, SKULL_OF_SILENT_HORROR) == 10) + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + else + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case BUGBEAR_RAIDER: + { + if (hasQuestItems(killer, GLUDIO_GUARDS_1ST_BADGE) && (getQuestItemsCount(killer, BUGBEAR_NECKLACE) < 10)) + { + giveItems(killer, BUGBEAR_NECKLACE, 1); + if (getQuestItemsCount(killer, BUGBEAR_NECKLACE) == 10) + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + else + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case UNDEAD_PRIEST: + { + if (hasQuestItems(killer, EINHASADS_1ST_TEMPLE_BADGE) && (getQuestItemsCount(killer, EINHASAD_CRUCIFIX) < 12) && (getRandom(10) < 5)) + { + giveItems(killer, EINHASAD_CRUCIFIX, 1); + if (getQuestItemsCount(killer, EINHASAD_CRUCIFIX) == 12) + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + else + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + if (qs.isCreated() || qs.isCompleted()) + { + if (npc.getId() == SIR_KLAUS_VASPER) + { + htmltext = "30417-01.htm"; + } + } + else if (qs.isStarted()) + { + switch (npc.getId()) + { + case SIR_KLAUS_VASPER: + { + final long CoinCount = getQuestItemsCount(player, COIN_OF_LORDS1, COIN_OF_LORDS2, COIN_OF_LORDS3, COIN_OF_LORDS4, COIN_OF_LORDS5, COIN_OF_LORDS6); + if (hasQuestItems(player, SQUIRES_MARK)) + { + if ((CoinCount) < 3) + { + htmltext = "30417-09.html"; + } + else if ((CoinCount) == 3) + { + htmltext = "30417-10.html"; + } + else if (((CoinCount) > 3) && ((CoinCount) < 6)) + { + htmltext = "30417-11.html"; + } + else + { + giveAdena(player, 163800, true); + giveItems(player, SWORD_OF_RITUAL, 1); + takeItems(player, COIN_OF_LORDS1, 1); + takeItems(player, COIN_OF_LORDS2, 1); + takeItems(player, COIN_OF_LORDS3, 1); + takeItems(player, COIN_OF_LORDS4, 1); + takeItems(player, COIN_OF_LORDS5, 1); + takeItems(player, COIN_OF_LORDS6, 1); + takeItems(player, SQUIRES_MARK, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 320534, 23152); + } + else if (level == 19) + { + addExpAndSp(player, 456128, 29850); + } + else + { + addExpAndSp(player, 591724, 36542); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = "30417-12.html"; + } + } + break; + } + case HIGH_PRIEST_BIOTIN: + { + if (hasQuestItems(player, SQUIRES_MARK) && !hasAtLeastOneQuestItem(player, EINHASADS_3RD_TEMPLE_BADGE, COIN_OF_LORDS6)) + { + htmltext = "30031-01.html"; + } + else if (hasQuestItems(player, EINHASADS_3RD_TEMPLE_BADGE)) + { + if (getQuestItemsCount(player, SKULL_OF_SILENT_HORROR) < 10) + { + htmltext = "30031-03.html"; + } + else + { + giveItems(player, COIN_OF_LORDS6, 1); + takeItems(player, EINHASADS_3RD_TEMPLE_BADGE, 1); + takeItems(player, SKULL_OF_SILENT_HORROR, -1); + htmltext = "30031-04.html"; + } + } + else if (hasQuestItems(player, COIN_OF_LORDS6)) + { + htmltext = "30031-05.html"; + } + break; + } + case LEVIAN: + { + if (hasQuestItems(player, SQUIRES_MARK) && !hasAtLeastOneQuestItem(player, EINHASADS_2ND_TEMPLE_BADGE, COIN_OF_LORDS4)) + { + htmltext = "30037-01.html"; + } + else if (hasQuestItems(player, EINHASADS_2ND_TEMPLE_BADGE)) + { + if (getQuestItemsCount(player, LIZARDMANS_TOTEM) < 20) + { + htmltext = "30037-03.html"; + } + else + { + giveItems(player, COIN_OF_LORDS4, 1); + takeItems(player, EINHASADS_2ND_TEMPLE_BADGE, 1); + takeItems(player, LIZARDMANS_TOTEM, -1); + htmltext = "30037-04.html"; + } + } + else if (hasQuestItems(player, COIN_OF_LORDS4)) + { + htmltext = "30037-05.html"; + } + break; + } + case HIGH_PRIEST_RAYMOND: + { + if (hasQuestItems(player, SQUIRES_MARK) && !hasAtLeastOneQuestItem(player, EINHASADS_1ST_TEMPLE_BADGE, COIN_OF_LORDS2)) + { + htmltext = "30289-01.html"; + } + else if (hasQuestItems(player, EINHASADS_1ST_TEMPLE_BADGE)) + { + if (getQuestItemsCount(player, EINHASAD_CRUCIFIX) < 12) + { + htmltext = "30289-04.html"; + } + else + { + giveItems(player, COIN_OF_LORDS2, 1); + takeItems(player, EINHASADS_1ST_TEMPLE_BADGE, 1); + takeItems(player, EINHASAD_CRUCIFIX, -1); + htmltext = "30289-05.html"; + } + } + else if (hasQuestItems(player, COIN_OF_LORDS2)) + { + htmltext = "30289-06.html"; + } + break; + } + case CAPTAIN_GILBERT: + { + if (hasQuestItems(player, SQUIRES_MARK) && !hasAtLeastOneQuestItem(player, GLUDIO_GUARDS_3RD_BADGE, COIN_OF_LORDS5)) + { + htmltext = "30039-01.html"; + } + else if (hasQuestItems(player, GLUDIO_GUARDS_3RD_BADGE)) + { + if (getQuestItemsCount(player, GIANT_SPIDERS_HUSK) < 20) + { + htmltext = "30039-03.html"; + } + else + { + giveItems(player, COIN_OF_LORDS5, 1); + takeItems(player, GLUDIO_GUARDS_3RD_BADGE, 1); + takeItems(player, GIANT_SPIDERS_HUSK, -1); + htmltext = "30039-04.html"; + } + } + else if (hasQuestItems(player, COIN_OF_LORDS5)) + { + htmltext = "30039-05.html"; + } + break; + } + case CAPTAIN_BEZIQUE: + { + if (hasQuestItems(player, SQUIRES_MARK) && !hasAtLeastOneQuestItem(player, GLUDIO_GUARDS_2ND_BADGE, COIN_OF_LORDS3)) + { + htmltext = "30379-01.html"; + } + else if (hasQuestItems(player, GLUDIO_GUARDS_2ND_BADGE)) + { + if (getQuestItemsCount(player, VENOMOUS_SPIDERS_LEG) < 20) + { + htmltext = "30379-03.html"; + } + else + { + giveItems(player, COIN_OF_LORDS3, 1); + takeItems(player, GLUDIO_GUARDS_2ND_BADGE, 1); + takeItems(player, VENOMOUS_SPIDERS_LEG, -1); + htmltext = "30379-04.html"; + } + } + else if (hasQuestItems(player, COIN_OF_LORDS3)) + { + htmltext = "30379-05.html"; + } + break; + } + case CAPTAIN_BATHIS: + { + if (hasQuestItems(player, SQUIRES_MARK) && !hasAtLeastOneQuestItem(player, GLUDIO_GUARDS_1ST_BADGE, COIN_OF_LORDS1)) + { + htmltext = "30332-01.html"; + } + else if (hasQuestItems(player, GLUDIO_GUARDS_1ST_BADGE)) + { + if (getQuestItemsCount(player, BUGBEAR_NECKLACE) < 10) + { + htmltext = "30332-03.html"; + } + else + { + giveItems(player, COIN_OF_LORDS1, 1); + takeItems(player, GLUDIO_GUARDS_1ST_BADGE, 1); + takeItems(player, BUGBEAR_NECKLACE, -1); + htmltext = "30332-04.html"; + } + } + else if (hasQuestItems(player, COIN_OF_LORDS1)) + { + htmltext = "30332-05.html"; + } + break; + } + case SIR_ARON_TANFORD: + { + if (hasQuestItems(player, SQUIRES_MARK)) + { + htmltext = "30653-01.html"; + } + break; + } + } + } + return htmltext; + } +} \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-01.htm similarity index 65% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-01.htm index 06f6ef7e1a..af953f6ce7 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-01.htm @@ -1,11 +1,5 @@ -<html> - -<body> -Captain Bezique:<br> +<html><body>Captain Bezique:<br> You want to be a Rogue? Oh, bother! Must I see to this as well, when I am so busy these days ...<br> Ah! But it happens that there is a bothersome task at the moment. If you solve it for me, I will recommend you as a Rogue. What do you think? Do you want to take the job?<br> -<a action="bypass -h Quest 403_PathToRogue 30379_2">Say you will take the task</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00403_PathOfTheRogue ACCEPT">Say you will take the task</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-02.htm similarity index 82% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-02.htm index a776b00f14..2109bb2690 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-02.htm @@ -1,10 +1,4 @@ -<html> - -<body> -Captain Bezique:<br> +<html><body>Captain Bezique:<br> You are an ambitious youth. But on second thought ... I don't think this job is right for you. What I'm sayin' is, you're not the type to become a Rogue ...<br> I'm not looking down on you so please don't be offended. It is just that magicians and certain races do not qualify to become Rogues. - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-02a.htm similarity index 67% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-02a.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-02a.htm index 99feb69e7e..abdf69bfc2 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-02a.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-02a.htm @@ -1,9 +1,3 @@ -<html> - -<body> -Captain Bezique:<br> +<html><body>Captain Bezique:<br> You are full of ambition. But this task may be too simple for a seasoned Rogue like you. How about giving your juniors a chance? - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-03.htm new file mode 100644 index 0000000000..a3c97d6290 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-03.htm @@ -0,0 +1,5 @@ +<html><body>Captain Bezique:<br> +I can see that you are a youngster filled with enthusiasm. Unfortunately, you also seem too inexperienced for this mission. I'm a good judge of ability, so don't quarrel.<br> +In any event, I'm only concerned for your safety. The bottom line is that this job is simply too dangerous for you right now. Come back to me after you've completed additional training and I'll see what I can do for you...<br> +(Only characters who are level 18 or above may undertake this quest.) +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-04.htm new file mode 100644 index 0000000000..00a085500e --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-04.htm @@ -0,0 +1,3 @@ +<html><body>Captain Bezique:<br> +Don't you already have the Recommendation that I wrote you?? Take it to the Grand Master of the fighters guild. Then you can change profession to a Rogue. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-05.htm new file mode 100644 index 0000000000..5bc654d422 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-05.htm @@ -0,0 +1,5 @@ +<html><body>Captain Bezique:<br> +Aren't you an ambitious young one. Very well! I will explain what you must do.<br> +Recently, a <font color="LEVEL">pack of thieves</font> has been running wild near Gludin Village and causing us problems. They know that our village is in disorder because of the restoration project, and they have been exploiting the opportunity to sneak in and out, stealing the property of many innocent people.<br>According to the people who have seen them, they are not humans but Ol Mahums. They are so fast that our guards lose them in pursuit every time. If you can capture those thieves, we will recognize your talents and recommend you to be a Rogue.<br> +<a action="bypass -h Quest Q00403_PathOfTheRogue 30379-06.htm">Ask about the thieves.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-06.htm new file mode 100644 index 0000000000..92b75f4eea --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-06.htm @@ -0,0 +1,5 @@ +<html><body>Captain Bezique:<br> +Those thieves are surely part of the Ol Mahum straggler troops. The Ol Mahum foreign troops that Gracia hired years ago during the Gracian War, are still pitching runaway troop campsites beyond the mountain north of the village.<br> +One more thing. There is someone who can help you catch those thieves. There is a woman named <font color="LEVEL">Neti</font> who lives in this village... Actually, she was once a chivalrous robber. She sure kept this kingdom's corrupt aristocracy in fear, heh heh. She's also famous as a treasure hunter who found rare and valuable treasure in many ruins.<br> +You might get a cold reception if you go asking for her help, so take this letter with you. She owes me a debt, so she will surely help you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-07.html new file mode 100644 index 0000000000..4fb4d8f3b3 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-07.html @@ -0,0 +1,3 @@ +<html><body>Captain Bezique:<br> +You have not sought out <font color="LEVEL">Neti</font> yet? She will give you much aid in catching the thieves. She lives in this village, so hurry and find her. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-08.html new file mode 100644 index 0000000000..3598350b4c --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-08.html @@ -0,0 +1,5 @@ +<html><body>Captain Bezique:<br> +I understand that you have received a "Horseshoe of Light" from Neti. You must be more talented than you look, but if Neti gave you this, she has faith in your abilities. So let's start going after those thieves in earnest. This is the <font color="LEVEL">Most Wanted List.</font><br> +I'm sure you can tell from reading the list, but your opponents are called the <font color="LEVEL">Cat's Eye Bandits.</font> They're named for their leader, nicknamed Cat's Eye for whatever reason, and are all of the Ol Mahum race. According to my scouts, their base is located near the <font color="LEVEL">Abandoned Camp</font> where the runaway Ol Mahum troops pitch camp. If you don't know how to get there, go and ask Guard Praga.<br> +<font color="LEVEL">Use the bow and dagger that Neti gave you to capture the Cat's Eye gang in one stroke. And bring back the 4 types of items that were stolen from the people of this village.</font> Should be a good test of your mettle. Good luck! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-09.html new file mode 100644 index 0000000000..c1b242fbcd --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-09.html @@ -0,0 +1,5 @@ +<html><body>Captain Bezique:<br> +Oh! You've recovered all the stolen items. Thank you for your trouble. Your skills are better than I thought. I think you really have the qualities to become a good Rogue.<br> +<font color="LEVEL">Red-eyed Bandits...</font> Have you ever heard of them? They are the largest group of bandits on the continent with their home in the snow-covered mountains of Oren. I can't believe those stupid thieves were related to the Red-eyed Bandits... I need to make a detailed inquiry into this. Hmm...<br> +Anyhow, I will write you a letter of Recommendation. Go to <font color="LEVEL">Grand Master Ramos</font> at the Fighters Guild and show him my Recommendation. Then you can change occupations to a Rogue. Well then, I wish you luck. Oh, and I almost forgot! I will give Neti back her bow and dagger for you. I have to go and thank her, anyway. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-10.html similarity index 68% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-10.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-10.html index 1d5d53ca13..7dd61c636b 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-10.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-10.html @@ -1,9 +1,3 @@ -<html> - -<body> -Captain Bezique:<br> -By the look of that bow and dagger, I see Neti has given you a task to test your skills. In the past, Neti's skills with the bow and dagger were the finest in all Gludio. People's mouths would hang open whenever she shot an apple off a young child's head. If you want to be a Rogue, you must learn how to use your bow and dagger well. - - -</body> -</html> \ No newline at end of file +<html><body>Captain Bezique:<br> +By the look of that bow and dagger, I see Neti has given you a task to test your skills. In the past, Neti's skills with The Bow and dagger were the finest in all Gludio. People's mouths would hang open whenever she shot an apple off a young child's head. If you want to be a Rogue, you must learn how to use your bow and dagger well. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-11.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-11.html similarity index 50% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-11.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-11.html index 7c46456b0b..06e8066f22 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-11.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30379-11.html @@ -1,10 +1,4 @@ -<html> - -<body> -Captain Bezique:<br> -Why are you still here? Hurry along -- kill the Cat's Eye bandits and recover the four stolen items. Remember that you must use the bow and dagger that Neti gave you to kill those scoundrels.<br> +<html><body>Captain Bezique:<br> +Why are you still here? Hurry along -- kill the Cat's Eye Bandits and recover the four stolen items. Remember that you must use The Bow and dagger that Neti gave you to kill those scoundrels.<br> According to my men, the thieves are near the abandoned campgrounds. If you don't know how to get there, ask Guard Praga. - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-01.html new file mode 100644 index 0000000000..39d787b3c8 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-01.html @@ -0,0 +1,7 @@ +<html><body>Neti:<br> +Oh blast it...! I suppose Bezique has already told you about my past?<br> +I can't refuse a request from Bezique. He saved me a long time ago when I was in a diffiult situation... But I really hate annoying jobs like this!<br> +Fine. If you really want to catch those thieves, you have to follow my words exactly from now on. Got it?<br> +<a action="bypass -h Quest Q00403_PathOfTheRogue 30425-02.html">Say that you understand.</a><br> +<a action="bypass -h Quest Q00403_PathOfTheRogue 30425-03.html">Say that you refuse.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-02.html similarity index 79% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-02.html index 48b6a17826..9ce937f0fc 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-02.html @@ -1,11 +1,5 @@ -<html> - -<body> -Neti:<br> +<html><body>Neti:<br> Rumor has it that the thieves are very nimble. If you want to deal with them, you must increase your agility to their level. That is probably why Bezique said that he would acknowledge you as a Rogue if you catch those thieves. Great agility is the main talent you must have to be a Rogue.<br> Before you handle those thieves, I must test you to fathom your agility. So be alert and listen. If you pass this test, you will be able to catch the thieves easily.<br> -<a action="bypass -h Quest 403_PathToRogue 30425_1">Take the test</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00403_PathOfTheRogue 30425-05.html">Take the test</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-03.html similarity index 57% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-03.html index 1038476509..b3fb895b51 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-03.html @@ -1,10 +1,4 @@ -<html> - -<body> -Neti:<br> +<html><body>Neti:<br> Well then, have it your way! I only talked with you because Bezique asked me to help you, but since you don't want to, it's all the better. These tasks really annoy me, too!<br> -<a action="bypass -h Quest 403_PathToRogue 30425-04.htm">Say you are sorry</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00403_PathOfTheRogue 30425-04.html">Say you are sorry</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-04.html similarity index 81% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-04.html index 70708a0481..4164634bfd 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-04.html @@ -1,12 +1,6 @@ -<html> - -<body> -Neti:<br> +<html><body>Neti:<br> All right. I accept your apology. But only this once. So listen carefully to my words.<br> Rumor has it that the thieves are very nimble. If you want to deal with them, you must increase your agility to their level. That is probably why Bezique said that he would acknowledge you as a Rogue if you catch those thieves. Great agility is the main talent you must have to be a Rogue.<br> Before you handle those thieves, I must test you to fathom your agility. If you pass this test, you will be able to catch the thieves easily.<br> -<a action="bypass -h Quest 403_PathToRogue 30425_1">Take the test</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00403_PathOfTheRogue 30425-05.html">Take the test</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-05.html similarity index 59% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-05.html index 78559c3cde..29503153c5 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-05.html @@ -1,12 +1,6 @@ -<html> - -<body> -Neti:<br> +<html><body>Neti:<br> First, take this bow and dagger. To engage in combat that depends on agility, you must be able to use a bow and dagger skillfully, rather than a sword or axe.<br> -Take these two weapons and go east of here to the<font color="LEVEL"> Ruins of Agony</font>, and hunt skeletons and spartoi. Skeletons shatter very easily, so it will not be difficult to find bone pieces. It is more dangerous, but hunting spartoi is easier when collecting bone pieces.<br> -You must keep in mind that when you hunt skeletons or spartoi, you must use the bow and dagger that I gave you. As proof of your hunt, bring back<font color="LEVEL"> ten bone pieces</font> and I will let you pass the test.<br> -Now it is time for you to leave. If you don't know the way to the two ruins, ask the guards. - - -</body> -</html> \ No newline at end of file +Take these two weapons and go east of here to the <font color="LEVEL">Ruins of Agony</font>, and hunt skeletons and spartoi. Skeletons shatter very easily, so it will not be difficult to find bone pieces. It is more dangerous, but hunting spartoi is easier when collecting bone pieces.<br> +You must keep in mind that when you hunt skeletons or spartoi, you must use The Bow and dagger that I gave you. As proof of your hunt, bring back <font color="LEVEL">ten bone pieces</font> and I will let you pass the test.<br> +Now it is time for you to leave. If you don't know the way to the ruins, ask the guards. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-06.html new file mode 100644 index 0000000000..dd9cdc83ff --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-06.html @@ -0,0 +1,4 @@ +<html><body>Neti:<br> +Have you come already? I see you are far from finishing. Hurry on to the <font color="LEVEL">Ruins of Agony</font>, and hunt the skeletons and spartoi. You must use The Bow and dagger that I gave you. If you bring back ten bone pieces as proof of your success, I will let you pass the test.<br> +If you don't know the way to the ruins, ask the guards. Well, you should leave now. Good luck! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-07.html similarity index 52% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-07.html index dd36c79f6e..e006a9392b 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-07.html @@ -1,9 +1,3 @@ -<html> - -<body> -Neti:<br> -Thank you. That is sufficient to catch the thieves. To prove your ability, I give you<font color="LEVEL"> the horseshoe of light</font>. Take this to<font color="LEVEL"> Captain Bezique</font>. And take care to catch the thieves with the weapons I have given you. I assure you they will come in handy in catching thieves. - - -</body> -</html> \ No newline at end of file +<html><body>Neti:<br> +Thank you. That is sufficient to catch the thieves. To prove your ability, I give you <font color="LEVEL">the Horseshoe of Light</font>. Take this to <font color="LEVEL">Captain Bezique</font>. And take care to catch the thieves with the weapons I have given you. I assure you they will come in handy in catching thieves. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-08.html new file mode 100644 index 0000000000..7af8d80cb0 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/30425-08.html @@ -0,0 +1,3 @@ +<html><body>Neti:<br> +Now take the Horseshoe of Light that I have given you and go to <font color="LEVEL">Captain Bezique</font>. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/Q00403_PathOfTheRogue.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/Q00403_PathOfTheRogue.java new file mode 100644 index 0000000000..13130b8030 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00403_PathOfTheRogue/Q00403_PathOfTheRogue.java @@ -0,0 +1,371 @@ +/* + * 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.Q00403_PathOfTheRogue; + +import java.util.HashMap; +import java.util.Map; + +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.ItemChanceHolder; +import com.l2jserver.gameserver.model.items.instance.L2ItemInstance; +import com.l2jserver.gameserver.model.quest.Quest; +import com.l2jserver.gameserver.model.quest.QuestState; +import com.l2jserver.gameserver.network.NpcStringId; +import com.l2jserver.gameserver.network.clientpackets.Say2; +import com.l2jserver.gameserver.network.serverpackets.NpcSay; +import com.l2jserver.gameserver.network.serverpackets.SocialAction; +import com.l2jserver.gameserver.util.Util; + +/** + * Path Of The Rogue (403) + * @author ivantotov + */ +public final class Q00403_PathOfTheRogue extends Quest +{ + // NPCs + private static final int CAPTAIN_BEZIQUE = 30379; + private static final int NETI = 30425; + // Items + private static final int BEZIQUES_LETTER = 1180; + private static final int NETIS_BOW = 1181; + private static final int NETIS_DAGGER = 1182; + private static final int SPARTOIS_BONES = 1183; + private static final int HORSESHOE_OF_LIGHT = 1184; + private static final int MOST_WANTED_LIST = 1185; + private static final int STOLEN_JEWELRY = 1186; + private static final int STOLEN_TOMES = 1187; + private static final int STOLEN_RING = 1188; + private static final int STOLEN_NECKLACE = 1189; + private static final int[] STOLEN_ITEMS = + { + STOLEN_JEWELRY, + STOLEN_TOMES, + STOLEN_RING, + STOLEN_NECKLACE + }; + // Reward + private static final int BEZIQUES_RECOMMENDATION = 1190; + // Misc + private static final int MIN_LEVEL = 18; + private static final int REQUIRED_ITEM_COUNT = 10; + // Quest Monster + private static final int CATS_EYE_BANDIT = 27038; + // Monster + private static final Map<Integer, ItemChanceHolder> MONSTER_DROPS = new HashMap<>(); + static + { + MONSTER_DROPS.put(20035, new ItemChanceHolder(SPARTOIS_BONES, 2)); // Tracker Skeleton + MONSTER_DROPS.put(20042, new ItemChanceHolder(SPARTOIS_BONES, 3)); // Tracker Skeleton Leader + MONSTER_DROPS.put(20045, new ItemChanceHolder(SPARTOIS_BONES, 2)); // Skeleton Scout + MONSTER_DROPS.put(20051, new ItemChanceHolder(SPARTOIS_BONES, 2)); // Skeleton Bowman + MONSTER_DROPS.put(20054, new ItemChanceHolder(SPARTOIS_BONES, 8)); // Ruin Spartoi + MONSTER_DROPS.put(20060, new ItemChanceHolder(SPARTOIS_BONES, 8)); // Raging Spartoi + } + + public Q00403_PathOfTheRogue() + { + super(403, Q00403_PathOfTheRogue.class.getSimpleName(), "Path Of The Rogue"); + addStartNpc(CAPTAIN_BEZIQUE); + addTalkId(CAPTAIN_BEZIQUE, NETI); + addAttackId(MONSTER_DROPS.keySet()); + addAttackId(CATS_EYE_BANDIT); + addKillId(MONSTER_DROPS.keySet()); + addKillId(CATS_EYE_BANDIT); + registerQuestItems(BEZIQUES_LETTER, NETIS_BOW, NETIS_DAGGER, SPARTOIS_BONES, HORSESHOE_OF_LIGHT, MOST_WANTED_LIST, STOLEN_JEWELRY, STOLEN_TOMES, STOLEN_RING, STOLEN_NECKLACE); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "ACCEPT": + { + if (player.getClassId() == ClassId.fighter) + { + if (player.getLevel() >= MIN_LEVEL) + { + if (hasQuestItems(player, BEZIQUES_RECOMMENDATION)) + { + htmltext = "30379-04.htm"; + } + else + { + htmltext = "30379-05.htm"; + } + } + else + { + htmltext = "30379-03.htm"; + } + } + else if (player.getClassId() == ClassId.rogue) + { + htmltext = "30379-02a.htm"; + } + else + { + htmltext = "30379-02.htm"; + } + break; + } + case "30379-06.htm": + { + qs.startQuest(); + giveItems(player, BEZIQUES_LETTER, 1); + htmltext = event; + break; + } + case "30425-02.html": + case "30425-03.html": + case "30425-04.html": + { + htmltext = event; + break; + } + case "30425-05.html": + { + if (hasQuestItems(player, BEZIQUES_LETTER)) + { + takeItems(player, BEZIQUES_LETTER, 1); + if (!hasQuestItems(player, NETIS_BOW)) + { + giveItems(player, NETIS_BOW, 1); + } + if (!hasQuestItems(player, NETIS_DAGGER)) + { + giveItems(player, NETIS_DAGGER, 1); + } + qs.setCond(2, true); + } + htmltext = event; + break; + } + } + return htmltext; + } + + @Override + public String onAttack(L2Npc npc, L2PcInstance attacker, int damage, boolean isSummon) + { + final QuestState qs = getQuestState(attacker, false); + if ((qs != null) && qs.isStarted()) + { + switch (npc.getScriptValue()) + { + case 0: + { + npc.getVariables().set("lastAttacker", attacker.getObjectId()); + if (!checkWeapon(attacker)) + { + npc.setScriptValue(2); + } + else + { + if (npc.getId() == CATS_EYE_BANDIT) + { + attacker.sendPacket(new NpcSay(npc, Say2.NPC_ALL, NpcStringId.YOU_CHILDISH_FOOL_DO_YOU_THINK_YOU_CAN_CATCH_ME)); + } + npc.setScriptValue(1); + } + break; + } + case 1: + { + if (!checkWeapon(attacker)) + { + npc.setScriptValue(2); + } + else if (npc.getVariables().getInt("lastAttacker") != attacker.getObjectId()) + { + npc.setScriptValue(2); + } + break; + } + } + } + return super.onAttack(npc, attacker, damage, isSummon); + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && qs.isStarted() && npc.isScriptValue(1) && Util.checkIfInRange(1500, npc, killer, true)) + { + if (npc.getId() == CATS_EYE_BANDIT) + { + npc.broadcastPacket(new NpcSay(npc, Say2.NPC_ALL, NpcStringId.I_MUST_DO_SOMETHING_ABOUT_THIS_SHAMEFUL_INCIDENT)); + if (hasQuestItems(killer, MOST_WANTED_LIST)) + { + int randomItem = STOLEN_ITEMS[getRandom(STOLEN_ITEMS.length)]; + if (!hasQuestItems(killer, randomItem)) + { + giveItems(killer, randomItem, 1); + + if (hasQuestItems(killer, STOLEN_ITEMS)) + { + qs.setCond(6, true); + } + else + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + } + } + else + { + final ItemChanceHolder reward = MONSTER_DROPS.get(npc.getId()); + if ((getQuestItemsCount(killer, reward.getId()) < REQUIRED_ITEM_COUNT) && npc.isScriptValue(1) && (getRandom(REQUIRED_ITEM_COUNT) < reward.getChance())) + { + giveItems(killer, reward.getId(), reward.getCount()); + if (getQuestItemsCount(killer, reward.getId()) >= REQUIRED_ITEM_COUNT) + { + qs.setCond(3, true); + } + else + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + } + } + return super.onKill(npc, killer, isSummon); + } + + private boolean checkWeapon(L2PcInstance player) + { + L2ItemInstance weapon = player.getActiveWeaponInstance(); + return ((weapon != null) && ((weapon.getId() == NETIS_BOW) || (weapon.getId() == NETIS_DAGGER))); + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + if (qs.isCreated() || qs.isCompleted()) + { + if (npc.getId() == CAPTAIN_BEZIQUE) + { + htmltext = "30379-01.htm"; + } + } + else if (qs.isStarted()) + { + switch (npc.getId()) + { + case CAPTAIN_BEZIQUE: + { + if (hasQuestItems(player, STOLEN_JEWELRY, STOLEN_TOMES, STOLEN_RING, STOLEN_NECKLACE)) + { + giveAdena(player, 163800, true); + takeItems(player, NETIS_BOW, 1); + takeItems(player, NETIS_DAGGER, 1); + takeItems(player, MOST_WANTED_LIST, 1); + takeItems(player, STOLEN_JEWELRY, 1); + takeItems(player, STOLEN_TOMES, 1); + takeItems(player, STOLEN_RING, 1); + takeItems(player, STOLEN_NECKLACE, 1); + giveItems(player, BEZIQUES_RECOMMENDATION, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 320534, 20232); + } + else if (level == 19) + { + addExpAndSp(player, 456128, 26930); + } + else + { + addExpAndSp(player, 591724, 33628); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = "30379-09.html"; + } + else if (!hasQuestItems(player, HORSESHOE_OF_LIGHT) && hasQuestItems(player, BEZIQUES_LETTER)) + { + htmltext = "30379-07.html"; + } + else if (hasQuestItems(player, HORSESHOE_OF_LIGHT)) + { + takeItems(player, HORSESHOE_OF_LIGHT, 1); + giveItems(player, MOST_WANTED_LIST, 1); + qs.setCond(5, true); + htmltext = "30379-08.html"; + } + else if (hasQuestItems(player, NETIS_BOW, NETIS_DAGGER) && !hasQuestItems(player, MOST_WANTED_LIST)) + { + htmltext = "30379-10.html"; + } + else if (hasQuestItems(player, MOST_WANTED_LIST)) + { + htmltext = "30379-11.html"; + } + break; + } + case NETI: + { + if (hasQuestItems(player, BEZIQUES_LETTER)) + { + htmltext = "30425-01.html"; + } + else if (!hasAtLeastOneQuestItem(player, HORSESHOE_OF_LIGHT, BEZIQUES_LETTER)) + { + if (hasQuestItems(player, MOST_WANTED_LIST)) + { + htmltext = "30425-08.html"; + } + else if (getQuestItemsCount(player, SPARTOIS_BONES) < REQUIRED_ITEM_COUNT) + { + htmltext = "30425-06.html"; + } + else + { + takeItems(player, SPARTOIS_BONES, REQUIRED_ITEM_COUNT); + giveItems(player, HORSESHOE_OF_LIGHT, 1); + qs.setCond(4, true); + htmltext = "30425-07.html"; + } + } + else if (hasQuestItems(player, HORSESHOE_OF_LIGHT)) + { + htmltext = "30425-08.html"; + } + break; + } + } + } + return htmltext; + } +} \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-01.htm similarity index 79% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-01.htm index 6adbadb3cb..6c73c4a8f3 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-01.htm @@ -1,9 +1,3 @@ -<html> - -<body> -Parina:<br> +<html><body>Parina:<br> Looking closely, I see you are not the one I have been waiting for. I'm sorry, but I do not have anything to tell you. I am tired, so please go back to where you came from. However ... please be happy. - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-02.htm new file mode 100644 index 0000000000..4cf60cde34 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-02.htm @@ -0,0 +1,4 @@ +<html><body>Parina:<br> +Hidden in nature are surprising powers: Water, Fire, Wind and Earth. With time, you too will understand. Until then you must be patient.<br> +(Only characters level 18 and above may undertake this quest.) +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-02a.htm similarity index 76% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-02a.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-02a.htm index bee6a1033a..74a509910f 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-02a.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-02a.htm @@ -1,9 +1,3 @@ -<html> - -<body> -Parina:<br> +<html><body>Parina:<br> You are a Human Wizard that has already perceived the secrets of water, fire, wind, and earth. There is no need for you to re-embark upon the journey of becoming a Wizard. - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-03.htm similarity index 86% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-03.htm index be863479af..ecd1529977 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-03.htm @@ -1,10 +1,4 @@ -<html> - -<body> -Parina:<br> +<html><body>Parina:<br> Is there something you have not found yet? Don't you already have the four tokens of water, fire, wind and earth? Take the bead of four seasons and go to the high priest. He will be able to open your new future for you.<br> I feel the power of a new beginning. He will not like me that much, but ... I respect him. Go before it is too late. - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-04.htm similarity index 69% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-04.htm index da2b6a0270..8cc3504c3b 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-04.htm @@ -1,10 +1,4 @@ -<html> - -<body> -Parina:<br> +<html><body>Parina:<br> To become a Human Wizard, you must have the four tokens of water, fire, wind and earth. If you are not acknowledged by nature, which controls these four elements, you do not have the right to be called a Wizard. Go out into the world and collect the four tokens. The collection of the tokens can only be accomplished by your own power. This is all I can do for you.<br> -<a action="bypass -h Quest 404_PathToWizard 1">Perform quest of changing profession to a Human Wizard</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00404_PathOfTheHumanWizard ACCEPT">Perform quest of changing profession to a Human Wizard</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-05.html similarity index 69% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-05.html index adcd254de4..18c69aa35d 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-05.html @@ -1,9 +1,3 @@ -<html> - -<body> -Parina:<br> +<html><body>Parina:<br> How goes your journey of searching for the tokens? Please find and bring the tokens of water, fire, wind and earth. - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-06.html similarity index 78% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-06.html index f8ff437867..767c15f8f7 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-06.html @@ -1,10 +1,4 @@ -<html> - -<body> -Parina:<br> +<html><body>Parina:<br> I see you have collected all four tokens of water, fire, wind and earth. Through the journey to collect tokens, you have proven your passion for learning, curiosity about the world, powers of deep investigation and contemplation, and strong will. You have created your future with your own hands.<br> -I give you the<font color="LEVEL"> bead of four seasons</font> Take this bead to the high priest. I'm sure he can guide you to the path of the Wizard. May your future days always be filled with light. - - -</body> -</html> \ No newline at end of file +I give you the <font color="LEVEL">bead of four seasons</font> Take this bead to the high priest. I'm sure he can guide you to the path of the Wizard. May your future days always be filled with light. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-07.htm similarity index 51% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-08.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-07.htm index 08e3ac6e83..3b564d445e 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-08.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30391-07.htm @@ -1,10 +1,4 @@ -<html> - -<body> -Parina:<br> -The journey of becoming a Wizard begins with the will of a magician to learn new things. Strong will to obtain knowledge is often compared to a flame. You must first find the<font color="LEVEL"> token of flame</font>.<br> -In order to do that, you must meet the<font color="LEVEL"> Flame Spirit</font>.<font color="LEVEL"> It is in the form of a lizard wrapped up in flames and is near a village damaged during the war, now called the Ruins of Despair.</font> Look for it to the south of the village of Castle Gludio. - - -</body> -</html> \ No newline at end of file +<html><body>Parina:<br> +The journey of becoming a Wizard begins with the will of a magician to learn new things. Strong will to obtain knowledge is often compared to a flame. You must first find the <font color="LEVEL">token of flame</font>.<br> +In order to do that, you must meet the <font color="LEVEL">Flame Spirit</font>. <font color="LEVEL">It is in the form of a lizard wrapped up in flames and is near a village damaged during the war, now called the Ruins of Despair.</font> Look for it to the south of the village of Castle Gludio. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30409-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30409-01.html similarity index 69% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30409-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30409-01.html index dd66dc7e37..b621d788b1 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30409-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30409-01.html @@ -1,11 +1,5 @@ -<html> - -<body> -Earth Snake:<br> +<html><body>Earth Snake:<br> Wait! Do not deceive yourself into thinking I am a mere lizard just because I look like a basilisk. Although my appearance is unremarkable, I am a spirit of earth, which studies the principles of the world embodied within the soil and rock. Right now I am looking for a way to purify the negative forces that have seeped into the earth in these ruins.<br> You say you are looking for the token of earth? Then I must test you to see if you are qualified to earn it. Just because the spirits of water, fire and wind have acknowledged you doesn't mean that I will do so as easily.<br> -<font color="LEVEL">It is your task to find red soil that contains the strong life of the earth. You can obtain it by hunting a bear called the red bear that lives in this vicinity.</font> The red bear can be found in the woods around these ruins. - - -</body> -</html> \ No newline at end of file +<font color="LEVEL">It is your task to find Red Soil that contains the strong life of the earth. You can obtain it by hunting a bear called the red bear that lives in this vicinity. </font>The red bear can be found in the Fellmere Harvesting Grounds between the Ruins of Agony and the Orc Barracks. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30409-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30409-02.html new file mode 100644 index 0000000000..4140dc05c4 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30409-02.html @@ -0,0 +1,3 @@ +<html><body>Earth Snake:<br> +If you want to receive the token of earth from me, bring me back Red Soil. The Red Soil contains the strong vitality of the earth and can be obtained by hunting the red bears that are frequently seen in the Fellmere Harvesting Grounds between the Ruins of Agony and the Orc Barracks. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30409-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30409-03.html new file mode 100644 index 0000000000..6dfceaf054 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30409-03.html @@ -0,0 +1,4 @@ +<html><body>Earth Snake:<br> +You've brought the Red Soil! So fast for a Human! I thought you would have more trouble than that. As promised, I'll exchange the Ring of Earth for a Token of Earth. Don't lose the faith, pilgrim.<br> +Once you've collected the tokens of fire, water, wind and earth, speak with Parina in Gludin. She has a special affinity for the spirits of the four elements, for they are constantly whispering into her ear. She will raise your understanding of magic to new heights. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30409-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30409-04.html new file mode 100644 index 0000000000..75eff00d6b --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30409-04.html @@ -0,0 +1,3 @@ +<html><body>Earth Snake:<br> +Once you have collected all four tokens - fire, water, air and earth - that represent the four elements of nature, go find Parina in Gludin Village. Her deep understanding of the elements and spirits can lead you towards enlightenment. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30410-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30410-01.html similarity index 66% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30410-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30410-01.html index 8bd9075a5f..87d1a29aef 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30410-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30410-01.html @@ -1,11 +1,5 @@ -<html> - -<body> -Lizardman of the Wastelands:<br> +<html><body>Wasteland Lizardman:<br> Nice to meet you, Human. I am a minstrel who savors the music in nature and loves to sing loudly. I regret that I cannot chat with you long. I am in the middle of listening to the song brought to me by the winds of the Wastelands.<br> You've come because you have some business with me? What business are you talking about?<br> -<a action="bypass -h Quest 404_PathToWizard 30410-02.htm">Talk about the wind sylph</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00404_PathOfTheHumanWizard 30410-02.html">Talk about the wind sylph</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30410-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30410-02.html similarity index 61% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30410-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30410-02.html index a764d97473..5b14bafcc7 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30410-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30410-02.html @@ -1,10 +1,4 @@ -<html> - -<body> -Lizardman of the Wastelands:<br> +<html><body>Wasteland Lizardman:<br> Ah ...! The spirit of wind up in the north? I've seen it a few times ... I hate that race, so I don't even associate with it at all. I just saw it from afar and it didn't even say hello, so I passed by. But why did you bring up the sylph?<br> -<a action="bypass -h Quest 404_PathToWizard 30410_1">Talk about the noise</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00404_PathOfTheHumanWizard 30410-03.html">Talk about the noise</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30410-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30410-03.html similarity index 83% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30410-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30410-03.html index 297f0bbc72..979b865337 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30410-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30410-03.html @@ -1,10 +1,4 @@ -<html> - -<body> -Lizardman of the Wastelands:<br> +<html><body>Wasteland Lizardman:<br> I'm very sorry about that ... I didn't know I was making that much noise. Actually, I've been digging in the ground to bury my eggs here. I finished digging yesterday, and I've buried the eggs, so I won't be noisy any more. Won't you tell her that I'm really sorry?<br> I also found this feather while I was digging. It may belong to the sylph. Please show it to her. - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30410-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30410-04.html similarity index 60% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30410-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30410-04.html index 2722265c6d..88a7e38d57 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30410-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30410-04.html @@ -1,9 +1,3 @@ -<html> - -<body> -Lizardman of the Wastelands:<br> +<html><body>Wasteland Lizardman:<br> Take the feather I gave you to the wind sylph. Don't forget to say that I said I am sorry about the noise ... - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30411-01.html similarity index 58% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30411-01.html index d1e3beaa90..0a40658b21 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30411-01.html @@ -1,10 +1,4 @@ -<html> - -<body> -Fire Salamander:<br> +<html><body>Flame Salamander:<br> What is it, child of Humans? Aren't you frightened by the fumes of fire that I breathe? It has been a long time since I've seen a Human as fearless as you. So you've come to find the token of flame? Now I see that you are a Mystic who controls the powers of elements! Good ... If you grant me a favor, I will give you the token of flame.<br> -The key of flame that I had in my charge was stolen not long ago. The rascal that took the key was a<font color="LEVEL"> Ratman Warrior</font>. He is in fact an evil spirit in disguise, that covets the power of fire. How else could he have tricked me and stolen the key? Please find the scoundrel and recover the key. There are many Ratman Warriors north of these ruins or west beyond the mountains. - - -</body> -</html> \ No newline at end of file +The Key of Flame that I had in my charge was stolen not long ago. The rascal that took the key was a <font color="LEVEL">ratman fighter</font>. He is in fact an evil spirit in disguise, that covets the power of fire. How else could he have tricked me and stolen the key? Please find the scoundrel and recover the key. There are many ratman fighters at the northwestern corner of the Ruins of Despair. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30411-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30411-02.html new file mode 100644 index 0000000000..a3d6c874e3 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30411-02.html @@ -0,0 +1,3 @@ +<html><body>Flame Salamander:<br> +Child of Humans, have you come back already? <font color="LEVEL">Didn't I tell you to kill the ratman fighter and bring back the Key of Flame?</font> Only then can I give you the token of flame. There are many ratman fighters at the northwestern corner of the Ruins of Despair. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30411-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30411-03.html new file mode 100644 index 0000000000..848ce06dd0 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30411-03.html @@ -0,0 +1,5 @@ +<html><body>Flame Salamander:<br> +Ah ... I see you have found the key. I give you the Flame Earring as a token of fire. I name you predecessor of the flame ... Pray, do not neglect the desire for learning now rising within you.<br> +Your desires for knowledge lead to curiosity about the world. Thought caught up in that curiosity cannot stay in one place for very long, and will wander continuously in search of new knowledge. This is why the strong curiosity that stirs the scholar to travel is often compared to the wind.<br> +The next thing you must find is the <font color="LEVEL">Wind Token</font>. <font color="LEVEL">In order to find it, you must first speak to the Wind Sylph. She is staying at the entrance of the Wastelands beyond the southwestern mountains. As you already know, there are three entrances to the Wastelands. The sylph will be at the northwest entrance.</font> I wish you luck! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30411-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30411-04.html new file mode 100644 index 0000000000..d643a3dadc --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30411-04.html @@ -0,0 +1,3 @@ +<html><body>Flame Salamander:<br> +Child of Humans ... Haven't you already received the token of flame from me? You have already been recognized as the predecessor of flame, now go find the Wind Token. In order to find the token, you must meet the Wind Sylph. You can meet her at the entrance to the Wastelands that is southwest of here. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30412-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30412-01.html new file mode 100644 index 0000000000..c00374e0b1 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30412-01.html @@ -0,0 +1,6 @@ +<html><body>Wind Sylph:<br> +I see you have come to find the Wind Token. The winds blowing here told me of your story. If you grant me one favor, I will happily give you the Wind Token.<br> +Not long ago, <font color="LEVEL">the wastelands Lizardman</font> appeared in the Southern Wastelands, and it has been so noisy ever since that I haven't been able to savor the wind comfortably.<br> +Please make the wastelands Lizardman quiet so my meditations are not disrupted. Then I will give you the Wind Token.<br> +Since scary monsters are prowling around on the southern hills, it would be safer for you to follow the western path of the valley and then head south. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30412-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30412-02.html new file mode 100644 index 0000000000..7cc58a817c --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30412-02.html @@ -0,0 +1,3 @@ +<html><body>Wind Sylph:<br> +Is it that you do not wish to grant my request? All the noise gives me a headache ... Please, I beg you. <font color="LEVEL">Go to the Wasteland Lizardman.</font> He is in the Southern Wastelands. The safest route for you will be to follow the road west of the valley and then head south. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30412-03.html similarity index 63% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30412-03.html index 485bfd3269..4816bce775 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30412-03.html @@ -1,12 +1,6 @@ -<html> - -<body> -Wind Sylph:<br> -Thank you very much. Now I can meditate in peace. I was thinking of going to some other land because it was so noisy. As a token of my appreciation, I give you the token of wind.<br> +<html><body>Wind Sylph:<br> +Thank you very much. Now I can meditate in peace. I was thinking of going to some other land because it was so noisy. As a token of my appreciation, I give you the Wind Token.<br> Searcher of the wind, please do not forget your naive curiosity about materials.<br> Curiosity always leads to investigation. The deep contemplation and research of a magician is very often compared to the deep waters of a lake.<br> -Now you must find the<font color="LEVEL"> token of water</font>.<font color="LEVEL"> In order to find it, you must meet the undine of the water. She is near Fellmere Lake.</font> The lake can be found if you pass the abandoned camp of the ol mahums in the north and continue a little farther north. Well then, may the divine protection of wind be with you. - - -</body> -</html> \ No newline at end of file +Now you must find the <font color="LEVEL">token of water</font>. <font color="LEVEL">In order to find it, you must meet the undine of the water. She is near Fellmere Lake.</font> The lake can be found if you pass the abandoned camp of the Ol Mahums in the north and continue a little farther north. Well then, may the divine protection of wind be with you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30412-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30412-04.html new file mode 100644 index 0000000000..87a606e1d9 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30412-04.html @@ -0,0 +1,4 @@ +<html><body>Wind Sylph:<br> +I see you have already earned the Wind Token from me. What you must find now is the token of water. To find it, you must meet the undine of the water.<br> +The undine of the water is at Fellmere Lake. To find the lake, you must go north of here. Go pass the abandoned camp where the Ol Mahums are and go a little more north to reach Fellmere Lake. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30413-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30413-01.html new file mode 100644 index 0000000000..2f48a4aec2 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30413-01.html @@ -0,0 +1,5 @@ +<html><body>Water Undine:<br> +Don't be a nuisance and disappear. I am busy purifying the force of water in the surrounding land!<br> +You want to earn the token of water? Well then, do me one favor. Do you see that lake? On the other side of the lake is a monster shaped like a strange eye called the <font color="LEVEL">Water Seer</font>. It disturbs the force of water in this area and really gives me a headache.<br> +Would you be willing to go kill the <font color="LEVEL">Water Seer</font> and bring back two sparkling pebbles as proof? Then I will give you the token of water. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30413-02.html similarity index 54% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30413-02.html index 45b1938de5..9d7cbbb867 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30413-02.html @@ -1,9 +1,3 @@ -<html> - -<body> -Water Undine:<br> -You don't have the sparkling pebbles yet? You can obtain the pebbles by killing the water seer. Bring back two of them. Please hurry! If I change my mind. I may just give away the token of water to someone else. - - -</body> -</html> \ No newline at end of file +<html><body>Water Undine:<br> +You don't have the sparkling pebbles yet? You can obtain the pebbles by killing the Water Seer. Bring back two of them. Please hurry! If I change my mind. I may just give away the token of water to someone else. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30413-03.html similarity index 57% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30413-03.html index eb33488087..1091e628c7 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30413-03.html @@ -1,11 +1,5 @@ -<html> - -<body> -Water Undine:<br> +<html><body>Water Undine:<br> Oh! Surprisingly, you have some skill! Now it will be a little easier for me to purify the water. As I promised, I will give you the token of water. Studier of the water, do not be lazy in your quest for truth.<br> When a magician's knowledge reaches a certain level, his understanding of the world turns to steadfast faith. The strong will of a magician who tries to change the world with his beliefs is very often compared to the earth.<br> -The next thing you must find is the<font color="LEVEL"> token of earth</font>.<font color="LEVEL"> You can only obtain that by meeting the Earth Snake. If you want to meet the snake, you must go to the Grim Ruins.</font> Just north of here, you will easily find the ruins. The Earth Snake may look crude, but it is a very wise spirit, so it is better not to be arrogant in front of it. - - -</body> -</html> \ No newline at end of file +The next thing you must find is the <font color="LEVEL">token of earth</font>. <font color="LEVEL">You can only obtain that by meeting the Earth Snake. If you want to meet the snake, you must go to the Ruins of Agony.</font> Just north of here, you will easily find the ruins. The Earth Snake may look crude, but it is a very wise spirit, so it is better not to be arrogant in front of it. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30413-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30413-04.html new file mode 100644 index 0000000000..0138f6ab0a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/30413-04.html @@ -0,0 +1,3 @@ +<html><body>Water Undine:<br> +Have you forgotten what I've said already? I told you to go find the earth snake! Go to the Ruins of Agony north of here to meet it. You haven't given up on the token of earth, have you? +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/Q00404_PathOfTheHumanWizard.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/Q00404_PathOfTheHumanWizard.java new file mode 100644 index 0000000000..d2717f7366 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00404_PathOfTheHumanWizard/Q00404_PathOfTheHumanWizard.java @@ -0,0 +1,393 @@ +/* + * 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.Q00404_PathOfTheHumanWizard; + +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.quest.Quest; +import com.l2jserver.gameserver.model.quest.QuestState; +import com.l2jserver.gameserver.network.serverpackets.SocialAction; +import com.l2jserver.gameserver.util.Util; + +/** + * Path Of The Human Wizard (404) + * @author ivantotov + */ +public final class Q00404_PathOfTheHumanWizard extends Quest +{ + // NPCs + private static final int PARINA = 30391; + private static final int EARTH_SNAKE = 30409; + private static final int WASTELAND_LIZARDMAN = 30410; + private static final int FLAME_SALAMANDER = 30411; + private static final int WIND_SYLPH = 30412; + private static final int WATER_UNDINE = 30413; + // Items + private static final int MAP_OF_LUSTER = 1280; + private static final int KEY_OF_FLAME = 1281; + private static final int FLAME_EARING = 1282; + private static final int BROKEN_BRONZE_MIRROR = 1283; + private static final int WIND_FEATHER = 1284; + private static final int WIND_BANGLE = 1285; + private static final int RAMAS_DIARY = 1286; + private static final int SPARKLE_PEBBLE = 1287; + private static final int WATER_NECKLACE = 1288; + private static final int RUSTY_COIN = 1289; + private static final int RED_SOIL = 1290; + private static final int EARTH_RING = 1291; + // Reward + private static final int BEAD_OF_SEASON = 1292; + // Monster + private static final int RED_BEAR = 20021; + private static final int RATMAN_WARRIOR = 20359; + // Quest Monster + private static final int WATER_SEER = 27030; + // Misc + private static final int MIN_LEVEL = 18; + + public Q00404_PathOfTheHumanWizard() + { + super(404, Q00404_PathOfTheHumanWizard.class.getSimpleName(), "Path Of The Human Wizard"); + addStartNpc(PARINA); + addTalkId(PARINA, EARTH_SNAKE, WASTELAND_LIZARDMAN, FLAME_SALAMANDER, WIND_SYLPH, WATER_UNDINE); + addKillId(RED_BEAR, RATMAN_WARRIOR, WATER_SEER); + registerQuestItems(MAP_OF_LUSTER, KEY_OF_FLAME, FLAME_EARING, BROKEN_BRONZE_MIRROR, WIND_FEATHER, WIND_BANGLE, RAMAS_DIARY, SPARKLE_PEBBLE, WATER_NECKLACE, RUSTY_COIN, RED_SOIL, EARTH_RING); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "ACCEPT": + { + if (player.getClassId() == ClassId.mage) + { + if (player.getLevel() >= MIN_LEVEL) + { + if (hasQuestItems(player, BEAD_OF_SEASON)) + { + htmltext = "30391-03.htm"; + } + else + { + qs.startQuest(); + htmltext = "30391-07.htm"; + } + } + else + { + htmltext = "30391-02.htm"; + } + } + else if (player.getClassId() == ClassId.wizard) + { + htmltext = "30391-02a.htm"; + } + else + { + htmltext = "30391-01.htm"; + } + break; + } + case "30410-02.html": + { + htmltext = event; + break; + } + case "30410-03.html": + { + giveItems(player, WIND_FEATHER, 1); + qs.setCond(6, true); + htmltext = event; + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && qs.isStarted() && Util.checkIfInRange(1500, npc, killer, true)) + { + switch (npc.getId()) + { + case RED_BEAR: + { + if (hasQuestItems(killer, RUSTY_COIN) && !hasQuestItems(killer, RED_SOIL) && (getRandom(100) < 20)) + { + giveItems(killer, RED_SOIL, 1); + qs.setCond(12, true); + } + break; + } + case RATMAN_WARRIOR: + { + if (hasQuestItems(killer, MAP_OF_LUSTER) && !hasQuestItems(killer, KEY_OF_FLAME) && (getRandom(100) < 80)) + { + giveItems(killer, KEY_OF_FLAME, 1); + qs.setCond(3, true); + } + break; + } + case WATER_SEER: + { + if (hasQuestItems(killer, RAMAS_DIARY) && (getQuestItemsCount(killer, SPARKLE_PEBBLE) < 2) && (getRandom(100) < 80)) + { + giveItems(killer, SPARKLE_PEBBLE, 1); + if (getQuestItemsCount(killer, SPARKLE_PEBBLE) == 2) + { + qs.setCond(9, true); + } + else + { + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + if (qs.isCreated() || qs.isCompleted()) + { + if (npc.getId() == PARINA) + { + htmltext = "30391-04.htm"; + } + } + else if (qs.isStarted()) + { + switch (npc.getId()) + { + case PARINA: + { + if (!hasQuestItems(player, FLAME_EARING, WIND_BANGLE, WATER_NECKLACE, EARTH_RING)) + { + htmltext = "30391-05.html"; + } + else + { + giveAdena(player, 163800, true); + takeItems(player, FLAME_EARING, 1); + takeItems(player, WIND_BANGLE, 1); + takeItems(player, WATER_NECKLACE, 1); + takeItems(player, EARTH_RING, 1); + if (!hasQuestItems(player, BEAD_OF_SEASON)) + { + giveItems(player, BEAD_OF_SEASON, 1); + } + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 320534, 23152); + } + else if (level == 19) + { + addExpAndSp(player, 456128, 29850); + } + else + { + addExpAndSp(player, 591724, 36548); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = "30391-06.html"; + } + break; + } + case EARTH_SNAKE: + { + if (hasQuestItems(player, WATER_NECKLACE) && !hasAtLeastOneQuestItem(player, RUSTY_COIN, EARTH_RING)) + { + if (!hasQuestItems(player, RUSTY_COIN)) + { + giveItems(player, RUSTY_COIN, 1); + } + qs.setCond(11, true); + htmltext = "30409-01.html"; + } + else if (hasQuestItems(player, RUSTY_COIN)) + { + if (!hasQuestItems(player, RED_SOIL)) + { + htmltext = "30409-02.html"; + } + else + { + takeItems(player, RUSTY_COIN, 1); + takeItems(player, RED_SOIL, 1); + if (!hasQuestItems(player, EARTH_RING)) + { + giveItems(player, EARTH_RING, 1); + } + qs.setCond(13, true); + htmltext = "30409-03.html"; + } + } + else if (hasQuestItems(player, EARTH_RING)) + { + htmltext = "30409-04.html"; + } + break; + } + case WASTELAND_LIZARDMAN: + { + if (hasQuestItems(player, BROKEN_BRONZE_MIRROR)) + { + if (!hasQuestItems(player, WIND_FEATHER)) + { + htmltext = "30410-01.html"; + } + else + { + htmltext = "30410-04.html"; + } + } + break; + } + case FLAME_SALAMANDER: + { + if (!hasAtLeastOneQuestItem(player, MAP_OF_LUSTER, FLAME_EARING)) + { + if (!hasQuestItems(player, MAP_OF_LUSTER)) + { + giveItems(player, MAP_OF_LUSTER, 1); + } + qs.setCond(2, true); + htmltext = "30411-01.html"; + } + else if (hasQuestItems(player, MAP_OF_LUSTER)) + { + if (!hasQuestItems(player, KEY_OF_FLAME)) + { + htmltext = "30411-02.html"; + } + else + { + takeItems(player, MAP_OF_LUSTER, 1); + takeItems(player, KEY_OF_FLAME, 1); + if (!hasQuestItems(player, FLAME_EARING)) + { + giveItems(player, FLAME_EARING, 1); + } + qs.setCond(4, true); + htmltext = "30411-03.html"; + } + } + else if (hasQuestItems(player, FLAME_EARING)) + { + htmltext = "30411-04.html"; + } + break; + } + case WIND_SYLPH: + { + if (hasQuestItems(player, FLAME_EARING) && !hasAtLeastOneQuestItem(player, BROKEN_BRONZE_MIRROR, WIND_BANGLE)) + { + if (!hasQuestItems(player, BROKEN_BRONZE_MIRROR)) + { + giveItems(player, BROKEN_BRONZE_MIRROR, 1); + } + qs.setCond(5, true); + htmltext = "30412-01.html"; + } + else if (hasQuestItems(player, BROKEN_BRONZE_MIRROR)) + { + if (!hasQuestItems(player, WIND_FEATHER)) + { + htmltext = "30412-02.html"; + } + else + { + takeItems(player, BROKEN_BRONZE_MIRROR, 1); + takeItems(player, WIND_FEATHER, 1); + if (!hasQuestItems(player, WIND_BANGLE)) + { + giveItems(player, WIND_BANGLE, 1); + } + qs.setCond(7, true); + htmltext = "30412-03.html"; + } + } + else if (hasQuestItems(player, WIND_BANGLE)) + { + htmltext = "30412-04.html"; + } + break; + } + case WATER_UNDINE: + { + if (hasQuestItems(player, WIND_BANGLE) && !hasAtLeastOneQuestItem(player, RAMAS_DIARY, WATER_NECKLACE)) + { + if (!hasQuestItems(player, RAMAS_DIARY)) + { + giveItems(player, RAMAS_DIARY, 1); + } + qs.setCond(8, true); + htmltext = "30413-01.html"; + } + else if (hasQuestItems(player, RAMAS_DIARY)) + { + if (getQuestItemsCount(player, SPARKLE_PEBBLE) < 2) + { + htmltext = "30413-02.html"; + } + else + { + takeItems(player, RAMAS_DIARY, 1); + takeItems(player, SPARKLE_PEBBLE, -1); + if (!hasQuestItems(player, WATER_NECKLACE)) + { + giveItems(player, WATER_NECKLACE, 1); + } + qs.setCond(10, true); + htmltext = "30413-03.html"; + } + } + else if (hasQuestItems(player, WATER_NECKLACE)) + { + htmltext = "30413-04.html"; + } + break; + } + } + } + return htmltext; + } +} \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30017-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30017-01.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30017-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30017-01.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30017-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30017-02.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30017-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30017-02.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-01.htm new file mode 100644 index 0000000000..873dcdb5a2 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-01.htm @@ -0,0 +1,4 @@ +<html><body>Priest Zigaunt:<br> +You will need the <font color="LEVEL">Mark of Faith</font> to change profession to a Cleric. It is given to people with true faith. By chance there is a task suitable to prove your faith if you would agree to give it a try?<br> +<a action="bypass -h Quest Q00405_PathOfTheCleric ACCEPT">Say you will take the task</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-02.htm similarity index 57% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-02.htm index 15d40b6c14..09c50a073b 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-02.htm @@ -1,9 +1,3 @@ -<html> - -<body> -Priest Zigaunt:<br> +<html><body>Priest Zigaunt:<br> Oh. You are not a Mystic. I cannot give this errand to those who are not Mystics. - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-02a.htm similarity index 72% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-02a.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-02a.htm index be944e5334..b8facb851d 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-02a.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-02a.htm @@ -1,9 +1,3 @@ -<html> - -<body> -Priest Zigaunt:<br> +<html><body>Priest Zigaunt:<br> You are already a Cleric that has proven your worthiness! You do not have to show your faith again. Please spread the teachings of the gods all over the world. - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-03.htm new file mode 100644 index 0000000000..c869471fdc --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-03.htm @@ -0,0 +1,4 @@ +<html><body>Priest Zigaunt:<br> +Thank you for your offer, but this job is too difficult for you right now. You need more experience. Let's talk again when you seen a little more of the world.<br> +(Only characters level 18 and above may embark on this quest.) +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-04.htm new file mode 100644 index 0000000000..9c234b6737 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-04.htm @@ -0,0 +1,3 @@ +<html><body>Priest Zigaunt:<br> +I see you already have the Mark of Faith. If you meet <font color="LEVEL">High Priestess Levian</font>, you can change profession. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-05.htm new file mode 100644 index 0000000000..dff83ee20c --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-05.htm @@ -0,0 +1,4 @@ +<html><body>Priest Zigaunt:<br> +By any chance, have you heard the rumors that there is a heretical book that criticizes our religion? The book is called <font color="LEVEL">"Understanding of Miracles,"</font> and it was actually written by a person who used to be a priest. That is why the church wants to take care of this problem quietly.<br> +Can you retrieve the books that have been sold? Please do it undercover. The beginning of the rumor about this book was the <font color="LEVEL">town of Gludio</font>. Begin your search there. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-06.html similarity index 61% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-06.html index 68cbd3b4f0..b51f42ee23 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-06.html @@ -1,9 +1,3 @@ -<html> - -<body> -Priest Zigaunt:<br> +<html><body>Priest Zigaunt:<br> Please retrieve all those improper books. The future of our religion depends on your success. - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-07.html similarity index 65% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-07.html index 4fc0d380f4..d39d954b9a 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-07.html @@ -1,9 +1,3 @@ -<html> - -<body> -Priest Zigaunt:<br> +<html><body>Priest Zigaunt:<br> You must bring a signed covenant from Lionel. Please hurry, the church wants to take care of this very quickly. - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-08.html similarity index 72% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-08.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-08.html index 77447bda17..b8c3537200 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-08.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-08.html @@ -1,11 +1,5 @@ -<html> - -<body> -Priest Zigaunt:<br> +<html><body>Priest Zigaunt:<br> Thank you for your trouble. The church will be very happy. However, we must take care of the fundamental cause of the problem ...<br> -It is the will of the church that the writer of the book must sign a covenant saying that he will not write any more subversive content and that he will not breathe a word to anyone that he was once a priest. His name is<font color="LEVEL"> Lionel</font>. He is supposedly living in retirement on<font color="LEVEL"> Talking Island</font>.<br> +It is the will of the church that the writer of the book must sign a covenant saying that he will not write any more subversive content and that he will not breathe a word to anyone that he was once a priest. His name is <font color="LEVEL">Lionel</font>. He is supposedly living in retirement on <font color="LEVEL">Talking Island</font>.<br> Please meet Lionel and make him sign the covenant. Well then, I thank you in advance. May the light of the heavens lead you to the righteous path. - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-09.html new file mode 100644 index 0000000000..7bd2ab600d --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30022-09.html @@ -0,0 +1,5 @@ +<html><body>Priest Zigaunt:<br> +This is definitely Lionel's signature. Thank you.<br> +With this, your faith has been fully proven. Here, take this <font color="LEVEL">token of faith</font>. If you show that to the <font color="LEVEL">High Priestess Levian</font>, she will help you to change your profession to Cleric, one who promulgates the teachings of Einhasad.<br> +I must excuse myself now, to make a report to the church. Goodbye. May the blessing of Einhasad be with you ... +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30030-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30030-01.html similarity index 82% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30030-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30030-01.html index fcbe075d94..76ad3bae6c 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30030-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30030-01.html @@ -1,10 +1,4 @@ -<html> - -<body> -Priestess Vyvyan:<br> +<html><body>Priestess Vivyan:<br> Ehh?! The book was forbidden by the church? I had no idea! I didn't even know and recommended it to my friends ...<br> Ah ... Now what do I do? What to do? Will the high priests forgive me? They will no doubt give me a terrible punishment ... From cleaning floors to laundry to cooking ...! Ahhhh ... - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30030-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30030-02.html similarity index 70% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30030-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30030-02.html index 2ccdca304e..64a524a96d 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30030-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30030-02.html @@ -1,12 +1,6 @@ -<html> - -<body> -Priestess Vyvyan:<br> +<html><body>Priestess Vivyan:<br> Cleaning floors, laundry, cooking ...<br> Doing laundry, cooking and cleaning floors ...<br> Cooking, cleaning floors and doing laundry ...<br> Ahhhhh ...! - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30253-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30253-01.html similarity index 70% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30253-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30253-01.html index ef58e9d894..cd8f4100f8 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30253-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30253-01.html @@ -1,11 +1,5 @@ -<html> - -<body> -Trader Simplon:<br> +<html><body>Trader Simplon:<br> <font color="LEVEL">Understanding of Miracles</font>? Ah! You are speaking of the books I sold not long ago. Threatening books? I don't know ... As for me, I don't really know the contents of the book ... I just got a few to sell because they said that a lot of people wanted to read it ...<br> The church is collecting the books? Well, if that is the case ... I will give them to you, but I bought those books with money so the church will compensate me for them, right?<br> -I bought five books in all, and I'll give you the three that were not sold. One was bought by<font color="LEVEL"> Guard Praga</font>, and the other by<font color="LEVEL"> Priestess Vyvyan</font>. Go and ask them about the books. - - -</body> -</html> \ No newline at end of file +I bought five books in all, and I'll give you the three that were not sold. The other two books were bought by <font color="LEVEL">Guard Praga and Priestess Vivyan in this village</font>. Go and ask them about the books. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30253-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30253-02.html new file mode 100644 index 0000000000..41bb955e26 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30253-02.html @@ -0,0 +1,3 @@ +<html><body>Trader Simplon:<br> +Why have you come back? Is it to find out whether I am selling threatening books? Please go away so you will not a disturb my customers! If you want to find out more about the other two books, you can go ask <font color="LEVEL">Guard Praga and Priestess Vivyan in this village</font> about them. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30333-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30333-01.html new file mode 100644 index 0000000000..20da11d5ba --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30333-01.html @@ -0,0 +1,5 @@ +<html><body>Guard Praga:<br> +Ah... that book. But that book was quite interesting. And I bought it for money. I can't give it to you for free.<br> +Well, how about this? Recently, I was making rounds in <font color="LEVEL">the Ruins of Agony</font> when I happened into a fight with the <font color="LEVEL">ruin zombies</font>. At that time, I lost a pendant that my mother left me before she died. Please find it for me. Here, this is the chain of the necklace. See if the pendant fits it, and then return them to me, please.<br> +Don't wrinkle your nose like that. A true believer like you will be protected by your strong faith. If you need direction, you can reach the Ruins of Agony by journeying west of the village. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30333-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30333-02.html similarity index 69% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30333-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30333-02.html index 3ff3e36744..1d5371aabd 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30333-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30333-02.html @@ -1,9 +1,3 @@ -<html> - -<body> -Guard Praga:<br> +<html><body>Guard Praga:<br> You still haven't found my mother's pendant? I'm sorry, but until then I cannot give you the book. I'm busy, so please excuse me. - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30333-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30333-03.html similarity index 83% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30333-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30333-03.html index 79c52450ad..f2f1e16791 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30333-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30333-03.html @@ -1,10 +1,4 @@ -<html> - -<body> -Guard Praga:<br> +<html><body>Guard Praga:<br> Yes! Yes, this is the pendant. I thought I had lost it forever ... thank you so much! My mother, who is with the gods, will also be pleased ...<br> Oh yes! Here is the book you were looking for. I didn't notice it was blasphemy. Strange ... Did the church say that it was heresy? How strange ... - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30333-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30333-04.html similarity index 73% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30333-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30333-04.html index db81f2011e..4ec437d46f 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30333-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30333-04.html @@ -1,9 +1,3 @@ -<html> - -<body> -Guard Praga:<br> +<html><body>Guard Praga:<br> Thank you for finding my mother's pendant. And by the way, what did you do with that forbidden book that you took last time? Did you burn it or something? - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30408-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30408-01.html similarity index 74% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30408-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30408-01.html index d4c6cc809e..22ecad9b69 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30408-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30408-01.html @@ -1,11 +1,5 @@ -<html> - -<body> -Lionel:<br> -What? The church designated my book as a forbidden book? This is truly too much! Have you read my book? I was disappointed with the profession of Priest, which only focused on formalities. I gave up the profession and wrote my understanding of miracles as objectively as possible, as they occur beyond the positions of Priest or Human Crusader. And now it is being treated like this!<br> +<html><body>Lionel:<br> +What? The church designated my book as a forbidden book? This is truly too much! Have you read my book? I was disappointed with the profession of Priest, which only focused on formalities. I gave up the profession and wrote my understanding of miracles as objectively as possible, as they occur beyond the positions of Priest or Prophet. And now it is being treated like this!<br> However... I cannot stand alone against those who hold all the power of the church...<br> -Please take pity on me and do me one favor. The church will burn all the books they have collected but I don't want the book I spent my heart and soul writing to disappear forever. Please<font color="LEVEL"> give this last book to Gallint at Einhovant's School of Wizardry</font>. He taught me the importance of knowledge. If he puts the book in safekeeping, it may not become known to the world, but it will be preserved forever. Please, I beg you. - - -</body> -</html> \ No newline at end of file +Please take pity on me and do me one favor. The church will burn all the books they have collected but I don't want the book I spent my heart and soul writing to disappear forever. Please <font color="LEVEL">give this last book to Gallint at Einhovant's School of Wizardry</font>. He taught me the importance of knowledge. If he puts the book in safekeeping, it may not become known to the world, but it will be preserved forever. Please, I beg you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30408-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30408-02.html similarity index 61% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30408-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30408-02.html index ec7ec07f6a..19986f273d 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30408-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30408-02.html @@ -1,9 +1,3 @@ -<html> - -<body> -Lionel:<br> +<html><body>Lionel:<br> Get out of my sight! How dare you spread false rumors that my books are forbidden! - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30408-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30408-03.html similarity index 78% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30408-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30408-03.html index 10696da4ce..17fc8b8086 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30408-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30408-03.html @@ -1,9 +1,3 @@ -<html> - -<body> -Lionel:<br> +<html><body>Lionel:<br> <font color="LEVEL">Please give my book to Galint</font> of the Einhovant School of Witchcraft and Wizardry! I will never forget your kindness. Please do not breathe a word of this to anyone! - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30408-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30408-04.html similarity index 79% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30408-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30408-04.html index 5e50af7367..2f8b92e4a0 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30408-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30408-04.html @@ -1,10 +1,4 @@ -<html> - -<body> -Lionel:<br> +<html><body>Lionel:<br> Thank you so much. I will repay your kindness without fail.<br> The covenant is here. The dogmatic High Priests will be content with this. Bah! Rascals of the church! I will pay back my debt to them someday! - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30408-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30408-05.html similarity index 65% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30408-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30408-05.html index f1635398f9..a0b4234963 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30408-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/30408-05.html @@ -1,9 +1,3 @@ -<html> - -<body> -Lionel:<br> +<html><body>Lionel:<br> I can't believe my academic studies are disturbed because of the dogmatic high priests ... humph! - - -</body> -</html> \ No newline at end of file +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/Q00405_PathOfTheCleric.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/Q00405_PathOfTheCleric.java new file mode 100644 index 0000000000..cc583044ac --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00405_PathOfTheCleric/Q00405_PathOfTheCleric.java @@ -0,0 +1,328 @@ +/* + * 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.Q00405_PathOfTheCleric; + +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.quest.Quest; +import com.l2jserver.gameserver.model.quest.QuestState; +import com.l2jserver.gameserver.network.serverpackets.SocialAction; +import com.l2jserver.gameserver.util.Util; + +/** + * Path Of The Cleric (405) + * @author ivantotov + */ +public final class Q00405_PathOfTheCleric extends Quest +{ + // NPCs + private static final int GALLINT = 30017; + private static final int ZIGAUNT = 30022; + private static final int VIVYAN = 30030; + private static final int TRADER_SIMPLON = 30253; + private static final int GUARD_PRAGA = 30333; + private static final int LIONEL = 30408; + // Items + private static final int LETTER_OF_ORDER_1ST = 1191; + private static final int LETTER_OF_ORDER_2ND = 1192; + private static final int LIONELS_BOOK = 1193; + private static final int BOOK_OF_VIVYAN = 1194; + private static final int BOOK_OF_SIMPLON = 1195; + private static final int BOOK_OF_PRAGA = 1196; + private static final int CERTIFICATE_OF_GALLINT = 1197; + private static final int PENDANT_OF_MOTHER = 1198; + private static final int NECKLACE_OF_MOTHER = 1199; + private static final int LEMONIELLS_COVENANT = 1200; + // Reward + private static final int MARK_OF_FAITH = 1201; + // Monster + private static final int RUIN_ZOMBIE = 20026; + private static final int RUIN_ZOMBIE_LEADER = 20029; + // Misc + private static final int MIN_LEVEL = 18; + + public Q00405_PathOfTheCleric() + { + super(405, Q00405_PathOfTheCleric.class.getSimpleName(), "Path Of The Cleric"); + addStartNpc(ZIGAUNT); + addTalkId(ZIGAUNT, GALLINT, VIVYAN, TRADER_SIMPLON, GUARD_PRAGA, LIONEL); + addKillId(RUIN_ZOMBIE, RUIN_ZOMBIE_LEADER); + registerQuestItems(LETTER_OF_ORDER_1ST, LETTER_OF_ORDER_2ND, LIONELS_BOOK, BOOK_OF_VIVYAN, BOOK_OF_SIMPLON, BOOK_OF_PRAGA, CERTIFICATE_OF_GALLINT, PENDANT_OF_MOTHER, NECKLACE_OF_MOTHER, LEMONIELLS_COVENANT); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "ACCEPT": + { + if (player.getClassId() == ClassId.mage) + { + if (player.getLevel() >= MIN_LEVEL) + { + if (hasQuestItems(player, MARK_OF_FAITH)) + { + htmltext = "30022-04.htm"; + } + else + { + qs.startQuest(); + giveItems(player, LETTER_OF_ORDER_1ST, 1); + htmltext = "30022-05.htm"; + } + } + else + { + htmltext = "30022-03.htm"; + } + } + else if (player.getClassId() == ClassId.cleric) + { + htmltext = "30022-02a.htm"; + } + else + { + htmltext = "30022-02.htm"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && qs.isStarted() && Util.checkIfInRange(1500, npc, killer, true)) + { + if (hasQuestItems(killer, NECKLACE_OF_MOTHER) && !hasQuestItems(killer, PENDANT_OF_MOTHER)) + { + giveItems(killer, PENDANT_OF_MOTHER, 1); + playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + if (qs.isCreated() || qs.isCompleted()) + { + if (npc.getId() == ZIGAUNT) + { + if (!hasQuestItems(player, MARK_OF_FAITH)) + { + htmltext = "30022-01.htm"; + } + else + { + htmltext = "30022-04.htm"; + } + } + } + else if (qs.isStarted()) + { + switch (npc.getId()) + { + case ZIGAUNT: + { + if (!hasQuestItems(player, LEMONIELLS_COVENANT) && hasQuestItems(player, LETTER_OF_ORDER_2ND)) + { + htmltext = "30022-07.html"; + } + else if (hasQuestItems(player, LETTER_OF_ORDER_2ND, LEMONIELLS_COVENANT)) + { + giveAdena(player, 163800, true); + takeItems(player, LETTER_OF_ORDER_2ND, 1); + takeItems(player, LEMONIELLS_COVENANT, 1); + giveItems(player, MARK_OF_FAITH, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 320534, 23152); + } + else if (level == 19) + { + addExpAndSp(player, 456128, 28630); + } + else + { + addExpAndSp(player, 591724, 35328); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = "30022-09.html"; + } + else if (hasQuestItems(player, LETTER_OF_ORDER_1ST)) + { + if (hasQuestItems(player, BOOK_OF_VIVYAN, BOOK_OF_SIMPLON, BOOK_OF_PRAGA)) + { + takeItems(player, LETTER_OF_ORDER_1ST, 1); + giveItems(player, LETTER_OF_ORDER_2ND, 1); + takeItems(player, BOOK_OF_VIVYAN, 1); + takeItems(player, BOOK_OF_SIMPLON, -1); + takeItems(player, BOOK_OF_PRAGA, 1); + qs.setCond(3, true); + htmltext = "30022-08.html"; + } + else + { + htmltext = "30022-06.html"; + } + } + break; + } + case GALLINT: + { + if (!hasQuestItems(player, LEMONIELLS_COVENANT) && hasQuestItems(player, LETTER_OF_ORDER_2ND)) + { + if (!hasQuestItems(player, CERTIFICATE_OF_GALLINT) && hasQuestItems(player, LIONELS_BOOK)) + { + takeItems(player, LIONELS_BOOK, 1); + giveItems(player, CERTIFICATE_OF_GALLINT, 1); + qs.setCond(5, true); + htmltext = "30017-01.html"; + } + else + { + htmltext = "30017-02.html"; + } + } + break; + } + case VIVYAN: + { + if (hasQuestItems(player, LETTER_OF_ORDER_1ST)) + { + if (!hasQuestItems(player, BOOK_OF_VIVYAN)) + { + giveItems(player, BOOK_OF_VIVYAN, 1); + if ((getQuestItemsCount(player, BOOK_OF_SIMPLON) >= 3) && (getQuestItemsCount(player, BOOK_OF_VIVYAN) >= 0) && (getQuestItemsCount(player, BOOK_OF_PRAGA) >= 1)) + { + qs.setCond(2, true); + } + htmltext = "30030-01.html"; + } + else + { + htmltext = "30030-02.html"; + } + } + break; + } + case TRADER_SIMPLON: + { + if (hasQuestItems(player, LETTER_OF_ORDER_1ST)) + { + if (!hasQuestItems(player, BOOK_OF_SIMPLON)) + { + giveItems(player, BOOK_OF_SIMPLON, 3); + if ((getQuestItemsCount(player, BOOK_OF_SIMPLON) >= 0) && (getQuestItemsCount(player, BOOK_OF_VIVYAN) >= 1) && (getQuestItemsCount(player, BOOK_OF_PRAGA) >= 1)) + { + qs.setCond(2, true); + } + htmltext = "30253-01.html"; + } + else + { + htmltext = "30253-02.html"; + } + } + break; + } + case GUARD_PRAGA: + { + if (hasQuestItems(player, LETTER_OF_ORDER_1ST)) + { + if (!hasAtLeastOneQuestItem(player, BOOK_OF_PRAGA, NECKLACE_OF_MOTHER)) + { + giveItems(player, NECKLACE_OF_MOTHER, 1); + htmltext = "30333-01.html"; + } + else if (!hasAtLeastOneQuestItem(player, BOOK_OF_PRAGA, PENDANT_OF_MOTHER) && hasQuestItems(player, NECKLACE_OF_MOTHER)) + { + htmltext = "30333-02.html"; + } + else if (!hasQuestItems(player, BOOK_OF_PRAGA) && hasQuestItems(player, NECKLACE_OF_MOTHER, PENDANT_OF_MOTHER)) + { + giveItems(player, BOOK_OF_PRAGA, 1); + takeItems(player, PENDANT_OF_MOTHER, 1); + takeItems(player, NECKLACE_OF_MOTHER, 1); + if ((getQuestItemsCount(player, BOOK_OF_SIMPLON) >= 3) && (getQuestItemsCount(player, BOOK_OF_VIVYAN) >= 1) && (getQuestItemsCount(player, BOOK_OF_PRAGA) >= 0)) + { + qs.setCond(2, true); + } + htmltext = "30333-03.html"; + } + else if (hasQuestItems(player, BOOK_OF_PRAGA)) + { + htmltext = "30333-04.html"; + } + } + break; + } + case LIONEL: + { + if (!hasQuestItems(player, LETTER_OF_ORDER_2ND)) + { + htmltext = "30408-02.html"; + } + else if (!hasAtLeastOneQuestItem(player, LIONELS_BOOK, LEMONIELLS_COVENANT, CERTIFICATE_OF_GALLINT) && hasQuestItems(player, LETTER_OF_ORDER_2ND)) + { + giveItems(player, LIONELS_BOOK, 1); + qs.setCond(4, true); + htmltext = "30408-01.html"; + } + else if (!hasAtLeastOneQuestItem(player, LEMONIELLS_COVENANT, CERTIFICATE_OF_GALLINT) && hasQuestItems(player, LETTER_OF_ORDER_2ND, LIONELS_BOOK)) + { + htmltext = "30408-03.html"; + } + else if (!hasAtLeastOneQuestItem(player, LIONELS_BOOK, LEMONIELLS_COVENANT) && hasQuestItems(player, LETTER_OF_ORDER_2ND, CERTIFICATE_OF_GALLINT)) + { + takeItems(player, CERTIFICATE_OF_GALLINT, 1); + giveItems(player, LEMONIELLS_COVENANT, 1); + qs.setCond(6, true); + htmltext = "30408-04.html"; + } + else if (!hasAtLeastOneQuestItem(player, LIONELS_BOOK, CERTIFICATE_OF_GALLINT) && hasQuestItems(player, LETTER_OF_ORDER_2ND, LEMONIELLS_COVENANT)) + { + htmltext = "30408-05.html"; + } + break; + } + } + } + return htmltext; + } +} \ No newline at end of file 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 3ccece7fac..91560f95bd 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -70,6 +70,7 @@ import quests.Q00050_LanoscosSpecialBait.Q00050_LanoscosSpecialBait; import quests.Q00051_OFullesSpecialBait.Q00051_OFullesSpecialBait; import quests.Q00052_WilliesSpecialBait.Q00052_WilliesSpecialBait; import quests.Q00053_LinnaeusSpecialBait.Q00053_LinnaeusSpecialBait; +import quests.Q00062_PathOfTheTrooper.Q00062_PathOfTheTrooper; import quests.Q00101_SwordOfSolidarity.Q00101_SwordOfSolidarity; import quests.Q00102_SeaOfSporesFever.Q00102_SeaOfSporesFever; import quests.Q00103_SpiritOfCraftsman.Q00103_SpiritOfCraftsman; @@ -252,6 +253,10 @@ import quests.Q00381_LetsBecomeARoyalMember.Q00381_LetsBecomeARoyalMember; import quests.Q00382_KailsMagicCoin.Q00382_KailsMagicCoin; import quests.Q00385_YokeOfThePast.Q00385_YokeOfThePast; import quests.Q00401_PathToWarrior.Q00401_PathToWarrior; +import quests.Q00402_PathOfTheHumanKnight.Q00402_PathOfTheHumanKnight; +import quests.Q00403_PathOfTheRogue.Q00403_PathOfTheRogue; +import quests.Q00404_PathOfTheHumanWizard.Q00404_PathOfTheHumanWizard; +import quests.Q00405_PathOfTheCleric.Q00405_PathOfTheCleric; import quests.Q00407_PathOfTheElvenScout.Q00407_PathOfTheElvenScout; import quests.Q00416_PathOfTheOrcShaman.Q00416_PathOfTheOrcShaman; import quests.Q00420_LittleWing.Q00420_LittleWing; @@ -437,6 +442,7 @@ public class QuestMasterHandler Q00051_OFullesSpecialBait.class, Q00052_WilliesSpecialBait.class, Q00053_LinnaeusSpecialBait.class, + Q00062_PathOfTheTrooper.class, Q00101_SwordOfSolidarity.class, Q00102_SeaOfSporesFever.class, Q00103_SpiritOfCraftsman.class, @@ -619,6 +625,10 @@ public class QuestMasterHandler Q00382_KailsMagicCoin.class, Q00385_YokeOfThePast.class, Q00401_PathToWarrior.class, + Q00402_PathOfTheHumanKnight.class, + Q00403_PathOfTheRogue.class, + Q00404_PathOfTheHumanWizard.class, + Q00405_PathOfTheCleric.class, Q00407_PathOfTheElvenScout.class, Q00416_PathOfTheOrcShaman.class, Q00420_LittleWing.class, -- GitLab