From 758fb541aa60c5eeb6d968d6fc46b713c820cf3d Mon Sep 17 00:00:00 2001 From: ivantotov <gmtotov@gmail.com> Date: Sat, 23 Aug 2014 21:25:03 +0000 Subject: [PATCH] BETA: Few quests convert from py to Java: .(408) Path Of The Elven Wizard .(409) Path Of The Elven Oracle .(410) Path Of The Palus Knight .(411) Path Of The Assassin .(412) Path Of The Dark Wizard .(413) Path Of The Shillien Oracle Reviewed by Zoey76 --- L2J_DataPack_BETA/dist/game/data/scripts.cfg | 6 - .../quests/408_PathToElvenwizard/30157-01.htm | 12 - .../quests/408_PathToElvenwizard/30157-02.htm | 11 - .../quests/408_PathToElvenwizard/30157-03.htm | 10 - .../quests/408_PathToElvenwizard/30157-04.htm | 11 - .../quests/408_PathToElvenwizard/30371-04.htm | 12 - .../408_PathToElvenwizard/30414-02a.htm | 9 - .../quests/408_PathToElvenwizard/30414-04.htm | 9 - .../quests/408_PathToElvenwizard/30414-06.htm | 15 - .../quests/408_PathToElvenwizard/30414-07.htm | 10 - .../quests/408_PathToElvenwizard/30414-08.htm | 9 - .../quests/408_PathToElvenwizard/30414-09.htm | 9 - .../quests/408_PathToElvenwizard/30414-10.htm | 9 - .../quests/408_PathToElvenwizard/30414-11.htm | 14 - .../quests/408_PathToElvenwizard/30414-13.htm | 11 - .../quests/408_PathToElvenwizard/30414-14.htm | 11 - .../quests/408_PathToElvenwizard/30414-15.htm | 11 - .../quests/408_PathToElvenwizard/30414-16.htm | 10 - .../quests/408_PathToElvenwizard/30414-17.htm | 10 - .../quests/408_PathToElvenwizard/30414-19.htm | 11 - .../quests/408_PathToElvenwizard/30414-20.htm | 10 - .../quests/408_PathToElvenwizard/30414-24.htm | 12 - .../quests/408_PathToElvenwizard/30414-25.htm | 10 - .../quests/408_PathToElvenwizard/30414-27.htm | 10 - .../quests/408_PathToElvenwizard/30423-01.htm | 12 - .../quests/408_PathToElvenwizard/30423-02.htm | 10 - .../quests/408_PathToElvenwizard/__init__.py | 224 --------- .../quests/409_PathToOracle/30293-03.htm | 10 - .../quests/409_PathToOracle/30424-01.htm | 9 - .../quests/409_PathToOracle/30424-02.htm | 12 - .../quests/409_PathToOracle/30424-05.htm | 10 - .../quests/409_PathToOracle/30424-06.htm | 9 - .../quests/409_PathToOracle/30424-07.htm | 5 - .../quests/409_PathToOracle/30424-08.htm | 5 - .../quests/409_PathToOracle/30428-02.htm | 11 - .../quests/409_PathToOracle/30428-03.htm | 11 - .../quests/409_PathToOracle/__init__.py | 183 -------- .../quests/410_PathToPalusKnight/30329-02.htm | 3 - .../quests/410_PathToPalusKnight/30329-04.htm | 3 - .../quests/410_PathToPalusKnight/30329-05.htm | 4 - .../quests/410_PathToPalusKnight/30329-09.htm | 6 - .../quests/410_PathToPalusKnight/30329-10.htm | 4 - .../quests/410_PathToPalusKnight/30329-12.htm | 3 - .../quests/410_PathToPalusKnight/30422-03.htm | 5 - .../quests/410_PathToPalusKnight/30422-04.htm | 3 - .../quests/410_PathToPalusKnight/__init__.py | 172 ------- .../quests/411_PathToAssassin/30382-01.htm | 10 - .../quests/411_PathToAssassin/30382-03.htm | 11 - .../quests/411_PathToAssassin/30382-05.htm | 9 - .../quests/411_PathToAssassin/30382-08.htm | 10 - .../quests/411_PathToAssassin/30382-09.htm | 9 - .../quests/411_PathToAssassin/30416-01.htm | 11 - .../quests/411_PathToAssassin/30416-03.htm | 9 - .../quests/411_PathToAssassin/30416-04.htm | 9 - .../quests/411_PathToAssassin/30416-05.htm | 10 - .../quests/411_PathToAssassin/30416-07.htm | 9 - .../quests/411_PathToAssassin/30416-08.htm | 9 - .../quests/411_PathToAssassin/30416-09.htm | 9 - .../quests/411_PathToAssassin/30416-10.htm | 9 - .../quests/411_PathToAssassin/30416-11.htm | 9 - .../quests/411_PathToAssassin/30419-01.htm | 11 - .../quests/411_PathToAssassin/30419-02.htm | 13 - .../quests/411_PathToAssassin/30419-04.htm | 14 - .../quests/411_PathToAssassin/30419-08.htm | 9 - .../quests/411_PathToAssassin/30419-09.htm | 9 - .../quests/411_PathToAssassin/__init__.py | 176 ------- .../quests/412_PathToDarkwizard/30415-03.htm | 10 - .../quests/412_PathToDarkwizard/30415-04.htm | 10 - .../quests/412_PathToDarkwizard/30418-03.htm | 9 - .../quests/412_PathToDarkwizard/30419-02.htm | 9 - .../quests/412_PathToDarkwizard/30419-03.htm | 10 - .../quests/412_PathToDarkwizard/30421-02.htm | 9 - .../quests/412_PathToDarkwizard/30421-04.htm | 10 - .../quests/412_PathToDarkwizard/30421-06.htm | 9 - .../quests/412_PathToDarkwizard/30421-07.htm | 10 - .../quests/412_PathToDarkwizard/30421-09.htm | 9 - .../quests/412_PathToDarkwizard/30421-12.htm | 9 - .../quests/412_PathToDarkwizard/30421-13.htm | 9 - .../quests/412_PathToDarkwizard/30421-16.htm | 10 - .../quests/412_PathToDarkwizard/__init__.py | 224 --------- .../413_PathToShillienOracle/30330-02.htm | 9 - .../413_PathToShillienOracle/30330-04.htm | 9 - .../413_PathToShillienOracle/30330-05.htm | 10 - .../413_PathToShillienOracle/30330-07.htm | 9 - .../413_PathToShillienOracle/30330-08.htm | 9 - .../413_PathToShillienOracle/30330-09.htm | 9 - .../413_PathToShillienOracle/30330-10.htm | 10 - .../413_PathToShillienOracle/30375-01.htm | 10 - .../413_PathToShillienOracle/30375-06.htm | 9 - .../413_PathToShillienOracle/30377-03.htm | 9 - .../413_PathToShillienOracle/30377-04.htm | 9 - .../413_PathToShillienOracle/30377-05.htm | 11 - .../413_PathToShillienOracle/__init__.py | 207 -------- .../Q00408_PathOfTheElvenWizard/30157-01.html | 6 + .../Q00408_PathOfTheElvenWizard/30157-02.html | 5 + .../Q00408_PathOfTheElvenWizard/30157-03.html | 4 + .../Q00408_PathOfTheElvenWizard/30157-04.html | 5 + .../30371-01.html} | 17 +- .../30371-02.html} | 15 +- .../30371-03.html} | 13 +- .../Q00408_PathOfTheElvenWizard/30371-04.html | 5 + .../30414-01.htm | 16 +- .../30414-02.htm | 10 +- .../Q00408_PathOfTheElvenWizard/30414-02a.htm | 3 + .../30414-03.htm | 10 +- .../Q00408_PathOfTheElvenWizard/30414-04.htm | 5 + .../30414-05.htm | 12 +- .../Q00408_PathOfTheElvenWizard/30414-06.htm | 8 + .../Q00408_PathOfTheElvenWizard/30414-07.html | 3 + .../Q00408_PathOfTheElvenWizard/30414-08.html | 3 + .../Q00408_PathOfTheElvenWizard/30414-09.html | 3 + .../Q00408_PathOfTheElvenWizard/30414-10.html | 3 + .../Q00408_PathOfTheElvenWizard/30414-11.html | 7 + .../Q00408_PathOfTheElvenWizard/30414-12.html | 4 + .../Q00408_PathOfTheElvenWizard/30414-13.html | 4 + .../Q00408_PathOfTheElvenWizard/30414-14.html | 4 + .../Q00408_PathOfTheElvenWizard/30414-15.html | 3 + .../Q00408_PathOfTheElvenWizard/30414-16.html | 3 + .../30414-17.html} | 15 +- .../Q00408_PathOfTheElvenWizard/30414-18.html | 4 + .../Q00408_PathOfTheElvenWizard/30414-19.html | 3 + .../Q00408_PathOfTheElvenWizard/30414-20.html | 5 + .../Q00408_PathOfTheElvenWizard/30414-21.html | 3 + .../30414-22.html} | 13 +- .../Q00408_PathOfTheElvenWizard/30414-23.html | 3 + .../Q00408_PathOfTheElvenWizard/30423-01.html | 6 + .../Q00408_PathOfTheElvenWizard/30423-02.html | 3 + .../30423-03.html} | 14 +- .../Q00408_PathOfTheElvenWizard.java | 442 ++++++++++++++++++ .../30293-01.htm | 14 +- .../30293-02.htm | 11 +- .../30293-02a.htm | 10 +- .../Q00409_PathOfTheElvenOracle/30293-03.htm | 5 + .../30293-04.htm | 10 +- .../30293-05.htm | 12 +- .../30293-06.html} | 10 +- .../30293-07.html} | 11 +- .../30293-08.html} | 12 +- .../30293-09.html} | 11 +- .../Q00409_PathOfTheElvenOracle/30424-01.html | 5 + .../Q00409_PathOfTheElvenOracle/30424-02.html | 5 + .../30424-03.html} | 10 +- .../30424-04.html} | 10 +- .../Q00409_PathOfTheElvenOracle/30424-05.html | 3 + .../Q00409_PathOfTheElvenOracle/30424-06.html | 3 + .../Q00409_PathOfTheElvenOracle/30424-07.html | 5 + .../Q00409_PathOfTheElvenOracle/30424-08.html | 7 + .../30424-09.html} | 2 +- .../30428-01.html} | 12 +- .../Q00409_PathOfTheElvenOracle/30428-02.html | 5 + .../Q00409_PathOfTheElvenOracle/30428-03.html | 5 + .../30428-04.html} | 10 +- .../30428-05.html} | 10 +- .../30428-06.html} | 10 +- .../Q00409_PathOfTheElvenOracle.java | 420 +++++++++++++++++ .../30329-01.htm | 6 +- .../Q00410_PathOfThePalusKnight/30329-02.htm | 4 + .../30329-02a.htm | 0 .../30329-03.htm | 0 .../Q00410_PathOfThePalusKnight/30329-04.htm | 3 + .../Q00410_PathOfThePalusKnight/30329-05.htm | 4 + .../30329-06.htm | 6 +- .../30329-07.html} | 2 +- .../30329-08.html} | 2 +- .../Q00410_PathOfThePalusKnight/30329-09.html | 6 + .../Q00410_PathOfThePalusKnight/30329-10.html | 4 + .../30329-11.html} | 4 +- .../Q00410_PathOfThePalusKnight/30329-12.html | 3 + .../30422-01.html} | 6 +- .../30422-02.html} | 3 +- .../Q00410_PathOfThePalusKnight/30422-03.html | 5 + .../Q00410_PathOfThePalusKnight/30422-04.html | 3 + .../30422-05.html} | 2 +- .../30422-06.html} | 2 +- .../Q00410_PathOfThePalusKnight.java | 310 ++++++++++++ .../Q00411_PathOfTheAssassin/30382-01.html | 4 + .../30382-02.html} | 14 +- .../Q00411_PathOfTheAssassin/30382-03.html | 5 + .../30382-04.html} | 10 +- .../Q00411_PathOfTheAssassin/30382-05.html | 3 + .../30382-06.html} | 12 +- .../30382-07.html} | 12 +- .../Q00411_PathOfTheAssassin/30382-08.html | 4 + .../Q00411_PathOfTheAssassin/30382-09.html | 3 + .../Q00411_PathOfTheAssassin/30416-01.htm | 4 + .../30416-02.htm | 10 +- .../30416-02a.htm | 10 +- .../Q00411_PathOfTheAssassin/30416-03.htm | 4 + .../Q00411_PathOfTheAssassin/30416-04.htm | 3 + .../Q00411_PathOfTheAssassin/30416-05.htm | 4 + .../30416-06.html} | 0 .../Q00411_PathOfTheAssassin/30416-07.html | 3 + .../Q00411_PathOfTheAssassin/30416-08.html | 3 + .../Q00411_PathOfTheAssassin/30416-09.html | 3 + .../Q00411_PathOfTheAssassin/30416-10.html | 3 + .../Q00411_PathOfTheAssassin/30416-11.html | 3 + .../Q00411_PathOfTheAssassin/30419-01.html | 5 + .../Q00411_PathOfTheAssassin/30419-02.html | 7 + .../30419-03.html} | 10 +- .../Q00411_PathOfTheAssassin/30419-04.html | 6 + .../30419-05.html} | 12 +- .../30419-06.html} | 10 +- .../30419-07.html} | 10 +- .../Q00411_PathOfTheAssassin/30419-08.html | 3 + .../Q00411_PathOfTheAssassin/30419-09.html | 3 + .../30419-10.html} | 10 +- .../30419-11.html} | 10 +- .../Q00411_PathOfTheAssassin.java | 325 +++++++++++++ .../30415-01.html} | 12 +- .../Q00412_PathOfTheDarkWizard/30415-02.html | 7 + .../Q00412_PathOfTheDarkWizard/30415-03.html | 4 + .../Q00412_PathOfTheDarkWizard/30415-04.html | 4 + .../30415-05.html} | 12 +- .../30415-06.html} | 10 +- .../30418-01.html} | 12 +- .../30418-02.html} | 12 +- .../Q00412_PathOfTheDarkWizard/30418-03.html | 3 + .../30418-04.html} | 12 +- .../30419-01.html} | 12 +- .../Q00412_PathOfTheDarkWizard/30419-02.html | 3 + .../Q00412_PathOfTheDarkWizard/30419-03.html | 4 + .../30421-01.htm | 12 +- .../Q00412_PathOfTheDarkWizard/30421-02.htm | 3 + .../30421-02a.htm | 10 +- .../30421-03.htm | 10 +- .../Q00412_PathOfTheDarkWizard/30421-04.htm | 4 + .../30421-05.htm | 21 +- .../Q00412_PathOfTheDarkWizard/30421-06.html | 3 + .../Q00412_PathOfTheDarkWizard/30421-07.html | 3 + .../30421-08.html} | 12 +- .../Q00412_PathOfTheDarkWizard/30421-09.html | 3 + .../30421-10.html} | 12 +- .../Q00412_PathOfTheDarkWizard/30421-11.html | 3 + .../Q00412_PathOfTheDarkWizard/30421-12.html | 3 + .../Q00412_PathOfTheDarkWizard/30421-13.html | 5 + .../30421-14.html} | 16 +- .../30421-15.html} | 12 +- .../Q00412_PathOfTheDarkWizard.java | 389 +++++++++++++++ .../30330-01.htm | 12 +- .../30330-02.htm | 4 + .../30330-02a.htm | 10 +- .../30330-03.htm | 10 +- .../30330-04.htm | 3 + .../30330-05.htm | 4 + .../30330-06.htm | 10 +- .../30330-06a.html} | 4 +- .../30330-07.html | 3 + .../30330-08.html | 3 + .../30330-09.html | 3 + .../30330-10.html | 4 + .../30375-01.html | 4 + .../30375-02.html} | 12 +- .../30375-03.html} | 12 +- .../30375-04.html} | 12 +- .../30375-05.html} | 12 +- .../30375-06.html | 3 + .../30375-07.html} | 12 +- .../30375-08.html} | 10 +- .../30377-01.html} | 12 +- .../30377-02.html} | 15 +- .../30377-03.html | 3 + .../30377-04.html | 3 + .../30377-05.html | 5 + .../30377-06.html} | 10 +- .../30377-07.html} | 12 +- .../Q00413_PathOfTheShillienOracle.java | 324 +++++++++++++ .../scripts/quests/QuestMasterHandler.java | 12 + .../dist/sql/game/updates/20140824update.sql | 6 + 268 files changed, 2784 insertions(+), 2604 deletions(-) delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30157-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30157-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30157-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30157-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30371-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-02a.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-06.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-07.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-08.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-09.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-10.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-11.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-13.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-14.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-15.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-16.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-17.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-19.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-20.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-24.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-25.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-27.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30423-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30423-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/__init__.py delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-05.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-06.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-07.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-08.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/__init__.py delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-05.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-09.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-10.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-12.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/__init__.py delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-05.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-08.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-09.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-05.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-07.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-08.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-09.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-10.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-11.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-08.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-09.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/__init__.py delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30418-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30419-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30419-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-06.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-07.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-09.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-12.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-13.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-16.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/__init__.py delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-02.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-05.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-07.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-08.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-09.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-10.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-01.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-06.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-03.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-04.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-05.htm delete mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/__init__.py create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30157-01.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30157-02.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30157-03.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30157-04.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{408_PathToElvenwizard/30371-01.htm => Q00408_PathOfTheElvenWizard/30371-01.html} (53%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{408_PathToElvenwizard/30371-02.htm => Q00408_PathOfTheElvenWizard/30371-02.html} (61%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{408_PathToElvenwizard/30371-03.htm => Q00408_PathOfTheElvenWizard/30371-03.html} (76%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30371-04.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{408_PathToElvenwizard => Q00408_PathOfTheElvenWizard}/30414-01.htm (67%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{408_PathToElvenwizard => Q00408_PathOfTheElvenWizard}/30414-02.htm (65%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-02a.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{408_PathToElvenwizard => Q00408_PathOfTheElvenWizard}/30414-03.htm (80%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-04.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{408_PathToElvenwizard => Q00408_PathOfTheElvenWizard}/30414-05.htm (66%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-06.htm create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-07.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-08.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-09.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-10.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-11.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-12.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-13.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-14.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-15.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-16.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{408_PathToElvenwizard/30414-18.htm => Q00408_PathOfTheElvenWizard/30414-17.html} (70%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-18.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-19.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-20.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-21.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{408_PathToElvenwizard/30414-26.htm => Q00408_PathOfTheElvenWizard/30414-22.html} (67%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-23.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30423-01.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30423-02.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{408_PathToElvenwizard/30423-03.htm => Q00408_PathOfTheElvenWizard/30423-03.html} (60%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/Q00408_PathOfTheElvenWizard.java rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{409_PathToOracle => Q00409_PathOfTheElvenOracle}/30293-01.htm (76%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{409_PathToOracle => Q00409_PathOfTheElvenOracle}/30293-02.htm (68%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{409_PathToOracle => Q00409_PathOfTheElvenOracle}/30293-02a.htm (75%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-03.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{409_PathToOracle => Q00409_PathOfTheElvenOracle}/30293-04.htm (75%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{409_PathToOracle => Q00409_PathOfTheElvenOracle}/30293-05.htm (79%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{409_PathToOracle/30293-06.htm => Q00409_PathOfTheElvenOracle/30293-06.html} (80%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{409_PathToOracle/30293-07.htm => Q00409_PathOfTheElvenOracle/30293-07.html} (73%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{409_PathToOracle/30293-08.htm => Q00409_PathOfTheElvenOracle/30293-08.html} (79%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{409_PathToOracle/30293-09.htm => Q00409_PathOfTheElvenOracle/30293-09.html} (69%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-01.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-02.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{409_PathToOracle/30424-03.htm => Q00409_PathOfTheElvenOracle/30424-03.html} (66%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{409_PathToOracle/30424-04.htm => Q00409_PathOfTheElvenOracle/30424-04.html} (84%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-05.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-06.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-07.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-08.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{409_PathToOracle/30424-09.htm => Q00409_PathOfTheElvenOracle/30424-09.html} (85%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{409_PathToOracle/30428-01.htm => Q00409_PathOfTheElvenOracle/30428-01.html} (53%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-02.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-03.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{409_PathToOracle/30428-04.htm => Q00409_PathOfTheElvenOracle/30428-04.html} (73%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{409_PathToOracle/30428-05.htm => Q00409_PathOfTheElvenOracle/30428-05.html} (67%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{409_PathToOracle/30428-06.htm => Q00409_PathOfTheElvenOracle/30428-06.html} (64%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/Q00409_PathOfTheElvenOracle.java rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{410_PathToPalusKnight => Q00410_PathOfThePalusKnight}/30329-01.htm (77%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-02.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{410_PathToPalusKnight => Q00410_PathOfThePalusKnight}/30329-02a.htm (100%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{410_PathToPalusKnight => Q00410_PathOfThePalusKnight}/30329-03.htm (100%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-04.htm create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-05.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{410_PathToPalusKnight => Q00410_PathOfThePalusKnight}/30329-06.htm (81%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{410_PathToPalusKnight/30329-07.htm => Q00410_PathOfThePalusKnight/30329-07.html} (82%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{410_PathToPalusKnight/30329-08.htm => Q00410_PathOfThePalusKnight/30329-08.html} (82%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-09.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-10.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{410_PathToPalusKnight/30329-11.htm => Q00410_PathOfThePalusKnight/30329-11.html} (71%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-12.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{410_PathToPalusKnight/30422-01.htm => Q00410_PathOfThePalusKnight/30422-01.html} (57%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{410_PathToPalusKnight/30422-02.htm => Q00410_PathOfThePalusKnight/30422-02.html} (75%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-03.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-04.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{410_PathToPalusKnight/30422-05.htm => Q00410_PathOfThePalusKnight/30422-05.html} (83%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{410_PathToPalusKnight/30422-06.htm => Q00410_PathOfThePalusKnight/30422-06.html} (85%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/Q00410_PathOfThePalusKnight.java create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-01.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{411_PathToAssassin/30382-02.htm => Q00411_PathOfTheAssassin/30382-02.html} (61%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-03.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{411_PathToAssassin/30382-04.htm => Q00411_PathOfTheAssassin/30382-04.html} (71%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-05.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{411_PathToAssassin/30382-06.htm => Q00411_PathOfTheAssassin/30382-06.html} (52%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{411_PathToAssassin/30382-07.htm => Q00411_PathOfTheAssassin/30382-07.html} (71%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-08.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-09.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-01.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{411_PathToAssassin => Q00411_PathOfTheAssassin}/30416-02.htm (59%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{411_PathToAssassin => Q00411_PathOfTheAssassin}/30416-02a.htm (74%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-03.htm create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-04.htm create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-05.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{411_PathToAssassin/30416-06.htm => Q00411_PathOfTheAssassin/30416-06.html} (100%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-07.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-08.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-09.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-10.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-11.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-01.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-02.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{411_PathToAssassin/30419-03.htm => Q00411_PathOfTheAssassin/30419-03.html} (57%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-04.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{411_PathToAssassin/30419-05.htm => Q00411_PathOfTheAssassin/30419-05.html} (64%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{411_PathToAssassin/30419-06.htm => Q00411_PathOfTheAssassin/30419-06.html} (53%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{411_PathToAssassin/30419-07.htm => Q00411_PathOfTheAssassin/30419-07.html} (54%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-08.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-09.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{411_PathToAssassin/30419-10.htm => Q00411_PathOfTheAssassin/30419-10.html} (65%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{411_PathToAssassin/30419-11.htm => Q00411_PathOfTheAssassin/30419-11.html} (66%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/Q00411_PathOfTheAssassin.java rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{412_PathToDarkwizard/30415-01.htm => Q00412_PathOfTheDarkWizard/30415-01.html} (65%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-02.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-03.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-04.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{412_PathToDarkwizard/30415-05.htm => Q00412_PathOfTheDarkWizard/30415-05.html} (74%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{412_PathToDarkwizard/30415-06.htm => Q00412_PathOfTheDarkWizard/30415-06.html} (72%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{412_PathToDarkwizard/30418-01.htm => Q00412_PathOfTheDarkWizard/30418-01.html} (81%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{412_PathToDarkwizard/30418-02.htm => Q00412_PathOfTheDarkWizard/30418-02.html} (64%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30418-03.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{412_PathToDarkwizard/30418-04.htm => Q00412_PathOfTheDarkWizard/30418-04.html} (65%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{412_PathToDarkwizard/30419-01.htm => Q00412_PathOfTheDarkWizard/30419-01.html} (73%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30419-02.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30419-03.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{412_PathToDarkwizard => Q00412_PathOfTheDarkWizard}/30421-01.htm (68%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-02.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{412_PathToDarkwizard => Q00412_PathOfTheDarkWizard}/30421-02a.htm (70%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{412_PathToDarkwizard => Q00412_PathOfTheDarkWizard}/30421-03.htm (66%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-04.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{412_PathToDarkwizard => Q00412_PathOfTheDarkWizard}/30421-05.htm (55%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-06.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-07.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{412_PathToDarkwizard/30421-08.htm => Q00412_PathOfTheDarkWizard/30421-08.html} (52%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-09.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{412_PathToDarkwizard/30421-10.htm => Q00412_PathOfTheDarkWizard/30421-10.html} (66%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-11.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-12.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-13.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{412_PathToDarkwizard/30421-17.htm => Q00412_PathOfTheDarkWizard/30421-14.html} (60%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{412_PathToDarkwizard/30421-19.htm => Q00412_PathOfTheDarkWizard/30421-15.html} (54%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/Q00412_PathOfTheDarkWizard.java rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{413_PathToShillienOracle => Q00413_PathOfTheShillienOracle}/30330-01.htm (76%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-02.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{413_PathToShillienOracle => Q00413_PathOfTheShillienOracle}/30330-02a.htm (64%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{413_PathToShillienOracle => Q00413_PathOfTheShillienOracle}/30330-03.htm (69%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-04.htm create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-05.htm rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{413_PathToShillienOracle => Q00413_PathOfTheShillienOracle}/30330-06.htm (50%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{413_PathToShillienOracle/30330-06a.htm => Q00413_PathOfTheShillienOracle/30330-06a.html} (87%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-07.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-08.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-09.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-10.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-01.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{413_PathToShillienOracle/30375-02.htm => Q00413_PathOfTheShillienOracle/30375-02.html} (64%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{413_PathToShillienOracle/30375-03.htm => Q00413_PathOfTheShillienOracle/30375-03.html} (80%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{413_PathToShillienOracle/30375-04.htm => Q00413_PathOfTheShillienOracle/30375-04.html} (75%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{413_PathToShillienOracle/30375-05.htm => Q00413_PathOfTheShillienOracle/30375-05.html} (59%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-06.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{413_PathToShillienOracle/30375-07.htm => Q00413_PathOfTheShillienOracle/30375-07.html} (76%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{413_PathToShillienOracle/30375-08.htm => Q00413_PathOfTheShillienOracle/30375-08.html} (62%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{413_PathToShillienOracle/30377-01.htm => Q00413_PathOfTheShillienOracle/30377-01.html} (76%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{413_PathToShillienOracle/30377-02.htm => Q00413_PathOfTheShillienOracle/30377-02.html} (52%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-03.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-04.html create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-05.html rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{413_PathToShillienOracle/30377-06.htm => Q00413_PathOfTheShillienOracle/30377-06.html} (72%) rename L2J_DataPack_BETA/dist/game/data/scripts/quests/{413_PathToShillienOracle/30377-07.htm => Q00413_PathOfTheShillienOracle/30377-07.html} (56%) create mode 100644 L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/Q00413_PathOfTheShillienOracle.java create mode 100644 L2J_DataPack_BETA/dist/sql/game/updates/20140824update.sql diff --git a/L2J_DataPack_BETA/dist/game/data/scripts.cfg b/L2J_DataPack_BETA/dist/game/data/scripts.cfg index d3a0242a1a..594ab50bfa 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts.cfg +++ b/L2J_DataPack_BETA/dist/game/data/scripts.cfg @@ -266,12 +266,6 @@ quests/379_FantasyWine/__init__.py quests/383_SearchingForTreasure/__init__.py quests/384_WarehouseKeepersPastime/__init__.py quests/386_StolenDignity/__init__.py -quests/408_PathToElvenwizard/__init__.py -quests/409_PathToOracle/__init__.py -quests/410_PathToPalusKnight/__init__.py -quests/411_PathToAssassin/__init__.py -quests/412_PathToDarkwizard/__init__.py -quests/413_PathToShillienOracle/__init__.py quests/414_PathToOrcRaider/__init__.py quests/415_PathToOrcMonk/__init__.py quests/417_PathToScavenger/__init__.py diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30157-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30157-01.htm deleted file mode 100644 index 91edcd7c50..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30157-01.htm +++ /dev/null @@ -1,12 +0,0 @@ -<html> - -<body> -Sorceress Greenis:<br> -Ah... it is a letter from Rosella, my godmother. How is she? I have been so busy lately, I was unable to pay her a visit. I hope she doesn't think I am heartless. But you, I see you're searching for the Magical Powers Ruby. It symbolizes fire among people who study magic, right?<br> -The ruby is a jewel that has been the symbol of our family for two hundred years, so there is no one in Oren or Gludio that knows it better than I do. Originally, rubies could be extracted from the mines in the northern part of Gludio. However, they collapsed during the war with Gracia and not a trace remains.<br> -Since then, we have been unable to mine any more rubies in this area. Fortunately, I have a little bit of the magically powered ruby with me. However, being as precious as it is, I cannot give it to you for free, but I will give it to you if you do me one favor.<br> -<a action="bypass -h Quest 408_PathToElvenwizard 408_4">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/408_PathToElvenwizard/30157-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30157-02.htm deleted file mode 100644 index d7007832fa..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30157-02.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> -Sorceress Greenis:<br> -I knew you would help me. The magical powers ruby contains a fiery force, and it is a precious material for those who study Elemental Magic. Our family has been producing Mystics for generations, and we all benefit from the magically powered rubies.<br> -I hope to make more of these magical powers rubies, but I am short on one material. I need down from the neck area of the pincer spider, it's called<font color="LEVEL"> red down.</font>.<br> -Hunt pincer spiders and bring back five clumps of red down. Then I will give you a magical powers ruby. Here... let me give ou this. It is a talisman that I carry around for protection... It may be of some help to you. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30157-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30157-03.htm deleted file mode 100644 index 7a197b0c11..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30157-03.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Sorceress Greenis:<br> -<font color="LEVEL">Hunt pincer spiders and bring back five clumps of red down. Then, I will give you a magical powers ruby.</font><br> -Even Human Mystics use the ruby in their magical studies. The Wizards of the Ivory tower use the refined red dust for summoning elemental spirits. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30157-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30157-04.htm deleted file mode 100644 index 0f339b9746..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30157-04.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> -Sorceress Greenis:<br> -You have collected five clumps of red down. Now I can make a new magical powers rubies. I'm relieved that I can fulfill my duties.<br> -Next time, please come and watch how I make the magically powered ruby. I will tell you how it's made. Here, I will give you this magical powers ruby as a gift.<br> -And now there is a word of advice that I would like to give you. Don't be lazy in your magic studies once you become an Elven Wizard. When I was traveling near the Ivory Tower a long time ago, I heard that the high-level Mystics there spend twelve hours or more each day on their studies doing research. Studying is not everything, but there is a limit to what you can do through talent alone. I pray you'll develop your magical ability and enrich the proud heritage of the Elves. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30371-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30371-04.htm deleted file mode 100644 index 455093ea2f..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30371-04.htm +++ /dev/null @@ -1,12 +0,0 @@ -<html> - -<body> - -Thalia:<br> -You have found all 5 gold leaves, I see. In return, I will tell you about the pure aquamarine.<br> -The Mother Tree normally does not have any dew, but when the roots absorb the nutrition of the golden leaves, large, beautiful drops of dew form. On rare occasions, one can find a<font color="LEVEL"> pure aquamarine</font> among the dew.<br> -Here, take this pure aquamarine. I pray that you may safely pass your ritual. And do not forget... It is our responsibility to fill the forest and the plains with joyous music... When our songs fill the earth, the land will become a paradise. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-02a.htm deleted file mode 100644 index 95089f761d..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-02a.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Rosella:<br> -Looking again ... I see you have already earned the title of Elven Wizard ... Why are you trying to challenge the trial again? Leave the trial for those younger than you ... You should concentrate more on the task of studying the order of mother nature. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-04.htm deleted file mode 100644 index e8156290eb..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-04.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Rosella:<br> -Wait, wait... Look here, young one, I think I have made a mistake. I think you are yet too young. We cannot let such young souls as you enter the harsh world too quickly. Come back to me after you have acquired more experience. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-06.htm deleted file mode 100644 index cdb2801c20..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-06.htm +++ /dev/null @@ -1,15 +0,0 @@ -<html> - -<body> - -Rosella:<br> -Four things are required to perform the ritual. They are<font color="LEVEL"> 4 jewels that represent water, fire, wind and the earth.</font> If you devote the jewels to Mother Nature and perform the ritual for Eva's blessing, in return, you will be able to communicate more deeply with the spirits.<br> -First, I give you this<font color="LEVEL"> fertility peridot.</font> This is the token of earth, symbolizing abundance and productivity. This is given to you, who wants to have a deeper understanding of nature, as a gift.<br> -Now you must find the remaining three by yourself. Which one do you want to seek first?<br> -<a action="bypass -h Quest 408_PathToElvenwizard 408_1">Ruby, symbol of fire</a><br> -<a action="bypass -h Quest 408_PathToElvenwizard 408_2">Aquamarine, symbol of water</a><br> -<a action="bypass -h Quest 408_PathToElvenwizard 408_3">Amethyst, symbol of wind</a> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-07.htm deleted file mode 100644 index bb0b4e4fff..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-07.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> - -Rosella:<br> -Ruby... When I look at the red hues, I feel a memory stirring the passions of my youth... If you seek the ruby, symbol of fire, go to<font color="LEVEL"> Sorceress Greenis in the Elven Village</font>. I was her godmother when she was born. She is a fine lady. Please give her this letter I wrote about you so she will help you to find the ruby. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-08.htm deleted file mode 100644 index 76e9be6da3..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-08.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Rosella:<br> -Take the letter I gave you to<font color="LEVEL"> Sorceress Greenis in the Elven Village.</font> If you ask her for help, she will tell you about the ruby that symbolizes fire. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-09.htm deleted file mode 100644 index 782f41b6f0..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-09.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Rosella:<br> -Have you met Sorceress Greenis? How is the dear child? If you do as she says, you can find the ruby. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-10.htm deleted file mode 100644 index 13853e7b23..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-10.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Rosella:<br> -Are you testing me? Don't you already have the<font color="LEVEL"> magical powersd ruby?</font> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-11.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-11.htm deleted file mode 100644 index 3cf2a39186..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-11.htm +++ /dev/null @@ -1,14 +0,0 @@ -<html> - -<body> - -Rosella:<br> -If you devote four jewels, symbolizing water, fire, wind and earth, to Mother Nature and perform the ritual for Eva's blessing, in return, you will be able to communicate more deeply with the spirits.<br> -I already gave you the fertility peridot so go and find the remaining three by yourself. Which jewel do you want to seek first?<br> -<a action="bypass -h Quest 408_PathToElvenwizard 408_1">Ruby, symbol of fire</a><br> -<a action="bypass -h Quest 408_PathToElvenwizard 408_2">Aquamarine, symbol of water</a><br> -<a action="bypass -h Quest 408_PathToElvenwizard 408_3">Amethyst, symbol of wind</a> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-13.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-13.htm deleted file mode 100644 index d85f0fdc6d..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-13.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> - -Rosella:<br> -How about learning a spell that increases memory? Haven't you already found the<font color="LEVEL"> pure aquamarine?</font> A young one like you should have a better memory!<br> -As I told you before, the pure aquamarine symbolizes water. The Elves who serve Eva always have divine protection of water. That's why the aquamarine, which has the power of water, is the most beloved jewel among Elven Mystics. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-14.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-14.htm deleted file mode 100644 index 34a2dda57a..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-14.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> - -Rosella:<br> -Of course, you probably already know that water is the symbol of our mother Eva. Therefore, unlike other races, we elves receive the divine protection of mother Eva in the water. You need not go far to find the<font color="LEVEL"> pure aquamarine,</font> that symbolizes water. It can be found in the Elven Forest.<font color="LEVEL"> Go to Thalia who tends the Mother Tree at Lake Iris.</font> Give this fruit to her as a give, and ask her about the jewel. She will gladly help you.<br> -You can reach Lake Iris if you go straight south of the Elven Village. Thalia will be at the western shore of the lake. Well then, good luck. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-15.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-15.htm deleted file mode 100644 index a80f0d651e..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-15.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> - -Rosella:<br> - Go see<font color="LEVEL">Thalia,</font> who takes care of the Mother Tree on <font color="LEVEL">Lake Iris.</font> She will tell you about the<font color="LEVEL"> pure aquamarine.</font><br> -You can reach Lake Iris if you go straight south of the Elven Village. Thalia will be at the western shore of the lake. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-16.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-16.htm deleted file mode 100644 index 7b930f1a93..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-16.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> - -Rosella:<br> -Did Thalia tell you about the aquamarine? She is a very clever girl. She may test your skills. Her favorite test is related to the<font color="LEVEL"> gold leaves.</font> You can usually get them from the dryad elders. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-17.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-17.htm deleted file mode 100644 index f5996113cb..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-17.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> - -Rosella:<br> -Don't you already have the<font color="LEVEL"> Magical Powers Ruby?</font> Try to find the other jewels. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-19.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-19.htm deleted file mode 100644 index 341a508be2..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-19.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> - -Rosella:<br> -Give the book I gave you to Norwind. The book is called, 'Immortal Love'... A wonderful love story... So touching... He asked for the book a long time ago.<br> -To find the Elven Fortress, first go north of the village to the Neutral Zone, cross the bridge, and enter the Elven forest. If you cross the bridge, you will immediately see the grand Elven Fortress. The entrance is at the other side of the mountain. You will be able to meet Norwind over there. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-20.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-20.htm deleted file mode 100644 index 4b222b5eeb..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-20.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> - -Rosella:<br> -Didn't Norwind tell you the story of the<font color="LEVEL"> nobility amethyst?</font> There is no one who can better explain about the jewel in the Elven Forest. Meet him and ask him in detail. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-24.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-24.htm deleted file mode 100644 index f039dc2146..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-24.htm +++ /dev/null @@ -1,12 +0,0 @@ -<html> - -<body> - -Rosella:<br> -Oh! You have collected all the jewels! Now we can begin the ritual.<br> -Water is the source of life. Mother, and eternity. Cleanse our stained souls with the tears of Eva, purer than anything in the world, and give us your new blessing...<br> -With this, you have performed the ritual and earned the qualifications to become an Elven Wizard. Here, take this<font color="LEVEL"> eternity diamond.</font> If you take this to<font color="LEVEL"> High Priest Raymond in Gludio Castle Town,</font> he will change your occupation to Elven Wizard. Of course, you can go to<font color="LEVEL"> High Priestess Levian in Gludin</font> as well. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-25.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-25.htm deleted file mode 100644 index d015cbcdd8..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-25.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Rosella: -<br> -You have collected<font color="LEVEL"> five clumps of red down.</font> This will be useful in manufacturing the magical powers ruby. Greenis will be waiting, so go to her quickly and give her the down. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-27.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-27.htm deleted file mode 100644 index e902837ccf..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-27.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> - -Rosella:<br> -This is an ordinary amethyst. Yes, this will be fine for Norwind to make a Nobility Amethyst. Norwind has a temper, so he won't wait long. If you are late, he may go someplace else. Hurry and go find him. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30423-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30423-01.htm deleted file mode 100644 index 9fa8ee2234..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30423-01.htm +++ /dev/null @@ -1,12 +0,0 @@ -<html> - -<body> -Norwind:<br> -Oh... Rosella must have sent it. I've been begging her for a month to lend me this book. The love story in this book is very impressive. You may criticize a man that reads romance novels, but... Love is a truth that does not change.<br> -Hmm... Rosella has written a letter on the first page. She asks me to tell you about the<font color="LEVEL"> nobility amethyst.</font> Since you gave me the book I really wanted, and since Rosella has asked me, I will tell you how to find the amethyst.<br> -To obtain the nobility amethyst you need<font color="LEVEL"> two regular amethysts.</font> You can get the amethysts by killing the<font color="LEVEL"> sukar wererat leaders</font> in the Elven Underground Fortress. The Underground Fortress is dangerous... Please be careful.<br> -I'll lend you this for good luck. It has always given me good luck. Return it when you have found the amethyst. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30423-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30423-02.htm deleted file mode 100644 index d4608d933c..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30423-02.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> - -Norwind:<br> -If you want the nobility amethyst, fetch<font color="LEVEL"> two regular amethysts</font> from the Underground Fortress. Defeat the<font color="LEVEL"> sukar wererat leaders</font> in the Underground Fortress to obtain the amethysts. There is an old superstition that the amethyst protects one's life. That is why I think those creatures always carry it around with them. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/__init__.py deleted file mode 100644 index 1f600a1cd6..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/__init__.py +++ /dev/null @@ -1,224 +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 = "408_PathToElvenwizard" - -ROGELLIAS_LETTER = 1218 -RED_DOWN = 1219 -MAGICAL_POWERS_RUBY = 1220 -PURE_AQUAMARINE = 1221 -APPETIZING_APPLE = 1222 -GOLD_LEAVES = 1223 -IMMORTAL_LOVE = 1224 -AMETHYST = 1225 -NOBILITY_AMETHYST = 1226 -FERTILITY_PERIDOT = 1229 -ETERNITY_DIAMOND = 1230 -CHARM_OF_GRAIN = 1272 -SAP_OF_WORLD_TREE = 1273 -LUCKY_POTPOURI = 1274 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(1218,1230)+range(1272,1275) - - def onEvent (self,event,st) : - htmltext = event - player = st.getPlayer() - if event == "1" : - st.set("id","0") - if player.getClassId().getId() != 0x19 : - if player.getClassId().getId() == 0x1a : - htmltext = "30414-02a.htm" - else: - htmltext = "30414-03.htm" - else: - if player.getLevel()<18 : - htmltext = "30414-04.htm" - else: - if st.getQuestItemsCount(ETERNITY_DIAMOND) != 0 : - htmltext = "30414-05.htm" - else: - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - if st.getQuestItemsCount(FERTILITY_PERIDOT) == 0 : - st.giveItems(FERTILITY_PERIDOT,1) - htmltext = "30414-06.htm" - elif event == "408_1" : - if st.getInt("cond") != 0 and st.getQuestItemsCount(MAGICAL_POWERS_RUBY) != 0 : - htmltext = "30414-10.htm" - elif st.getInt("cond") != 0 and st.getQuestItemsCount(MAGICAL_POWERS_RUBY) == 0 and st.getQuestItemsCount(FERTILITY_PERIDOT) != 0 : - if st.getQuestItemsCount(ROGELLIAS_LETTER) == 0 : - st.giveItems(ROGELLIAS_LETTER,1) - htmltext = "30414-07.htm" - elif event == "408_4" : - if st.getInt("cond") != 0 and st.getQuestItemsCount(ROGELLIAS_LETTER) != 0 : - st.takeItems(ROGELLIAS_LETTER,st.getQuestItemsCount(ROGELLIAS_LETTER)) - if st.getQuestItemsCount(CHARM_OF_GRAIN) == 0 : - st.giveItems(CHARM_OF_GRAIN,1) - htmltext = "30157-02.htm" - elif event == "408_2" : - if st.getInt("cond") != 0 and st.getQuestItemsCount(PURE_AQUAMARINE) != 0 : - htmltext = "30414-13.htm" - elif st.getInt("cond") != 0 and st.getQuestItemsCount(PURE_AQUAMARINE) == 0 and st.getQuestItemsCount(FERTILITY_PERIDOT) != 0 : - if st.getQuestItemsCount(APPETIZING_APPLE) == 0 : - st.giveItems(APPETIZING_APPLE,1) - htmltext = "30414-14.htm" - elif event == "408_5" : - if st.getInt("cond") != 0 and st.getQuestItemsCount(APPETIZING_APPLE) != 0 : - st.takeItems(APPETIZING_APPLE,st.getQuestItemsCount(APPETIZING_APPLE)) - if st.getQuestItemsCount(SAP_OF_WORLD_TREE) == 0 : - st.giveItems(SAP_OF_WORLD_TREE,1) - htmltext = "30371-02.htm" - elif event == "408_3" : - if st.getInt("cond") != 0 and st.getQuestItemsCount(NOBILITY_AMETHYST) != 0 : - htmltext = "30414-17.htm" - elif st.getInt("cond") != 0 and st.getQuestItemsCount(NOBILITY_AMETHYST) == 0 and st.getQuestItemsCount(FERTILITY_PERIDOT) != 0 : - if st.getQuestItemsCount(IMMORTAL_LOVE) == 0 : - st.giveItems(IMMORTAL_LOVE,1) - htmltext = "30414-18.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 != 30414 and id != State.STARTED : return htmltext - - if npcId == 30414 and st.getInt("cond")==0 : - htmltext = "30414-01.htm" - elif npcId == 30414 and st.getInt("cond")!=0 and st.getQuestItemsCount(ROGELLIAS_LETTER)==0 and st.getQuestItemsCount(APPETIZING_APPLE)==0 and st.getQuestItemsCount(IMMORTAL_LOVE)==0 and st.getQuestItemsCount(CHARM_OF_GRAIN)==0 and st.getQuestItemsCount(SAP_OF_WORLD_TREE)==0 and st.getQuestItemsCount(LUCKY_POTPOURI)==0 and st.getQuestItemsCount(FERTILITY_PERIDOT)!=0 and (st.getQuestItemsCount(MAGICAL_POWERS_RUBY)==0 or st.getQuestItemsCount(NOBILITY_AMETHYST)==0 or st.getQuestItemsCount(PURE_AQUAMARINE)==0) : - htmltext = "30414-11.htm" - elif npcId == 30414 and st.getInt("cond")!=0 and st.getQuestItemsCount(ROGELLIAS_LETTER)!=0 : - htmltext = "30414-08.htm" - elif npcId == 30157 and st.getInt("cond")!=0 and st.getQuestItemsCount(ROGELLIAS_LETTER)!=0 : - htmltext = "30157-01.htm" - elif npcId == 30157 and st.getInt("cond")!=0 and st.getQuestItemsCount(CHARM_OF_GRAIN)!=0 and st.getQuestItemsCount(RED_DOWN)<5 : - htmltext = "30157-03.htm" - elif npcId == 30157 and st.getInt("cond")!=0 and st.getQuestItemsCount(CHARM_OF_GRAIN)!=0 and st.getQuestItemsCount(RED_DOWN)>=5 : - st.takeItems(RED_DOWN,st.getQuestItemsCount(RED_DOWN)) - st.takeItems(CHARM_OF_GRAIN,st.getQuestItemsCount(CHARM_OF_GRAIN)) - if st.getQuestItemsCount(MAGICAL_POWERS_RUBY) == 0 : - st.giveItems(MAGICAL_POWERS_RUBY,1) - htmltext = "30157-04.htm" - elif npcId == 30414 and st.getInt("cond")!=0 and st.getQuestItemsCount(CHARM_OF_GRAIN)!=0 and st.getQuestItemsCount(RED_DOWN)<5 : - htmltext = "30414-09.htm" - elif npcId == 30414 and st.getInt("cond")!=0 and st.getQuestItemsCount(CHARM_OF_GRAIN)!=0 and st.getQuestItemsCount(RED_DOWN)>=5 : - htmltext = "30414-25.htm" - elif npcId == 30414 and st.getInt("cond")!=0 and st.getQuestItemsCount(APPETIZING_APPLE)!=0 : - htmltext = "30414-15.htm" - elif npcId == 30371 and st.getInt("cond")!=0 and st.getQuestItemsCount(APPETIZING_APPLE)!=0 : - htmltext = "30371-01.htm" - elif npcId == 30371 and st.getInt("cond")!=0 and st.getQuestItemsCount(SAP_OF_WORLD_TREE)!=0 and st.getQuestItemsCount(GOLD_LEAVES)<5 : - htmltext = "30371-03.htm" - elif npcId == 30371 and st.getInt("cond")!=0 and st.getQuestItemsCount(SAP_OF_WORLD_TREE)!=0 and st.getQuestItemsCount(GOLD_LEAVES)>=5 : - st.takeItems(GOLD_LEAVES,st.getQuestItemsCount(GOLD_LEAVES)) - st.takeItems(SAP_OF_WORLD_TREE,st.getQuestItemsCount(SAP_OF_WORLD_TREE)) - if st.getQuestItemsCount(PURE_AQUAMARINE) == 0 : - st.giveItems(PURE_AQUAMARINE,1) - htmltext = "30371-04.htm" - elif npcId == 30414 and st.getInt("cond")!=0 and st.getQuestItemsCount(SAP_OF_WORLD_TREE)!=0 and st.getQuestItemsCount(GOLD_LEAVES)<5 : - htmltext = "30414-16.htm" - elif npcId == 30414 and st.getInt("cond")!=0 and st.getQuestItemsCount(CHARM_OF_GRAIN)!=0 and st.getQuestItemsCount(GOLD_LEAVES)>=5 : - htmltext = "30414-26.htm" - elif npcId == 30414 and st.getInt("cond")!=0 and st.getQuestItemsCount(IMMORTAL_LOVE)!=0 : - htmltext = "30414-19.htm" - elif npcId == 30423 and st.getInt("cond")!=0 and st.getQuestItemsCount(IMMORTAL_LOVE)!=0 : - st.takeItems(IMMORTAL_LOVE,st.getQuestItemsCount(IMMORTAL_LOVE)) - if st.getQuestItemsCount(LUCKY_POTPOURI) == 0 : - st.giveItems(LUCKY_POTPOURI,1) - htmltext = "30423-01.htm" - elif npcId == 30423 and st.getInt("cond")!=0 and st.getQuestItemsCount(LUCKY_POTPOURI)!=0 and st.getQuestItemsCount(AMETHYST)<2 : - htmltext = "30423-02.htm" - elif npcId == 30423 and st.getInt("cond")!=0 and st.getQuestItemsCount(LUCKY_POTPOURI)!=0 and st.getQuestItemsCount(AMETHYST)>=2 : - st.takeItems(AMETHYST,st.getQuestItemsCount(AMETHYST)) - st.takeItems(LUCKY_POTPOURI,st.getQuestItemsCount(LUCKY_POTPOURI)) - if st.getQuestItemsCount(NOBILITY_AMETHYST) == 0 : - st.giveItems(NOBILITY_AMETHYST,1) - htmltext = "30423-03.htm" - elif npcId == 30414 and st.getInt("cond")!=0 and st.getQuestItemsCount(LUCKY_POTPOURI)!=0 and st.getQuestItemsCount(AMETHYST)<2 : - htmltext = "30414-20.htm" - elif npcId == 30414 and st.getInt("cond")!=0 and st.getQuestItemsCount(LUCKY_POTPOURI)!=0 and st.getQuestItemsCount(AMETHYST)>=2 : - htmltext = "30414-27.htm" - elif npcId == 30414 and st.getInt("cond")!=0 and st.getQuestItemsCount(ROGELLIAS_LETTER)==0 and st.getQuestItemsCount(APPETIZING_APPLE)==0 and st.getQuestItemsCount(IMMORTAL_LOVE)==0 and st.getQuestItemsCount(CHARM_OF_GRAIN)==0 and st.getQuestItemsCount(SAP_OF_WORLD_TREE)==0 and st.getQuestItemsCount(LUCKY_POTPOURI)==0 and st.getQuestItemsCount(FERTILITY_PERIDOT)!=0 and st.getQuestItemsCount(MAGICAL_POWERS_RUBY)!=0 and st.getQuestItemsCount(NOBILITY_AMETHYST)!=0 and st.getQuestItemsCount(PURE_AQUAMARINE)!=0 : - st.takeItems(MAGICAL_POWERS_RUBY,st.getQuestItemsCount(MAGICAL_POWERS_RUBY)) - st.takeItems(PURE_AQUAMARINE,st.getQuestItemsCount(PURE_AQUAMARINE)) - st.takeItems(NOBILITY_AMETHYST,st.getQuestItemsCount(NOBILITY_AMETHYST)) - st.takeItems(FERTILITY_PERIDOT,st.getQuestItemsCount(FERTILITY_PERIDOT)) - isFinished = st.getGlobalQuestVar("1ClassQuestFinished") - if isFinished == "" : - if player.getLevel() >= 20 : - st.addExpAndSp(320534, 22532) - elif player.getLevel() == 19 : - st.addExpAndSp(456128, 29230) - else: - st.addExpAndSp(591724, 35928) - 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)) - if st.getQuestItemsCount(ETERNITY_DIAMOND) == 0 : - st.giveItems(ETERNITY_DIAMOND,1) - htmltext = "30414-24.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 == 20466 : - st.set("id","0") - if st.getInt("cond") != 0 and st.getQuestItemsCount(CHARM_OF_GRAIN) != 0 and st.getQuestItemsCount(RED_DOWN)<5 and self.getRandom(100)<70 : - st.giveItems(RED_DOWN,1) - if st.getQuestItemsCount(RED_DOWN) == 5 : - st.playSound("ItemSound.quest_middle") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == 20019 : - st.set("id","0") - if st.getInt("cond") != 0 and st.getQuestItemsCount(SAP_OF_WORLD_TREE) != 0 and st.getQuestItemsCount(GOLD_LEAVES)<5 and self.getRandom(100)<40 : - st.giveItems(GOLD_LEAVES,1) - if st.getQuestItemsCount(GOLD_LEAVES) == 5 : - st.playSound("ItemSound.quest_middle") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == 20047 : - st.set("id","0") - if st.getInt("cond") != 0 and st.getQuestItemsCount(LUCKY_POTPOURI) != 0 and st.getQuestItemsCount(AMETHYST)<2 and self.getRandom(100)<40 : - st.giveItems(AMETHYST,1) - if st.getQuestItemsCount(AMETHYST) == 2 : - st.playSound("ItemSound.quest_middle") - else: - st.playSound("ItemSound.quest_itemget") - return - -QUEST = Quest(408,qn,"Path To Elvenwizard") - -QUEST.addStartNpc(30414) - -QUEST.addTalkId(30414) - -QUEST.addTalkId(30157) -QUEST.addTalkId(30371) -QUEST.addTalkId(30423) - -QUEST.addKillId(20019) -QUEST.addKillId(20466) -QUEST.addKillId(20047) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-03.htm deleted file mode 100644 index 240e27546c..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-03.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Priest Manuel:<br> -Thank you for your kindness, but I believe this task is beyond your capacity. Please come back after gaining more experience in the wide world. Let us talk again when that time comes.<br> -May the blessing of starlight be with you. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-01.htm deleted file mode 100644 index 7c177e6b1d..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-01.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Allana:<br> -Darkness prevails in the world... I, sacred flame of prophecy will drive... drive out darkness! I perform miracles of light... Purify the world!<br> -<a action="bypass -h Quest 409_PathToOracle 30424-07.htm">Show me a miracle</a><br> -<a action="bypass -h Quest 409_PathToOracle 30424-08.htm">It is dangerous here, let us go to the temple</a> -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-02.htm deleted file mode 100644 index e4a2648c37..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-02.htm +++ /dev/null @@ -1,12 +0,0 @@ -<html> - -<body> -Allana:<br> -What was that monster? I'm afraid... I don't want to die... I don't want to abandon my brother and die!<br> -I don't want to trick people anymore! However, Perrin didn't give me the money he owes me yet.<br> -I wrote down all the work I've done until now in my<font color="LEVEL"> diary.</font> I will give this to you... Please help me get the money from Perrin... I need that money to cure my brother's illness...<br> -Perrin hides around here somewhere... Please... Please help me! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-05.htm deleted file mode 100644 index a084b24e7c..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-05.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Allana:<br> -Have you come from Priest Manuel? I have something urgent to tell you so please come into the temple.<br> - - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-06.htm deleted file mode 100644 index 4d1d2293b0..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-06.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Allana:<br> -How can you come empty-handed? You said you would meet<font color="LEVEL"> Perrin.</font> You said you would help me... Didn't you? - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-07.htm deleted file mode 100644 index d0eba0e61b..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-07.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Allana:<br> -How dare you! Do you doubt me? To the sacred flame of prophecy... Are you giving a command? How, how dare you!<br> -<a action="bypass -h Quest 409_PathToOracle 30424-09.htm">False sacred flames are severely punished by the church</a><br> -<a action="bypass -h Quest 409_PathToOracle 30424-08.htm">I am sorry to have doubted, it is dangerous here, let's go</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-08.htm deleted file mode 100644 index cb164225f1..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-08.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Allana:<br> -We must go... together?<br>No! I don't want to go! I must take care of my little brother. Miracles and sacred flame of prophecy... they were all lies!<br><font color="LEVEL">Perrin</font> made me do it... He brought fake patients and acted like we prayed for treatment... And acted like a miracle had happened. I knew it was wrong, but... I need money to cure my sick brother. Perrin said I could earn big money if only I did what he said...<br> -Then, these strange lizardmen tried to take me away... I'm so scared! I don't know what to do...<br> -<a action="bypass -h Quest 409_PathToOracle 30424_1">So those were your circumstances</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-02.htm deleted file mode 100644 index 28bc4d8645..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-02.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> -Perrin:<br> -You want to turn me in? It will not be easy. Let me introduce my bodyguard ...<br> -Hey,<font color="LEVEL"> Tamil!</font> Teach this ratty little Elf a lesson!<br> -<a action="bypass -h Quest 409_PathToOracle 30428_3">Go ahead and hit me as much as you want!</a> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-03.htm deleted file mode 100644 index f5f8b3c1c3..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-03.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> -Perrin:<br> -You dare to challenge me? In that case, let me introduce my bodyguard ...!<br> -Hey, Tamil! Put the fear of the gods into this ratty little elf!<br> -<a action="bypass -h Quest 409_PathToOracle 30428_3">Go ahead and hit me as much as you want!</a> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/__init__.py deleted file mode 100644 index c26b14de9f..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/__init__.py +++ /dev/null @@ -1,183 +0,0 @@ -# Made by Mr. Have fun! Version 0.2.1 cheked & fix by Ryo Saeba -# 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 = "409_PathToOracle" - -CRYSTAL_MEDALLION = 1231 -MONEY_OF_SWINDLER = 1232 -DAIRY_OF_ALLANA = 1233 -LIZARD_CAPTAIN_ORDER = 1234 -LEAF_OF_ORACLE = 1235 -HALF_OF_DAIRY = 1236 -TAMATOS_NECKLACE = 1275 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = [MONEY_OF_SWINDLER, DAIRY_OF_ALLANA, LIZARD_CAPTAIN_ORDER, CRYSTAL_MEDALLION, HALF_OF_DAIRY, TAMATOS_NECKLACE] - - 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 == 0x19 and st.getQuestItemsCount(LEAF_OF_ORACLE) == 0 : - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - st.giveItems(CRYSTAL_MEDALLION,1) - htmltext = "30293-05.htm" - elif classId != 0x19 : - if classId == 0x1d : - htmltext = "30293-02a.htm" - else: - htmltext = "30293-02.htm" - elif level<18 and classId == 0x19 : - htmltext = "30293-03.htm" - elif level >= 18 and classId == 0x19 and st.getQuestItemsCount(LEAF_OF_ORACLE) == 1 : - htmltext = "30293-04.htm" - elif event == "30424-08.htm" : - if st.getInt("cond") : - st.addSpawn(27032) - st.addSpawn(27033) - st.addSpawn(27034) - st.set("cond","2") - elif event == "30424_1" : - htmltext="" - elif event == "30428_1" : - if st.getInt("cond") : - htmltext = "30428-02.htm" - elif event == "30428_2" : - if st.getInt("cond") : - htmltext = "30428-03.htm" - elif event == "30428_3" : - if st.getInt("cond") : - st.addSpawn(27035) - 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 != 30293 and id != State.STARTED : return htmltext - - if npcId == 30293 and st.getInt("cond")==0 : - if st.getQuestItemsCount(LEAF_OF_ORACLE) == 0 : - htmltext = "30293-01.htm" - return htmltext - else: - htmltext = "30293-04.htm" - elif npcId == 30293 and st.getInt("cond") and st.getQuestItemsCount(CRYSTAL_MEDALLION) : - if st.getQuestItemsCount(MONEY_OF_SWINDLER) == 0 and st.getQuestItemsCount(DAIRY_OF_ALLANA) == 0 and st.getQuestItemsCount(LIZARD_CAPTAIN_ORDER) == 0 and st.getQuestItemsCount(HALF_OF_DAIRY) == 0 : - if st.getInt("cond") : - htmltext = "30293-09.htm" - else: - htmltext = "30293-06.htm" - else: - if st.getQuestItemsCount(MONEY_OF_SWINDLER) == 1 and st.getQuestItemsCount(DAIRY_OF_ALLANA) == 1 and st.getQuestItemsCount(LIZARD_CAPTAIN_ORDER) == 1 and st.getQuestItemsCount(HALF_OF_DAIRY) == 0 : - htmltext = "30293-08.htm" - st.takeItems(MONEY_OF_SWINDLER,1) - st.takeItems(DAIRY_OF_ALLANA,1) - st.takeItems(LIZARD_CAPTAIN_ORDER,1) - st.takeItems(CRYSTAL_MEDALLION,1) - st.giveItems(LEAF_OF_ORACLE,1) - isFinished = st.getGlobalQuestVar("1ClassQuestFinished") - if isFinished == "" : - if player.getLevel() >= 20 : - st.addExpAndSp(320534, 20392) - elif player.getLevel() == 19 : - st.addExpAndSp(456128, 27090) - else: - st.addExpAndSp(591724, 33788) - 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)) - else: - htmltext = "30293-07.htm" - elif npcId == 30424 and st.getInt("cond") and st.getQuestItemsCount(CRYSTAL_MEDALLION) : - if st.getQuestItemsCount(MONEY_OF_SWINDLER) == 0 and st.getQuestItemsCount(DAIRY_OF_ALLANA) == 0 and st.getQuestItemsCount(LIZARD_CAPTAIN_ORDER) == 0 and st.getQuestItemsCount(HALF_OF_DAIRY) == 0 : - if st.getInt("cond") > 2: - htmltext = "30424-05.htm" - else: - htmltext = "30424-01.htm" - elif st.getQuestItemsCount(MONEY_OF_SWINDLER) == 0 and st.getQuestItemsCount(DAIRY_OF_ALLANA) == 0 and st.getQuestItemsCount(LIZARD_CAPTAIN_ORDER) == 1 and st.getQuestItemsCount(HALF_OF_DAIRY) == 0 : - htmltext = "30424-02.htm" - st.giveItems(HALF_OF_DAIRY,1) - st.set("cond","4") - elif st.getQuestItemsCount(MONEY_OF_SWINDLER) == 0 and st.getQuestItemsCount(DAIRY_OF_ALLANA) == 0 and st.getQuestItemsCount(LIZARD_CAPTAIN_ORDER) == 1 and st.getQuestItemsCount(HALF_OF_DAIRY) == 1 : - if st.getInt("cond") and st.getQuestItemsCount(TAMATOS_NECKLACE) == 0 : - htmltext = "30424-06.htm" - else: - htmltext = "30424-03.htm" - elif st.getQuestItemsCount(MONEY_OF_SWINDLER) == 1 and st.getQuestItemsCount(DAIRY_OF_ALLANA) == 0 and st.getQuestItemsCount(LIZARD_CAPTAIN_ORDER) == 1 and st.getQuestItemsCount(HALF_OF_DAIRY) == 1 : - htmltext = "30424-04.htm" - st.takeItems(HALF_OF_DAIRY,1) - st.giveItems(DAIRY_OF_ALLANA,1) - st.set("cond","7") - else: - if st.getQuestItemsCount(MONEY_OF_SWINDLER) == 1 and st.getQuestItemsCount(LIZARD_CAPTAIN_ORDER) == 1 and st.getQuestItemsCount(HALF_OF_DAIRY) == 0 and st.getQuestItemsCount(DAIRY_OF_ALLANA) : - htmltext = "30424-05.htm" - elif npcId == 30428 and st.getInt("cond") and st.getQuestItemsCount(CRYSTAL_MEDALLION) and st.getQuestItemsCount(LIZARD_CAPTAIN_ORDER) : - if st.getQuestItemsCount(TAMATOS_NECKLACE) == 1 : - st.giveItems(MONEY_OF_SWINDLER,1) - st.takeItems(TAMATOS_NECKLACE,1) - st.set("cond","6") - htmltext = "30428-04.htm" - else: - if st.getQuestItemsCount(MONEY_OF_SWINDLER)>0 : - htmltext = "30428-05.htm" - else: - if st.getInt("cond") > 4 : - htmltext = "30428-06.htm" - else: - htmltext = "30428-01.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 == 27032 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(LIZARD_CAPTAIN_ORDER) == 0 : - st.giveItems(LIZARD_CAPTAIN_ORDER,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","3") - elif npcId == 27035 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(TAMATOS_NECKLACE) == 0 : - st.giveItems(TAMATOS_NECKLACE,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","5") - return - -QUEST = Quest(409,qn,"Path To Oracle") - -QUEST.addStartNpc(30293) - -QUEST.addTalkId(30293) - -QUEST.addTalkId(30424) -QUEST.addTalkId(30428) - -QUEST.addKillId(27032) -QUEST.addKillId(27033) -QUEST.addKillId(27034) -QUEST.addKillId(27035) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-02.htm deleted file mode 100644 index 7735f18849..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-02.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Master Virgil:<br> -Your eyes still show fear and caution. Gain more experience on the battlefield and learn how to control personal emotions before coming back to me. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-04.htm deleted file mode 100644 index e792d80654..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-04.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Master Virgil:<br> -You already have the gaze of abyss. This means you have earned the right to become a Palus Knight. Take that token to<font color="LEVEL"> Grand Master Tobias</font> of our guild. Then you can change profession to a Palus Knight. He is the one right over there. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-05.htm deleted file mode 100644 index 7ae5c877a2..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Master Virgil:<br> -Good. To become a Palus Knight, you must pass<font color="LEVEL"> two trials</font> in order. These trials test your skills and are also a rite of passage to become a true "Abyssal Knight."<br> -<a action="bypass -h Quest 410_PathToPalusKnight 1">Ask about the first trial</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-09.htm deleted file mode 100644 index 749518b7dc..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-09.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Master Virgil:<br> -Thank you. Thirteen skulls brought from dealing with the enemy of your race ... They are the result of death brought about from your own hands. Knights of other races embellish their actions and duties by saying that they are "guarding justice" or "protecting the common people." However, the knights of the dark do not forget the essence of knighthood through hiding behind fancy words or moral obligations. A knight is one that brings death. The victory he achieves with his sword has the same meaning as death to his opponent ...<br> -No matter what the goal or motive, all combat between knights ends in death. Just because you shout "honor" or "justice" doesn't change the meaning of your opponent's death. Death is death. You have stolen your opponent's opportunity to live.<br> -Do not forget the fact that you are the "one who brings death."<br> -<a action="bypass -h Quest 410_PathToPalusKnight 30329_2">Ask about the second trial</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-10.htm deleted file mode 100644 index 7cd7bfb453..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-10.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Master Virgil:<br> -You need your own coffin to perform the second trial, the<font color="LEVEL"> Ritual of the Red Coffin</font>. Yes, I'm speaking of the coffin you use to bury an elf when he dies. According to the funeral customs of the Dark Elves, we need a traditional coffin made from the carapace of a beast. You must make this yourself.<br> -You should ask<font color="LEVEL"> Abyssal Celebrant Kalinta</font> how to make a coffin. You can meet her if you go to the<font color="LEVEL"> Dark Elven Guild of the village of Gludin</font>. You must take this letter with you. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-12.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-12.htm deleted file mode 100644 index 9dda58cc11..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-12.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Master Virgil:<br> -Go to Abyssal Celebrant Kalinta and ask about the Ritual of the Red Coffin. You can meet her if you go to the Dark Elven guild of Gludin. Make sure you take the letter I gave you. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-03.htm deleted file mode 100644 index 275c5f20ef..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-03.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Kalinta:<br> -I see you are still in the village. Prudence is good, but once you have set your goal, isn't it the way of a knight to achieve it as quickly as possible? Like when you raise your sword and thrust with your knife into the opponent's heart without wasting any time ...<br> -As I have already told you, you must have<font color="LEVEL"> five trimden silk skeins and one carapace of a giant poison spider</font> to complete the coffin of eternal rest.<br> -Giant poison spiders are fairly common, so it will be easy to find them. You can find trimden if you follow the coastal road that lies to the south of Gludin. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-04.htm deleted file mode 100644 index 074f35cfc6..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-04.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Kalinta:<br> -I see you have not gathered all the materials yet. As I already told you, you must have<font color="LEVEL"> five trimden silk skeins and one large poison spider carapace</font> to complete the coffin of eternal rest. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/__init__.py deleted file mode 100644 index fe7023f826..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/__init__.py +++ /dev/null @@ -1,172 +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 = "410_PathToPalusKnight" - -PALLUS_TALISMAN = 1237 -LYCANTHROPE_SKULL = 1238 -VIRGILS_LETTER = 1239 -MORTE_TALISMAN = 1240 -PREDATOR_CARAPACE = 1241 -TRIMDEN_SILK = 1242 -COFFIN_ETERNAL_REST = 1243 -GAZE_OF_ABYSS = 1244 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(1237,1244) - - def onEvent (self,event,st) : - htmltext = event - level = st.getPlayer().getLevel() - classId = st.getPlayer().getClassId().getId() - if event == "1" : - st.set("id","0") - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - htmltext = "30329-06.htm" - st.giveItems(PALLUS_TALISMAN,1) - elif event == "410_1" : - if level >= 18 and classId == 0x1f and st.getQuestItemsCount(GAZE_OF_ABYSS) == 0 : - htmltext = "30329-05.htm" - return htmltext - elif classId != 0x1f : - if classId == 0x20 : - htmltext = "30329-02a.htm" - else: - htmltext = "30329-03.htm" - elif level<18 and classId == 0x1f : - htmltext = "30329-02.htm" - elif level >= 18 and classId == 0x1f and st.getQuestItemsCount(GAZE_OF_ABYSS) == 1 : - htmltext = "30329-04.htm" - elif event == "30329_2" : - htmltext = "30329-10.htm" - st.takeItems(PALLUS_TALISMAN,1) - st.takeItems(LYCANTHROPE_SKULL,st.getQuestItemsCount(LYCANTHROPE_SKULL)) - st.giveItems(VIRGILS_LETTER,1) - st.set("cond","3") - st.playSound("ItemSound.quest_middle") - elif event == "30422_1" : - htmltext = "30422-02.htm" - st.takeItems(VIRGILS_LETTER,1) - st.giveItems(MORTE_TALISMAN,1) - st.set("cond","4") - st.playSound("ItemSound.quest_middle") - elif event == "30422_2" : - htmltext = "30422-06.htm" - st.takeItems(MORTE_TALISMAN,1) - st.takeItems(TRIMDEN_SILK,st.getQuestItemsCount(TRIMDEN_SILK)) - st.takeItems(PREDATOR_CARAPACE,st.getQuestItemsCount(PREDATOR_CARAPACE)) - st.giveItems(COFFIN_ETERNAL_REST,1) - st.set("cond","6") - st.playSound("ItemSound.quest_middle") - return htmltext - - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - - npcId = npc.getId() - id = st.getState() - if npcId != 30329 and id != State.STARTED : return htmltext - - npcId = npc.getId() - id = st.getState() - if npcId == 30329 and st.getInt("cond")==0 : - htmltext = "30329-01.htm" - elif npcId == 30329 and st.getInt("cond") : - if st.getQuestItemsCount(PALLUS_TALISMAN) == 1 and st.getQuestItemsCount(LYCANTHROPE_SKULL) == 0 : - htmltext = "30329-07.htm" - elif st.getQuestItemsCount(PALLUS_TALISMAN) == 1 and st.getQuestItemsCount(LYCANTHROPE_SKULL)>0 and st.getQuestItemsCount(LYCANTHROPE_SKULL)<13 : - htmltext = "30329-08.htm" - elif st.getQuestItemsCount(PALLUS_TALISMAN) == 1 and st.getQuestItemsCount(LYCANTHROPE_SKULL) >= 13 : - htmltext = "30329-09.htm" - elif st.getQuestItemsCount(COFFIN_ETERNAL_REST) == 1 : - htmltext = "30329-11.htm" - st.takeItems(COFFIN_ETERNAL_REST,1) - st.giveItems(GAZE_OF_ABYSS,1) - isFinished = st.getGlobalQuestVar("1ClassQuestFinished") - if isFinished == "" : - if player.getLevel() >= 20 : - st.addExpAndSp(320534, 26212) - elif player.getLevel() == 19 : - st.addExpAndSp(456128, 32910) - else: - st.addExpAndSp(591724, 39608) - st.giveItems(57, 163800) - player.sendPacket(SocialAction(player.getObjectId(),3)) - st.set("cond","0") - st.exitQuest(False) - st.saveGlobalQuestVar("1ClassQuestFinished","1") - st.playSound("ItemSound.quest_finish") - elif st.getQuestItemsCount(MORTE_TALISMAN) or st.getQuestItemsCount(VIRGILS_LETTER) : - htmltext = "30329-12.htm" - elif npcId == 30422 and st.getInt("cond") : - if st.getQuestItemsCount(VIRGILS_LETTER) : - htmltext = "30422-01.htm" - elif st.getQuestItemsCount(MORTE_TALISMAN) and st.getQuestItemsCount(TRIMDEN_SILK) == 0 and st.getQuestItemsCount(PREDATOR_CARAPACE) == 0 : - htmltext = "30422-03.htm" - elif st.getQuestItemsCount(MORTE_TALISMAN) and st.getQuestItemsCount(TRIMDEN_SILK)>0 and st.getQuestItemsCount(PREDATOR_CARAPACE) == 0 : - htmltext = "30422-04.htm" - elif st.getQuestItemsCount(MORTE_TALISMAN) and st.getQuestItemsCount(TRIMDEN_SILK) == 0 and st.getQuestItemsCount(PREDATOR_CARAPACE)>0 : - htmltext = "30422-04.htm" - elif st.getQuestItemsCount(MORTE_TALISMAN) and st.getQuestItemsCount(TRIMDEN_SILK) >= 5 and st.getQuestItemsCount(PREDATOR_CARAPACE)>0 : - htmltext = "30422-05.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 == 20049 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(PALLUS_TALISMAN) == 1 and st.getQuestItemsCount(LYCANTHROPE_SKULL)<13 : - st.giveItems(LYCANTHROPE_SKULL,1) - if st.getQuestItemsCount(LYCANTHROPE_SKULL) == 13 : - st.playSound("ItemSound.quest_middle") - st.set("cond","2") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == 20038 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(MORTE_TALISMAN) == 1 and st.getQuestItemsCount(PREDATOR_CARAPACE)<1 : - st.giveItems(PREDATOR_CARAPACE,1) - st.playSound("ItemSound.quest_middle") - if st.getQuestItemsCount(TRIMDEN_SILK) >= 5 and st.getQuestItemsCount(PREDATOR_CARAPACE)>0 : - st.set("cond","5") - elif npcId == 20043 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(MORTE_TALISMAN) == 1 and st.getQuestItemsCount(TRIMDEN_SILK)<5 : - st.giveItems(TRIMDEN_SILK,1) - if st.getQuestItemsCount(TRIMDEN_SILK) == 5 : - st.playSound("ItemSound.quest_middle") - if st.getQuestItemsCount(TRIMDEN_SILK) >= 5 and st.getQuestItemsCount(PREDATOR_CARAPACE)>0 : - st.set("cond","5") - else: - st.playSound("ItemSound.quest_itemget") - return - -QUEST = Quest(410,qn,"Path of the Palus Knight") - -QUEST.addStartNpc(30329) - -QUEST.addTalkId(30329) - -QUEST.addTalkId(30422) - -QUEST.addKillId(20038) -QUEST.addKillId(20043) -QUEST.addKillId(20049) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-01.htm deleted file mode 100644 index 23126af0fd..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-01.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Guard Leikan:<br> -Ha ha! Welcome. So Arkenia sent you. What can your humble servant do for you?<br> -<a action="bypass -h Quest 411_PathToAssassin 30382-02.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/411_PathToAssassin/30382-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-03.htm deleted file mode 100644 index f97854e1e6..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-03.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> -Guard Leikan:<br> -Actually, I recently boasted to my colleagues that I was attacked by moonstone beasts while returning from the Dark Forest, and that I killed several. My colleagues didn't believe me and asked to see proof. This put me in a rather ... awkward position.<br> -So you see, I need ten moonstone beast molars. Please get some for me. You can easily find moonstone beasts north of here in the<font color="LEVEL"> Neutral Zone</font>.<br> -Take this memo. It is a simple contract stating our agreement. Remember,<font color="LEVEL"> you must bring back ten moonstone beast molars and then I will give you information.</font> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-05.htm deleted file mode 100644 index 34072b3a8e..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-05.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Guard Leikan:<br> -If you want to hear my information about the thieves, then<font color="LEVEL"> quickly go to the Neutral Zone and find me ten moonstone beast molars.</font> Now, hurry up please! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-08.htm deleted file mode 100644 index 09e64ebd17..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-08.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Guard Leikan:<br> -You have recovered Shilen's tears. How could someone take such little care of such a valuable holy relic ... Tsk tsk ...<br> -If you take that to<font color="LEVEL"> Arkenia</font>, she will be pleased. Give her my regards! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-09.htm deleted file mode 100644 index b208d4f4c0..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-09.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Guard Leikan:<br> -As I told you, the thief's identity is an Orc named<font color="LEVEL"> Calpico</font>. The fellow is very elusive, so you never know when he will show up or where, but a few days ago a report said that he was seen near the<font color="LEVEL"> School of Dark Arts</font> in the Dark Forest. If you search in the vicinity of the School of Dark Arts, you will be able to find the scoundrel's hiding place. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-01.htm deleted file mode 100644 index 3a735762ae..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-01.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> - -Triskel:<br> - Assassins are murderers who kill quietly and swiftly, then vanish into the forest. They are also fighters of darkness who are talented in concealment and spying. They target the enemy's weak points with small but convenient weapons like daggers, or shoot arrows from a long distance.<br> -<a action="bypass -h Quest 411_PathToAssassin 1">Say you want to be an Assassin.</a> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-03.htm deleted file mode 100644 index 2c9b1abfc1..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-03.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Triskel:<br> -Assassin?! A kid like you? Go finish your chores first, I think I hear your mommy calling! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-04.htm deleted file mode 100644 index 75c0f932fd..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-04.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Triskel:<br> -You already have the iron heart! You already have the qualifications to become an Assassin! Take the iron heart and go to<font color="LEVEL"> Grand Master Tobias</font> of the Dark Elf Guild to change profession! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-05.htm deleted file mode 100644 index 2a2db75219..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-05.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Triskel:<br> -Hmm ... So the likes of you wants to change profession to an Assassin? Good. As luck would have it, I was just now in need of a nimble fellow. You must know that the foundation of an Assassin is quick movements! Use this opportunity to prove your skills to me! Now take this and go to<font color="LEVEL"> Arkenia of the Dark Elf coming-of-age ceremony altar. </font><br> -You don't know how to go to the coming-of-age ceremony altar? Wretched fellow! Go out the east gate of the village and run to the north! Then you will reach the Neutral Zone. There is a bridge to the west that connects to the Dark Forest. After you cross the bridge, follow the road west until you reach the altar. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-07.htm deleted file mode 100644 index 01a4a59aa0..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-07.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Triskel:<br> -Wretched fellow! Don't keep Arkenia waiting! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-08.htm deleted file mode 100644 index e8121798f0..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-08.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Triskel:<br> -You are truly pitiful! Don't mope, run quickly! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-09.htm deleted file mode 100644 index d5423925e9..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-09.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Triskel:<br> -You really irritate me. You wretched creature! Why are you still lingering in the village when you know who the thief is?<font color="LEVEL"> Quickly run to the School of Dark Arts and catch that thief!</font> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-10.htm deleted file mode 100644 index f864ca07b3..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-10.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Triskel:<br> -Ha ha ha ... Finally you have solved the case. I knew you could do it. What are you waiting for? Go give this joyful news to<font color="LEVEL"> Arkenia</font> in the temple! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-11.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-11.htm deleted file mode 100644 index 187b959728..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-11.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Triskel:<br> -You fool! Pick up your heels and run to<font color="LEVEL"> Arkenia</font> at the coming-of-age ceremony altar as fast as your legs can take you! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-01.htm deleted file mode 100644 index 424184107c..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-01.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> -Arkenia:<br> -Are you the one that has come to help me?<br> -<a action="bypass -h Quest 411_PathToAssassin 30419-02.htm">That is so</a><br> -<a action="bypass -h Quest 411_PathToAssassin 30419-03.htm">No</a> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-02.htm deleted file mode 100644 index 502edc2b0c..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-02.htm +++ /dev/null @@ -1,13 +0,0 @@ -<html> - -<body> -Arkenia:<br> -I was waiting for you. Thank you for coming. It seems, one of our holy relics,<font color="LEVEL"> Shilen's tears</font> was recently stolen. I was on my way back from a pilgrimage in the north when I was attacked by a band of thieves...<br> -I am afraid the tetrarchs will be furious, and I have not been able to return to the village for fear of them. They will not forgive me if they know that the holy relic was stolen. Please recover the stolen Shilen's tears before the tetrarchs find out. Please help me...<br> -<a action="bypass -h Quest 411_PathToAssassin 30419-04.htm">What exactly is Shilen's tears?</a><br> -<a action="bypass -h Quest 411_PathToAssassin 30419_1">Leave it to me! I will find it without fail.<br> -<a action="bypass -h Quest 411_PathToAssassin 30419-06.htm">I am sorry, I'm afraid I lack the powers</a> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-04.htm deleted file mode 100644 index 8db4b3b509..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-04.htm +++ /dev/null @@ -1,14 +0,0 @@ -<html> - -<body> -Arkenia: -<br> -How can you be of our race and not know about Shilen's tears? How could that be? -<br> -When the solar eclipse occurs every thirty years, we Dark Elves perform sacrificial rites to the goddess Shilen, praying for abundance and prosperity. At that time each year, red dew drops form mysteriously on the pillars of the temple. We call that dew Shilen's tears. Shilen's tears are normally red, but when a threat to our race looms, they turn black. The tears are precious, for the whole fate of our race is tied to them. -<br> -<a action="bypass -h Quest 411_PathToAssassin 30419_1"> I will find it for you</a> -<br> -<a action="bypass -h Quest 411_PathToAssassin 30419-06.htm">I'm afraid I lack the powers</a> -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-08.htm deleted file mode 100644 index c11d9d2c5c..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-08.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Arkenia:<br> -Ah, you have finally found Shilen's tears. Thank you. I truly thank you. In return, I will write you a recommendation to become an Assassin. Show this to<font color="LEVEL"> Triskel</font> in the village of Gludio Castle. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-09.htm deleted file mode 100644 index b14285fc9e..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-09.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Arkenia:<br> -Take the recommendation I wrote you, and go to<font color="LEVEL"> Triskel</font> in the village of Gludio Castle. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/__init__.py deleted file mode 100644 index 4287ae5b94..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/__init__.py +++ /dev/null @@ -1,176 +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 = "411_PathToAssassin" - -SHILENS_CALL = 1245 -ARKENIAS_LETTER = 1246 -LEIKANS_NOTE = 1247 -ONYX_BEASTS_MOLAR = 1248 -SHILENS_TEARS = 1250 -ARKENIA_RECOMMEND = 1251 -IRON_HEART = 1252 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(1245,1252) - - def onEvent (self,event,st) : - htmltext = event - level = st.getPlayer().getLevel() - classId = st.getPlayer().getClassId().getId() - if event == "1" : - if level >= 18 and classId == 0x1f and st.getQuestItemsCount(IRON_HEART) == 0 : - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - st.giveItems(SHILENS_CALL,1) - htmltext = "30416-05.htm" - elif classId != 0x1f : - if classId == 0x23 : - htmltext = "30416-02a.htm" - else: - htmltext = "30416-02.htm" - st.exitQuest(1) - elif level<18 and classId == 0x1f : - htmltext = "30416-03.htm" - st.exitQuest(1) - elif level >= 18 and classId == 0x1f and st.getQuestItemsCount(IRON_HEART) == 1 : - htmltext = "30416-04.htm" - elif event == "30419_1" : - htmltext = "30419-05.htm" - st.giveItems(ARKENIAS_LETTER,1) - st.takeItems(SHILENS_CALL,1) - st.set("cond","2") - st.playSound("ItemSound.quest_middle") - elif event == "30382_1" : - htmltext = "30382-03.htm" - st.giveItems(LEIKANS_NOTE,1) - st.takeItems(ARKENIAS_LETTER,1) - st.set("cond","3") - st.playSound("ItemSound.quest_middle") - return htmltext - - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - - npcId = npc.getId() - id = st.getState() - if npcId != 30416 and id != State.STARTED : return htmltext - - if id == State.CREATED : - st.set("cond","0") - st.set("onlyone","0") - if npcId == 30416 and st.getInt("cond")==0 : - if st.getQuestItemsCount(IRON_HEART) == 0 : - htmltext = "30416-01.htm" - else: - htmltext = "30416-04.htm" - elif npcId == 30416 and st.getInt("cond")>=1 : - if st.getQuestItemsCount(ARKENIAS_LETTER) == 0 and st.getQuestItemsCount(LEIKANS_NOTE) == 0 and st.getQuestItemsCount(SHILENS_TEARS) == 0 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 1 and st.getQuestItemsCount(IRON_HEART) == 0 : - htmltext = "30416-06.htm" - st.takeItems(ARKENIA_RECOMMEND,1) - st.giveItems(IRON_HEART,1) - isFinished = st.getGlobalQuestVar("1ClassQuestFinished") - if isFinished == "" : - if player.getLevel() >= 20 : - st.addExpAndSp(320534, 35830) - elif player.getLevel() == 19 : - st.addExpAndSp(456128, 35830) - else: - st.addExpAndSp(591724, 42528) - st.giveItems(57, 163800) - player.sendPacket(SocialAction(player.getObjectId(),3)) - st.set("cond","0") - st.exitQuest(False) - st.saveGlobalQuestVar("1ClassQuestFinished","1") - st.playSound("ItemSound.quest_finish") - elif st.getQuestItemsCount(ARKENIAS_LETTER) == 1 and st.getQuestItemsCount(LEIKANS_NOTE) == 0 and st.getQuestItemsCount(SHILENS_TEARS) == 0 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 0 and st.getQuestItemsCount(IRON_HEART) == 0 and st.getQuestItemsCount(SHILENS_CALL) == 0 : - htmltext = "30416-07.htm" - elif st.getQuestItemsCount(ARKENIAS_LETTER) == 0 and st.getQuestItemsCount(LEIKANS_NOTE) == 1 and st.getQuestItemsCount(SHILENS_TEARS) == 0 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 0 and st.getQuestItemsCount(IRON_HEART) == 0 and st.getQuestItemsCount(SHILENS_CALL) == 0 : - htmltext = "30416-08.htm" - elif st.getQuestItemsCount(ARKENIAS_LETTER) == 0 and st.getQuestItemsCount(LEIKANS_NOTE) == 0 and st.getQuestItemsCount(SHILENS_TEARS) == 0 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 0 and st.getQuestItemsCount(IRON_HEART) == 0 and st.getQuestItemsCount(SHILENS_CALL) == 0 : - htmltext = "30416-09.htm" - elif st.getQuestItemsCount(ARKENIAS_LETTER) == 0 and st.getQuestItemsCount(LEIKANS_NOTE) == 0 and st.getQuestItemsCount(SHILENS_TEARS) == 1 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 0 and st.getQuestItemsCount(IRON_HEART) == 0 and st.getQuestItemsCount(SHILENS_CALL) == 0 : - htmltext = "30416-10.htm" - elif st.getQuestItemsCount(ARKENIAS_LETTER) == 0 and st.getQuestItemsCount(LEIKANS_NOTE) == 0 and st.getQuestItemsCount(SHILENS_TEARS) == 0 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 0 and st.getQuestItemsCount(IRON_HEART) == 0 and st.getQuestItemsCount(SHILENS_CALL) == 1 : - htmltext = "30416-11.htm" - elif npcId == 30419 and st.getInt("cond")>=1 : - if st.getQuestItemsCount(ARKENIAS_LETTER) == 0 and st.getQuestItemsCount(LEIKANS_NOTE) == 0 and st.getQuestItemsCount(SHILENS_TEARS) == 0 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 0 and st.getQuestItemsCount(IRON_HEART) == 0 and st.getQuestItemsCount(SHILENS_CALL) == 1 : - htmltext = "30419-01.htm" - elif st.getQuestItemsCount(ARKENIAS_LETTER) == 1 and st.getQuestItemsCount(LEIKANS_NOTE) == 0 and st.getQuestItemsCount(SHILENS_TEARS) == 0 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 0 and st.getQuestItemsCount(IRON_HEART) == 0 and st.getQuestItemsCount(SHILENS_CALL) == 0 : - htmltext = "30419-07.htm" - elif st.getQuestItemsCount(ARKENIAS_LETTER) == 0 and st.getQuestItemsCount(LEIKANS_NOTE) == 0 and st.getQuestItemsCount(SHILENS_TEARS) == 1 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 0 and st.getQuestItemsCount(IRON_HEART) == 0 and st.getQuestItemsCount(SHILENS_CALL) == 0 : - htmltext = "30419-08.htm" - st.giveItems(ARKENIA_RECOMMEND,1) - st.takeItems(SHILENS_TEARS,1) - st.set("cond","7") - st.playSound("ItemSound.quest_middle") - elif st.getQuestItemsCount(ARKENIAS_LETTER) == 0 and st.getQuestItemsCount(LEIKANS_NOTE) == 0 and st.getQuestItemsCount(SHILENS_TEARS) == 0 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 1 and st.getQuestItemsCount(IRON_HEART) == 0 and st.getQuestItemsCount(SHILENS_CALL) == 0 : - htmltext = "30419-09.htm" - elif st.getQuestItemsCount(ARKENIAS_LETTER) == 0 and st.getQuestItemsCount(LEIKANS_NOTE) == 1 and st.getQuestItemsCount(SHILENS_TEARS) == 0 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 0 and st.getQuestItemsCount(IRON_HEART) == 0 and st.getQuestItemsCount(SHILENS_CALL) == 0 : - htmltext = "30419-10.htm" - elif st.getQuestItemsCount(ARKENIAS_LETTER) == 0 and st.getQuestItemsCount(LEIKANS_NOTE) == 0 and st.getQuestItemsCount(SHILENS_TEARS) == 0 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 0 and st.getQuestItemsCount(IRON_HEART) == 0 and st.getQuestItemsCount(SHILENS_CALL) == 0 : - htmltext = "30419-11.htm" - elif npcId == 30382 and st.getInt("cond")>=1 : - if st.getQuestItemsCount(ARKENIAS_LETTER) == 1 and st.getQuestItemsCount(LEIKANS_NOTE) == 0 and st.getQuestItemsCount(SHILENS_TEARS) == 0 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 0 and st.getQuestItemsCount(IRON_HEART) == 0 and st.getQuestItemsCount(SHILENS_CALL) == 0 and st.getQuestItemsCount(ONYX_BEASTS_MOLAR) == 0 : - htmltext = "30382-01.htm" - elif st.getQuestItemsCount(ARKENIAS_LETTER) == 0 and st.getQuestItemsCount(LEIKANS_NOTE) == 1 and st.getQuestItemsCount(SHILENS_TEARS) == 0 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 0 and st.getQuestItemsCount(IRON_HEART) == 0 and st.getQuestItemsCount(SHILENS_CALL) == 0 and st.getQuestItemsCount(ONYX_BEASTS_MOLAR) == 0 : - htmltext = "30382-05.htm" - elif st.getQuestItemsCount(ARKENIAS_LETTER) == 0 and st.getQuestItemsCount(LEIKANS_NOTE) == 1 and st.getQuestItemsCount(SHILENS_TEARS) == 0 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 0 and st.getQuestItemsCount(IRON_HEART) == 0 and st.getQuestItemsCount(SHILENS_CALL) == 0 and st.getQuestItemsCount(ONYX_BEASTS_MOLAR)<10 : - htmltext = "30382-06.htm" - elif st.getQuestItemsCount(ARKENIAS_LETTER) == 0 and st.getQuestItemsCount(LEIKANS_NOTE) == 1 and st.getQuestItemsCount(SHILENS_TEARS) == 0 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 0 and st.getQuestItemsCount(IRON_HEART) == 0 and st.getQuestItemsCount(SHILENS_CALL) == 0 and st.getQuestItemsCount(ONYX_BEASTS_MOLAR) >= 10 : - st.set("cond","5") - st.playSound("ItemSound.quest_middle") - htmltext = "30382-07.htm" - st.takeItems(ONYX_BEASTS_MOLAR,10) - st.takeItems(LEIKANS_NOTE,1) - elif st.getQuestItemsCount(SHILENS_TEARS) == 1 : - htmltext = "30382-08.htm" - elif st.getInt("cond") >= 1 and st.getQuestItemsCount(ARKENIAS_LETTER) == 0 and st.getQuestItemsCount(LEIKANS_NOTE) == 0 and st.getQuestItemsCount(SHILENS_TEARS) == 0 and st.getQuestItemsCount(ARKENIA_RECOMMEND) == 0 and st.getQuestItemsCount(IRON_HEART) == 0 and st.getQuestItemsCount(SHILENS_CALL) == 0 and st.getQuestItemsCount(ONYX_BEASTS_MOLAR) == 0 : - htmltext = "30382-09.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 == 27036 : - if st.getInt("cond") >= 1 and st.getQuestItemsCount(SHILENS_TEARS) == 0 : - st.giveItems(SHILENS_TEARS,1) - st.playSound("ItemSound.quest_middle") - st.set("cond","6") - elif npcId == 20369 : - if st.getInt("cond") >= 1 and st.getQuestItemsCount(LEIKANS_NOTE) == 1 and st.getQuestItemsCount(ONYX_BEASTS_MOLAR)<10 : - st.giveItems(ONYX_BEASTS_MOLAR,1) - if st.getQuestItemsCount(ONYX_BEASTS_MOLAR) == 10 : - st.playSound("ItemSound.quest_middle") - st.set("cond","4") - else: - st.playSound("ItemSound.quest_itemget") - return - -QUEST = Quest(411,qn,"Path of the Assassin") - -QUEST.addStartNpc(30416) - -QUEST.addTalkId(30416) - -QUEST.addTalkId(30382) -QUEST.addTalkId(30419) - -QUEST.addKillId(20369) -QUEST.addKillId(27036) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-03.htm deleted file mode 100644 index a38ae79cec..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-03.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Charkeren:<br> -Those wretched murderers threw the corpses of my family in the<font color="LEVEL"> marsh</font>, but I can't bear to go there to search. If I could devour those murderers like a wild beast, it still wouldn't satisfy my hunger for revenge! Please find the bodies of my parents and younger sister. I beg you. The zombies of the wood Elves have probably torn up the corpses.<font color="LEVEL"> Kill the wood elf zombies and bring back the three remains, please.</font><br> -This key was given to me by my parents as a gift. It is supposed to bring good luck. Carry this with you. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-04.htm deleted file mode 100644 index d79381fc20..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-04.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Charkeren:<br> -I didn't think it would be easy to find all the remains of my family ... I know the marsh is quite large ...<br> -They say that the wood elf zombies love dead bodies, so I'm sure they have scattered the corpses of my family. I do not care how long it takes. Please find their remains. Please, I beg you. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30418-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30418-03.htm deleted file mode 100644 index f75a04b844..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30418-03.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Annika:<br> -How come you've returned empty-handed? Have you forgotten your promise already? Didn't you say you were going to find me two knee bones of the undead? You can get the knee bones by killing skeleton hunters, skeleton hunter archers, or misery skeletons. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30419-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30419-02.htm deleted file mode 100644 index da9fd0fbff..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30419-02.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Arkenia:<br> -Kill the<font color="LEVEL"> skeleton scouts</font> that appear in the Ruins of Agony and free the dead Humans' souls. Then, bring me the<font color="LEVEL"> heart of lunacy</font> you'll get from the skeleton's body. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30419-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30419-03.htm deleted file mode 100644 index e755cac51e..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30419-03.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Arkenia:<br> -You have found the heart of lunacy. This must be handled very carefully. If you are careless, it will burst. This heart is an important ingredient in the making of medicine. This much will make a lot of medicine.<br> -If you dry one of these hearts, it will become a seed of lunacy. Since you found all the hearts, I will give you the<font color="LEVEL"> seeds of lunacy</font> as a reward. If you carry this with you, you will not be tormented by evil creatures. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-02.htm deleted file mode 100644 index 4811ef88fc..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-02.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Varika:<br> -You do not have enough experience to become a Dark Wizard. Your level must be at least 18 to earn the qualifications for the power of the Dark Wizard. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-04.htm deleted file mode 100644 index a75d3d9554..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-04.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Varika:<br> -I see you already have the jewel of darkness. That means you are qualified to become a Dark Wizard. Take the jewel and go to a Grand Master of the Dark Elven guild in Gludio.<br> -The closest is the village of Gludin. Follow the road and continue on south. Go to the Dark Elven guild there and meet<font color="LEVEL"> Grand Master Xenos</font>. He will change your profession to Dark Wizard. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-06.htm deleted file mode 100644 index a39e9c960b..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-06.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Varika:<br> -Are you trying to trick me? Others may be easily fooled, but it will not be easy to fool me. I see you already have the seed of anger. Go find the remaining seeds. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-07.htm deleted file mode 100644 index 1f11acb26d..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-07.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> - -Varika:<br> -Go to the<font color="LEVEL"> waterfall</font> that is north of the Neutral Zone and northeast of here. There, you will feel a tremendous force of anger. I have foreseen that the one emitting the anger is a young Dark Elven youth by the name of<font color="LEVEL"> Charkeren.</font> Bring the seed of anger planted in his heart. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-09.htm deleted file mode 100644 index 8459ee3d80..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-09.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Varika:<br> -None are as weak as an opponent that has fear in his heart. I see you have the seed of horror. Did you collect all the other seeds? - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-12.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-12.htm deleted file mode 100644 index 7b35568b48..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-12.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Varika:<br> -You are quite an amusing person. If you already have the seed of lunacy, why have you come to find it again? Go gather the seeds that you do not have yet. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-13.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-13.htm deleted file mode 100644 index d7086af2cf..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-13.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Varika:<br> -For methods of finding seeds of lunacy, go and ask my sister Arkenia. She will tell you in detail what you wish to know. When you have found the seeds of lunacy, come and seek me again. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-16.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-16.htm deleted file mode 100644 index de3994c139..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-16.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Varika:<br> -So you have finally collected all the seeds of anger, despair, horror and lunacy. Now do you know the source of our power? There is no need to be afraid. All you have to do is control these by your will.<br> -Emotion is important when dealing with nature's elementals. Don't forget that emotion is the source of power. Since you have gathered all the seeds needed to become a Dark Wizard, I will give you a token. Take this token to the Grand Master Tobias ,He is the village of Gludio. He will change your profession to a Dark Wizard. Well then my brother, may the divine protection of Shilen be with you. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/__init__.py deleted file mode 100644 index 89d0fad0ec..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/__init__.py +++ /dev/null @@ -1,224 +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 = "412_PathToDarkwizard" - -SEEDS_OF_ANGER = 1253 -SEEDS_OF_DESPAIR = 1254 -SEEDS_OF_HORROR = 1255 -SEEDS_OF_LUNACY = 1256 -FAMILYS_ASHES = 1257 -KNEE_BONE = 1259 -HEART_OF_LUNACY = 1260 -JEWEL_OF_DARKNESS = 1261 -LUCKY_KEY = 1277 -CANDLE = 1278 -HUB_SCENT = 1279 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(1254, 1258)+[KNEE_BONE, HEART_OF_LUNACY]+range(1277,1280) - - def onEvent (self,event,st) : - htmltext = event - level = st.getPlayer().getLevel() - classId = st.getPlayer().getClassId().getId() - if event == "1" : - st.set("id","0") - if st.getInt("cond") == 0 : - if level >= 18 and classId == 0x26 and st.getQuestItemsCount(JEWEL_OF_DARKNESS) == 0 : - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - st.giveItems(SEEDS_OF_DESPAIR,1) - htmltext = "30421-05.htm" - elif classId != 0x26 : - if classId == 0x27 : - htmltext = "30421-02a.htm" - else: - htmltext = "30421-03.htm" - elif level<18 and classId == 0x26 : - htmltext = "30421-02.htm" - elif level >= 18 and classId == 0x26 and st.getQuestItemsCount(JEWEL_OF_DARKNESS) == 1 : - htmltext = "30421-04.htm" - elif event == "412_1" : - if st.getQuestItemsCount(SEEDS_OF_ANGER) : - htmltext = "30421-06.htm" - else: - htmltext = "30421-07.htm" - elif event == "412_2" : - if st.getQuestItemsCount(SEEDS_OF_HORROR) : - htmltext = "30421-09.htm" - else: - htmltext = "30421-10.htm" - elif event == "412_3" : - if st.getQuestItemsCount(SEEDS_OF_LUNACY) : - htmltext = "30421-12.htm" - elif st.getQuestItemsCount(SEEDS_OF_LUNACY) == 0 and st.getQuestItemsCount(SEEDS_OF_DESPAIR) : - htmltext = "30421-13.htm" - st.giveItems(HUB_SCENT,1) - elif event == "412_4" : - htmltext = "30415-03.htm" - st.giveItems(LUCKY_KEY,1) - elif event == "30418_1" : - htmltext = "30418-02.htm" - st.giveItems(CANDLE,1) - 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 != 30421 and id != State.STARTED : return htmltext - - if npcId == 30421 and st.getInt("cond")==0 : - if st.getQuestItemsCount(JEWEL_OF_DARKNESS) == 0 : - htmltext = "30421-01.htm" - return htmltext - else: - htmltext = "30421-04.htm" - elif npcId == 30421 and st.getInt("cond")==1 : - if st.getQuestItemsCount(SEEDS_OF_DESPAIR) and st.getQuestItemsCount(SEEDS_OF_HORROR) and st.getQuestItemsCount(SEEDS_OF_LUNACY) and st.getQuestItemsCount(SEEDS_OF_ANGER) : - htmltext = "30421-16.htm" - st.takeItems(SEEDS_OF_HORROR,1) - st.takeItems(SEEDS_OF_ANGER,1) - st.takeItems(SEEDS_OF_LUNACY,1) - st.takeItems(SEEDS_OF_DESPAIR,1) - st.giveItems(JEWEL_OF_DARKNESS,1) - isFinished = st.getGlobalQuestVar("1ClassQuestFinished") - if isFinished == "" : - if player.getLevel() >= 20 : - st.addExpAndSp(320534, 28630) - 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 st.getQuestItemsCount(SEEDS_OF_DESPAIR) == 1 and st.getQuestItemsCount(FAMILYS_ASHES) == 0 and st.getQuestItemsCount(LUCKY_KEY) == 0 and st.getQuestItemsCount(CANDLE) == 0 and st.getQuestItemsCount(HUB_SCENT) == 0 and st.getQuestItemsCount(KNEE_BONE) == 0 and st.getQuestItemsCount(HEART_OF_LUNACY) == 0 : - htmltext = "30421-17.htm" - elif st.getQuestItemsCount(SEEDS_OF_DESPAIR) == 1 and st.getInt("id") == 1 and st.getQuestItemsCount(SEEDS_OF_ANGER) == 0 : - htmltext = "30421-08.htm" - elif st.getQuestItemsCount(SEEDS_OF_DESPAIR) == 1 and st.getInt("id") == 2 and st.getQuestItemsCount(SEEDS_OF_HORROR) : - htmltext = "30421-19.htm" - elif st.getQuestItemsCount(SEEDS_OF_DESPAIR) == 1 and st.getInt("id") == 3 and st.getQuestItemsCount(HEART_OF_LUNACY) == 0 : - htmltext = "30421-13.htm" - elif npcId == 30419 and st.getInt("cond")==1 : - if st.getQuestItemsCount(HUB_SCENT) == 0 and st.getQuestItemsCount(HEART_OF_LUNACY) == 0 : - htmltext = "30419-01.htm" - st.giveItems(HUB_SCENT,1) - elif st.getQuestItemsCount(HUB_SCENT) and st.getQuestItemsCount(HEART_OF_LUNACY)<3 : - htmltext = "30419-02.htm" - elif st.getQuestItemsCount(HUB_SCENT) and st.getQuestItemsCount(HEART_OF_LUNACY) >= 3 : - htmltext = "30419-03.htm" - st.giveItems(SEEDS_OF_LUNACY,1) - st.takeItems(HEART_OF_LUNACY,3) - st.takeItems(HUB_SCENT,1) - elif npcId == 30415 and st.getInt("cond")==1 and st.getQuestItemsCount(SEEDS_OF_ANGER)==0 : - if st.getQuestItemsCount(SEEDS_OF_DESPAIR) == 1 and st.getQuestItemsCount(FAMILYS_ASHES) == 0 and st.getQuestItemsCount(LUCKY_KEY) == 0 : - htmltext = "30415-01.htm" - elif st.getQuestItemsCount(SEEDS_OF_DESPAIR) == 1 and st.getQuestItemsCount(FAMILYS_ASHES)<3 and st.getQuestItemsCount(LUCKY_KEY) == 1 : - htmltext = "30415-04.htm" - elif st.getQuestItemsCount(SEEDS_OF_DESPAIR) == 1 and st.getQuestItemsCount(FAMILYS_ASHES) >= 3 and st.getQuestItemsCount(LUCKY_KEY) == 1 : - htmltext = "30415-05.htm" - st.giveItems(SEEDS_OF_ANGER,1) - st.takeItems(FAMILYS_ASHES,3) - st.takeItems(LUCKY_KEY,1) - elif npcId == 30415 and st.getInt("cond")==1 and st.getQuestItemsCount(SEEDS_OF_ANGER)==1 : - htmltext = "30415-06.htm" - elif npcId == 30418 and st.getInt("cond")>0 and st.getQuestItemsCount(SEEDS_OF_HORROR)==0 : - if st.getQuestItemsCount(SEEDS_OF_DESPAIR) == 1 and st.getQuestItemsCount(CANDLE) == 0 and st.getQuestItemsCount(KNEE_BONE) == 0 : - htmltext = "30418-01.htm" - elif st.getQuestItemsCount(SEEDS_OF_DESPAIR) == 1 and st.getQuestItemsCount(CANDLE) == 1 and st.getQuestItemsCount(KNEE_BONE)<2 : - htmltext = "30418-03.htm" - elif st.getQuestItemsCount(SEEDS_OF_DESPAIR) == 1 and st.getQuestItemsCount(CANDLE) == 1 and st.getQuestItemsCount(KNEE_BONE) >= 2 : - htmltext = "30418-04.htm" - st.giveItems(SEEDS_OF_HORROR,1) - st.takeItems(CANDLE,1) - st.takeItems(KNEE_BONE,2) - 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 == 20015 : - st.set("id","0") - if st.getInt("cond") == 1 and st.getQuestItemsCount(LUCKY_KEY) == 1 and st.getQuestItemsCount(FAMILYS_ASHES)<3 : - if self.getRandom(2) == 0 : - st.giveItems(FAMILYS_ASHES,1) - if st.getQuestItemsCount(FAMILYS_ASHES) == 3 : - st.playSound("ItemSound.quest_middle") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == 20517 : - st.set("id","0") - if st.getInt("cond") == 1 and st.getQuestItemsCount(CANDLE) == 1 and st.getQuestItemsCount(KNEE_BONE)<2 : - if self.getRandom(2) == 0 : - st.giveItems(KNEE_BONE,1) - if st.getQuestItemsCount(KNEE_BONE) == 2 : - st.playSound("ItemSound.quest_middle") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == 20518 : - st.set("id","0") - if st.getInt("cond") == 1 and st.getQuestItemsCount(CANDLE) == 1 and st.getQuestItemsCount(KNEE_BONE)<2 : - if self.getRandom(2) == 0 : - st.giveItems(KNEE_BONE,1) - if st.getQuestItemsCount(KNEE_BONE) == 2 : - st.playSound("ItemSound.quest_middle") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == 20022 : - st.set("id","0") - if st.getInt("cond") == 1 and st.getQuestItemsCount(CANDLE) == 1 and st.getQuestItemsCount(KNEE_BONE)<2 : - if self.getRandom(2) == 0 : - st.giveItems(KNEE_BONE,1) - if st.getQuestItemsCount(KNEE_BONE) == 2 : - st.playSound("ItemSound.quest_middle") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == 20045 : - st.set("id","0") - if st.getInt("cond") == 1 and st.getQuestItemsCount(HUB_SCENT) == 1 and st.getQuestItemsCount(HEART_OF_LUNACY)<3 : - if self.getRandom(2) == 0 : - st.giveItems(HEART_OF_LUNACY,1) - if st.getQuestItemsCount(HEART_OF_LUNACY) == 3 : - st.playSound("ItemSound.quest_middle") - else: - st.playSound("ItemSound.quest_itemget") - return - -QUEST = Quest(412,qn,"Path To Darkwizard") - -QUEST.addStartNpc(30421) - -QUEST.addTalkId(30421) - -QUEST.addTalkId(30415) -QUEST.addTalkId(30418) -QUEST.addTalkId(30419) - -QUEST.addKillId(20015) -QUEST.addKillId(20022) -QUEST.addKillId(20045) -QUEST.addKillId(20517) -QUEST.addKillId(20518) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-02.htm deleted file mode 100644 index c6b8870862..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-02.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Sorceress Sidra:<br> -I am a Sorceress who has taught countless magicians, and I can feel the magic power of those who stand before me. The power I sense from you seems to be less than that needed to become a Shillien Oracle. Train a little more and return to me when your understanding of magic becomes deeper. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-04.htm deleted file mode 100644 index 241a26c68f..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-04.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Sorceress Sidra:<br> -The orb of abyss that you carry is a token that shows you have completed all requirements and are eligible to become a Shillien Oracle. Take the orb to a grand master of the Dark Elven Guild and he will change your profession. If you go to<font color="LEVEL"> Grand Master Tobias</font> just over there, you can change your profession immediately. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-05.htm deleted file mode 100644 index 60828ed955..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-05.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Sorceress Sidra:<br> -Good. You have sufficient experience and skill to take the test. Above all, I feel your thirst for enlightenment and power. To step into the ranks of the Shillien Oracle, you must pass<font color="LEVEL"> two customary tasks</font>. This will be an opportunity to prove that you have the courage not to fear darkness and the will not to turn your eyes from the light.<br> -<a action="bypass -h Quest 413_PathToShillienOracle 1">Ask about the two tests</a> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-07.htm deleted file mode 100644 index 32dcb0ce17..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-07.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Sorceress Sidra:<br> -<font color="LEVEL">Meet with Sorcerer Talbot and ask about Garmiel's Book. You can find him in the Dark Elven guild of<font color="LEVEL"> the village of Gludin</font>, located on the west coast. Show him my letter and he will greet you with pleasure. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-08.htm deleted file mode 100644 index 8bd5c8d157..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-08.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Sorceress Sidra:<br> -As Talbot taught you, collect the runes and complete<font color="LEVEL"> Garmiel's book.</font> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-09.htm deleted file mode 100644 index faabaff7e9..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-09.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Sorceress Sidra:<br> -The second level of the test is to find<font color="LEVEL"> Andariel's Book,</font> which contains the song phrases of creation sung by Einhasad. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-10.htm deleted file mode 100644 index d74d0d530a..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-10.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Sorceress Sidra:<br> -The two documents you hold in your hands contain parts of the song of creation sung by the Gods in the beginning. I trust that you discovered the power of the precious phrases and the truth of authority as you read them one by one.<br> -Now I am giving you the<font color="LEVEL"> orb of abyss.</font> With this, you have earned the qualification to become a Shillien Oracle. Take the orb of abyss and go to a Grand Master to request a change of occupation. If you speak to<font color="LEVEL"> Grand Master Tobias</font> over there, you can change profession right now. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-01.htm deleted file mode 100644 index 0429f35e3a..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-01.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> - -<body> -Priest Adonius:<br> -This place is the holy hall where we serve Einhasad, god of light. Why have you, a member of the race of darkness, set foot in this place?<br> -<a action="bypass -h Quest 413_PathToShillienOracle 30375_1">Say you have decided to walk the path of light</a> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-06.htm deleted file mode 100644 index 4effaf2f5a..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-06.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Priest Adonius:<br> -Your atonement ritual is not complete until you gather<font color="LEVEL"> ten</font> ashen bones. Although it is difficult, you must endure. As it is a ritual in which you repent the dark activities of the past and accept the light of Einhasad into your soul, you must face it with a solemn heart. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-03.htm deleted file mode 100644 index 4afe6ce526..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-03.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Sorcerer Talbot:<br> -I see you haven't left yet. Why are you hesitating? Hurry and go to the Dark Forest. There,<font color="LEVEL"> near the School of Dark Arts</font>, there are<font color="LEVEL"> dark succubi.</font> Destroy them and bring back five bloody runes. May the divine protection of Gran Kain be with you! - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-04.htm deleted file mode 100644 index 18bf4d7a80..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-04.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html> - -<body> -Sorcerer Talbot:<br> -This is not enough. You must have<font color="LEVEL"> five bloody runes</font> in order to complete Garmiel's book. - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-05.htm deleted file mode 100644 index 71e9bd130a..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-05.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html> - -<body> -Sorcerer Talbot:<br> -May Shilen's blessing be with all those who search for the truth of darkness... I see you have brought back all five bloody runes. I will combine these and write out Garmiel's Book for you. It is only a small section of the song of darkness that Gran Kain sang in the beginning, but the truth within will develop your realization of magic to a level higher.<br> -Now take this. It is the completed Garmiel's Book. Read its passages as you rest during your journey, and adapt the truth within as your own.<br> -Now you must fulfill the second custom that you must pass to become a Shillien Oracle. You must find<font color="LEVEL"> Andariel's Book,</font> which contains parts of the song of creation sung by the God of Light in the beginning. Take this book to<font color="LEVEL"> Priest Adonius</font> in the temple of Einhasad. He will receive you cordially when you say, <font color="F9AD81">'I have read your book and, being deeply moved, I have repented of my sins and decided to accept the light.'</font> - - -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/__init__.py deleted file mode 100644 index 6d0b65b854..0000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/__init__.py +++ /dev/null @@ -1,207 +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 = "413_PathToShillienOracle" - -SIDRAS_LETTER1 = 1262 -BLANK_SHEET1 = 1263 -BLOODY_RUNE1 = 1264 -GARMIEL_BOOK = 1265 -PRAYER_OF_ADON = 1266 -PENITENTS_MARK = 1267 -ASHEN_BONES = 1268 -ANDARIEL_BOOK = 1269 -ORB_OF_ABYSS = 1270 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(1262,1270) - - def onEvent (self,event,st) : - htmltext = event - level = st.getPlayer().getLevel() - classId = st.getPlayer().getClassId().getId() - if event == "1" : - st.set("id","0") - htmltext = "30330-06.htm" - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - st.giveItems(SIDRAS_LETTER1,1) - elif event == "413_1" : - if level >= 18 and classId == 0x26 and st.getQuestItemsCount(ORB_OF_ABYSS) == 0 : - htmltext = "30330-05.htm" - return htmltext - elif classId != 0x26 : - if classId == 0x2a : - htmltext = "30330-02a.htm" - else: - htmltext = "30330-03.htm" - elif level<18 and classId == 0x26 : - htmltext = "30330-02.htm" - elif level >= 18 and classId == 0x26 and st.getQuestItemsCount(ORB_OF_ABYSS) == 1 : - htmltext = "30330-04.htm" - elif event == "30377_1" : - htmltext = "30377-02.htm" - st.takeItems(SIDRAS_LETTER1,1) - st.giveItems(BLANK_SHEET1,5) - st.set("cond","2") - elif event == "30375_1" : - htmltext = "30375-02.htm" - elif event == "30375_2" : - htmltext = "30375-03.htm" - elif event == "30375_3" : - htmltext = "30375-04.htm" - st.takeItems(PRAYER_OF_ADON,1) - st.giveItems(PENITENTS_MARK,1) - st.set("cond","5") - 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 != 30330 and id != State.STARTED : return htmltext - - if npcId == 30330 and st.getInt("cond")==0 : - htmltext = "30330-01.htm" - elif npcId == 30330 and st.getInt("cond") : - if st.getQuestItemsCount(SIDRAS_LETTER1) == 1 : - htmltext = "30330-07.htm" - elif st.getQuestItemsCount(BLANK_SHEET1)>0 or st.getQuestItemsCount(BLOODY_RUNE1) == 1 : - htmltext = "30330-08.htm" - elif st.getQuestItemsCount(ANDARIEL_BOOK) == 0 and st.getQuestItemsCount(PRAYER_OF_ADON)+st.getQuestItemsCount(GARMIEL_BOOK)+st.getQuestItemsCount(PENITENTS_MARK)+st.getQuestItemsCount(ASHEN_BONES)>0 : - htmltext = "30330-09.htm" - elif st.getQuestItemsCount(ANDARIEL_BOOK) == 1 and st.getQuestItemsCount(GARMIEL_BOOK) == 1 : - htmltext = "30330-10.htm" - st.takeItems(ANDARIEL_BOOK,1) - st.takeItems(GARMIEL_BOOK,1) - st.giveItems(ORB_OF_ABYSS,1) - isFinished = st.getGlobalQuestVar("1ClassQuestFinished") - if isFinished == "" : - if player.getLevel() >= 20 : - st.addExpAndSp(320534, 26532) - elif player.getLevel() == 19 : - st.addExpAndSp(456128, 33230) - else: - st.addExpAndSp(591724, 39928) - 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 == 30377 and st.getInt("cond") : - if st.getQuestItemsCount(SIDRAS_LETTER1) == 1 : - htmltext = "30377-01.htm" - elif st.getQuestItemsCount(BLANK_SHEET1) == 5 and st.getQuestItemsCount(BLOODY_RUNE1) == 0 : - htmltext = "30377-03.htm" - elif st.getQuestItemsCount(BLOODY_RUNE1)>0 and st.getQuestItemsCount(BLOODY_RUNE1)<5 : - htmltext = "30377-04.htm" - elif st.getQuestItemsCount(BLOODY_RUNE1) >= 5 : - htmltext = "30377-05.htm" - st.takeItems(BLOODY_RUNE1,st.getQuestItemsCount(BLOODY_RUNE1)) - st.giveItems(GARMIEL_BOOK,1) - st.giveItems(PRAYER_OF_ADON,1) - st.set("cond","4") - elif st.getQuestItemsCount(PRAYER_OF_ADON)+st.getQuestItemsCount(PENITENTS_MARK)+st.getQuestItemsCount(ASHEN_BONES)>0 : - htmltext = "30377-06.htm" - elif st.getQuestItemsCount(ANDARIEL_BOOK) == 1 and st.getQuestItemsCount(GARMIEL_BOOK) == 1 : - htmltext = "30377-07.htm" - elif npcId == 30375 and st.getInt("cond") : - if st.getQuestItemsCount(PRAYER_OF_ADON) == 1 : - htmltext = "30375-01.htm" - elif st.getQuestItemsCount(PENITENTS_MARK) == 1 and st.getQuestItemsCount(ASHEN_BONES) == 0 and st.getQuestItemsCount(ANDARIEL_BOOK) == 0 : - htmltext = "30375-05.htm" - elif st.getQuestItemsCount(PENITENTS_MARK) == 1 and st.getQuestItemsCount(ASHEN_BONES)<10 and st.getQuestItemsCount(ASHEN_BONES)>0 : - htmltext = "30375-06.htm" - elif st.getQuestItemsCount(PENITENTS_MARK) == 1 and st.getQuestItemsCount(ASHEN_BONES) >= 10 : - htmltext = "30375-07.htm" - st.takeItems(ASHEN_BONES,st.getQuestItemsCount(ASHEN_BONES)) - st.takeItems(PENITENTS_MARK,st.getQuestItemsCount(PENITENTS_MARK)) - st.giveItems(ANDARIEL_BOOK,1) - st.set("cond","7") - elif st.getQuestItemsCount(ANDARIEL_BOOK) == 1 : - htmltext = "30375-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 npcId == 20776 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(BLANK_SHEET1)>0 : - st.giveItems(BLOODY_RUNE1,1) - st.takeItems(BLANK_SHEET1,1) - if st.getQuestItemsCount(BLANK_SHEET1) == 0 : - st.playSound("ItemSound.quest_middle") - st.set("cond","3") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == 20514 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(PENITENTS_MARK) == 1 and st.getQuestItemsCount(ASHEN_BONES)<10 : - st.giveItems(ASHEN_BONES,1) - if st.getQuestItemsCount(ASHEN_BONES) == 10 : - st.playSound("ItemSound.quest_middle") - st.set("cond","6") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == 20515 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(PENITENTS_MARK) == 1 and st.getQuestItemsCount(ASHEN_BONES)<10 : - st.giveItems(ASHEN_BONES,1) - if st.getQuestItemsCount(ASHEN_BONES) == 10 : - st.playSound("ItemSound.quest_middle") - st.set("cond","6") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == 20457 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(PENITENTS_MARK) == 1 and st.getQuestItemsCount(ASHEN_BONES)<10 : - st.giveItems(ASHEN_BONES,1) - if st.getQuestItemsCount(ASHEN_BONES) == 10 : - st.playSound("ItemSound.quest_middle") - st.set("cond","6") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == 20458 : - st.set("id","0") - if st.getInt("cond") and st.getQuestItemsCount(PENITENTS_MARK) == 1 and st.getQuestItemsCount(ASHEN_BONES)<10 : - st.giveItems(ASHEN_BONES,1) - if st.getQuestItemsCount(ASHEN_BONES) == 10 : - st.playSound("ItemSound.quest_middle") - st.set("cond","6") - else: - st.playSound("ItemSound.quest_itemget") - return - -QUEST = Quest(413,qn,"Path To Shillien Oracle") - -QUEST.addStartNpc(30330) - -QUEST.addTalkId(30330) - -QUEST.addTalkId(30375) -QUEST.addTalkId(30377) - -QUEST.addKillId(20457) -QUEST.addKillId(20458) -QUEST.addKillId(20514) -QUEST.addKillId(20515) -QUEST.addKillId(20776) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30157-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30157-01.html new file mode 100644 index 0000000000..037371eada --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30157-01.html @@ -0,0 +1,6 @@ +<html><body>Magister Greenis:<br> +Oh...a letter from my godmother! How is she? I haven't seen her for ages... Hmm, I see you're searching for the Magical Powers Ruby.<br> +It has been the symbol of my family for 200 years; no one in all of Oren or Gludio knows it better than I do. Rubies were once mined throughout northern Gludio, but those sites all collapsed during the war with Gracia.<br> +We have been unable to find any trace of the original mines. Fortunately, I still have a small piece of the Magical Powers Ruby. Precious as it is, I will give it to you in exchange for a favor. What do you say?<br> +<a action="bypass -h Quest Q00408_PathOfTheElvenWizard 30157-02.html">Say yes.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30157-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30157-02.html new file mode 100644 index 0000000000..58c3659540 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30157-02.html @@ -0,0 +1,5 @@ +<html><body>Magister Greenis:<br> +Thank you. The Magical Powers Ruby contains a fiery force immensely valuable to those of us who study Elemental Magic.<br> +I would like to create more of these rubies, but to do so I need a vital ingredient that can only be found on the neck of a Pincer Spider: <font color="LEVEL">Red Down</font>.<br> +If you bring me back 5 clumps of Red Down I will create a Magical Powers Ruby just for you. Here, take this. It is a talisman that has protected me from evil creatures in the past. Perhaps it will help you in this task as well. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30157-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30157-03.html new file mode 100644 index 0000000000..12a767faa5 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30157-03.html @@ -0,0 +1,4 @@ +<html><body>Magister Greenis:<br> +<font color="LEVEL">Hunt Pincer Spiders and bring back 5 clumps of Red Down, and I will give you a Magical Powers Ruby.</font><br> +Even Human Mystics use the ruby in their magical studies; the Wizards of the Ivory tower use the refined red dust to summon elemental spirits. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30157-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30157-04.html new file mode 100644 index 0000000000..d2e238dc8b --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30157-04.html @@ -0,0 +1,5 @@ +<html><body>Magister Greenis:<br> +Well done! Now I have all I need to fashion a Magical Powers Ruby.<br> +Here, take it!<br> +Before you leave, though, let me give you a word of advice. Talent will only take you so far in your Mystical studies. There is no substitute for hard work and disciplined study. The high-level Mystics of the Ivory Tower spend every waking moment in research, spurning food, sleep, recreation, love and all other distractions. Follow their example and you will advance far! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30371-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30371-01.html similarity index 53% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30371-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30371-01.html index da5e5c88c5..20d6ffedae 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30371-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30371-01.html @@ -1,13 +1,6 @@ -<html> - -<body> - -Thalia:<br> +<html><body>Thalia:<br> What have you come here for? Oh... What a delicious looking apple! Is this for me? This reminds me of the legend of the Elven maiden who picked the apple of knowledge.<br> -Rosella sent you? Are you looking for the<font color="LEVEL"> Pure Aquamarine</font>? Rosella asked me before... She told me to kindly tell the whereabouts of the Aquamarine of Water, should anyone ask for it.<br> -But aquamarines are not only precious, but a very valuable resource for us Elves. I cannot tell that secret to just anyone. If you perform a task for me, I shall tell you about the aquamarine.<br> -<a action="bypass -h Quest 408_PathToElvenwizard 408_5">Say you will perform the task</a> - - -</body> -</html> \ No newline at end of file +Rosella sent you? Are you looking for the <font color="LEVEL">Pure Aquamarine</font>? Rosella asked me before... She told me to kindly tell the whereabouts of the Aquamarine of Water, should anyone ask for it.<br> +But Aquamarines are not only precious, but a very valuable resource for us Elves. I cannot tell that secret to just anyone. If you perform a task for me, I shall tell you about the Aquamarine.<br> +<a action="bypass -h Quest Q00408_PathOfTheElvenWizard 30371-02.html">Say you will perform the task</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30371-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30371-02.html similarity index 61% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30371-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30371-02.html index ccee525b6e..262fbcbd02 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30371-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30371-02.html @@ -1,12 +1,5 @@ -<html> - -<body> - -Thalia:<br> +<html><body>Thalia:<br> My request is not a difficult one. A special fertilizer is needed to maintain the green health of the Mother Trees that we look after. This fertilizer is made from the leaves that fall from the trees in the Elven Forest.<br> -Have you ever seen any fallen leaves in the Elven Forest? Probably not. That is because the dryad elders collect them even before the leaves have had a chance to settle on the ground. They gather these leaves and turn them into<font color="LEVEL"> golden leaves.</font> Use these golden leaves as fertilizer, and the trees of the Human world will never have to be fertilized again.<br> -Take this sap with you and slay<font color="LEVEL"> dryad elders</font> to obtain the golden leaf in its possession. Bring back<font color="LEVEL"> 5 golden leaves</font> and I will tell you the whereabouts of the aquamarine. - - -</body> -</html> \ No newline at end of file +Have you ever seen any fallen leaves in the Elven Forest? Probably not. That is because the dryad elders collect them even before the leaves have had a chance to settle on the ground. They gather these leaves and turn them into <font color="LEVEL">golden leaves.</font> Use these golden leaves as fertilizer, and the trees of the Human world will never have to be fertilized again.<br> +Take this sap with you and slay <font color="LEVEL">dryad elders</font> to obtain the golden leaf in its possession. Bring back <font color="LEVEL">5 golden leaves</font> and I will tell you the whereabouts of the Aquamarine. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30371-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30371-03.html similarity index 76% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30371-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30371-03.html index 337bbba58d..90c91ee860 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30371-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30371-03.html @@ -1,11 +1,4 @@ -<html> - -<body> - -Thalia:<br> -You are lacking in effort. My sisters and I have worked for hundreds of years without a day of rest to look after the Mother Trees and gather their fruit. Precious items require much work. I cannot tell you about the aquamarine until you have gathered<font color="LEVEL"> 5 gold leaves</font>.<br> +<html><body>Thalia:<br> +You are lacking in effort. My sisters and I have worked for hundreds of years without a day of rest to look after the Mother Trees and gather their fruit. Precious items require much work. I cannot tell you about the Aquamarine until you have gathered <font color="LEVEL">5 Gold Leaves</font>.<br> Elves serve Einhashad, Goddess of Light, along with our mother, Eva, and thus our magic possesses the properties of light. It is our responsibility to fill the forest and the plains with joyous music. This is what we ultimately seek to achieve through magic. When our songs fill the earth, the land will become a paradise. - - -</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/Q00408_PathOfTheElvenWizard/30371-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30371-04.html new file mode 100644 index 0000000000..8026e3642a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30371-04.html @@ -0,0 +1,5 @@ +<html><body>Thalia:<br> +You have found all 5 Gold Leaves, I see. In return, I will tell you about the Pure Aquamarine.<br> +The Mother Tree normally does not have any dew, but when the roots absorb the nutrition of the golden leaves, large, beautiful drops of dew form. On rare occasions, one can find a <font color="LEVEL">Pure Aquamarine</font> among the dew.<br> +Here, take this Pure Aquamarine. I pray that you may safely pass your ritual. And do not forget... It is our responsibility to fill the forest and the plains with joyous music... When our songs fill the earth, the land will become a paradise. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-01.htm similarity index 67% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-01.htm index 73c6eb1468..ebf6c163dc 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-01.htm @@ -1,13 +1,7 @@ -<html> - -<body> -Rosella:<br> +<html><body>Rosella:<br> Elven Wizards are in the preparatory level before becoming a Spellsinger or Elemental Summoner. They aren't to be compared with the likes of the Dark Elves, who walk the path of evil.<br> -To become an Elven Wizard, you must learn how to communicate with the spirits. For this communication, you must find the four jewels that symbolize<font color="LEVEL"> water, fire, wind and earth</font> and then perform a ritual. The ritual is performed to gain understanding of the basic elements that construct the world, and to receive Eva's blessing.<br> +To become an Elven Wizard, you must learn how to communicate with the spirits. For this communication, you must find the four jewels that symbolize <font color="LEVEL">water, fire, wind and earth</font> and then perform a ritual. The ritual is performed to gain understanding of the basic elements that construct the world, and to receive Eva's blessing.<br> Just recently, a young one of your age came and finished the ritual. What do you think? Will you take the challenge?<br> -<a action="bypass -h Quest 408_PathToElvenwizard 1">Take the challenge</a><br> -<a action="bypass -h Quest 408_PathToElvenwizard 30414-02.htm">Take the challenge later</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00408_PathOfTheElvenWizard ACCEPT">Take the challenge</a><br> +<a action="bypass -h Quest Q00408_PathOfTheElvenWizard 30414-02.htm">Take the challenge later</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-02.htm similarity index 65% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-02.htm index c930a7ceb0..12eb857b9a 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-02.htm @@ -1,9 +1,3 @@ -<html> - -<body> -Rosella:<br> +<html><body>Rosella:<br> Well, it is not a bad idea to savor the charm of nature a little longer and take the challenge later. - - -</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/Q00408_PathOfTheElvenWizard/30414-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-02a.htm new file mode 100644 index 0000000000..59edc48325 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-02a.htm @@ -0,0 +1,3 @@ +<html><body>Rosella:<br> +Looking again... I see you have already earned the title of Elven Wizard... Why are you trying to challenge the trial again? Leave the trial for those younger than you... You should concentrate more on the task of studying the order of mother nature. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-03.htm similarity index 80% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-03.htm index c1bf810b14..20a0d7debb 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-03.htm @@ -1,10 +1,4 @@ -<html> - -<body> -Rosella:<br> +<html><body>Rosella:<br> Oh no... At my age, my eyes are always tricking me. I'm afraid you cannot perform the ritual. Only Elven Mystics have the qualifications for it.<br> I must go back to my knitting. My grandson will be having his birthday soon. - - -</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/Q00408_PathOfTheElvenWizard/30414-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-04.htm new file mode 100644 index 0000000000..f2ac5fbc69 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-04.htm @@ -0,0 +1,5 @@ +<html><body>Rogellia:<br> +Wait a moment... Youngster, I think I made a mistake. You are too young to complete the ceremony.<br> +I cannot send an innocent soul like yours into the harsh world. See me again after you have gained more experience.<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/408_PathToElvenwizard/30414-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-05.htm similarity index 66% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-05.htm index b0a85b9a71..64b7b7e73d 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-05.htm @@ -1,10 +1,4 @@ -<html> - -<body> -Rosella:<br> +<html><body>Rosella:<br> Hmmm now, aren't you the one who finished the ritual? What are you waiting for? Go take a step into the wider world. Seek the High Priest. He will teach you what you must do and how to survive.<br> -May the protection of mother Eva be with you . - - -</body> -</html> \ No newline at end of file +May the protection of mother Eva be with you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-06.htm new file mode 100644 index 0000000000..67889bb312 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-06.htm @@ -0,0 +1,8 @@ +<html><body>Rosella:<br> +Four things are required to perform the ritual. They are <font color="LEVEL">4 jewels that represent water, fire, wind and the earth.</font> If you devote the jewels to Mother Nature and perform the ritual for Eva's blessing, in return, you will be able to communicate more deeply with the spirits.<br> +First, I give you this <font color="LEVEL">Fertility Peridot.</font> This is the token of earth, symbolizing abundance and productivity. This is given to you, who wants to have a deeper understanding of nature, as a gift.<br> +Now you must find the remaining three by yourself. Which one do you want to seek first?<br> +<a action="bypass -h Quest Q00408_PathOfTheElvenWizard 30414-10.html">Ruby, symbol of fire</a><br> +<a action="bypass -h Quest Q00408_PathOfTheElvenWizard 30414-12.html">Aquamarine, symbol of water</a><br> +<a action="bypass -h Quest Q00408_PathOfTheElvenWizard 30414-16.html">Amethyst, symbol of wind</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-07.html new file mode 100644 index 0000000000..648c8d590b --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-07.html @@ -0,0 +1,3 @@ +<html><body>Rosella:<br> +Ruby... When I look at the red hues, I feel a memory stirring the passions of my youth... If you seek the ruby, symbol of fire, go to <font color="LEVEL">Magister Greenis in the Elven Village</font>. I was her godmother when she was born. She is a fine lady. Please give her this letter I wrote about you so she will help you to find the ruby. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-08.html new file mode 100644 index 0000000000..1db26599ce --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-08.html @@ -0,0 +1,3 @@ +<html><body>Rosella:<br> +Take the letter I gave you to <font color="LEVEL">Magister Greenis in the Elven Village.</font> If you ask her for help, she will tell you about the ruby that symbolizes fire. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-09.html new file mode 100644 index 0000000000..2c8f9f55e0 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-09.html @@ -0,0 +1,3 @@ +<html><body>Rosella:<br> +Have you met Magister Greenis? How is the dear child? If you do as she says, you can find the ruby. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-10.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-10.html new file mode 100644 index 0000000000..2117490036 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-10.html @@ -0,0 +1,3 @@ +<html><body>Rosella:<br> +Are you testing me? Don't you already have the <font color="LEVEL">magical powersd ruby?</font> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-11.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-11.html new file mode 100644 index 0000000000..521c9a4263 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-11.html @@ -0,0 +1,7 @@ +<html><body>Rosella:<br> +If you devote four jewels, symbolizing water, fire, wind and earth, to Mother Nature and perform the ritual for Eva's blessing, in return, you will be able to communicate more deeply with the spirits.<br> +I already gave you the Fertility Peridot so go and find the remaining three by yourself. Which jewel do you want to seek first?<br> +<a action="bypass -h Quest Q00408_PathOfTheElvenWizard 30414-10.html">Ruby, symbol of fire</a><br> +<a action="bypass -h Quest Q00408_PathOfTheElvenWizard 30414-12.html">Aquamarine, symbol of water</a><br> +<a action="bypass -h Quest Q00408_PathOfTheElvenWizard 30414-16.html">Amethyst, symbol of wind</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-12.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-12.html new file mode 100644 index 0000000000..845a1c085a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-12.html @@ -0,0 +1,4 @@ +<html><body>Rosella:<br> +How about learning a spell that increases memory? Haven't you already found the <font color="LEVEL">Pure Aquamarine?</font> A young one like you should have a better memory!<br> +As I told you before, the Pure Aquamarine symbolizes water. The Elves who serve Eva always have divine protection of water. That's why the Aquamarine, which has the power of water, is the most beloved jewel among Elven Mystics. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-13.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-13.html new file mode 100644 index 0000000000..a80a38012b --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-13.html @@ -0,0 +1,4 @@ +<html><body>Rosella:<br> +Of course, you probably already know that water is the symbol of our mother Eva. Therefore, unlike other races, we elves receive the divine protection of mother Eva in the water. You need not go far to find the <font color="LEVEL"> Pure Aquamarine,</font> that symbolizes water. It can be found in the Elven Forest. <font color="LEVEL">Go to Thalia who tends the Mother Tree at Lake Iris.</font> Give this fruit to her as a give, and ask her about the jewel. She will gladly help you.<br> +You can reach Lake Iris if you go straight south of the Elven Village. Thalia will be at the eastern shore of the lake. Well then, good luck. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-14.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-14.html new file mode 100644 index 0000000000..c1f3e6a58c --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-14.html @@ -0,0 +1,4 @@ +<html><body>Rosella:<br> +Go see <font color="LEVEL">Thalia,</font> who takes care of the Mother Tree on <font color="LEVEL">Lake Iris.</font> She will tell you about the <font color="LEVEL">Pure Aquamarine.</font><br> +You can reach Lake Iris if you go straight south of the Elven Village. Thalia will be at the eastern shore of the lake. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-15.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-15.html new file mode 100644 index 0000000000..f4005d9e98 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-15.html @@ -0,0 +1,3 @@ +<html><body>Rosella:<br> +Did Thalia tell you about the Aquamarine? She is a very clever girl. She may test your skills. Her favorite test is related to the <font color="LEVEL">Gold Leaves.</font> You can usually get them from the dryad elders. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-16.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-16.html new file mode 100644 index 0000000000..c5f706c192 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-16.html @@ -0,0 +1,3 @@ +<html><body>Rosella:<br> +Don't you already have the <font color="LEVEL">Magical Powers Ruby?</font> Try to find the other jewels. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-18.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-17.html similarity index 70% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-18.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-17.html index b70ab55bf3..42ff28c66a 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-18.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-17.html @@ -1,12 +1,5 @@ -<html> - -<body> - -Rosella:<br> -The<font color="LEVEL"> nobility amethyst</font> is the symbol of elegance and nobility and at the same time is the symbol of Sayha, the God of Wind. The force of the wind within the jewel is an important material for Mystics who study the magic of storms. Well, if you had studied the basics, you would know all this...<br> -Meet a person by the name of<font color="LEVEL"> Northwind</font> at the entrance to the Underground Fortress. He may know something abouth the amethyst. Give this book to him and he will give you aid.<br> +<html><body>Rosella:<br> +The <font color="LEVEL">Nobility Amethyst</font> is the symbol of elegance and nobility and at the same time is the symbol of Sayha, the God of Wind. The force of the wind within the jewel is an important material for Mystics who study the magic of storms. Well, if you had studied the basics, you would know all this...<br> +Meet a person by the name of <font color="LEVEL">Northwind</font> at the entrance to the Underground Fortress. He may know something abouth the Amethyst. Give this book to him and he will give you aid.<br> To find the Elven Fortress, first go north of the village to the Neutral Zone, cross the bridge, and enter the Elven forest. If you cross the bridge, you will immediately see the grand Elven Fortress. The entrance is at the other side of the mountain. - - -</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/Q00408_PathOfTheElvenWizard/30414-18.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-18.html new file mode 100644 index 0000000000..c3829291c6 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-18.html @@ -0,0 +1,4 @@ +<html><body>Rosella:<br> +Give the book I gave you to Northwind. The book is called, 'Immortal Love'... A wonderful love story... So touching... He asked for the book a long time ago.<br> +To find the Elven Fortress, first go north of the village to the Neutral Zone, cross the bridge, and enter the Elven forest. If you cross the bridge, you will immediately see the grand Elven Fortress. The entrance is at the other side of the mountain. You will be able to meet Northwind over there. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-19.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-19.html new file mode 100644 index 0000000000..ed6fc616da --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-19.html @@ -0,0 +1,3 @@ +<html><body>Rosella:<br> +Didn't Northwind tell you the story of the <font color="LEVEL">Nobility Amethyst?</font> There is no one who can better explain about the jewel in the Elven Forest. Meet him and ask him in detail. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-20.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-20.html new file mode 100644 index 0000000000..b531479fb8 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-20.html @@ -0,0 +1,5 @@ +<html><body>Rosella:<br> +Oh! You have collected all the jewels! Now we can begin the ritual.<br> +Water is the source of life. Mother, and eternity. Cleanse our stained souls with the Tears of Eva, purer than anything in the world, and give us your new blessing...<br> +With this, you have performed the ritual and earned the qualifications to become an Elven Wizard. Here, take this <font color="LEVEL">Eternity Diamond.</font> If you take this to <font color="LEVEL">High Priest Raymond in the Town of Gludio,</font> he will change your occupation to Elven Wizard. Of course, you can go to <font color="LEVEL">High Priestess Levian in Gludin</font> as well. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-21.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-21.html new file mode 100644 index 0000000000..14496a4280 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-21.html @@ -0,0 +1,3 @@ +<html><body>Rosella:<br> +You have collected <font color="LEVEL">five clumps of Red Down.</font> This will be useful in manufacturing the Magical Powers Ruby. Greenis will be waiting, so go to her quickly and give her the down. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-26.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-22.html similarity index 67% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-26.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-22.html index 7e9903304e..3ba758ef42 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30414-26.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-22.html @@ -1,10 +1,3 @@ -<html> - -<body> - -Rosella:<br> -You have collected<font color="LEVEL"> five gold leaves</font> with no difficulty, I see. There was a time when the Elven Forest was full of these leaves... Now they are very rare because of the dryads. Thalia must be waiting for these leaves, I don't want to keep her waiting. Bring her these leaves and be quick. - - -</body> -</html> \ No newline at end of file +<html><body>Rosella:<br> +You have collected <font color="LEVEL">five Gold Leaves</font> with no difficulty, I see. There was a time when the Elven Forest was full of these leaves... Now they are very rare because of the dryads. Thalia must be waiting for these leaves, I don't want to keep her waiting. Bring her these leaves and be quick. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-23.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-23.html new file mode 100644 index 0000000000..cd70765d0c --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30414-23.html @@ -0,0 +1,3 @@ +<html><body>Rosella:<br> +This is an ordinary Amethyst. Yes, this will be fine for Northwind to make a Nobility Amethyst. Northwind has a temper, so he won't wait long. If you are late, he may go someplace else. Hurry and go find him. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30423-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30423-01.html new file mode 100644 index 0000000000..4a4e689b9f --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30423-01.html @@ -0,0 +1,6 @@ +<html><body>Northwind:<br> +Oh... Rosella must have sent it. I've been begging her for a month to lend me this book. The love story in this book is very impressive. You may criticize a man that reads Romance Novels, but... Love is a truth that does not change.<br> +Hmm... Rosella has written a letter on the first page. She asks me to tell you about the <font color="LEVEL">Nobility Amethyst.</font> Since you gave me the book I really wanted, and since Rosella has asked me, I will tell you how to find the Amethyst.<br> +To obtain the Nobility Amethyst you need <font color="LEVEL">two regular Amethysts.</font> You can get the Amethysts by killing the <font color="LEVEL">sukar wererat leaders</font> in the Elven Underground Fortress. The Underground Fortress is dangerous... Please be careful.<br> +I'll lend you this for good luck. It has always given me good luck. Return it when you have found the Amethyst. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30423-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30423-02.html new file mode 100644 index 0000000000..a96c626fad --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30423-02.html @@ -0,0 +1,3 @@ +<html><body>Northwind:<br> +If you want the Nobility Amethyst, fetch <font color="LEVEL">two regular Amethysts</font> from the Underground Fortress. Defeat the <font color="LEVEL">sukar wererat leaders</font> in the Underground Fortress to obtain the Amethysts. There is an old superstition that the Amethyst protects one's life. That is why I think those creatures always carry it around with them. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30423-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30423-03.html similarity index 60% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30423-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30423-03.html index e4dbe4dc60..5c65520523 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/408_PathToElvenwizard/30423-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/30423-03.html @@ -1,11 +1,5 @@ -<html> - -<body> -Norwind:<br> +<html><body>Northwind:<br> You have tremendous abilities. I'm sorry I didn't recognize it earlier. I thought an amateur with no skills was just depending on Rosella... I guess I was wrong.<br> -The<font color="LEVEL"> nobility amethyst</font> can be created by blowing the wind of life into two regular ones. The wind of life is nothing else but the breath of Elves. Inheriting the life force of the Mother Tree, our breath contains the very primeval powers.<br> -Now! Here is the<font color="LEVEL"> Nobility Amethyst</font> I have just made. Take this to<font color="LEVEL"> Rosella.</font> - - -</body> -</html> \ No newline at end of file +The <font color="LEVEL">Nobility Amethyst</font> can be created by blowing the wind of life into two regular ones. The wind of life is nothing else but the breath of Elves. Inheriting the life force of the Mother Tree, our breath contains the very primeval powers.<br> +Now! Here is the <font color="LEVEL">Nobility Amethyst</font> I have just made. Take this to <font color="LEVEL">Rosella.</font> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/Q00408_PathOfTheElvenWizard.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/Q00408_PathOfTheElvenWizard.java new file mode 100644 index 0000000000..d94c3dd37a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00408_PathOfTheElvenWizard/Q00408_PathOfTheElvenWizard.java @@ -0,0 +1,442 @@ +/* + * 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.Q00408_PathOfTheElvenWizard; + +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 Elven Wizard (408) + * @author ivantotov + */ +public final class Q00408_PathOfTheElvenWizard extends Quest +{ + // NPCs + private static final int ROSSELA = 30414; + private static final int GREENIS = 30157; + private static final int THALIA = 30371; + private static final int NORTHWIND = 30423; + // Items + private static final int ROSELLAS_LETTER = 1218; + private static final int RED_DOWN = 1219; + private static final int MAGICAL_POWERS_RUBY = 1220; + private static final int PURE_AQUAMARINE = 1221; + private static final int APPETIZING_APPLE = 1222; + private static final int GOLD_LEAVES = 1223; + private static final int IMMORTAL_LOVE = 1224; + private static final int AMETHYST = 1225; + private static final int NOBILITY_AMETHYST = 1226; + private static final int FERTILITY_PERIDOT = 1229; + private static final int GREENISS_CHARM = 1272; + private static final int SAP_OF_THE_MOTHER_TREE = 1273; + private static final int LUCKY_POTPOURRI = 1274; + // Reward + private static final int ETERNITY_DIAMOND = 1230; + // Monster + private static final int DRYAD_ELDER = 20019; + private static final int SUKAR_WERERAT_LEADER = 20047; + private static final int PINCER_SPIDER = 20466; + // Misc + private static final int MIN_LEVEL = 18; + + public Q00408_PathOfTheElvenWizard() + { + super(408, Q00408_PathOfTheElvenWizard.class.getSimpleName(), "Path Of The Elven Wizard"); + addStartNpc(ROSSELA); + addTalkId(ROSSELA, GREENIS, THALIA, NORTHWIND); + addKillId(DRYAD_ELDER, SUKAR_WERERAT_LEADER, PINCER_SPIDER); + registerQuestItems(ROSELLAS_LETTER, RED_DOWN, MAGICAL_POWERS_RUBY, PURE_AQUAMARINE, APPETIZING_APPLE, GOLD_LEAVES, IMMORTAL_LOVE, AMETHYST, NOBILITY_AMETHYST, FERTILITY_PERIDOT, GREENISS_CHARM, SAP_OF_THE_MOTHER_TREE, LUCKY_POTPOURRI); + } + + @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.elvenMage) + { + if (player.getClassId() == ClassId.elvenWizard) + { + htmltext = "30414-02a.htm"; + } + else + { + htmltext = "30414-03.htm"; + } + } + else if (player.getLevel() < MIN_LEVEL) + { + htmltext = "30414-04.htm"; + } + else if (hasQuestItems(player, ETERNITY_DIAMOND)) + { + htmltext = "30414-05.htm"; + } + else + { + if (!hasQuestItems(player, FERTILITY_PERIDOT)) + { + giveItems(player, FERTILITY_PERIDOT, 1); + } + qs.startQuest(); + htmltext = "30414-06.htm"; + } + break; + } + case "30414-02.htm": + { + htmltext = event; + break; + } + case "30414-10.html": + { + if (hasQuestItems(player, MAGICAL_POWERS_RUBY)) + { + htmltext = event; + } + else if (!hasQuestItems(player, MAGICAL_POWERS_RUBY) && hasQuestItems(player, FERTILITY_PERIDOT)) + { + if (!hasQuestItems(player, ROSELLAS_LETTER)) + { + giveItems(player, ROSELLAS_LETTER, 1); + } + htmltext = "30414-07.html"; + } + break; + } + case "30414-12.html": + { + if (hasQuestItems(player, PURE_AQUAMARINE)) + { + htmltext = event; + } + else if (!hasQuestItems(player, PURE_AQUAMARINE) && hasQuestItems(player, FERTILITY_PERIDOT)) + { + if (!hasQuestItems(player, APPETIZING_APPLE)) + { + giveItems(player, APPETIZING_APPLE, 1); + } + htmltext = "30414-13.html"; + } + break; + } + case "30414-16.html": + { + if (hasQuestItems(player, NOBILITY_AMETHYST)) + { + htmltext = event; + } + else if (!hasQuestItems(player, NOBILITY_AMETHYST) && hasQuestItems(player, FERTILITY_PERIDOT)) + { + if (!hasQuestItems(player, IMMORTAL_LOVE)) + { + giveItems(player, IMMORTAL_LOVE, 1); + } + htmltext = "30414-17.html"; + } + break; + } + case "30157-02.html": + { + if (hasQuestItems(player, ROSELLAS_LETTER)) + { + takeItems(player, ROSELLAS_LETTER, 1); + if (!hasQuestItems(player, GREENISS_CHARM)) + { + giveItems(player, GREENISS_CHARM, 1); + } + } + htmltext = event; + break; + } + case "30371-02.html": + { + if (hasQuestItems(player, APPETIZING_APPLE)) + { + takeItems(player, APPETIZING_APPLE, 1); + if (!hasQuestItems(player, SAP_OF_THE_MOTHER_TREE)) + { + giveItems(player, SAP_OF_THE_MOTHER_TREE, 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 DRYAD_ELDER: + { + if (hasQuestItems(killer, SAP_OF_THE_MOTHER_TREE) && (getQuestItemsCount(killer, GOLD_LEAVES) < 5) && (getRandom(100) < 40)) + { + giveItems(killer, GOLD_LEAVES, 1); + if (getQuestItemsCount(killer, GOLD_LEAVES) == 5) + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + else + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case SUKAR_WERERAT_LEADER: + { + if (hasQuestItems(killer, LUCKY_POTPOURRI) && (getQuestItemsCount(killer, AMETHYST) < 2) && (getRandom(100) < 40)) + { + giveItems(killer, AMETHYST, 1); + if (getQuestItemsCount(killer, AMETHYST) == 2) + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + else + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case PINCER_SPIDER: + { + if (hasQuestItems(killer, GREENISS_CHARM) && (getQuestItemsCount(killer, RED_DOWN) < 5) && (getRandom(100) < 70)) + { + giveItems(killer, RED_DOWN, 1); + if (getQuestItemsCount(killer, RED_DOWN) == 5) + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + else + { + playSound(killer, 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() == ROSSELA) + { + htmltext = "30414-01.htm"; + } + } + else if (qs.isStarted()) + { + switch (npc.getId()) + { + case ROSSELA: + { + if (!hasAtLeastOneQuestItem(player, ROSELLAS_LETTER, APPETIZING_APPLE, IMMORTAL_LOVE, GREENISS_CHARM, SAP_OF_THE_MOTHER_TREE, LUCKY_POTPOURRI) && hasQuestItems(player, FERTILITY_PERIDOT) && !hasQuestItems(player, MAGICAL_POWERS_RUBY, NOBILITY_AMETHYST, PURE_AQUAMARINE)) + { + htmltext = "30414-11.html"; + } + else if (hasQuestItems(player, ROSELLAS_LETTER)) + { + htmltext = "30414-08.html"; + } + else if (hasQuestItems(player, GREENISS_CHARM)) + { + if (getQuestItemsCount(player, RED_DOWN) < 5) + { + htmltext = "30414-09.html"; + } + else + { + htmltext = "30414-21.html"; + } + } + else if (hasQuestItems(player, APPETIZING_APPLE)) + { + htmltext = "30414-14.html"; + } + else if (hasQuestItems(player, SAP_OF_THE_MOTHER_TREE)) + { + if (getQuestItemsCount(player, GOLD_LEAVES) < 5) + { + htmltext = "30414-15.html"; + } + else + { + htmltext = "30414-22.html"; + } + } + else if (hasQuestItems(player, IMMORTAL_LOVE)) + { + htmltext = "30414-18.html"; + } + else if (hasQuestItems(player, LUCKY_POTPOURRI)) + { + if (getQuestItemsCount(player, AMETHYST) < 2) + { + htmltext = "30414-19.html"; + } + else + { + htmltext = "30414-23.html"; + } + } + else + { + if (!hasAtLeastOneQuestItem(player, ROSELLAS_LETTER, APPETIZING_APPLE, IMMORTAL_LOVE, GREENISS_CHARM, SAP_OF_THE_MOTHER_TREE, LUCKY_POTPOURRI) && hasQuestItems(player, FERTILITY_PERIDOT, MAGICAL_POWERS_RUBY, NOBILITY_AMETHYST, PURE_AQUAMARINE)) + { + giveAdena(player, 163800, true); + if (!hasQuestItems(player, ETERNITY_DIAMOND)) + { + giveItems(player, ETERNITY_DIAMOND, 1); + } + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 320534, 22532); + } + else if (level == 19) + { + addExpAndSp(player, 456128, 29230); + } + else + { + addExpAndSp(player, 591724, 35928); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = "30414-20.html"; + } + } + break; + } + case GREENIS: + { + if (hasQuestItems(player, ROSELLAS_LETTER)) + { + htmltext = "30157-01.html"; + } + else if (hasQuestItems(player, GREENISS_CHARM)) + { + if (getQuestItemsCount(player, RED_DOWN) < 5) + { + htmltext = "30157-03.html"; + } + else + { + takeItems(player, RED_DOWN, -1); + if (!hasQuestItems(player, MAGICAL_POWERS_RUBY)) + { + giveItems(player, MAGICAL_POWERS_RUBY, 1); + } + takeItems(player, GREENISS_CHARM, 1); + htmltext = "30157-04.html"; + } + } + break; + } + case THALIA: + { + if (hasQuestItems(player, APPETIZING_APPLE)) + { + htmltext = "30371-01.html"; + } + else if (hasQuestItems(player, SAP_OF_THE_MOTHER_TREE)) + { + if (getQuestItemsCount(player, GOLD_LEAVES) < 5) + { + htmltext = "30371-03.html"; + } + else + { + if (!hasQuestItems(player, PURE_AQUAMARINE)) + { + giveItems(player, PURE_AQUAMARINE, 1); + } + takeItems(player, GOLD_LEAVES, -1); + takeItems(player, SAP_OF_THE_MOTHER_TREE, 1); + htmltext = "30371-04.html"; + } + } + break; + } + case NORTHWIND: + { + if (hasQuestItems(player, IMMORTAL_LOVE)) + { + takeItems(player, IMMORTAL_LOVE, 1); + if (!hasQuestItems(player, LUCKY_POTPOURRI)) + { + giveItems(player, LUCKY_POTPOURRI, 1); + } + htmltext = "30423-01.html"; + } + else if (hasQuestItems(player, LUCKY_POTPOURRI)) + { + if (getQuestItemsCount(player, AMETHYST) < 2) + { + htmltext = "30423-02.html"; + } + else + { + takeItems(player, AMETHYST, -1); + if (!hasQuestItems(player, NOBILITY_AMETHYST)) + { + giveItems(player, NOBILITY_AMETHYST, 1); + } + takeItems(player, LUCKY_POTPOURRI, 1); + htmltext = "30423-03.html"; + } + } + break; + } + } + } + return htmltext; + } +} \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-01.htm similarity index 76% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-01.htm index 80bba0eef9..14b50fd452 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-01.htm @@ -1,12 +1,6 @@ -<html> - -<body> -Priest Manuel:<br> +<html><body>Priest Manuel:<br> If you want to be an Elven Oracle who fulfills that holy will of Eva, you must listen carefully to what I am about to say.<br> Between us Elven Priests, there has been a prophecy that has been handed down for hundreds of years. This is a prophecy given by the Mother Tree, mother of all woods and Elves. It speaks of one girl that will purify the forces of darkness that prevail in the world, whose birth will save all those that are persecuted by the powers of the darkness.<br> -We call this the<font color="LEVEL"> prophecy of the sacred flame</font> according to the original text. However, there have been rumors that the girl mentioned in the prophecy has appeared. I would like you to confirm the truth of this rumor.<br> -<a action="bypass -h Quest 409_PathToOracle 1">Say you will take the task</a> - - -</body> -</html> \ No newline at end of file +We call this the <font color="LEVEL">prophecy of the sacred flame</font> according to the original text. However, there have been rumors that the girl mentioned in the prophecy has appeared. I would like you to confirm the truth of this rumor.<br> +<a action="bypass -h Quest Q00409_PathOfTheElvenOracle 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/409_PathToOracle/30293-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-02.htm similarity index 68% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-02.htm index fb44c2f09c..15706d764b 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-02.htm @@ -1,11 +1,4 @@ -<html> - -<body> -Priest Manuel:<br> +<html><body>Priest Manuel:<br> I see you are not an Elven Mystic. I have made a mistake.<br> I am sorry, but this task can only be entrusted to an Elven Mystic.<br> - - - -</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/409_PathToOracle/30293-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-02a.htm similarity index 75% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-02a.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-02a.htm index 5f59b48f1a..1f021a2c4e 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-02a.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-02a.htm @@ -1,10 +1,4 @@ -<html> - -<body> -Priest Manuel:<br> +<html><body>Priest Manuel:<br> Ah! I see you are an Oracle that has already perceived the truth of light and life.<br> Leave this task to the Elven Mystics, and go out into the world to fulfill the holy will of Eva. - - -</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/Q00409_PathOfTheElvenOracle/30293-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-03.htm new file mode 100644 index 0000000000..cd532889e6 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-03.htm @@ -0,0 +1,5 @@ +<html><body>Priest Manuel:<br> +Thank you for your offer, but I am afraid that this mission might prove too difficult for you. Come back when you have experienced more of the world. Then we will be able to speak at greater length.<br> +May your journey be a blessed one!<br> +(Only characters level 18 or 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/409_PathToOracle/30293-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-04.htm similarity index 75% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-04.htm index eafc830192..b3a7718636 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-04.htm @@ -1,9 +1,3 @@ -<html> - -<body> -Priest Manuel:<br> +<html><body>Priest Manuel:<br> The leaf of the Oracle represents the noble spirit of those that fulfill Eva's will. Take it and meet the High Priest. Then you will be able to change profession to an Elven Oracle. - - -</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/409_PathToOracle/30293-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-05.htm similarity index 79% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-05.htm index 42d709e882..a6cc646571 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-05.htm @@ -1,11 +1,5 @@ -<html> - -<body> -Priest Manuel:<br> -Recently, there have been<font color="LEVEL"> rumors of a girl near Gludin Harbor that performs miracles</font>. We suspect that perhaps this girl may have the power to purify the world.<br> +<html><body>Priest Manuel:<br> +Recently, there have been <font color="LEVEL">rumors of a girl near Gludin Harbor that performs miracles</font>. We suspect that perhaps this girl may have the power to purify the world.<br> If that girl is truly the sacred flame mentioned in the prophecy, we must protect her. I have heard that there are already those who are using the prophecy of the sacred flame to hatch sinister plots. First, bring the girl to us.<br> Oh yes! Take this crystal necklace. It will aid you in revealing whether or not she is truly the sacred flame of the prophecy. - - -</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/409_PathToOracle/30293-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-06.html similarity index 80% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-06.html index c10aee2c52..3d23ff35e0 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-06.html @@ -1,9 +1,3 @@ -<html> - -<body> -Priest Manuel:<br> +<html><body>Priest Manuel:<br> I would like you to confirm the truth behind the rumors that say there is a girl near Gludin Harbor. If that girl is the chosen one mentioned in the prophecy of the sacred flame, then we must protect her. Please make haste and find the girl. - - -</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/409_PathToOracle/30293-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-07.html similarity index 73% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-07.html index f3274c62d0..4e78ef3384 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-07.html @@ -1,10 +1,3 @@ -<html> - -<body> -Priest Manuel:<br> +<html><<body>Priest Manuel:<br> It is difficult to be certain with only this evidence. The church needs more than mere rumors and guesses before it can act. Please bring back more solid evidence.<br> - - - -</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/409_PathToOracle/30293-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-08.html similarity index 79% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-08.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-08.html index f215df9e34..d72ec5a724 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-08.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-08.html @@ -1,11 +1,5 @@ -<html> - -<body> -Priest Manuel:<br> +<html><body>Priest Manuel:<br> I am terribly sorry about the girl. It is difficult for us to understand the will of the gods.<br> I am sorry the girl was not the prophecy of sacred flame, but I give you a high recommendation for the conduct you have shown in the process of revealing the truth. I believe you have sufficient qualifications to become an Oracle.<br> -Now! I give you the leaf of Oracle. This is a mark that symbolizes the noble spirit of those that fulfill the will of Eva. Take it, and meet the High Priest. Then you will be able to change profession to an Elven Oracle. - - -</body> -</html> \ No newline at end of file +Now! I give you the Leaf of Oracle. This is a mark that symbolizes the noble spirit of those that fulfill the will of Eva. Take it, and meet the High Priest. Then you will be able to change profession to an Elven Oracle. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-09.html similarity index 69% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-09.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-09.html index 72925996b4..f603baef1c 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30293-09.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30293-09.html @@ -1,10 +1,3 @@ -<html> - -<body> -Priest Manuel:<br> +<html><body>Priest Manuel:<br> I have received information that the lizardmen were hired by someone to kidnap that girl. We must meet the girl before they do! Hurry!<br> - - - -</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/Q00409_PathOfTheElvenOracle/30424-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-01.html new file mode 100644 index 0000000000..177557b474 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-01.html @@ -0,0 +1,5 @@ +<html><body>Allana:<br> +Darkness prevails in the world... I, sacred flame of prophecy will drive... drive out darkness! I perform miracles of light... Purify the world!<br> +<a action="bypass -h Quest Q00409_PathOfTheElvenOracle 30424-07.html">Show me a miracle</a><br> +<a action="bypass -h Quest Q00409_PathOfTheElvenOracle 30424-08.html">It is dangerous here, let us go to the temple</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-02.html new file mode 100644 index 0000000000..e003677e16 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-02.html @@ -0,0 +1,5 @@ +<html><body>Allana:<br> +What was that monster? I'm afraid... I don't want to die... I don't want to abandon my brother and die!<br> +I don't want to trick people anymore! However, Perrin didn't give me the money he owes me yet.<br> +I wrote down all the work I've done until now in my <font color="LEVEL">diary.</font> I will give this to you... Please help me get the money from Perrin... I need that money to cure my brother's illness...<br> +Perrin hides around here somewhere... Please... Please help me!</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-03.html similarity index 66% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-03.html index 1aee5f93bd..22f26da8d4 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-03.html @@ -1,10 +1,4 @@ -<html> - -<body> -Allana:<br> +<html><body>Allana:<br> Please... Please help me get my money from Perrin...<br> I need that money to help my brother get well... - - -</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/409_PathToOracle/30424-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-04.html similarity index 84% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-04.html index 035835fe6b..67f2125827 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-04.html @@ -1,11 +1,5 @@ -<html> - -<body> -Allana:<br> +<html><body>Allana:<br> Sob... It is too late... I couldn't minister medicine at the proper time... My brother... is dead. He was so kind... and with such a pure heart. My poor brother...<br> When he was tortured with sickness... Where was your god? Sob...<br> I don't need money any more! Go! I want to be alone! - - -</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/Q00409_PathOfTheElvenOracle/30424-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-05.html new file mode 100644 index 0000000000..8a3f470c58 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-05.html @@ -0,0 +1,3 @@ +<html><body>Allana:<br> +(From the crystal necklace, all of a sudden, a voice comes out). This is Priest Manuel. I have something urgent to tell you. So, please come back into the temple.<br> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-06.html new file mode 100644 index 0000000000..34fa2ca290 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-06.html @@ -0,0 +1,3 @@ +<html><body>Allana:<br> +How can you come empty-handed? You said you would meet <font color="LEVEL">Perrin.</font> You said you would help me... Didn't you? +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-07.html new file mode 100644 index 0000000000..4220c6ab75 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-07.html @@ -0,0 +1,5 @@ +<html><body>Allana:<br> +How dare you! Do you doubt me? To the sacred flame of prophecy... Are you giving a command? How, how dare you!<br> +<a action="bypass -h Quest Q00409_PathOfTheElvenOracle 30424-09.html">False sacred flames are severely punished by the church.</a><br> +<a action="bypass -h Quest Q00409_PathOfTheElvenOracle 30424-08.html">I am sorry to have doubted, it is dangerous here, let's go.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-08.html new file mode 100644 index 0000000000..3d9093178a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-08.html @@ -0,0 +1,7 @@ +<html><body>Allana:<br> +We must go... together?<br> +No! I don't want to go! I must take care of my little brother. Miracles and sacred flame of prophecy... they were all lies!<br> +<font color="LEVEL">Perrin</font> made me do it... He brought fake patients and acted like we prayed for treatment... And acted like a miracle had happened. I knew it was wrong, but... I need money to cure my sick brother. Perrin said I could earn big money if only I did what he said...<br> +Then, these strange lizardmen tried to take me away... I'm so scared! I don't know what to do...<br> +<a action="bypass -h Quest Q00409_PathOfTheElvenOracle replay_1">So those were your circumstances</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-09.html similarity index 85% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-09.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-09.html index 6fcbe46500..d2e1205bbc 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30424-09.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30424-09.html @@ -3,5 +3,5 @@ Pu... punished? Like a witch... Will I be burnt at the stake?<br> I, I'm sorry... They are all lies! Miracle and sacred flame of prophecy... they are all made up! I just wanted to care for my brother...<br> <font color="LEVEL">Perrin</font> made me do it! He brought fake patients and we prayed for treatment and acted like a miracle had happened. I knew it was wrong, but I needed money to cure my sick brother. Perrin said I could earn big money if I did what he said.<br> Recently some strange lizardmen tried to take me away... I'm so scared... I don't know what to do...<br> -<a action="bypass -h Quest 409_PathToOracle 30424_1">So those were your circumstances</a> +<a action="bypass -h Quest Q00409_PathOfTheElvenOracle replay_1">So those were your circumstances</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-01.html similarity index 53% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-01.html index fac21a2132..f270b4f4a6 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-01.html @@ -1,13 +1,9 @@ -<html> - -<body> -Perrin:<br> +<html><body>Perrin:<br> Oho! So the Elf of justice has come! You've heard the girlie's words and have come for the money? You don't think I'll give up the money I've earned by my own sweat so easily?<br> Get lost<br> On any other day, I would leave my mark on your body, but I'm being nice since today is my birthday. Thank your stars!<br> -<a action="bypass -h Quest 409_PathToOracle 30428_2">I will report you to the captain of guards</a><br> -<a action="bypass -h Quest 409_PathToOracle 30428_2">Tell the evil man to go to hell</a> +<a action="bypass -h Quest Q00409_PathOfTheElvenOracle 30428-02.html">I will report you to the captain of guards</a><br> +<a action="bypass -h Quest Q00409_PathOfTheElvenOracle 30428-03.html">Tell the evil man to go to hell</a> +</body></html> -</body> -</html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-02.html new file mode 100644 index 0000000000..a29a60d161 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-02.html @@ -0,0 +1,5 @@ +<html><body>Perrin:<br> +You want to turn me in? It will not be easy. Let me introduce my bodyguard ...<br> +Hey, <font color="LEVEL">Tamil!</font> Teach this ratty little Elf a lesson!<br> +<a action="bypass -h Quest Q00409_PathOfTheElvenOracle replay_2">Go ahead and hit me as much as you want!</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-03.html new file mode 100644 index 0000000000..47d5bd2213 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-03.html @@ -0,0 +1,5 @@ +<html><body>Perrin:<br> +You dare to challenge me? In that case, let me introduce my bodyguard ...!<br> +Hey, Tamil! Put the fear of the gods into this ratty little elf!<br> +<a action="bypass -h Quest Q00409_PathOfTheElvenOracle replay_2">Go ahead and hit me as much as you want!</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-04.html similarity index 73% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-04.html index 362076c93b..340a77c59f 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-04.html @@ -1,11 +1,5 @@ -<html> - -<body> -Perrin:<br> +<html><body>Perrin:<br> Eek! You've killed Tamil ...!<br> Look here! Help! Ok, ok, I was wrong!!!<br> All, all right ...! You want the money? Take it ...! Take all of it! - - -</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/409_PathToOracle/30428-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-05.html similarity index 67% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-05.html index 17e9f7bda0..6767856ae9 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-05.html @@ -1,9 +1,3 @@ -<html> - -<body> -Perrin:<br> +<html><body>Perrin:<br> I do not have anything. You may even search me ... But I really don't have anything ... Please believe 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/409_PathToOracle/30428-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-06.html similarity index 64% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-06.html index eedf06fc8a..fc1d07110b 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/409_PathToOracle/30428-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/30428-06.html @@ -1,9 +1,3 @@ -<html> - -<body> -Perrin:<br> +<html><body>Perrin:<br> Go tell that gal that she will be severely punished if she doesn't listen to Perrin's words! - - -</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/Q00409_PathOfTheElvenOracle/Q00409_PathOfTheElvenOracle.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/Q00409_PathOfTheElvenOracle.java new file mode 100644 index 0000000000..9ce61dfa97 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00409_PathOfTheElvenOracle/Q00409_PathOfTheElvenOracle.java @@ -0,0 +1,420 @@ +/* + * 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.Q00409_PathOfTheElvenOracle; + +import com.l2jserver.gameserver.ai.CtrlIntention; +import com.l2jserver.gameserver.model.actor.L2Attackable; +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.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 Elven Oracle (409) + * @author ivantotov + */ +public final class Q00409_PathOfTheElvenOracle extends Quest +{ + // NPCs + private static final int PRIEST_MANUEL = 30293; + private static final int ALLANA = 30424; + private static final int PERRIN = 30428; + // Items + private static final int CRYSTAL_MEDALLION = 1231; + private static final int SWINDLERS_MONEY = 1232; + private static final int ALLANA_OF_DAIRY = 1233; + private static final int LIZARD_CAPTAIN_ORDER = 1234; + private static final int HALF_OF_DAIRY = 1236; + private static final int TAMIL_NECKLACE = 1275; + // Reward + private static final int LEAF_OF_ORACLE = 1235; + // Misc + private static final int MIN_LEVEL = 18; + // Quest Monster + private static final int lIZARDMAN_WARRIOR = 27032; + private static final int LIZARDMAN_SCOUT = 27033; + private static final int LIZARDMAN_SOLDIER = 27034; + private static final int TAMIL = 27035; + + public Q00409_PathOfTheElvenOracle() + { + super(409, Q00409_PathOfTheElvenOracle.class.getSimpleName(), "Path of the Elven Oracle"); + addStartNpc(PRIEST_MANUEL); + addTalkId(PRIEST_MANUEL, ALLANA, PERRIN); + addKillId(TAMIL, lIZARDMAN_WARRIOR, LIZARDMAN_SCOUT, LIZARDMAN_SOLDIER); + addAttackId(TAMIL, lIZARDMAN_WARRIOR, LIZARDMAN_SCOUT, LIZARDMAN_SOLDIER); + registerQuestItems(CRYSTAL_MEDALLION, SWINDLERS_MONEY, ALLANA_OF_DAIRY, LIZARD_CAPTAIN_ORDER, HALF_OF_DAIRY, TAMIL_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.elvenMage) + { + if (player.getLevel() >= MIN_LEVEL) + { + if (hasQuestItems(player, LEAF_OF_ORACLE)) + { + htmltext = "30293-04.htm"; + } + else + { + qs.startQuest(); + qs.setMemoState(1); + giveItems(player, CRYSTAL_MEDALLION, 1); + htmltext = "30293-05.htm"; + } + } + else + { + htmltext = "30293-03.htm"; + } + } + else if (player.getClassId() == ClassId.oracle) + { + htmltext = "30293-02a.htm"; + } + else + { + htmltext = "30293-02.htm"; + } + break; + } + case "30424-08.html": + case "30424-09.html": + { + htmltext = event; + break; + } + case "30424-07.html": + { + if (qs.isMemoState(1)) + { + htmltext = event; + } + break; + } + case "replay_1": + { + qs.setMemoState(2); + final L2Attackable monster1 = (L2Attackable) addSpawn(lIZARDMAN_WARRIOR, npc, true, 0, false); + final L2Attackable monster2 = (L2Attackable) addSpawn(LIZARDMAN_SCOUT, npc, true, 0, false); + final L2Attackable monster3 = (L2Attackable) addSpawn(LIZARDMAN_SOLDIER, npc, true, 0, false); + attackPlayer(monster1, player); + attackPlayer(monster2, player); + attackPlayer(monster3, player); + break; + } + case "30428-02.html": + case "30428-03.html": + { + if (qs.isMemoState(2)) + { + htmltext = event; + } + break; + } + case "replay_2": + { + if (qs.isMemoState(2)) + { + qs.setMemoState(3); + final L2Attackable monster = (L2Attackable) addSpawn(TAMIL, npc, true, 0, true); + attackPlayer(monster, player); + } + break; + } + } + return htmltext; + } + + @Override + public String onAttack(L2Npc npc, L2PcInstance attacker, int damage, boolean isSummon) + { + if (getQuestState(attacker, false) != null) + { + switch (npc.getScriptValue()) + { + case 0: + { + switch (npc.getId()) + { + case lIZARDMAN_WARRIOR: + { + npc.broadcastPacket(new NpcSay(npc, Say2.NPC_ALL, NpcStringId.THE_SACRED_FLAME_IS_OURS)); + break; + } + case LIZARDMAN_SCOUT: + { + npc.broadcastPacket(new NpcSay(npc, Say2.NPC_ALL, NpcStringId.THE_SACRED_FLAME_IS_OURS)); + break; + } + case LIZARDMAN_SOLDIER: + { + npc.broadcastPacket(new NpcSay(npc, Say2.NPC_ALL, NpcStringId.THE_SACRED_FLAME_IS_OURS)); + break; + } + case TAMIL: + { + npc.broadcastPacket(new NpcSay(npc, Say2.NPC_ALL, NpcStringId.AS_YOU_WISH_MASTER)); + break; + } + } + + npc.setScriptValue(1); + npc.getVariables().set("firstAttacker", attacker.getObjectId()); + break; + } + case 1: + { + if (npc.getVariables().getInt("firstAttacker") != 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)) + { + switch (npc.getId()) + { + case lIZARDMAN_WARRIOR: + { + if (!hasQuestItems(killer, LIZARD_CAPTAIN_ORDER)) + { + npc.broadcastPacket(new NpcSay(npc, Say2.NPC_ALL, NpcStringId.ARRGHHWE_SHALL_NEVER_SURRENDER)); + giveItems(killer, LIZARD_CAPTAIN_ORDER, 1); + qs.setCond(3, true); + } + break; + } + case LIZARDMAN_SCOUT: + case LIZARDMAN_SOLDIER: + { + if (!hasQuestItems(killer, LIZARD_CAPTAIN_ORDER)) + { + giveItems(killer, LIZARD_CAPTAIN_ORDER, 1); + qs.setCond(3, true); + } + break; + } + case TAMIL: + { + if (!hasQuestItems(killer, TAMIL_NECKLACE)) + { + giveItems(killer, TAMIL_NECKLACE, 1); + qs.setCond(5, true); + } + 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() == PRIEST_MANUEL) + { + if (!hasQuestItems(player, LEAF_OF_ORACLE)) + { + htmltext = "30293-01.htm"; + } + else + { + htmltext = "30293-04.htm"; + } + } + } + else if (qs.isStarted()) + { + switch (npc.getId()) + { + case PRIEST_MANUEL: + { + if (hasQuestItems(player, CRYSTAL_MEDALLION)) + { + if (!hasAtLeastOneQuestItem(player, SWINDLERS_MONEY, ALLANA_OF_DAIRY, LIZARD_CAPTAIN_ORDER, HALF_OF_DAIRY)) + { + if (qs.isMemoState(2)) + { + qs.setMemoState(1); + qs.setCond(8); + htmltext = "30293-09.html"; + } + else + { + qs.setMemoState(1); + htmltext = "30293-06.html"; + } + } + else if (hasQuestItems(player, SWINDLERS_MONEY, ALLANA_OF_DAIRY, LIZARD_CAPTAIN_ORDER)) + { + if (!hasQuestItems(player, HALF_OF_DAIRY)) + { + giveAdena(player, 163800, true); + giveItems(player, LEAF_OF_ORACLE, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 320534, 20392); + } + else if (level == 19) + { + addExpAndSp(player, 456128, 27090); + } + else + { + addExpAndSp(player, 591724, 33788); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = "30293-08.html"; + } + } + else + { + htmltext = "30293-07.html"; + } + } + break; + } + case ALLANA: + { + if (hasQuestItems(player, CRYSTAL_MEDALLION)) + { + if (!hasAtLeastOneQuestItem(player, SWINDLERS_MONEY, ALLANA_OF_DAIRY, LIZARD_CAPTAIN_ORDER, HALF_OF_DAIRY)) + { + if (qs.isMemoState(2)) + { + htmltext = "30424-05.html"; + } + else if (qs.isMemoState(1)) + { + qs.setCond(2, true); + htmltext = "30424-01.html"; + } + } + else if (!hasAtLeastOneQuestItem(player, SWINDLERS_MONEY, ALLANA_OF_DAIRY, HALF_OF_DAIRY) && hasQuestItems(player, LIZARD_CAPTAIN_ORDER)) + { + qs.setMemoState(2); + giveItems(player, HALF_OF_DAIRY, 1); + qs.setCond(4, true); + htmltext = "30424-02.html"; + } + else if (!hasAtLeastOneQuestItem(player, SWINDLERS_MONEY, ALLANA_OF_DAIRY) && hasQuestItems(player, LIZARD_CAPTAIN_ORDER, HALF_OF_DAIRY)) + { + if ((qs.isMemoState(3)) && !hasQuestItems(player, TAMIL_NECKLACE)) + { + qs.setMemoState(2); + qs.setCond(4, true); + htmltext = "30424-06.html"; + } + else + { + htmltext = "30424-03.html"; + } + } + else if (hasQuestItems(player, SWINDLERS_MONEY, LIZARD_CAPTAIN_ORDER, HALF_OF_DAIRY) && !hasQuestItems(player, ALLANA_OF_DAIRY)) + { + giveItems(player, ALLANA_OF_DAIRY, 1); + takeItems(player, HALF_OF_DAIRY, 1); + qs.setCond(9, true); + htmltext = "30424-04.html"; + } + else if (hasQuestItems(player, SWINDLERS_MONEY, LIZARD_CAPTAIN_ORDER, ALLANA_OF_DAIRY)) + { + qs.setCond(7, true); + htmltext = "30424-05.html"; + } + } + break; + } + case PERRIN: + { + if (hasQuestItems(player, CRYSTAL_MEDALLION, LIZARD_CAPTAIN_ORDER, HALF_OF_DAIRY)) + { + if (hasQuestItems(player, TAMIL_NECKLACE)) + { + giveItems(player, SWINDLERS_MONEY, 1); + takeItems(player, TAMIL_NECKLACE, 1); + qs.setCond(6, true); + htmltext = "30428-04.html"; + } + else if (hasQuestItems(player, SWINDLERS_MONEY)) + { + htmltext = "30428-05.html"; + } + else if (qs.isMemoState(3)) + { + htmltext = "30428-06.html"; + } + else + { + htmltext = "30428-01.html"; + } + } + break; + } + } + } + return htmltext; + } + + private static void attackPlayer(L2Attackable npc, L2PcInstance player) + { + if ((npc != null) && (player != null)) + { + npc.setIsRunning(true); + npc.addDamageHate(player, 0, 999); + npc.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player); + } + } +} \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-01.htm similarity index 77% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-01.htm index 40d1c4beec..3a3c4afdfd 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-01.htm @@ -1,4 +1,4 @@ -<html><body>Master Virgil:<br> -The Palus Knights are the most skilled knights of the Dark Elves and conquer the battlefield with their fearless spirit and great talent. Only Dark Fighters who pass the trial that I give and secure the <font color="LEVEL">Gaze of Abyss</font> will earn the qualifications to be selected as Palus Knights.<br> -<a action="bypass -h Quest 410_PathToPalusKnight 410_1">Say you want to become a Palus Knight</a> +<html><body>Master Virgil:<br> +The Palus Knights are the most skilled knights of the Dark Elves and conquer the battlefield with their fearless spirit and great talent. Only Dark Fighters who pass the trial that I give and secure the <font color="LEVEL">Gaze of Abyss</font> will earn the qualifications to be selected as Palus Knights.<br> +<a action="bypass -h Quest Q00410_PathOfThePalusKnight ACCEPT">Say you want to become a Palus Knight</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-02.htm new file mode 100644 index 0000000000..7ba80f2b72 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-02.htm @@ -0,0 +1,4 @@ +<html><body>Master Virgil:<br> +I still see fear and hesitation in your eyes. You must learn to control your emotions through more experience on the battlefield -- once you have done so, come and see me again.<br> +(Only characters 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/410_PathToPalusKnight/30329-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-02a.htm similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-02a.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-02a.htm diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-03.htm similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-03.htm diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-04.htm new file mode 100644 index 0000000000..f17d139d26 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-04.htm @@ -0,0 +1,3 @@ +<html><body>Master Virgil:<br> +You already have the Gaze of Abyss. This means you have earned the right to become a Palus Knight. Take that token to <font color="LEVEL">Grand Master Tobias</font> of our guild. Then you can change profession to a Palus Knight. He is the one right over there. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-05.htm new file mode 100644 index 0000000000..312647d06a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-05.htm @@ -0,0 +1,4 @@ +<html><body>Master Virgil:<br> +Good. To become a Palus Knight, you must pass <font color="LEVEL">two trials</font> in order. These trials test your skills and are also a rite of passage to become a true "Abyssal Knight."<br> +<a action="bypass -h Quest Q00410_PathOfThePalusKnight 30329-06.htm">Ask about the first trial</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-06.htm similarity index 81% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-06.htm index 9735031cbc..9ac41edaf5 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-06.htm @@ -1,5 +1,5 @@ <html><body>Master Virgil:<br> -Before you receive the trial, take this talisman. Those who follow Shilen will see it and know that you are a fighter performing a task. The first trial is the<font color="LEVEL"> ritual of 13 skulls.</font> Its object is to collect 13 enemy skulls killed by your own hand. It is a ritual to meditate upon the death that the Knight brings with his sword. Throw out all private emotions and perform the task with a solemn heart. Do not forget that Shilen will be watching over your path.<br> -I will tell you about the enemy you must kill in this ritual. If you travel on the road that heads north of the village, you will come to the<font color="LEVEL"> Neutral Zone.</font> It is an area where combat is forbidden, according to agreement, because it is the boundary area between the two Elven tribes. There are creatures gathering their strength in the Neutral Zone, and taking advantage of the situation because Elven soldiers cannot enter.<br> -These creatures are the<font color="LEVEL"> lycanthrope</font> -- half-Human, half-animal. They are slowly getting stronger in the Neutral Zone, and are even setting their sights on the Elves' home.<font color="LEVEL"> Dispose of these lycanthropes in the name of Shilen, and collect exactly 13 of their skulls and bring them to me.</font> This is the end of my explanation. Now you should go. +Before you receive the trial, take this talisman. Those who follow Shilen will see it and know that you are a fighter performing a task. The first trial is the <font color="LEVEL">ritual of 13 skulls.</font> Its object is to collect 13 enemy skulls killed by your own hand. It is a ritual to meditate upon the death that the Knight brings with his sword. Throw out all private emotions and perform the task with a solemn heart. Do not forget that Shilen will be watching over your path.<br> +I will tell you about the enemy you must kill in this ritual. If you travel on the road that heads north of the village, you will come to the <font color="LEVEL">Neutral Zone.</font> It is an area where combat is forbidden, according to agreement, because it is the boundary area between the two Elven tribes. There are creatures gathering their strength in the Neutral Zone, and taking advantage of the situation because Elven soldiers cannot enter.<br> +These creatures are the <font color="LEVEL">lycanthrope</font> -- half-Human, half-animal. They are slowly getting stronger in the Neutral Zone, and are even setting their sights on the Elves' home. <font color="LEVEL">Dispose of these lycanthropes in the name of Shilen, and collect exactly 13 of their skulls and bring them to me.</font> This is the end of my explanation. Now you should go. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-07.html similarity index 82% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-07.html index e9f632353b..3d1bc4574a 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-07.html @@ -1,4 +1,4 @@ <html><body>Master Virgil:<br> How does it happen that you have not departed yet? Is fear or hesitation keeping you here? If that is so, I will have to reconsider your qualifications for becoming a Palus Knight.<br> -Hurry on to the Neutral Zone and kill the lycanthropes and bring<font color="LEVEL"> thirteen of their skulls</font>. Only then can you fulfill the custom. +Hurry on to the Neutral Zone and kill the lycanthropes and bring <font color="LEVEL">thirteen of their skulls</font>. Only then can you fulfill the custom. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-08.html similarity index 82% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-08.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-08.html index 949192784a..2a841dcb00 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-08.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-08.html @@ -1,4 +1,4 @@ <html><body>Master Virgil:<br> -You must have exactly<font color="LEVEL"> 13</font> skulls to complete the ritual. Thirteen is a holy number to we Dark Elves that follow Shilen, for it symbolizes death and rebirth.<br> +You must have exactly <font color="LEVEL">13</font> skulls to complete the ritual. Thirteen is a holy number to we Dark Elves that follow Shilen, for it symbolizes death and rebirth.<br> Go back to the Neutral Zone and strike down the lycanthropes ... Come back when you have 13 skulls. Only then can the ritual be completed. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-09.html new file mode 100644 index 0000000000..f3711c726d --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-09.html @@ -0,0 +1,6 @@ +<html><body>Master Virgil:<br> +Thank you. Thirteen skulls brought from dealing with the enemy of our race ... They are the result of death brought about from your own hands. Knights of other races embellish their actions and duties by saying that they are "guarding justice" or "protecting the common people." However, the knights of the dark do not forget the essence of knighthood through hiding behind fancy words or moral obligations. A knight is one that brings death. The victory he achieves with his sword means his opponent's death.<br> +No matter what the goal or motive, all combat between knights ends in death. Just because you shout "honor" or "justice" doesn't change what it means to kill. Death is death. You have stolen your opponent's opportunity to live.<br> +Do not forget the fact that you are the "one who brings death."<br> +<a action="bypass -h Quest Q00410_PathOfThePalusKnight 30329-10.html">Ask about the second trial</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-10.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-10.html new file mode 100644 index 0000000000..ae0cf64119 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-10.html @@ -0,0 +1,4 @@ +<html><body>Master Virgil:<br> +You need your own coffin to perform the second trial, the <font color="LEVEL">Ritual of the Red Coffin</font>. Yes, I'm speaking of the coffin you use to bury an elf when he dies. According to the funeral customs of the Dark Elves, we need a traditional coffin made from the carapace of a beast. You must make this yourself.<br> +You should ask <font color="LEVEL">Abyssal Celebrant Kalinta</font> how to make a coffin. You can meet her if you go to the <font color="LEVEL">Dark Elf Guild of the village of Gludin</font>. You must take this letter with you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-11.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-11.html similarity index 71% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-11.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-11.html index 1dc1659cff..8558b3a82b 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30329-11.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-11.html @@ -1,5 +1,5 @@ <html><body>Master Virgil:<br> -You have brought the Coffin of Eternal Rest with your name inscribed within it. I will send this to the Priests of the Temple of Shilen. This completes your trial.<br> +You have brought the Coffin of Eternal Rest with your name inscribed within it. I will send this to the Priests of the Shilen Temple. This completes your trial.<br> A Knight's destiny is always to face death on the battlefield! We do not know when it will come, but it is an end we cannot escape. By entrusting the Coffin of Eternal Rest made by your own hands to the Celebrants of your funeral, you are accepting death as your fate and laying down all fear. This is what the ritual of the red coffin is for.<br> -Palus Knights do not fear death, and so they do not hesitate or stand back. They are the strongest Knights, that have already seen the darkness of the abyss and know not fear nor hesitation. Since you passed both trials, you have the ability to enter the glorious ranks. This<font color="LEVEL"> Gaze of Abyss</font> is the token you have earned. If you take this to<font color="LEVEL"> Grand Master Tobias</font> of our guild, he will change your occupation. He is the one right over there. +Palus Knights do not fear death, and so they do not hesitate or stand back. They are the strongest Knights, that have already seen the darkness of the abyss and know not fear nor hesitation. Since you passed both trials, you have the ability to enter the glorious ranks. This <font color="LEVEL">Gaze of Abyss</font> is the token you have earned. If you take this to <font color="LEVEL">Grand Master Tobias</font> of our guild, he will change your occupation. He is the one right over there. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-12.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-12.html new file mode 100644 index 0000000000..1123727023 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30329-12.html @@ -0,0 +1,3 @@ +<html><body>Master Virgil:<br> +Go to Abyssal Celebrant Kalinta and ask about the Ritual of the Red Coffin. You can meet her if you go to the Dark Elf Guild of Gludin. Make sure you take the letter I gave you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-01.html similarity index 57% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-01.html index 3ecbe8cdd3..3e362f095b 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-01.html @@ -1,5 +1,5 @@ <html><body>Kalinta:<br> -I welcome you in the name of Shilen, child of darkness. So you are a Palus Knight in training who received the<font color="LEVEL"> Trial of the Red Coffin</font> from Master Virgil.<br> -To complete the trial, you must make your own<font color="LEVEL"> coffin of eternal rest</font>. This is not the crude wooden coffin, made by humans to bury their corpses in the backyard of their temples. This is a traditional Dark Elf coffin made with the carapace of a beast and the silk threads of a spider. The materials needed to make this coffin are all very rare, and the process of searching for the materials itself is a part of the trial. Therefore, you must find the materials yourself.<br> -<a action="bypass -h Quest 410_PathToPalusKnight 30422_1">Ask about the materials</a> +I welcome you in the name of Shilen, child of darkness. So you are a Palus Knight in training who received the <font color="LEVEL">Trial of the Red Coffin</font> from Master Virgil.<br> +To complete the trial, you must make your own <font color="LEVEL">Coffin of Eternal Rest</font>. This is not the crude wooden coffin, made by humans to bury their corpses in the backyard of their temples. This is a traditional Dark Elf coffin made with the carapace of a beast and the silk threads of a spider. The materials needed to make this coffin are all very rare, and the process of searching for the materials itself is a part of the trial. Therefore, you must find the materials yourself.<br> +<a action="bypass -h Quest Q00410_PathOfThePalusKnight 30422-02.html">Ask about the materials</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-02.html similarity index 75% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-02.html index c39044f05b..8115bb2824 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-02.html @@ -1,4 +1,5 @@ <html><body>Kalinta:<br> -Making the coffin is part of the test. Therefore, you must find all the materials yourself. <font color="LEVEL">To make the body of the coffin, you must obtain a solid carapace of a giant poison spider. To fasten the coffin together you must gather five silk spider thread skeins that are produced by arachnid trackers. </font> When you have gathered all the materials, bring them to me.<br>Giant poison spiders and arachnid trackers can be found in the Windmill Hill area in the southern part of Gludin Village or at the Fellmere Harvesting Grounds over the northern valley.<br> +Making the coffin is part of the test. Therefore, you must find all the materials yourself. <font color="LEVEL">To make the body of the coffin, you must obtain a solid carapace of a giant poison spider. To fasten the coffin together you must gather five silk spider thread skeins that are produced by arachnid trackers. </font> When you have gathered all the materials, bring them to me.<br> +Giant poison spiders and arachnid trackers can be found in the Windmill Hill area in the southern part of Gludin Village or at the Fellmere Harvesting Grounds over the northern valley.<br> Take this talisman with you. The followers of Shilen will recognize it and know that you are performing the Trial of the Red Coffin. May the divine protection of the abyss be with you. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-03.html new file mode 100644 index 0000000000..3d6aef3c6f --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-03.html @@ -0,0 +1,5 @@ +<html><body>Kalinta:<br> +Still here, eh? Caution is a virtue, but a true knight knows that he must fulfill his commitments in a timely fashion.<br> +As you know, you must gather <font color="LEVEL">five Arachnid Tracker Silk skeins and one carapace of a giant poison spider to create a Coffin of Eternal Rest.</font><br> +Giant poison spiders and arachnid trackers can be found in the Windmill Hill area in the southern part of Gludin Village or at the Fellmere Harvesting Grounds over the northern valley. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-04.html new file mode 100644 index 0000000000..8419b22e9e --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-04.html @@ -0,0 +1,3 @@ +<html><body>Kalinta:<br> +I see you have not gathered all the materials yet. As I already told you, you must have <font color="LEVEL">five Arachnid Tracker Silk skeins and one large poison spider carapace</font> to complete the Coffin of Eternal Rest. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-05.html similarity index 83% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-05.html index 2db0abed78..f5a26684d8 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-05.html @@ -1,5 +1,5 @@ <html><body>Kalinta:<br> Thank you. I will make you a <font color="LEVEL">Coffin of Eternal Rest</font> with these materials. All living things must end their lives someday and return to the arms of Shilen. Someday, you will also cross the river never to return. Then your corpse will be put in this coffin and buried in the soul well.<br> Here, the coffin is finished. However, while the form is complete, it is not yet fully yours. To make this coffin yours, you must sign your name here in the place where your head will rest.<br> -<a action="bypass -h Quest 410_PathToPalusKnight 30422_2">Sign your name inside the coffin</a> +<a action="bypass -h Quest Q00410_PathOfThePalusKnight 30422-06.html">Sign your name inside the coffin</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-06.html similarity index 85% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-06.html index d2164183b9..560da50664 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/410_PathToPalusKnight/30422-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/30422-06.html @@ -1,4 +1,4 @@ <html><body>Kalinta:<br> -Now you are the true owner of this <font color="LEVEL">Coffin of Eternal Rest</font>. The last part of the trial is to carry this coffin and go back to the one who first gave you the trial. Go to<font color="LEVEL"> Master Virgil in Gludio Castle Town</font> and give him your coffin.<br> +Now you are the true owner of this <font color="LEVEL">Coffin of Eternal Rest</font>. The last part of the trial is to carry this coffin and go back to the one who first gave you the trial. Go to <font color="LEVEL">Master Virgil in the Town of Gludio</font> and give him your coffin.<br> I hope you will safely complete your trial and be reborn as a Knight of the deep lake. May the protection of Shilen be with you. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/Q00410_PathOfThePalusKnight.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/Q00410_PathOfThePalusKnight.java new file mode 100644 index 0000000000..6f046e75e5 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00410_PathOfThePalusKnight/Q00410_PathOfThePalusKnight.java @@ -0,0 +1,310 @@ +/* + * 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.Q00410_PathOfThePalusKnight; + +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 Palus Knight (410) + * @author ivantotov + */ +public final class Q00410_PathOfThePalusKnight extends Quest +{ + // NPCs + private static final int MASTER_VIRGIL = 30329; + private static final int KALINTA = 30422; + // Items + private static final int PALLUS_TALISMAN = 1237; + private static final int LYCANTHROPE_SKULL = 1238; + private static final int VIRGILS_LETTER = 1239; + private static final int MORTE_TALISMAN = 1240; + private static final int VENOMOUS_SPIDERS_CARAPACE = 1241; + private static final int ARACHNID_TRACKER_SILK = 1242; + private static final int COFFIN_OF_ETERNAL_REST = 1243; + // Reward + private static final int GAZE_OF_ABYSS = 1244; + // Monster + private static final int VENOMOUS_SPIDER = 20038; + private static final int ARACHNID_TRACKER = 20043; + private static final int LYCANTHROPE = 20049; + // Misc + private static final int MIN_LEVEL = 18; + + public Q00410_PathOfThePalusKnight() + { + super(410, Q00410_PathOfThePalusKnight.class.getSimpleName(), "Path Of The Palus Knight"); + addStartNpc(MASTER_VIRGIL); + addTalkId(MASTER_VIRGIL, KALINTA); + addKillId(VENOMOUS_SPIDER, ARACHNID_TRACKER, LYCANTHROPE); + registerQuestItems(PALLUS_TALISMAN, LYCANTHROPE_SKULL, VIRGILS_LETTER, MORTE_TALISMAN, VENOMOUS_SPIDERS_CARAPACE, ARACHNID_TRACKER_SILK, COFFIN_OF_ETERNAL_REST); + } + + @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.darkFighter) + { + if (player.getLevel() >= MIN_LEVEL) + { + if (hasQuestItems(player, GAZE_OF_ABYSS)) + { + htmltext = "30329-04.htm"; + } + else + { + htmltext = "30329-05.htm"; + } + } + else + { + htmltext = "30329-02.htm"; + } + } + else if (player.getClassId() == ClassId.palusKnight) + { + htmltext = "30329-02a.htm"; + } + else + { + htmltext = "30329-03.htm"; + } + break; + } + case "30329-06.htm": + { + qs.startQuest(); + giveItems(player, PALLUS_TALISMAN, 1); + htmltext = event; + break; + } + case "30329-10.html": + { + if (hasQuestItems(player, PALLUS_TALISMAN, LYCANTHROPE_SKULL)) + { + takeItems(player, PALLUS_TALISMAN, 1); + takeItems(player, LYCANTHROPE_SKULL, -1); + giveItems(player, VIRGILS_LETTER, 1); + qs.setCond(3, true); + htmltext = event; + } + break; + } + case "30422-02.html": + { + if (hasQuestItems(player, VIRGILS_LETTER)) + { + takeItems(player, VIRGILS_LETTER, 1); + giveItems(player, MORTE_TALISMAN, 1); + qs.setCond(4, true); + htmltext = event; + } + break; + } + case "30422-06.html": + { + if (hasQuestItems(player, MORTE_TALISMAN, ARACHNID_TRACKER_SILK, VENOMOUS_SPIDERS_CARAPACE)) + { + takeItems(player, MORTE_TALISMAN, 1); + takeItems(player, VENOMOUS_SPIDERS_CARAPACE, 1); + takeItems(player, ARACHNID_TRACKER_SILK, -1); + giveItems(player, COFFIN_OF_ETERNAL_REST, 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 VENOMOUS_SPIDER: + { + if (hasQuestItems(killer, MORTE_TALISMAN) && (getQuestItemsCount(killer, VENOMOUS_SPIDERS_CARAPACE) < 1)) + { + giveItems(killer, VENOMOUS_SPIDERS_CARAPACE, 1); + if (getQuestItemsCount(killer, ARACHNID_TRACKER_SILK) >= 5) + { + qs.setCond(5, true); + } + } + break; + } + case ARACHNID_TRACKER: + { + if (hasQuestItems(killer, MORTE_TALISMAN) && (getQuestItemsCount(killer, ARACHNID_TRACKER_SILK) < 5)) + { + giveItems(killer, ARACHNID_TRACKER_SILK, 1); + if (getQuestItemsCount(killer, ARACHNID_TRACKER_SILK) == 5) + { + if ((getQuestItemsCount(killer, ARACHNID_TRACKER_SILK) >= 4) && hasQuestItems(killer, VENOMOUS_SPIDERS_CARAPACE)) + { + qs.setCond(5, true); + } + } + else + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case LYCANTHROPE: + { + if (hasQuestItems(killer, PALLUS_TALISMAN) && (getQuestItemsCount(killer, LYCANTHROPE_SKULL) < 13)) + { + giveItems(killer, LYCANTHROPE_SKULL, 1); + if (getQuestItemsCount(killer, LYCANTHROPE_SKULL) == 13) + { + qs.setCond(2, true); + } + else + { + playSound(killer, 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() == MASTER_VIRGIL) + { + htmltext = "30329-01.htm"; + } + } + else if (qs.isStarted()) + { + switch (npc.getId()) + { + case MASTER_VIRGIL: + { + if (hasQuestItems(player, PALLUS_TALISMAN)) + { + if (!hasQuestItems(player, LYCANTHROPE_SKULL)) + { + htmltext = "30329-07.html"; + } + else if (hasQuestItems(player, LYCANTHROPE_SKULL) && (getQuestItemsCount(player, LYCANTHROPE_SKULL) < 13)) + { + htmltext = "30329-08.html"; + } + else + { + htmltext = "30329-09.html"; + } + } + else if (hasQuestItems(player, COFFIN_OF_ETERNAL_REST)) + { + giveAdena(player, 163800, true); + giveItems(player, GAZE_OF_ABYSS, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 320534, 26212); + } + else if (level == 19) + { + addExpAndSp(player, 456128, 32910); + } + else + { + addExpAndSp(player, 591724, 39608); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = "30329-11.html"; + } + else if (hasAtLeastOneQuestItem(player, VIRGILS_LETTER, MORTE_TALISMAN)) + { + htmltext = "30329-12.html"; + } + break; + } + case KALINTA: + { + if (hasQuestItems(player, VIRGILS_LETTER)) + { + htmltext = "30422-01.html"; + } + else if (hasQuestItems(player, MORTE_TALISMAN)) + { + if (!hasQuestItems(player, ARACHNID_TRACKER_SILK, VENOMOUS_SPIDERS_CARAPACE)) + { + htmltext = "30422-03.html"; + } + else if (!hasQuestItems(player, ARACHNID_TRACKER_SILK) && hasQuestItems(player, VENOMOUS_SPIDERS_CARAPACE)) + { + htmltext = "30422-04.html"; + } + else if ((getQuestItemsCount(player, ARACHNID_TRACKER_SILK) >= 5) && hasQuestItems(player, VENOMOUS_SPIDERS_CARAPACE)) + { + htmltext = "30422-05.html"; + } + else if (hasQuestItems(player, ARACHNID_TRACKER_SILK, VENOMOUS_SPIDERS_CARAPACE)) + { + htmltext = "30422-04.html"; + } + } + else if (hasQuestItems(player, COFFIN_OF_ETERNAL_REST)) + { + htmltext = "30422-06.html"; + } + break; + } + } + } + return htmltext; + } +} \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-01.html new file mode 100644 index 0000000000..2ccd8fb653 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-01.html @@ -0,0 +1,4 @@ +<html><body>Guard Leikan:<br> +Ha ha! Welcome. So Arkenia sent you. What can your humble servant do for you?<br> +<a action="bypass -h Quest Q00411_PathOfTheAssassin 30382-02.html">Ask about the thieves.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-02.html similarity index 61% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-02.html index 7be8c847f9..1e5d8b536a 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-02.html @@ -1,12 +1,6 @@ -<html> - -<body> -Guard Leikan:<br> +<html><body>Guard Leikan:<br> The thieves that stole your race's treasures? Ah ... I do know roughly where they live, but ... I could tell you, but there is one condition. If you accept one request, I will give you information on the thieves.<br> Please don't think I am stingy. A man must do something to survive. Nothing is free in this world. There is an ancient saying that you go bald if you take things for free. Ha ha ha ...<br> -<a action="bypass -h Quest 411_PathToAssassin 30382_1">Accept his request</a><br> -<a action="bypass -h Quest 411_PathToAssassin 30382-04.htm">Do not have time to accept his request</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00411_PathOfTheAssassin 30382-03.html">Accept his request</a><br> +<a action="bypass -h Quest Q00411_PathOfTheAssassin 30382-04.html">Do not have time to accept his request</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-03.html new file mode 100644 index 0000000000..8fd08aadf3 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-03.html @@ -0,0 +1,5 @@ +<html><body>Guard Leikan:<br> +Actually, I recently boasted to my colleagues that I was attacked by Moonstone beasts while returning from the Dark Forest, and that I killed several. My colleagues didn't believe me and asked to see proof. This put me in a rather ... awkward position.<br> +So you see, I need ten Moonstone beast molars. Please get some for me. You can easily find Moonstone beasts north of here in the <font color="LEVEL">Neutral Zone</font>.<br> +Take this memo. It is a simple Contract stating our agreement. Remember, <font color="LEVEL">you must bring back ten Moonstone beast molars and then I will give you information.</font> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-04.html similarity index 71% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-04.html index df7f33991f..2b4c2ea370 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-04.html @@ -1,9 +1,3 @@ -<html> - -<body> -Guard Leikan:<br> +<html><body>Guard Leikan:<br> If you don't want to grant my request, I cannot give you information on the thieves. I don't do business that doesn't earn a reasonable profit. - - -</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/Q00411_PathOfTheAssassin/30382-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-05.html new file mode 100644 index 0000000000..f40771a7d2 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-05.html @@ -0,0 +1,3 @@ +<html><body>Guard Leikan:<br> +If you want to hear my information about the thieves, then <font color="LEVEL">quickly go to the Neutral Zone and find me ten Moonstone beast molars.</font> Now, hurry up please! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-06.html similarity index 52% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-06.html index ff0ba15133..6aff893e01 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-06.html @@ -1,9 +1,3 @@ -<html> - -<body> -Guard Leikan:<br> -Look now, I clearly remember saying<font color="LEVEL"> ten</font>. Maybe you need to review your fundamental math skills? More is acknowledged but less is not. Hurry and go find the remaining molars. - - -</body> -</html> \ No newline at end of file +<html><body>Guard Leikan:<br> +Look now, I clearly remember saying <font color="LEVEL">ten</font>. Maybe you need to review your fundamental math skills? More is acknowledged but less is not. Hurry and go find the remaining molars. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-07.html similarity index 71% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-07.html index 42698fff8c..6a3f0b4add 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30382-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-07.html @@ -1,11 +1,5 @@ -<html> - -<body> -Guard Leikan:<br> +<html><body>Guard Leikan:<br> Oh, great! Thank you for your trouble. Now I will tell you about the thieves.<br> -The ringleader is an Orc named<font color="LEVEL"> Calpico</font>. The fellow is very elusive, so you never know when he will show up or where, but a few days ago a report said that he was seen near the<font color="LEVEL"> School of Dark Arts</font> in the Dark Forest. If you search in the vicinity of the School of Dark Arts, you will be able to find the scoundrel's hiding place.<br> +The ringleader is an Orc named <font color="LEVEL">Calpico</font>. The fellow is very elusive, so you never know when he will show up or where, but a few days ago a report said that he was seen near the <font color="LEVEL">School of Dark Arts</font> in the Dark Forest. If you search in the vicinity of the School of Dark Arts, you will be able to find the scoundrel's hiding place.<br> I don't know why Calpico would steal holy articles from the Dark Elves ... I'm sure there is someone else behind it, don't you think? - - -</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/Q00411_PathOfTheAssassin/30382-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-08.html new file mode 100644 index 0000000000..650eb63757 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-08.html @@ -0,0 +1,4 @@ +<html><body>Guard Leikan:<br> +You have recovered Shilen's Tears. How could someone take such little care of such a valuable holy relic ... Tsk tsk ...<br> +If you take that to <font color="LEVEL">Arkenia</font>, she will be pleased. Give her my regards! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-09.html new file mode 100644 index 0000000000..71e88231cf --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30382-09.html @@ -0,0 +1,3 @@ +<html><body>Guard Leikan:<br> +As I told you, the thief's identity is an Orc named <font color="LEVEL">Calpico</font>. The fellow is very elusive, so you never know when he will show up or where, but a few days ago a report said that he was seen near the <font color="LEVEL">School of Dark Arts</font> in the Dark Forest. If you search in the vicinity of the School of Dark Arts, you will be able to find the scoundrel's hiding place. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-01.htm new file mode 100644 index 0000000000..b94fd1c0b5 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-01.htm @@ -0,0 +1,4 @@ +<html><body>Triskel:<br> +Assassins are murderers who kill quietly and swiftly, then vanish into the forest. They are also fighters of darkness who are talented in concealment and spying. They target the enemy's weak points with small but convenient weapons like daggers, or shoot arrows from a long distance.<br> +<a action="bypass -h Quest Q00411_PathOfTheAssassin ACCEPT">Say you want to be an Assassin.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-02.htm similarity index 59% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-02.htm index 5154767f60..9c81040aa2 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-02.htm @@ -1,9 +1,3 @@ -<html> - -<body> -Triskel:<br> +<html><body>Triskel:<br> Triskel does not speak with foolish fellows who do not know their profession! - - -</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/411_PathToAssassin/30416-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-02a.htm similarity index 74% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-02a.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-02a.htm index 3249783716..526cba3bdd 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-02a.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-02a.htm @@ -1,9 +1,3 @@ -<html> - -<body> -Triskel:<br> +<html><body>Triskel:<br> Why would one who is already an Assassin want to become an Assassin again? Triskel does not speak with foolish fellows that do not know their profession! - - -</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/Q00411_PathOfTheAssassin/30416-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-03.htm new file mode 100644 index 0000000000..38d27fea3f --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-03.htm @@ -0,0 +1,4 @@ +<html><body>Triskel:<br> +Hey, you little punk...you want to be an assassin? Go home to your mother!<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/Q00411_PathOfTheAssassin/30416-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-04.htm new file mode 100644 index 0000000000..a346e023ed --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-04.htm @@ -0,0 +1,3 @@ +<html><body>Triskel:<br> +You already have the Iron Heart! You already have the qualifications to become an Assassin! Take the Iron Heart and go to <font color="LEVEL">Grand Master Tobias</font> of the Dark Elf Guild to change profession! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-05.htm new file mode 100644 index 0000000000..06ae3c4100 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-05.htm @@ -0,0 +1,4 @@ +<html><body>Triskel:<br> +Hmm ... So the likes of you wants to change profession to an Assassin? Good. As luck would have it, I was just now in need of a nimble fellow. You must know that the foundation of an Assassin is quick movements! Use this opportunity to prove your skills to me! Now take this and go to <font color="LEVEL">Arkenia at the Dark Elf Altar of Rites. </font><br> +You don't know how to get to the Altar of Rites? Wretched fellow! Go out the east gate of the village and run to the north! Then you will reach the Neutral Zone. There is a bridge to the west that connects to the Dark Forest. After you cross the bridge, follow the road west until you reach the altar. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-06.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30416-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-06.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-07.html new file mode 100644 index 0000000000..c1b24a564a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-07.html @@ -0,0 +1,3 @@ +<html><body>Triskel:<br> +Wretched fellow! Don't keep Arkenia waiting! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-08.html new file mode 100644 index 0000000000..5dc187d16c --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-08.html @@ -0,0 +1,3 @@ +<html><body>Triskel:<br> +You are truly pitiful! Don't mope, run quickly! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-09.html new file mode 100644 index 0000000000..3587302dff --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-09.html @@ -0,0 +1,3 @@ +<html><body>Triskel:<br> +You really irritate me. You wretched creature! Why are you still lingering in the village when you know who the thief is? <font color="LEVEL">Quickly run to the School of Dark Arts and catch that thief!</font> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-10.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-10.html new file mode 100644 index 0000000000..57c894ab1a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-10.html @@ -0,0 +1,3 @@ +<html><body>Triskel:<br> +Ha ha ha ... Finally you have solved the case. I knew you could do it. What are you waiting for? Go give this joyful news to <font color="LEVEL">Arkenia</font> in the temple! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-11.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-11.html new file mode 100644 index 0000000000..3213ebf6b2 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30416-11.html @@ -0,0 +1,3 @@ +<html><body>Triskel:<br> +You fool! Pick up your heels and run to <font color="LEVEL">Arkenia</font> at the Altar of Rites as fast as your legs can take you! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-01.html new file mode 100644 index 0000000000..9da4475418 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-01.html @@ -0,0 +1,5 @@ +<html><body>Arkenia:<br> +Are you the one that has come to help me?<br> +<a action="bypass -h Quest Q00411_PathOfTheAssassin 30419-02.html">That is so</a><br> +<a action="bypass -h Quest Q00411_PathOfTheAssassin 30419-03.html">No</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-02.html new file mode 100644 index 0000000000..5020627b20 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-02.html @@ -0,0 +1,7 @@ +<html><body>Arkenia:<br> +I was waiting for you. Thank you for coming. It seems, one of our holy relics, <font color="LEVEL">Shilen's Tears</font> was recently stolen. I was on my way back from a pilgrimage in the north when I was attacked by a band of thieves...<br> +I am afraid the tetrarchs will be furious, and I have not been able to return to the village for fear of them. They will not forgive me if they know that the holy relic was stolen. Please recover the stolen Shilen's Tears before the tetrarchs find out. Please help me...<br> +<a action="bypass -h Quest Q00411_PathOfTheAssassin 30419-04.html">What exactly is Shilen's Tears?</a><br> +<a action="bypass -h Quest Q00411_PathOfTheAssassin 30419-05.html">Leave it to me! I will find it without fail.</a><br> +<a action="bypass -h Quest Q00411_PathOfTheAssassin 30419-06.html">I am sorry, I'm afraid I lack the powers</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-03.html similarity index 57% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-03.html index a39cd93fef..b042e8de1b 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-03.html @@ -1,9 +1,3 @@ -<html> - -<body> -Arkenia:<br> +<html><body>Arkenia:<br> You are not the one I was waiting for. I mistook you for someone else. - - -</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/Q00411_PathOfTheAssassin/30419-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-04.html new file mode 100644 index 0000000000..944876882e --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-04.html @@ -0,0 +1,6 @@ +<html><body>Arkenia:<br> +How can you be of our race and not know about Shilen's Tears? How could that be?<br> +When the solar eclipse occurs every thirty years, we Dark Elves perform sacrificial rites to the goddess Shilen, praying for abundance and prosperity. At that time each year, red dew drops form mysteriously on the pillars of the temple. We call that dew Shilen's Tears. Shilen's Tears are normally red, but when a threat to our race looms, they turn black. The tears are precious, for the whole fate of our race is tied to them.<br> +<a action="bypass -h Quest Q00411_PathOfTheAssassin 30419-05.html">I will find it for you</a><br> +<a action="bypass -h Quest Q00411_PathOfTheAssassin 30419-06.html">I'm afraid I lack the powers</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-05.html similarity index 64% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-05.html index 2d6ec344fe..6f76206866 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-05.html @@ -1,10 +1,4 @@ -<html> - -<body> -Arkenia:<br> -Thank you. I have asked about the whereabouts of the thieves and have some intelligence. The most reliable information is kept by a Human by the name of<font color="LEVEL"> Leikan</font>.<font color="LEVEL"> He works as a guard in the village of Gludin.</font><br> +<html><body>Arkenia:<br> +Thank you. I have asked about the whereabouts of the thieves and have some intelligence. The most reliable information is kept by a Human by the name of <font color="LEVEL">Leikan</font>. <font color="LEVEL">He works as a guard in the village of Gludin.</font><br> It seems that the Human Traders of his village have been robbed many times by those thieves as well. I heard that Leikan is investigating the thieves. Take this letter and go to him. Please hurry. - - -</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/411_PathToAssassin/30419-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-06.html similarity index 53% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-06.html index f29a469738..867171de40 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-06.html @@ -1,9 +1,3 @@ -<html> - -<body> -Arkenia:<br> +<html><body>Arkenia:<br> I understand. I suppose I will have to find someone else... - - -</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/411_PathToAssassin/30419-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-07.html similarity index 54% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-07.html index 7b7ddd6662..a121fdadb6 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-07.html @@ -1,9 +1,3 @@ -<html> - -<body> -Arkenia:<br> +<html><body>Arkenia:<br> Please, I beg you. Please hurry. When the tetrarchs find out... - - -</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/Q00411_PathOfTheAssassin/30419-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-08.html new file mode 100644 index 0000000000..cd39d732f7 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-08.html @@ -0,0 +1,3 @@ +<html><body>Arkenia:<br> +Ah, you have finally found Shilen's Tears. Thank you. I truly thank you. In return, I will write you a Recommendation to become an Assassin. Show this to <font color="LEVEL">Triskel</font> in the village of Gludio Castle. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-09.html new file mode 100644 index 0000000000..35883d798b --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-09.html @@ -0,0 +1,3 @@ +<html><body>Arkenia:<br> +Take the Recommendation I wrote you, and go to <font color="LEVEL">Triskel</font> in the village of Gludio Castle. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-10.html similarity index 65% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-10.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-10.html index 1e6976b7b6..8a5c899848 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-10.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-10.html @@ -1,9 +1,3 @@ -<html> - -<body> -Arkenia:<br> +<html><body>Arkenia:<br> I beg you. Please hurry. I think the tetrarchs and other priests have found out. I beg you, hurry! - - -</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/411_PathToAssassin/30419-11.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-11.html similarity index 66% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-11.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-11.html index 17ed4a4481..f0156573e7 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/411_PathToAssassin/30419-11.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/30419-11.html @@ -1,9 +1,3 @@ -<html> - -<body> -Arkenia:<br> +<html><body>Arkenia:<br> Finally, you have found the thieves' whereabouts! Please keep going, just a little longer. I beg you... - - -</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/Q00411_PathOfTheAssassin/Q00411_PathOfTheAssassin.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/Q00411_PathOfTheAssassin.java new file mode 100644 index 0000000000..5d3b19f6fe --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00411_PathOfTheAssassin/Q00411_PathOfTheAssassin.java @@ -0,0 +1,325 @@ +/* + * 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.Q00411_PathOfTheAssassin; + +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 Assassin (411) + * @author ivantotov + */ +public final class Q00411_PathOfTheAssassin extends Quest +{ + // NPCs + private static final int TRISKEL = 30416; + private static final int GUARD_LEIKAN = 30382; + private static final int ARKENIA = 30419; + // Items + private static final int SHILENS_CALL = 1245; + private static final int ARKENIAS_LETTER = 1246; + private static final int LEIKANS_NOTE = 1247; + private static final int MOONSTONE_BEASTS_MOLAR = 1248; + private static final int SHILENS_TEARS = 1250; + private static final int ARKENIAS_RECOMMENDATION = 1251; + // Reward + private static final int IRON_HEART = 1252; + // Monster + private static final int MOONSTONE_BEAST = 20369; + // Quest Monster + private static final int CALPICO = 27036; + // Misc + private static final int MIN_LEVEL = 18; + + public Q00411_PathOfTheAssassin() + { + super(411, Q00411_PathOfTheAssassin.class.getSimpleName(), "Path Of The Assassin"); + addStartNpc(TRISKEL); + addTalkId(TRISKEL, GUARD_LEIKAN, ARKENIA); + addKillId(MOONSTONE_BEAST, CALPICO); + registerQuestItems(SHILENS_CALL, ARKENIAS_LETTER, LEIKANS_NOTE, MOONSTONE_BEASTS_MOLAR, SHILENS_TEARS, ARKENIAS_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 (player.getClassId() == ClassId.darkFighter) + { + if (player.getLevel() >= MIN_LEVEL) + { + if (hasQuestItems(player, IRON_HEART)) + { + htmltext = "30416-04.htm"; + } + else + { + qs.startQuest(); + giveItems(player, SHILENS_CALL, 1); + htmltext = "30416-05.htm"; + } + } + else + { + htmltext = "30416-03.htm"; + } + } + else if (player.getClassId() == ClassId.assassin) + { + htmltext = "30416-02a.htm"; + } + else + { + htmltext = "30416-02.htm"; + } + break; + } + case "30382-02.html": + case "30382-04.html": + { + htmltext = event; + break; + } + case "30382-03.html": + { + if (hasQuestItems(player, ARKENIAS_LETTER)) + { + takeItems(player, ARKENIAS_LETTER, 1); + giveItems(player, LEIKANS_NOTE, 1); + qs.setCond(3, true); + htmltext = event; + } + break; + } + case "30419-02.html": + case "30419-03.html": + case "30419-04.html": + case "30419-06.html": + { + htmltext = event; + break; + } + case "30419-05.html": + { + if (hasQuestItems(player, SHILENS_CALL)) + { + takeItems(player, SHILENS_CALL, 1); + giveItems(player, ARKENIAS_LETTER, 1); + 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 MOONSTONE_BEAST: + { + if (hasQuestItems(killer, LEIKANS_NOTE) && (getQuestItemsCount(killer, MOONSTONE_BEASTS_MOLAR) < 10)) + { + giveItems(killer, MOONSTONE_BEASTS_MOLAR, 1); + if (getQuestItemsCount(killer, MOONSTONE_BEASTS_MOLAR) == 10) + { + qs.setCond(4, true); + } + else + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case CALPICO: + { + if (!hasQuestItems(killer, SHILENS_TEARS)) + { + giveItems(killer, SHILENS_TEARS, 1); + qs.setCond(6, true); + } + 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() == TRISKEL) + { + if (!hasQuestItems(player, IRON_HEART)) + { + htmltext = "30416-01.htm"; + } + else + { + htmltext = "30416-04.htm"; + } + } + } + else if (qs.isStarted()) + { + switch (npc.getId()) + { + case TRISKEL: + { + if (!hasAtLeastOneQuestItem(player, ARKENIAS_LETTER, LEIKANS_NOTE, SHILENS_TEARS, IRON_HEART) && hasQuestItems(player, ARKENIAS_RECOMMENDATION)) + { + giveAdena(player, 163800, true); + giveItems(player, IRON_HEART, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 320534, 35830); + } + else if (level == 19) + { + addExpAndSp(player, 456128, 35830); + } + else + { + addExpAndSp(player, 591724, 42528); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = "30416-06.html"; + } + else if (!hasAtLeastOneQuestItem(player, LEIKANS_NOTE, SHILENS_TEARS, ARKENIAS_RECOMMENDATION, IRON_HEART, SHILENS_CALL) && hasQuestItems(player, ARKENIAS_LETTER)) + { + htmltext = "30416-07.html"; + } + else if (!hasAtLeastOneQuestItem(player, ARKENIAS_LETTER, SHILENS_TEARS, ARKENIAS_RECOMMENDATION, IRON_HEART, SHILENS_CALL) && hasQuestItems(player, LEIKANS_NOTE)) + { + htmltext = "30416-08.html"; + } + else if (!hasAtLeastOneQuestItem(player, ARKENIAS_LETTER, LEIKANS_NOTE, SHILENS_TEARS, ARKENIAS_RECOMMENDATION, IRON_HEART, SHILENS_CALL)) + { + htmltext = "30416-09.html"; + } + else if (!hasAtLeastOneQuestItem(player, ARKENIAS_LETTER, LEIKANS_NOTE, ARKENIAS_RECOMMENDATION, IRON_HEART, SHILENS_CALL) && hasQuestItems(player, SHILENS_TEARS)) + { + htmltext = "30416-10.html"; + } + else if (!hasAtLeastOneQuestItem(player, ARKENIAS_LETTER, LEIKANS_NOTE, SHILENS_TEARS, ARKENIAS_RECOMMENDATION, IRON_HEART) && hasQuestItems(player, SHILENS_CALL)) + { + htmltext = "30416-11.html"; + } + break; + } + case GUARD_LEIKAN: + { + if (!hasAtLeastOneQuestItem(player, LEIKANS_NOTE, SHILENS_TEARS, ARKENIAS_RECOMMENDATION, IRON_HEART, SHILENS_CALL, MOONSTONE_BEASTS_MOLAR) && hasQuestItems(player, ARKENIAS_LETTER)) + { + htmltext = "30382-01.html"; + } + else if (!hasAtLeastOneQuestItem(player, ARKENIAS_LETTER, SHILENS_TEARS, ARKENIAS_RECOMMENDATION, IRON_HEART, SHILENS_CALL, MOONSTONE_BEASTS_MOLAR) && hasQuestItems(player, LEIKANS_NOTE)) + { + htmltext = "30382-05.html"; + } + else if (!hasAtLeastOneQuestItem(player, ARKENIAS_LETTER, SHILENS_TEARS, ARKENIAS_RECOMMENDATION, IRON_HEART, SHILENS_CALL) && hasQuestItems(player, LEIKANS_NOTE)) + { + if (hasQuestItems(player, MOONSTONE_BEASTS_MOLAR) && (getQuestItemsCount(player, MOONSTONE_BEASTS_MOLAR) < 10)) + { + htmltext = "30382-06.html"; + } + else + { + takeItems(player, LEIKANS_NOTE, 1); + takeItems(player, MOONSTONE_BEASTS_MOLAR, -1); + qs.setCond(5, true); + htmltext = "30382-07.html"; + } + } + else if (hasQuestItems(player, SHILENS_TEARS)) + { + htmltext = "30382-08.html"; + } + else if (!hasAtLeastOneQuestItem(player, ARKENIAS_LETTER, LEIKANS_NOTE, SHILENS_TEARS, ARKENIAS_RECOMMENDATION, IRON_HEART, SHILENS_CALL, MOONSTONE_BEASTS_MOLAR)) + { + htmltext = "30382-09.html"; + } + break; + } + case ARKENIA: + { + if (!hasAtLeastOneQuestItem(player, ARKENIAS_LETTER, LEIKANS_NOTE, SHILENS_TEARS, ARKENIAS_RECOMMENDATION, IRON_HEART) && hasQuestItems(player, SHILENS_CALL)) + { + htmltext = "30419-01.html"; + } + else if (!hasAtLeastOneQuestItem(player, LEIKANS_NOTE, SHILENS_TEARS, ARKENIAS_RECOMMENDATION, IRON_HEART, SHILENS_CALL) && hasQuestItems(player, ARKENIAS_LETTER)) + { + htmltext = "30419-07.html"; + } + else if (!hasAtLeastOneQuestItem(player, ARKENIAS_LETTER, LEIKANS_NOTE, ARKENIAS_RECOMMENDATION, IRON_HEART, SHILENS_CALL) && hasQuestItems(player, SHILENS_TEARS)) + { + takeItems(player, SHILENS_TEARS, 1); + giveItems(player, ARKENIAS_RECOMMENDATION, 1); + qs.setCond(7, true); + htmltext = "30419-08.html"; + } + else if (!hasAtLeastOneQuestItem(player, ARKENIAS_LETTER, LEIKANS_NOTE, SHILENS_TEARS, IRON_HEART, SHILENS_CALL) && hasQuestItems(player, ARKENIAS_RECOMMENDATION)) + { + htmltext = "30419-09.html"; + } + else if (!hasAtLeastOneQuestItem(player, ARKENIAS_LETTER, SHILENS_TEARS, ARKENIAS_RECOMMENDATION, IRON_HEART, SHILENS_CALL) && hasQuestItems(player, LEIKANS_NOTE)) + { + htmltext = "30419-10.html"; + } + else if (!hasAtLeastOneQuestItem(player, ARKENIAS_LETTER, LEIKANS_NOTE, SHILENS_TEARS, ARKENIAS_RECOMMENDATION, IRON_HEART, SHILENS_CALL)) + { + htmltext = "30419-11.html"; + } + break; + } + } + } + return htmltext; + } +} \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-01.html similarity index 65% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-01.html index 2d46c0bb44..a7bc4c10ee 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-01.html @@ -1,11 +1,5 @@ -<html> - -<body> -Charkeren:<br> +<html><body>Charkeren:<br> Who are you? I curse everything in this world! Just leave me alone!<br> Ah ... What good is it to be the only one alive? If the gods asked me what to do with the world, I'd ask them to destroy it right away! What good is it to live in a world like this ...<br> -<a action="bypass -h Quest 412_PathToDarkwizard 412_4">Listen to his tale</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00412_PathOfTheDarkWizard 30415-02.html">Listen to his tale</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-02.html new file mode 100644 index 0000000000..6a3f094d2c --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-02.html @@ -0,0 +1,7 @@ +<html><body>Charkeren:<br> +My family ... We built a house near the waterfall and lived happily, tending our fields. Then suddenly, one day, an Elven militia corps showed up and threatened us, but we didn't pay much attention because we though it was just the normal harassment. But the day I went up to repair the roof for the rainy season, they swarmed into the house and killed my entire family ...<br> +I was a powerless coward, and I held my breath on the roof and just watched. As my family was killed one by one in front of my eyes, I pressed myself close to the roof so that I would not be seen, and did nothing to save them until they were all dead ...<br> +What sins did I commit for my family to be murdered! I will take revenge on those Elves by doing exactly what they did! I will make them understand how it feels to be able to do nothing while your loved ones die in front of your eyes! Ahh ... My family ...<br> +Could you do me a favor? It's nothing difficult...<br> +<a action="bypass -h Quest Q00412_PathOfTheDarkWizard 30415-03.html">Accept request</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-03.html new file mode 100644 index 0000000000..67c217020f --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-03.html @@ -0,0 +1,4 @@ +<html><body>Charkeren:<br> +Those wretched murderers threw the corpses of my family in the <font color="LEVEL">marsh</font>, but I can't bear to go there to search. If I could devour those murderers like a wild beast, it still wouldn't satisfy my hunger for revenge! Please find the bodies of my parents and younger sister. I beg you. The Marsh Zombies have probably torn up the corpses. <font color="LEVEL">Kill the Marsh Zombies and bring back the three remains, please.</font><br> +This key was given to me by my parents as a gift. It is supposed to bring good luck. Carry this with you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-04.html new file mode 100644 index 0000000000..d55506e30c --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-04.html @@ -0,0 +1,4 @@ +<html><body>Charkeren:<br> +I didn't think it would be easy to find all the remains of my family ... I know the marsh is quite large ...<br> +They say that the Marsh Zombies love dead bodies, so I'm sure they have scattered the corpses of my family. I do not care how long it takes. Please find their remains. Please, I beg you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-05.html similarity index 74% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-05.html index 8e3f26d7ec..58ec88985f 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-05.html @@ -1,10 +1,4 @@ -<html> - -<body> -Charkeren:<br> +<html><body>Charkeren:<br> Ahh ... You have found the remains of my family ... How can I ever thank you ... I will never forget your kind heart. I promise I will pay you back once I finish my revenge.<br> -Argh ... My heart suddenly ... Ugh ... I feel nauseous. What is this? Is this a<font color="LEVEL"> seed</font>? I will give this to you. Now ... My heart feels so much lighter. I will not forget your kindness. Thank you so much. - - -</body> -</html> \ No newline at end of file +Argh ... My heart suddenly ... Ugh ... I feel nauseous. What is this? Is this a <font color="LEVEL">seed</font>? I will give this to you. Now ... My heart feels so much lighter. I will not forget your kindness. Thank you so much. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-06.html similarity index 72% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-06.html index b7d48c3b2c..cd3addfc0b 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30415-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30415-06.html @@ -1,9 +1,3 @@ -<html> - -<body> -Charkeren:<br> +<html><body>Charkeren:<br> Thank you so much. I do not have anything now so I cannot give you anything in return. I will honor you for your kindness for the rest of my life. - - -</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/412_PathToDarkwizard/30418-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30418-01.html similarity index 81% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30418-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30418-01.html index e4bf99fbfd..19fbf9fd30 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30418-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30418-01.html @@ -1,11 +1,5 @@ -<html> - -<body> -Annika:<br> +<html><body>Annika:<br> The finest Wizards of the Dark Elven race used to study black magic here a long time ago. But this place has since been abandoned and is now in ruins. Can't you feel the spirit of evil inside? The accumulated dark magic is so strong, even a Fighter like myself can feel its power.<br> I am training to become a sentry. The training course involves exploring the School of Dark Arts here. However, whenever I go into dark and closed spaces, I cannot breathe. Just the thought of going into that place steals my breath. I beg you... Please help me complete my training.<br> -<a action="bypass -h Quest 412_PathToDarkwizard 30418_1">Accept the request</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00412_PathOfTheDarkWizard 30418-02.html">Accept the request</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30418-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30418-02.html similarity index 64% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30418-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30418-02.html index 2f2e6fc792..277512312e 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30418-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30418-02.html @@ -1,10 +1,4 @@ -<html> - -<body> -Annika:<br> -Please go into the School of Dark Arts and find me two knee bones of the undead. You can find them by killing skeleton hunters, skeleton hunter archers, or misery skeletons.<br> +<html><body>Annika:<br> +Please go into the School of Dark Arts and find me two Knee Bones of the undead. You can find them by killing skeleton hunters, skeleton hunter archers, or misery skeletons.<br> I will give you this candle. If you are trapped in a dark corridor in the ruins, you may need it. - - -</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/Q00412_PathOfTheDarkWizard/30418-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30418-03.html new file mode 100644 index 0000000000..45332f77b5 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30418-03.html @@ -0,0 +1,3 @@ +<html><body>Annika:<br> +How come you've returned empty-handed? Have you forgotten your promise already? Didn't you say you were going to find me two Knee Bones of the undead? You can get the Knee Bones by killing skeleton hunters, skeleton hunter archers, or misery skeletons. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30418-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30418-04.html similarity index 65% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30418-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30418-04.html index 6945621a26..824d9854f4 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30418-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30418-04.html @@ -1,10 +1,4 @@ -<html> - -<body> -Annika:<br> +<html><body>Annika:<br> Thank you very much. Thanks to you, I can safely complete my training. Soon, I will earn the qualifications to become a sentry. When I do, my friends won't laugh at me anymore.<br> -I give you this in thanks for helping me. I'm not sure exactly what it is, but it is definitely very precious. It looks like a<font color="LEVEL"> seed</font> or something... It looks quite marvelous, I've never seen anything like it before. I found it in the nearby woods a few days ago. - - -</body> -</html> \ No newline at end of file +I give you this in thanks for helping me. I'm not sure exactly what it is, but it is definitely very precious. It looks like a <font color="LEVEL">seed</font> or something... It looks quite marvelous, I've never seen anything like it before. I found it in the nearby woods a few days ago. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30419-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30419-01.html similarity index 73% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30419-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30419-01.html index b467935764..2f7c26cd75 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30419-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30419-01.html @@ -1,11 +1,5 @@ -<html> - -<body> -Arkenia:<br> +<html><body>Arkenia:<br> The Dark Forest is peaceful and orderly, but Gludio is not like that. The wounds of war still run red in that place. A Sorcerer in the past went mad, and did things that should not have been done.<br> -He made live Humans the subjects of his experiments. After the experiments, they were no longer Humans. The scientist turned them into skeletons, you see.<font color="LEVEL"> Kill the skeleton scouts in the Ruins of Agony in Gludio and find the heart of lunacy, left by that Sorcerer whose lunacy created the evil.</font><br> +He made live Humans the subjects of his experiments. After the experiments, they were no longer Humans. The scientist turned them into skeletons, you see. <font color="LEVEL">Kill the skeleton scouts in the Ruins of Agony in Gludio and find the Heart of Lunacy, left by that Sorcerer whose lunacy created the evil.</font><br> Here is a perfume made from crushed herbs, it will defend your mind from the curse of that madness. - - -</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/Q00412_PathOfTheDarkWizard/30419-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30419-02.html new file mode 100644 index 0000000000..55a8fa3f2d --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30419-02.html @@ -0,0 +1,3 @@ +<html><body>Arkenia:<br> +Kill the <font color="LEVEL">skeleton scouts</font> that appear in the Ruins of Agony and free the dead Humans' souls. Then, bring me the <font color="LEVEL">Heart of Lunacy</font> you'll get from the skeleton's body. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30419-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30419-03.html new file mode 100644 index 0000000000..f26fa4303c --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30419-03.html @@ -0,0 +1,4 @@ +<html><body>Arkenia:<br> +You have found the Heart of Lunacy. This must be handled very carefully. If you are careless, it will burst. This heart is an important ingredient in the making of medicine. This much will make a lot of medicine.<br> +If you dry one of these hearts, it will become a Seed of Lunacy. Since you found all the hearts, I will give you a <font color="LEVEL">Seed of Lunacy</font> as a reward. If you carry this with you, you will not be tormented by evil creatures. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-01.htm similarity index 68% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-01.htm index dcd69d1d94..0d61049e18 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-01.htm @@ -1,11 +1,5 @@ -<html> - -<body> -Varika:<br> +<html><body>Varika:<br> Do you want the ultimate power in your hands? If so, then you must not hesitate. Decision is always important. If you become a Dark Wizard, you will have the power to command the spirits as you wish.<br> Well, do you want the power of the Dark Wizard that commands spirits?<br> -<a action="bypass -h Quest 412_PathToDarkwizard 1">Want to obtain power</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00412_PathOfTheDarkWizard ACCEPT">Want to obtain power</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-02.htm new file mode 100644 index 0000000000..acc20632a9 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-02.htm @@ -0,0 +1,3 @@ +<html><body>Witch Varika:<br> +You are not experienced enough to become a Dark Wizard. You must have achieved at least level 18 before you can wield that kind of power. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-02a.htm similarity index 70% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-02a.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-02a.htm index 04daf5cea9..4a61d6e06d 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-02a.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-02a.htm @@ -1,9 +1,3 @@ -<html> - -<body> -Varika:<br> +<html><body>Varika:<br> It seems that ... You already have the power of a Dark Wizard ... I cannot help you. Please research power of a higher level. - - -</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/412_PathToDarkwizard/30421-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-03.htm similarity index 66% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-03.htm index 794d2145b1..fcff8ec438 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-03.htm @@ -1,9 +1,3 @@ -<html> - -<body> -Varika:<br> +<html><body>Varika:<br> You are already walking another path. You are not eligible to take the test to become a Dark 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/Q00412_PathOfTheDarkWizard/30421-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-04.htm new file mode 100644 index 0000000000..fa80570267 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-04.htm @@ -0,0 +1,4 @@ +<html><body>Varika:<br> +I see you already have the Jewel of Darkness. That means you are qualified to become a Dark Wizard. Take the jewel and go to a Grand Master of the Dark Elf Guild in Gludio.<br> +The closest is the village of Gludin. Follow the road and continue on south. Go to the Dark Elf Guild there and meet <font color="LEVEL">Grand Master Xenos</font>. He will change your profession to Dark Wizard. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-05.htm similarity index 55% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-05.htm index f00d8773e7..d77e9c2c94 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-05.htm @@ -1,15 +1,8 @@ -<html> - -<body> - -Varika:<br> +<html><body>Varika:<br> Dark Wizards can control the power of nature and perform powerful magic. But you should be aware of the origin of power that enables magic.<br> -Long ago, our mother Shilen was insulted by Einhasad and betrayed by the Elves when they began to serve Eva. Since then, the origin of our power is darkness, like our mother Shilen. Dark power consists of four factors --<font color="LEVEL"> anger, despair, horror and lunacy.</font> You can qualify to become a Dark Wizard only if you collect the four seeds that symbolize these things.<br> -Here, take this. This is the<font color="LEVEL"> seed of despair.</font> Take this and find the remaining seeds. Now, which one should I explain first?<br> -<a action="bypass -h Quest 412_PathToDarkwizard 412_1">Seed of Anger</a><br> -<a action="bypass -h Quest 412_PathToDarkwizard 412_2">Seed of Horror</a><br> -<a action="bypass -h Quest 412_PathToDarkwizard 412_3">Seed of Lunacy</a> - - -</body> -</html> \ No newline at end of file +Long ago, our mother Shilen was insulted by Einhasad and betrayed by the Elves when they began to serve Eva. Since then, the origin of our power is darkness, like our mother Shilen. Dark power consists of four factors -- <font color="LEVEL">anger, despair, horror and lunacy.</font> You can qualify to become a Dark Wizard only if you collect the four seeds that symbolize these things.<br> +Here, take this. This is the <font color="LEVEL">Seed of Despair.</font> Take this and find the remaining seeds. Now, which one should I explain first?<br> +<a action="bypass -h Quest Q00412_PathOfTheDarkWizard 30421-06.html">Seed of Anger</a><br> +<a action="bypass -h Quest Q00412_PathOfTheDarkWizard 30421-09.html">Seed of Horror</a><br> +<a action="bypass -h Quest Q00412_PathOfTheDarkWizard 30421-11.html">Seed of Lunacy</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-06.html new file mode 100644 index 0000000000..891a72f590 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-06.html @@ -0,0 +1,3 @@ +<html><body>Varika:<br> +Are you trying to trick me? Others may be easily fooled, but it will not be easy to fool me. I see you already have the Seed of Anger. Go find the remaining seeds. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-07.html new file mode 100644 index 0000000000..0ebf9d358f --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-07.html @@ -0,0 +1,3 @@ +<html><body>Varika:<br> +Go to the <font color="LEVEL">waterfall</font> that is north of the Neutral Zone and northeast of here. There, you will feel a tremendous force of anger. I have foreseen that the one emitting the anger is a young Dark Elven youth by the name of <font color="LEVEL">Charkeren.</font> Bring the Seed of Anger planted in his heart. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-08.html similarity index 52% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-08.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-08.html index b17a4e1087..f950506b61 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-08.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-08.html @@ -1,9 +1,3 @@ -<html> - -<body> -Varika:<br> -The young man called Charkeren was greatly afflicted. He will have great knots in his heart. Undo the knots and they will form a seed of anger. Please help that poor man as soon as possible. - - -</body> -</html> \ No newline at end of file +<html><body>Varika:<br> +The young man called Charkeren was greatly afflicted. He will have great knots in his heart. Undo the knots and they will form a Seed of Anger. Please help that poor man as soon as possible. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-09.html new file mode 100644 index 0000000000..74e1bb0429 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-09.html @@ -0,0 +1,3 @@ +<html><body>Varika:<br> +None are as weak as an opponent that has fear in his heart. I see you have the Seed of Horror. Did you collect all the other seeds? +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-10.html similarity index 66% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-10.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-10.html index 778d381ab9..8d83b52184 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-10.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-10.html @@ -1,9 +1,3 @@ -<html> - -<body> -Varika:<br> -I sense that someone is trembling in fear. It seems to be near the<font color="LEVEL"> School of Dark Arts</font>. Search thoroughly near the entrance of the School of Dark Arts. She seems like a very<font color="LEVEL"> attractive young woman</font>. Listen to her tale and erase her horror. - - -</body> -</html> \ No newline at end of file +<html><body>Varika:<br> +I sense that someone is trembling in fear. It seems to be near the <font color="LEVEL">School of Dark Arts</font>. Search thoroughly near the entrance of the School of Dark Arts. She seems like a very<font color="LEVEL"> attractive young woman</font>. Listen to her tale and erase her horror. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-11.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-11.html new file mode 100644 index 0000000000..fe4d6fe13a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-11.html @@ -0,0 +1,3 @@ +<html><body>Varika:<br> +You are quite an amusing person. If you already have the Seed of Lunacy, why have you come to find it again? Go gather the seeds that you do not have yet. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-12.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-12.html new file mode 100644 index 0000000000..266db8ca64 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-12.html @@ -0,0 +1,3 @@ +<html><body>Varika:<br> +For methods of finding a Seed of Lunacy, go and ask my sister Arkenia. She will tell you in detail what you wish to know. When you have found a Seed of Lunacy, come and seek me again. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-13.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-13.html new file mode 100644 index 0000000000..ab133be0ae --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-13.html @@ -0,0 +1,5 @@ +<html><body>Varika:<br> +So you have finally collected the Seeds of Anger, Despair, Horror and Lunacy. Now do you know the source of our power? There is no need to be afraid. All you have to do is control these by your will.<br> +Emotion is important when dealing with nature's elementals. Don't forget that emotion is the source of power. Since you have gathered all the seeds needed to become a Dark Wizard, I will give you a token. Take this token to the Grand Master of the Dark Elf Guild and you can become a Dark Wizard.<br> +The nearest village where Dark Elves reside is the village of Gludin. Go and seek <font color="LEVEL">Grand Master Xenos</font> there. He will change your profession to a Dark Wizard. Well then my friend, may the divine protection of Shilen be with you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-17.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-14.html similarity index 60% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-17.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-14.html index 1c86826131..1ded4821a4 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-17.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-14.html @@ -1,13 +1,7 @@ -<html> - -<body> -Varika:<br> +<html><body>Varika:<br> Dark Wizards can control the power of nature and perform powerful magic. But you should be aware of the origin of power that enables it.<br> Long ago, our mother Shilen was insulted by Einhasad and betrayed by the Elves. Since then, the origin of our power is darkness, like our mother Shilen. Dark power consists of four factors -- anger, despair, horror and lunacy. You can qualify to become a Dark Wizard only if you collect the four seeds that symbolize these four things.<br> -<a action="bypass -h Quest 412_PathToDarkwizard 412_1">Seed of anger</a><br> -<a action="bypass -h Quest 412_PathToDarkwizard 412_2">Seed of horror</a><br> -<a action="bypass -h Quest 412_PathToDarkwizard 412_3">Seed of lunacy</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00412_PathOfTheDarkWizard 30421-06.html">Seed of anger</a><br> +<a action="bypass -h Quest Q00412_PathOfTheDarkWizard 30421-09.html">Seed of horror</a><br> +<a action="bypass -h Quest Q00412_PathOfTheDarkWizard 30421-11.html">Seed of lunacy</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-19.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-15.html similarity index 54% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-19.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-15.html index 4fff8ec6e8..257e4a2f01 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/412_PathToDarkwizard/30421-19.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/30421-15.html @@ -1,9 +1,3 @@ -<html> - -<body> -Varika:<br> -The knee bones of the undead can be made into many different kinds of medicine and are often used for teaching in school. Annika seems to be unexpectedly clever, despite her appearance. A girl of her age shouldn't want to spend the entire day in a depressing dungeon. Give the girl these knee bones. - - -</body> -</html> \ No newline at end of file +<html><body>Varika:<br> +The Knee Bones of the undead can be made into many different kinds of medicine and are often used for teaching in school. Annika seems to be unexpectedly clever, despite her appearance. A girl of her age shouldn't want to spend the entire day in a depressing dungeon. Give the girl these Knee Bones. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/Q00412_PathOfTheDarkWizard.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/Q00412_PathOfTheDarkWizard.java new file mode 100644 index 0000000000..985412b9f1 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00412_PathOfTheDarkWizard/Q00412_PathOfTheDarkWizard.java @@ -0,0 +1,389 @@ +/* + * 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.Q00412_PathOfTheDarkWizard; + +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 Dark Wizard (412) + * @author ivantotov + */ +public final class Q00412_PathOfTheDarkWizard extends Quest +{ + // NPCs + private static final int CHARKEREN = 30415; + private static final int ANNIKA = 30418; + private static final int ARKENIA = 30419; + private static final int VARIKA = 30421; + // Items + private static final int SEEDS_OF_ANGER = 1253; + private static final int SEEDS_OF_DESPAIR = 1254; + private static final int SEEDS_OF_HORROR = 1255; + private static final int SEEDS_OF_LUNACY = 1256; + private static final int FAMILYS_REMAINS = 1257; + private static final int KNEE_BONE = 1259; + private static final int HEART_OF_LUNACY = 1260; + private static final int LUCKY_KEY = 1277; + private static final int CANDLE = 1278; + private static final int HUB_SCENT = 1279; + // Reward + private static final int JEWEL_OF_DARKNESS = 1261; + // Monster + private static final int MARSH_ZOMBIE = 20015; + private static final int MISERY_SKELETON = 20022; + private static final int SKELETON_SCOUT = 20045; + private static final int SKELETON_HUNTER = 20517; + private static final int SKELETON_HUNTER_ARCHER = 20518; + // Misc + private static final int MIN_LEVEL = 18; + + public Q00412_PathOfTheDarkWizard() + { + super(412, Q00412_PathOfTheDarkWizard.class.getSimpleName(), "Path Of The Dark Wizard"); + addStartNpc(VARIKA); + addTalkId(VARIKA, CHARKEREN, ANNIKA, ARKENIA); + addKillId(MARSH_ZOMBIE, MISERY_SKELETON, SKELETON_SCOUT, SKELETON_HUNTER, SKELETON_HUNTER_ARCHER); + registerQuestItems(SEEDS_OF_ANGER, SEEDS_OF_DESPAIR, SEEDS_OF_HORROR, SEEDS_OF_LUNACY, FAMILYS_REMAINS, KNEE_BONE, HEART_OF_LUNACY, LUCKY_KEY, CANDLE, HUB_SCENT); + } + + @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.darkMage) + { + if (player.getLevel() >= MIN_LEVEL) + { + if (hasQuestItems(player, JEWEL_OF_DARKNESS)) + { + htmltext = "30421-04.htm"; + } + else + { + qs.startQuest(); + giveItems(player, SEEDS_OF_DESPAIR, 1); + htmltext = "30421-05.htm"; + } + } + else + { + htmltext = "30421-02.htm"; + } + } + else if (player.getClassId() == ClassId.darkWizard) + { + htmltext = "30421-02a.htm"; + } + else + { + htmltext = "30421-03.htm"; + } + break; + } + case "30421-06.html": + { + if (hasQuestItems(player, SEEDS_OF_ANGER)) + { + htmltext = event; + } + else + { + htmltext = "30421-07.html"; + } + break; + } + case "30421-09.html": + { + if (hasQuestItems(player, SEEDS_OF_HORROR)) + { + htmltext = event; + } + else + { + htmltext = "30421-10.html"; + } + break; + } + case "30421-11.html": + { + if (hasQuestItems(player, SEEDS_OF_LUNACY)) + { + htmltext = event; + } + else if (!hasQuestItems(player, SEEDS_OF_LUNACY) && hasQuestItems(player, SEEDS_OF_DESPAIR)) + { + htmltext = "30421-12.html"; + } + break; + } + case "30421-08.html": + case "30415-02.html": + { + htmltext = event; + break; + } + case "30415-03.html": + { + giveItems(player, LUCKY_KEY, 1); + htmltext = event; + break; + } + case "30418-02.html": + { + giveItems(player, CANDLE, 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 MARSH_ZOMBIE: + { + if (hasQuestItems(killer, LUCKY_KEY) && (getQuestItemsCount(killer, FAMILYS_REMAINS) < 3)) + { + if (getRandom(2) == 0) + { + giveItems(killer, FAMILYS_REMAINS, 1); + if (getQuestItemsCount(killer, FAMILYS_REMAINS) == 3) + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + else + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + } + break; + } + case MISERY_SKELETON: + case SKELETON_HUNTER: + case SKELETON_HUNTER_ARCHER: + { + if (hasQuestItems(killer, CANDLE) && (getQuestItemsCount(killer, KNEE_BONE) < 2)) + { + if (getRandom(2) == 0) + { + giveItems(killer, KNEE_BONE, 1); + if (getQuestItemsCount(killer, KNEE_BONE) == 2) + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + else + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + } + break; + } + case SKELETON_SCOUT: + { + if (hasQuestItems(killer, HUB_SCENT) && (getQuestItemsCount(killer, HEART_OF_LUNACY) < 3)) + { + if (getRandom(2) == 0) + { + giveItems(killer, HEART_OF_LUNACY, 1); + if (getQuestItemsCount(killer, HEART_OF_LUNACY) == 3) + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + else + { + playSound(killer, 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() == VARIKA) + { + if (!hasQuestItems(player, JEWEL_OF_DARKNESS)) + { + htmltext = "30421-01.htm"; + } + else + { + htmltext = "30421-04.htm"; + } + } + } + else if (qs.isStarted()) + { + switch (npc.getId()) + { + case VARIKA: + { + if (hasQuestItems(player, SEEDS_OF_DESPAIR, SEEDS_OF_HORROR, SEEDS_OF_LUNACY, SEEDS_OF_ANGER)) + { + giveAdena(player, 163800, true); + giveItems(player, JEWEL_OF_DARKNESS, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 320534, 28630); + } + 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 = "30421-13.html"; + } + else if (hasQuestItems(player, SEEDS_OF_DESPAIR)) + { + if (!hasAtLeastOneQuestItem(player, FAMILYS_REMAINS, LUCKY_KEY, CANDLE, HUB_SCENT, KNEE_BONE, HEART_OF_LUNACY)) + { + htmltext = "30421-14.html"; + } + else if (!hasQuestItems(player, SEEDS_OF_ANGER)) + { + htmltext = "30421-08.html"; + } + else if (!hasQuestItems(player, SEEDS_OF_HORROR)) + { + htmltext = "30421-15.html"; + } + else if (!hasQuestItems(player, SEEDS_OF_LUNACY)) + { + htmltext = "30421-12.html"; + } + } + break; + } + case CHARKEREN: + { + if (!hasQuestItems(player, SEEDS_OF_ANGER) && hasQuestItems(player, SEEDS_OF_DESPAIR)) + { + if (!hasAtLeastOneQuestItem(player, FAMILYS_REMAINS, LUCKY_KEY)) + { + htmltext = "30415-01.html"; + } + else if (hasQuestItems(player, LUCKY_KEY) && (getQuestItemsCount(player, FAMILYS_REMAINS) < 3)) + { + htmltext = "30415-04.html"; + } + else + { + giveItems(player, SEEDS_OF_ANGER, 1); + takeItems(player, FAMILYS_REMAINS, -1); + takeItems(player, LUCKY_KEY, 1); + htmltext = "30415-05.html"; + } + } + else + { + htmltext = "30415-06.html"; + } + break; + } + case ANNIKA: + { + if (!hasQuestItems(player, SEEDS_OF_HORROR) && hasQuestItems(player, SEEDS_OF_DESPAIR)) + { + if (!hasAtLeastOneQuestItem(player, CANDLE, KNEE_BONE)) + { + htmltext = "30418-01.html"; + } + else if (hasQuestItems(player, CANDLE) && (getQuestItemsCount(player, KNEE_BONE) < 2)) + { + htmltext = "30418-03.html"; + } + else + { + giveItems(player, SEEDS_OF_HORROR, 1); + takeItems(player, KNEE_BONE, -1); + takeItems(player, CANDLE, 1); + htmltext = "30418-04.html"; + } + } + break; + } + case ARKENIA: + { + if (!hasQuestItems(player, SEEDS_OF_LUNACY)) + { + if (!hasAtLeastOneQuestItem(player, HUB_SCENT, HEART_OF_LUNACY)) + { + giveItems(player, HUB_SCENT, 1); + htmltext = "30419-01.html"; + } + else if (hasQuestItems(player, HUB_SCENT) && (getQuestItemsCount(player, HEART_OF_LUNACY) < 3)) + { + htmltext = "30419-02.html"; + } + else + { + giveItems(player, SEEDS_OF_LUNACY, 1); + takeItems(player, HEART_OF_LUNACY, -1); + takeItems(player, HUB_SCENT, 1); + htmltext = "30419-03.html"; + } + } + break; + } + } + } + return htmltext; + } +} \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-01.htm similarity index 76% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-01.htm index 687d5c8e5f..e8811f6e82 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-01.htm @@ -1,11 +1,5 @@ -<html> - -<body> -Sorceress Sidra:<br> +<html><body>Magister Sidra:<br> The Priests of Humans or Elves only look to the gods of light, and so their understanding is imperfect. The magic they use is only half and incomplete. However, the Shillien Oracles, the combat celebrants of the Dark Elves, understand both light and dark and command power from both. Not only do they cure and assist soldiers with the power of light, but they also curse enemies and steal vitality with the power of darkness.<br> There is a ritual required when becoming a Shillien Oracle, to gain the knowledge of eternal darkness.<br> -<a action="bypass -h Quest 413_PathToShillienOracle 413_1">Say you want to become a Shillien Oracle</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00413_PathOfTheShillienOracle ACCEPT">Say you want to become a Shillien Oracle</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-02.htm new file mode 100644 index 0000000000..26a454bc18 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-02.htm @@ -0,0 +1,4 @@ +<html><body>Magister Sidra:<br> +I have taught countless wizards. I can tell a candidate's aptitude simply by observing his aura. Yours tells me that you are not yet ready to become a Shillien Oracle. Return to me after you have deepened your understanding of the magic arts.<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/413_PathToShillienOracle/30330-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-02a.htm similarity index 64% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-02a.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-02a.htm index 1db52e5354..4a18075b73 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-02a.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-02a.htm @@ -1,9 +1,3 @@ -<html> - -<body> -Sorceress Sidra:<br> +<html><body>Magister Sidra:<br> You are the Shillien Oracle, who has gained all the knowledge of that office. You do not need another ritual. - - -</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/413_PathToShillienOracle/30330-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-03.htm similarity index 69% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-03.htm index 48dd4b2672..fdb1ee8baa 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-03.htm @@ -1,9 +1,3 @@ -<html> - -<body> -Sorceress Sidra:<br> +<html><body>Magister Sidra:<br> The customary right to perform the ritual of becoming a Shillien Oracle are only given to Dark Mystics. I cannot give you this opportunity. - - -</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/Q00413_PathOfTheShillienOracle/30330-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-04.htm new file mode 100644 index 0000000000..ef72a6cc32 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-04.htm @@ -0,0 +1,3 @@ +<html><body>Magister Sidra:<br> +The "Orb of Abyss" that you carry is a token that shows you have completed all requirements and are eligible to become a Shillien Oracle. Take the orb to a grand master of the Dark Elf Guild and he will give you help in obtaining the enlightenment regarding the truth between light and darkness and thereby becoming a Shillien Oracle. If you go to <font color="LEVEL">Grand Master Tobias</font> just over there, you can change your profession immediately. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-05.htm new file mode 100644 index 0000000000..0242def49a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-05.htm @@ -0,0 +1,4 @@ +<html><body>Magister Sidra:<br> +Good. You have sufficient experience and skill to take the test. Above all, I feel your thirst for enlightenment and power. To step into the ranks of the Shillien Oracle, you must pass <font color="LEVEL">two customary tasks</font>. This will be an opportunity to prove that you have the courage not to fear darkness and the will not to turn your eyes from the light.<br> +<a action="bypass -h Quest Q00413_PathOfTheShillienOracle 30330-06.htm">Ask about the two tests</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-06.htm similarity index 50% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-06.htm index 417aa59246..9897ca8162 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-06.htm @@ -1,6 +1,6 @@ -<html><body>Sorceress Sidra:<br> +<html><body>Magister Sidra:<br> Before you become a Shillien Oracle that seeks the truth of all light and darkness, you must find the fragments of song that Gran Kain and Einhasad sang in the beginning.<br> -You must find two documents that have the song verses of creation written in ancient runes -- one is<font color="LEVEL"> Garmiel's Book</font> and the other is<font color="LEVEL"> Andariel's Book</font>.<br> -Meet<font color="LEVEL"> Sorcerer Talbot in Gludin</font> to learn about Garmiel's Book. Show him this letter and he will welcome you since it is I who sent you.<br> -<a action="bypass -h Quest 413_PathToShillienOracle 30330-06a.htm">Ask about the songs sung by Gods</a> -</body></html> \ No newline at end of file +You must find two documents that have the song verses of creation written in ancient runes -- one is <font color="LEVEL">Garmiel's Book</font> and the other is <font color="LEVEL">Andariel's Book</font>.<br> +Meet <font color="LEVEL">Magister Talbot in Gludin</font> to learn about Garmiel's Book. Show him this letter and he will welcome you since it is I who sent you.<br> +<a action="bypass -h Quest Q00413_PathOfTheShillienOracle 30330-06a.html">Ask about the songs sung by Gods</a>< +/body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-06a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-06a.html similarity index 87% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-06a.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-06a.html index 6ec4af2409..41431161d2 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30330-06a.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-06a.html @@ -1,5 +1,5 @@ -<html><body>Sorceress Sidra:<br> +<html><body>Magister Sidra:<br> In the beginning, Einhasad and Gran Kain sang the song of creation and created the world. The songs of light sung by Einhasad and poems of darkness recited by Gran Kain formed a beautiful harmony to create all life in the universe. Afterwards, they taught the songs they had sung to the earthly races that worshipped them, to enable them to control light and darkness.<br> However, the giants were too greedy and desired the gods' wisdom. When they challenged their authority, Einhasad and Gran Kain punished the giants and the thousand songs that the giants were taught were broken into runes. Later, magicians began to collect the ancient runes and rearrange them into spells, but their power is very weak and insignificant compared to that of the ancient ancestors who could sing the songs of creation learned directly from the gods.<br> -<a action="bypass -h Quest 413_PathToShillienOracle 30330-06.htm">Return</a> +<a action="bypass -h Quest Q00413_PathOfTheShillienOracle 30330-06.htm">Return</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-07.html new file mode 100644 index 0000000000..649062321a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-07.html @@ -0,0 +1,3 @@ +<html><body>Magister Sidra:<br> +<font color="LEVEL">Meet with Magister Talbot and ask about Garmiel's Book</font>. You can find him in the Dark Elf Guild of <font color="LEVEL">the village of Gludin</font>, located on the west coast. Show him my letter and he will greet you with pleasure. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-08.html new file mode 100644 index 0000000000..6c11a2c8ed --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-08.html @@ -0,0 +1,3 @@ +<html><body>Magister Sidra:<br> +As Talbot taught you, collect the runes and complete <font color="LEVEL">Garmiel's book.</font> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-09.html new file mode 100644 index 0000000000..5c56704729 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-09.html @@ -0,0 +1,3 @@ +<html><body>Magister Sidra:<br> +The second level of the test is to find <font color="LEVEL">Andariel's Book,</font> which contains the song phrases of creation sung by Einhasad. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-10.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-10.html new file mode 100644 index 0000000000..50c0855c2d --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30330-10.html @@ -0,0 +1,4 @@ +<html><body>Magister Sidra:<br> +The two documents you hold in your hands contain parts of the song of creation sung by the Gods in the beginning. I trust that you discovered the power of the precious phrases and the truth of authority as you read them one by one.<br> +Now I am giving you the <font color="LEVEL">Orb of Abyss.</font> With this, you have earned the qualification to become a Shillien Oracle. Take the Orb of Abyss and go to a Grand Master to request a change of occupation. If you speak to <font color="LEVEL">Grand Master Tobias</font> over there, you can change profession right now. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-01.html new file mode 100644 index 0000000000..708bd54791 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-01.html @@ -0,0 +1,4 @@ +<html><body>Priest Adonius:<br> +This place is the holy hall where we serve Einhasad, god of light. Why have you, a member of the race of darkness, set foot in this place?<br> +<a action="bypass -h Quest Q00413_PathOfTheShillienOracle 30375-02.html">Say you have decided to walk the path of light</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-02.html similarity index 64% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-02.html index 40e9c02e5f..e9b0c0d9cb 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-02.html @@ -1,10 +1,4 @@ -<html> - -<body> -Priest Adonius:<br> +<html><body>Priest Adonius:<br> There have been Dark Elves that have said the same thing before. We priests showed them compassion and taught them the path of light, but we found out that they were false seekers of truth with their eye on the power of white magic. I can no longer trust the words of your kind.<br> -<a action="bypass -h Quest 413_PathToShillienOracle 30375_2">Show him the Prayer of Adonius</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00413_PathOfTheShillienOracle 30375-03.html">Show him the Prayer of Adonius</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-03.html similarity index 80% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-03.html index b8db5baab8..6ab2318457 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-03.html @@ -1,11 +1,5 @@ -<html> - -<body> -Priest Adonius:<br> +<html><body>Priest Adonius:<br> Why this is the prayer book that I wrote ... You have this too? This was published in the form of a book of poems with prayers I made to Einhasad when I was young. It became known among the younger generation through rumors, and now it is a book beloved by many people. It is embarrassing to be saying so myself, but many people were moved after reading my book and have come to the temple to follow the path of light.<br> When I think that my humble writings have played a part in spreading the will of Einhasad in the world, I can only be joyful. And now those like you, who follow evil doctrines, are impressed by my book ...<br> -<a action="bypass -h Quest 413_PathToShillienOracle 30375_3">Ask about Andariel's Book</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00413_PathOfTheShillienOracle 30375-04.html">Ask about Andariel's Book</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-04.html similarity index 75% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-04.html index f439a39439..a0db709d36 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-04.html @@ -1,10 +1,4 @@ -<html> - -<body> -Priest Adonius:<br> +<html><body>Priest Adonius:<br> Unlike your gods, who hide truth within darkness, Einhasad is a benevolent god. We priests have been permitted a portion of the songs of light, written in Andariel's Book. If you have decided to repent your wicked past and follow the creed of the light, I will give you a copy of the ancient book.<br> -Atonement is not that easy. If you go east of here to the Ruins of Despair, there are many undead that cannot rest in death. To destroy these undead, you must send the good spirits still trapped inside them into the arms of Einhasad.<font color="LEVEL"> If you bring back ten ashen bones that can be obtained by killing the skeletons or zombies in the Ruins of Despair, you will finish your atonement ritual.</font> - - -</body> -</html> \ No newline at end of file +Atonement is not that easy. If you go east of here to the Ruins of Despair, there are many undead that cannot rest in death. To destroy these undead, you must send the good spirits still trapped inside them into the arms of Einhasad. <font color="LEVEL">If you bring back ten Ashen Bones that can be obtained by killing the skeletons or zombies in the Ruins of Despair, you will finish your atonement ritual.</font> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-05.html similarity index 59% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-05.html index 1461c0af49..0c57e3f297 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-05.html @@ -1,10 +1,4 @@ -<html> - -<body> -Priest Adonius:<br> -It is not easy for you to abandon the path of evil, since you have followed it for so long. If you are ready,<font color="LEVEL"> go to the Ruins of Despair and kill the departed souls that are trapped in the form of skeletons, and bring back ten of their bone pieces. </font> This is the atonement ritual given unto you ...<br> +<html><body>Priest Adonius:<br> +It is not easy for you to abandon the path of evil, since you have followed it for so long. If you are ready, <font color="LEVEL">go to the Ruins of Despair and kill the departed souls that are trapped in the form of skeletons, and bring back ten of their bone pieces. </font> This is the atonement ritual given unto you ...<br> I do hope you are able to abandon the dark and accept the truth of light. - - -</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/Q00413_PathOfTheShillienOracle/30375-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-06.html new file mode 100644 index 0000000000..6c5f928120 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-06.html @@ -0,0 +1,3 @@ +<html><body>Priest Adonius:<br> +Your atonement ritual is not complete until you gather <font color="LEVEL">ten</font> Ashen Bones. Although it is difficult, you must endure. As it is a ritual in which you repent the dark activities of the past and accept the light of Einhasad into your soul, you must face it with a solemn heart. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-07.html similarity index 76% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-07.html index 4743ca6c81..ddb7c2029c 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-07.html @@ -1,10 +1,4 @@ -<html> - -<body> -Priest Adonius:<br> +<html><body>Priest Adonius:<br> Welcome, child of the light. The bone pieces of the departed souls that you have brought back will be given a proper funeral. This completes your atonement. Now you are ready to follow the path of light.<br> -Take this. It is<font color="LEVEL"> Andariel's book</font>, the book you were looking for. It is a very precious book that contains parts of the song of creation sung by Einhasad, the god of light. May you always meditate on the creed of light within. - - -</body> -</html> \ No newline at end of file +Take this. It is <font color="LEVEL">Andariel's book</font>, the book you were looking for. It is a very precious book that contains parts of the song of creation sung by Einhasad, the god of light. May you always meditate on the creed of light within. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-08.html similarity index 62% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-08.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-08.html index 916505574e..91d53220a8 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30375-08.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30375-08.html @@ -1,9 +1,3 @@ -<html> - -<body> -Priest Adonius:<br> +<html><body>Priest Adonius:<br> Welcome, child of the light. Are you meditating upon the truth of Einhasad within Andariel's Book? - - -</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/413_PathToShillienOracle/30377-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-01.html similarity index 76% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-01.html index 3b42382d65..9d426dcca6 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-01.html @@ -1,11 +1,5 @@ -<html> - -<body> -Sorcerer Talbot:<br> +<html><body>Magister Talbot:<br> Welcome, my friend. You want to walk the path of the Shillien Oracle? The magic of a Dark Wizard that commands fire and wind is very spectacular, but the magic power of the Shillien Oracle, which commands the more fundamental power of the universe of light and darkness, is a valuable asset to our race. I hope you successfully complete the trial of seeking truth.<br> <font color="LEVEL">Garmiel's Book,</font> which you search for, does not exist in this world. However, there is a way to find it.<br> -<a action="bypass -h Quest 413_PathToShillienOracle 30377_1">Ask how to find Garmiel's Book</a> - - -</body> -</html> \ No newline at end of file +<a action="bypass -h Quest Q00413_PathOfTheShillienOracle 30377-02.html">Ask how to find Garmiel's Book</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-02.html similarity index 52% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-02.html index 1a63225711..0edf2d04c4 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-02.html @@ -1,11 +1,4 @@ -<html> - -<body> -Sorcerer Talbot:<br> -Have you ever heard of the demon<font color="LEVEL"> dark succubus?</font> They were servants that lived in the ancient palace of darkness and waited on Gran Kain. They were made in the image of a Goddess and are like angels of beauty and wisdom.<br> -However, they were jealous of the power of the Gods and secretly eavesdropped on the songs Gran Kain sung in his palace, and wrote them down to use that power as their own. When Gran Kain discovered this, he was furious and cast away the servants, saying, <font color="F9AD81">'I will not steal back the secrets that you have overheard. However, to know the secrets, you will have to spill blood.'</font> The documents that the dark succubi made of the Gods' songs disappeared, but instead, when they died, their blood formed runes to write out the lyrics of the songs that they had overheard at the palace of Gran Kain.<br> -<font color="LEVEL">If you wish to complete Garmiel's book, you must collect the runes made by the blood of the dark succubus.</font> There are many dark succubi near the School of Dark Arts located in the northern region of the Dark Forest. Kill them and find the bloody runes. Take these five blank sheets. If you put the scroll sheet near the blood, the blood will soak in and form runes. If you bring<font color="LEVEL"> five bloody runes</font>, I will put the runes together to make you Garmiel's book. - - -</body> -</html> \ No newline at end of file +<html><body>Magister Talbot:<br> +Have you ever heard of the demon <font color="LEVEL">dark succubus?</font> They were servants that lived in the ancient palace of darkness and waited on Gran Kain. They were made in the image of a Goddess and are like angels of beauty and wisdom.<br> +However, they were jealous of the power of the Gods and secretly eavesdropped on the songs Gran Kain sung in his palace, and wrote them down to use that power as their own. When Gran Kain discovered this, he was furious and cast away the servants, saying, <font color="F9AD81">'I will not steal back the secrets that you have overheard. However, to know the secrets, you will have to spill blood.'</font> The documents that the dark succubi made of the Gods' songs disappeared, but instead, when they died, their blood formed runes to write out the lyrics of the songs that they had overheard at the palace of Gran Kain. <br><font color="LEVEL">If you wish to complete Garmiel's book, you must collect the runes made by the blood of the dark succubus.</font> There are many dark succubi at the Spider Nest to the west of the Altar of Rites in the northern region. Kill them and find the Bloody Runes. Take these five blank sheets. If you put the scroll sheet near the blood, the blood will soak in and form runes. If you bring <font color="LEVEL">five Bloody Runes</font>, I will put the runes together to make you Garmiel's book. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-03.html new file mode 100644 index 0000000000..2ec02fc592 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-03.html @@ -0,0 +1,3 @@ +<html><head><body>Magister Talbot:<br> +Why are you still here? Make haste to the Altar of Rites! You will find the <font color="LEVEL">Dark Succubi</font> near the Spider Nest. Destroy them and bring back five Bloody Runes. May Gran Kain protect you! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-04.html new file mode 100644 index 0000000000..3b67e03e7f --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-04.html @@ -0,0 +1,3 @@ +<html><body>Magister Talbot:<br> +This is not enough. You must have <font color="LEVEL">five Bloody Runes</font> in order to complete Garmiel's book. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-05.html new file mode 100644 index 0000000000..6e96deb471 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-05.html @@ -0,0 +1,5 @@ +<html><body>Magister Talbot:<br> +May Shilen's blessing be with all those who search for the truth of darkness... I see you have brought back all five Bloody Runes. I will combine these and write out Garmiel's Book for you. It is only a small section of the song of darkness that Gran Kain sang in the beginning, but more will be revealed as your proficiency develops.<br> +Now take this. It is the completed Garmiel's Book. Read its passages as you rest during your journey, and adapt the truth within as your own.<br> +Now you must complete a second task in order to become a Shillien Oracle. You must find <font color="LEVEL">Andariel's Book,</font> which contains parts of the song of creation sung by the God of Light in the beginning. Take this book to <font color="LEVEL">Priest Adonius</font> in the temple of Einhasad. He will receive you cordially when you say, <font color="F9AD81">'I have read your book and, being deeply moved, I have repented of my sins and decided to accept the light.'</font> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-06.html similarity index 72% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-06.html index 4f1ef40a77..6a0ff5cb9e 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-06.html @@ -1,9 +1,3 @@ -<html> - -<body> -Sorcerer Talbot:<br> +<html><body>Magister Talbot:<br> Along with Garmiel's Book, which I wrote for you, you must find Andariel's Book, which contains the truth of light, if you wish to become a Shillien Oracle. - - -</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/413_PathToShillienOracle/30377-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-07.html similarity index 56% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-07.html index c40fb3c9fe..94429812b5 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/413_PathToShillienOracle/30377-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/30377-07.html @@ -1,10 +1,4 @@ -<html> - -<body> -Sorcerer Talbot:<br> +<html><body>Magister Talbot:<br> I see you have found Andariel's Book. Did the lofty priests of Einhasad fall for it when you spoke of the books they had written? They are hypocrites, who forget that the vanity and arrogance that they say are sins are within themselves.<br> -<font color="LEVEL">Now take Garmiel's Book and Andariel's Book to Sorceress Sidra</font> of the village of Castle Gludio. Then she will give you the orb of abyss, which is the token you need to change profession to Shillien Oracle. - - -</body> -</html> \ No newline at end of file +<font color="LEVEL">Now take Garmiel's Book and Andariel's Book to Magister Sidra</font> of the village of Castle Gludio. Then she will give you the Orb of Abyss, which is the token you need to change profession to Shillien Oracle. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/Q00413_PathOfTheShillienOracle.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/Q00413_PathOfTheShillienOracle.java new file mode 100644 index 0000000000..dbbab038d2 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00413_PathOfTheShillienOracle/Q00413_PathOfTheShillienOracle.java @@ -0,0 +1,324 @@ +/* + * 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.Q00413_PathOfTheShillienOracle; + +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 Shillien Oracle (413) + * @author ivantotov + */ +public final class Q00413_PathOfTheShillienOracle extends Quest +{ + // NPCs + private static final int MAGISTER_SIDRA = 30330; + private static final int PRIEST_ADONIUS = 30375; + private static final int MAGISTER_TALBOT = 30377; + // Items + private static final int SIDRAS_LETTER = 1262; + private static final int BLANK_SHEET = 1263; + private static final int BLOODY_RUNE = 1264; + private static final int GARMIELS_BOOK = 1265; + private static final int PRAYER_OF_ADONIUS = 1266; + private static final int PENITENTS_MARK = 1267; + private static final int ASHEN_BONES = 1268; + private static final int ANDARIEL_BOOK = 1269; + // Reward + private static final int ORB_OF_ABYSS = 1270; + // Monster + private static final int ZOMBIE_SOLDIER = 20457; + private static final int ZOMBIE_WARRIOR = 20458; + private static final int SHIELD_SKELETON = 20514; + private static final int SKELETON_INFANTRYMAN = 20515; + private static final int DARK_SUCCUBUS = 20776; + // Misc + private static final int MIN_LEVEL = 18; + + public Q00413_PathOfTheShillienOracle() + { + super(413, Q00413_PathOfTheShillienOracle.class.getSimpleName(), "Path of the Shillien Oracle"); + addStartNpc(MAGISTER_SIDRA); + addTalkId(MAGISTER_SIDRA, PRIEST_ADONIUS, MAGISTER_TALBOT); + addKillId(ZOMBIE_SOLDIER, ZOMBIE_WARRIOR, SHIELD_SKELETON, SKELETON_INFANTRYMAN, DARK_SUCCUBUS); + registerQuestItems(SIDRAS_LETTER, BLANK_SHEET, BLOODY_RUNE, GARMIELS_BOOK, PRAYER_OF_ADONIUS, PENITENTS_MARK, ASHEN_BONES, ANDARIEL_BOOK); + } + + @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.darkMage) + { + if (player.getLevel() >= MIN_LEVEL) + { + if (hasQuestItems(player, ORB_OF_ABYSS)) + { + htmltext = "30330-04.htm"; + } + else + { + htmltext = "30330-05.htm"; + } + } + else + { + htmltext = "30330-02.htm"; + } + } + else if (player.getClassId() == ClassId.shillienOracle) + { + htmltext = "30330-02a.htm"; + } + else + { + htmltext = "30330-03.htm"; + } + break; + } + case "30330-06.htm": + { + if (!hasQuestItems(player, SIDRAS_LETTER)) + { + giveItems(player, SIDRAS_LETTER, 1); + } + qs.startQuest(); + htmltext = event; + break; + } + case "30330-06a.html": + case "30375-02.html": + case "30375-03.html": + { + htmltext = event; + break; + } + case "30375-04.html": + { + if (hasQuestItems(player, PRAYER_OF_ADONIUS)) + { + takeItems(player, PRAYER_OF_ADONIUS, 1); + giveItems(player, PENITENTS_MARK, 1); + qs.setCond(5, true); + } + htmltext = event; + break; + } + case "30377-02.html": + { + if (hasQuestItems(player, SIDRAS_LETTER)) + { + takeItems(player, SIDRAS_LETTER, 1); + giveItems(player, BLANK_SHEET, 5); + 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 ZOMBIE_SOLDIER: + case ZOMBIE_WARRIOR: + case SHIELD_SKELETON: + case SKELETON_INFANTRYMAN: + { + if (hasQuestItems(killer, PENITENTS_MARK) && (getQuestItemsCount(killer, ASHEN_BONES) < 10)) + { + giveItems(killer, ASHEN_BONES, 1); + if (getQuestItemsCount(killer, ASHEN_BONES) == 10) + { + qs.setCond(6, true); + } + else + { + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + } + break; + } + case DARK_SUCCUBUS: + { + if (hasQuestItems(killer, BLANK_SHEET)) + { + giveItems(killer, BLOODY_RUNE, 1); + takeItems(killer, BLANK_SHEET, 1); + if (!hasQuestItems(killer, BLANK_SHEET) && (getQuestItemsCount(killer, BLOODY_RUNE) == 5)) + { + qs.setCond(3, true); + } + else + { + playSound(killer, 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() == MAGISTER_SIDRA) + { + htmltext = "30330-01.htm"; + } + } + else if (qs.isStarted()) + { + switch (npc.getId()) + { + case MAGISTER_SIDRA: + { + if (hasQuestItems(player, SIDRAS_LETTER)) + { + htmltext = "30330-07.html"; + } + else if (hasAtLeastOneQuestItem(player, BLANK_SHEET, BLOODY_RUNE)) + { + htmltext = "30330-08.html"; + } + else if (!hasQuestItems(player, ANDARIEL_BOOK) && hasAtLeastOneQuestItem(player, PRAYER_OF_ADONIUS, GARMIELS_BOOK, PENITENTS_MARK, ASHEN_BONES)) + { + htmltext = "30330-09.html"; + } + else if (hasAtLeastOneQuestItem(player, ANDARIEL_BOOK, GARMIELS_BOOK)) + { + giveAdena(player, 163800, true); + giveItems(player, ORB_OF_ABYSS, 1); + final int level = player.getLevel(); + if (level >= 20) + { + addExpAndSp(player, 320534, 26532); + } + else if (level == 19) + { + addExpAndSp(player, 456128, 33230); + } + else + { + addExpAndSp(player, 591724, 39928); + } + qs.exitQuest(false, true); + player.sendPacket(new SocialAction(player.getObjectId(), 3)); + qs.saveGlobalQuestVar("1ClassQuestFinished", "1"); + htmltext = "30330-10.html"; + } + break; + } + case PRIEST_ADONIUS: + { + if (hasQuestItems(player, PRAYER_OF_ADONIUS)) + { + htmltext = "30375-01.html"; + } + else if (hasQuestItems(player, PENITENTS_MARK) && !hasAtLeastOneQuestItem(player, ASHEN_BONES, ANDARIEL_BOOK)) + { + htmltext = "30375-05.html"; + } + else if (hasQuestItems(player, PENITENTS_MARK)) + { + if (hasQuestItems(player, ASHEN_BONES) && (getQuestItemsCount(player, ASHEN_BONES) < 10)) + { + htmltext = "30375-06.html"; + } + else + { + takeItems(player, PENITENTS_MARK, 1); + takeItems(player, ASHEN_BONES, -1); + giveItems(player, ANDARIEL_BOOK, 1); + qs.setCond(7, true); + htmltext = "30375-07.html"; + } + } + else if (hasQuestItems(player, ANDARIEL_BOOK)) + { + htmltext = "30375-08.html"; + } + break; + } + case MAGISTER_TALBOT: + { + if (hasQuestItems(player, SIDRAS_LETTER)) + { + htmltext = "30377-01.html"; + } + else if (!hasQuestItems(player, BLOODY_RUNE) && (getQuestItemsCount(player, BLANK_SHEET) == 5)) + { + htmltext = "30377-03.html"; + } + else if (hasQuestItems(player, BLOODY_RUNE) && (getQuestItemsCount(player, BLOODY_RUNE) < 5)) + { + htmltext = "30377-04.html"; + } + else if (getQuestItemsCount(player, BLOODY_RUNE) >= 5) + { + takeItems(player, BLOODY_RUNE, -1); + giveItems(player, GARMIELS_BOOK, 1); + giveItems(player, PRAYER_OF_ADONIUS, 1); + qs.setCond(4, true); + htmltext = "30377-05.html"; + } + else if (hasAtLeastOneQuestItem(player, PRAYER_OF_ADONIUS, PENITENTS_MARK, ASHEN_BONES)) + { + htmltext = "30377-06.html"; + } + else if (hasQuestItems(player, ANDARIEL_BOOK, GARMIELS_BOOK)) + { + htmltext = "30377-07.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 fcf5041181..8f052f6a4e 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -261,6 +261,12 @@ import quests.Q00404_PathOfTheHumanWizard.Q00404_PathOfTheHumanWizard; import quests.Q00405_PathOfTheCleric.Q00405_PathOfTheCleric; import quests.Q00406_PathOfTheElvenKnight.Q00406_PathOfTheElvenKnight; import quests.Q00407_PathOfTheElvenScout.Q00407_PathOfTheElvenScout; +import quests.Q00408_PathOfTheElvenWizard.Q00408_PathOfTheElvenWizard; +import quests.Q00409_PathOfTheElvenOracle.Q00409_PathOfTheElvenOracle; +import quests.Q00410_PathOfThePalusKnight.Q00410_PathOfThePalusKnight; +import quests.Q00411_PathOfTheAssassin.Q00411_PathOfTheAssassin; +import quests.Q00412_PathOfTheDarkWizard.Q00412_PathOfTheDarkWizard; +import quests.Q00413_PathOfTheShillienOracle.Q00413_PathOfTheShillienOracle; import quests.Q00416_PathOfTheOrcShaman.Q00416_PathOfTheOrcShaman; import quests.Q00420_LittleWing.Q00420_LittleWing; import quests.Q00421_LittleWingsBigAdventure.Q00421_LittleWingsBigAdventure; @@ -638,6 +644,12 @@ public class QuestMasterHandler Q00405_PathOfTheCleric.class, Q00406_PathOfTheElvenKnight.class, Q00407_PathOfTheElvenScout.class, + Q00408_PathOfTheElvenWizard.class, + Q00409_PathOfTheElvenOracle.class, + Q00410_PathOfThePalusKnight.class, + Q00411_PathOfTheAssassin.class, + Q00412_PathOfTheDarkWizard.class, + Q00413_PathOfTheShillienOracle.class, Q00416_PathOfTheOrcShaman.class, Q00420_LittleWing.class, Q00421_LittleWingsBigAdventure.class, diff --git a/L2J_DataPack_BETA/dist/sql/game/updates/20140824update.sql b/L2J_DataPack_BETA/dist/sql/game/updates/20140824update.sql new file mode 100644 index 0000000000..fbdfef8ed3 --- /dev/null +++ b/L2J_DataPack_BETA/dist/sql/game/updates/20140824update.sql @@ -0,0 +1,6 @@ +UPDATE character_quests SET name='408_PathToElvenwizard' WHERE name='Q00408_PathOfTheElvenWizard'; +UPDATE character_quests SET name='409_PathToOracle' WHERE name='Q00409_PathOfTheElvenOracle'; +UPDATE character_quests SET name='410_PathToPalusKnight' WHERE name='Q00410_PathOfThePalusKnight'; +UPDATE character_quests SET name='411_PathToAssassin' WHERE name='Q00411_PathOfTheAssassin'; +UPDATE character_quests SET name='412_PathToDarkwizard' WHERE name='Q00412_PathOfTheDarkWizard'; +UPDATE character_quests SET name='413_PathToShillienOracle' WHERE name='Q00413_PathOfTheShillienOracle'; \ No newline at end of file -- GitLab