Преглед на файлове

BETA: Few quests convert from py to Java:
* (62) Path Of The Trooper
* (402) Path Of The Human Knight
* (403) Path Of The Rogue
* (404) Path Of The Human Wizard
* (405) Path Of The Cleric

Patch by: ivantotov

Zealar преди 10 години
родител
ревизия
c6a568f443
променени са 100 файла, в които са добавени 391 реда и са изтрити 1488 реда
  1. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts.cfg
  2. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-01.htm
  3. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-02.htm
  4. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-03.htm
  5. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-04.htm
  6. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30311-01.htm
  7. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-01.htm
  8. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-02.htm
  9. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-02.htm
  10. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-03.htm
  11. 0 3
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-02.htm
  12. 0 3
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-04.htm
  13. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-06.htm
  14. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-07.htm
  15. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-08.htm
  16. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-14.htm
  17. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30653-01.htm
  18. 0 301
      L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/__init__.py
  19. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-03.htm
  20. 0 9
      L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-04.htm
  21. 0 12
      L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-05.htm
  22. 0 11
      L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-06.htm
  23. 0 9
      L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-07.htm
  24. 0 11
      L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-08.htm
  25. 0 7
      L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-09.htm
  26. 0 13
      L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-01.htm
  27. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-06.htm
  28. 0 9
      L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-08.htm
  29. 0 185
      L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/__init__.py
  30. 0 9
      L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-02.htm
  31. 0 9
      L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30409-02.htm
  32. 0 9
      L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30409-03.htm
  33. 0 9
      L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-02.htm
  34. 0 11
      L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-03.htm
  35. 0 9
      L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-04.htm
  36. 0 8
      L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-01.htm
  37. 0 9
      L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-02.htm
  38. 0 10
      L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-04.htm
  39. 0 8
      L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-01.htm
  40. 0 9
      L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-04.htm
  41. 0 271
      L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/__init__.py
  42. 0 10
      L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-01.htm
  43. 0 9
      L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-03.htm
  44. 0 9
      L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-04.htm
  45. 0 10
      L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-05.htm
  46. 0 11
      L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-09.htm
  47. 0 9
      L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30253-02.htm
  48. 0 11
      L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30333-01.htm
  49. 0 185
      L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/__init__.py
  50. 0 10
      L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-01.htm
  51. 0 7
      L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-02.htm
  52. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-04.htm
  53. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-00a.htm
  54. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-00b.htm
  55. 0 11
      L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-02.htm
  56. 0 7
      L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-04.htm
  57. 0 134
      L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/__init__.py
  58. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-01.html
  59. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-02.html
  60. 1 2
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-03.html
  61. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-04.html
  62. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-05.html
  63. 1 2
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-06.html
  64. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-07.html
  65. 2 2
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-01.htm
  66. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-02.html
  67. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-03.html
  68. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-04.html
  69. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-05.html
  70. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-06.htm
  71. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-07.html
  72. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-08.html
  73. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-09.html
  74. 2 3
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-10.html
  75. 303 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/Q00062_PathOfTheTrooper.java
  76. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-01.html
  77. 2 2
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-02.html
  78. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-03.html
  79. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-04.html
  80. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-05.html
  81. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-01.html
  82. 2 2
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-02.html
  83. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-03.html
  84. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-04.html
  85. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-05.html
  86. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-01.html
  87. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-02.html
  88. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-03.html
  89. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-04.html
  90. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-05.html
  91. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-01.html
  92. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-02.html
  93. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-03.html
  94. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-04.html
  95. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-05.html
  96. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-06.html
  97. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-01.html
  98. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-02.html
  99. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-03.html
  100. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-04.html

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts.cfg

@@ -220,7 +220,6 @@ quests/23_LidiasHeart/__init__.py
 quests/25_HidingBehindTheTruth/__init__.py
 quests/60_GoodWorkReward/__init__.py
 quests/61_LawEnforcement/__init__.py
-quests/62_PathoftheTrooper/__init__.py
 quests/63_PathoftheWarder/__init__.py
 quests/64_CertifiedBerserker/__init__.py
 quests/65_CertifiedSoulBreaker/__init__.py
@@ -281,10 +280,6 @@ quests/379_FantasyWine/__init__.py
 quests/383_SearchingForTreasure/__init__.py
 quests/384_WarehouseKeepersPastime/__init__.py
 quests/386_StolenDignity/__init__.py
-quests/402_PathToKnight/__init__.py
-quests/403_PathToRogue/__init__.py
-quests/404_PathToWizard/__init__.py
-quests/405_PathToCleric/__init__.py
 quests/406_PathToElvenKnight/__init__.py
 quests/408_PathToElvenwizard/__init__.py
 quests/409_PathToOracle/__init__.py

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-01.htm

@@ -1,5 +0,0 @@
-<html><body>High Priest Raymond:<br>
-May the blessings of Einhasad be with you in your pilgrimage.<br>
-Long ago the knights of the alliance were the protectors of the church of Einhasad -- in the chaos that followed the fall of the empire, it was the Knights of the alliance that protected the church from raiders and pagans, and protected the Priests from the evil army of Beleth that threatened the entire kingdom. We have not forgotten the assistance we received from them.<br>
-<a action="bypass -h Quest 402_PathToKnight 30289-02.htm">Ask if there is anything you can do to help</a>
-</body></html>

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-02.htm

@@ -1,6 +0,0 @@
-<html><body>High Priest Raymond:<br>
-There is no doubt that Einhasad has guided your footsteps here. You see, something is troubling me, and I was thinking of asking for the help of the knights.<br>
-A few years ago, during the war with Gracia, we sent several priests to a small village in the south, now called the Ruins of Despair. There, the priests treated the wounded and performed funerals for the dead. But the village was suddenly attacked by mercenaries and the wounded soldiers, village people, and the priests of Einhasad were all brutally murdered<br>
-The spirits of the dead have no peace and still haunt the ruins in the form of undead. It is the duty of a priest to console their spirits and put them to rest through prayer, but it is too dangerous of a task for someone not trained as a Cleric, like myself, to face the vicious monsters of black magic. That is why I am asking you a favor.<br>
-<a action="bypass -h Quest 402_PathToKnight 30289-03.htm">Say you will do the favor</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-03.htm

@@ -1,5 +0,0 @@
-<html><body>High Priest Raymond:<br>
-Esquire, I beg you! Please go to the<font color="LEVEL"> Ruins of Despair</font> to the south of the village and find the<font color="LEVEL"> departed spirits of the priests</font> that have turned into the undead. Destroy them with your sword and recover the Einhasad crosses that are somewhere on their bodies.<font color="LEVEL"> If you bring back twelve Einhasad crosses, I can perform a mass that soothes the spirits of the dead priests.</font><br>
-Before you go, take this. It is a mark that shows you are performing a holy task for the church of Einhasad.<br>
-Well then, I shall pray for your safe return. May the light of Einhasad guide you.
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-04.htm

@@ -1,4 +0,0 @@
-<html><body>High Priest Raymond:<br>
-I can still hear the despairing cries of my priest brothers who are not yet at rest.<font color="LEVEL"> Please find twelve Einhasad crosses from the undead in the Ruins of Despair south of the village and bring them to me</font> so that I can perform a ceremony to soothe the spirits of the dead priests<br>
-May the blessings of Einhasad be with you.
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30311-01.htm

@@ -1,5 +0,0 @@
-<html><body>Sir Collin Windawood:<br>
-Greetings, traveler. I see you are an esquire. You are to be commended for having come all the way to this isolated island on your pilgrimage. I am a member of the Knight League myself, but I do not really like Knights. All those I was acquainted with on the mainland spoke of justice and sacrifice, but were very calculating people who did not involve themselves in fights that were unprofitable.<br>
-During the war with Gracia, the civil troops fought for their lives in the mud with crude spears while those that called themselves Knights discussed tactics at the table, hiding behind the castle walls. In my eyes, the courage and sacrifice of the farmer that died while fighting to protect their villages was far nobler than the virtue of any Knight. The will to put your faith into action -- that is what I think chivalry is.<br>
-Good luck, esquire! When you end your trial and become a Human Knight, please remember our talk today. Well then, may the divine protection of Einhasad be with you.
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-01.htm

@@ -1,5 +0,0 @@
-<html><body>Captain Bathis:<br>
-O ho! By your insignia, I see you are an esquire! Our guard is doing a fine job of protecting the village, and I don't think I'll need to ask for the help of a greenhorn like you.<br>
-Well, if you really insist, there is one thing, but ...<br>
-<a action="bypass -h Quest 402_PathToKnight 30332-02.htm">Ask what the task is</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-02.htm

@@ -1,4 +0,0 @@
-<html><body>Captain Bathis:<br>
-If you follow the road southeast of the village, you will come to a river that marks the border between Gludio and Dion. There is<font color="LEVEL"> a bridge</font> that crosses the river. Recently,<font color="LEVEL"> bugbears raiders</font> have appeared near the bridge and attacked trader coaches. Already twenty traders have lost their lives, and the goods that were stolen are too numerous to list. The traders have requested funds from the trader's guild headquarters in order to hire mercenaries, but the guild has yet to answer their request.<br>
-I would be much obliged if you would get rid of the bugbears. According to the reports, there are about ten bugbears that attacked the trader coaches. Kill them and bring back<font color="LEVEL"> ten necklaces</font>. While on this task, you will be performing an official task of the Gludio guards, so take this with you.
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-02.htm

@@ -1,5 +0,0 @@
-<html><body>Captain Bezique:<br>
-My my ... you are quite stubborn. Fine. If you must play the part of the hero ... why don't you go and hunt the spiders that have been wrecking havoc lately? Giant spiders have recently been reported upturning farmers' carts, raiding sheep and cattle, and even attacking Humans.<br>
-The monsters you need to hunt are called<font color="LEVEL"> poison spiders, or trimden</font>. Cut off their legs, then bring back twenty of them and I will give you the coin of the lords. Follow the southern coastal road and you will reach the area where they usually appear. I must follow procedure, so as a captain of the guard, I give you this mark to take with you.<br>
-Well then, I hope you return with your life!
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30379-03.htm

@@ -1,4 +0,0 @@
-<html><body>Captain Bezique:<br>
- ... No doubt it was too difficult for you!<br>
-As I told you,<font color="LEVEL"> bring back twenty legs of the giant poison spiders or trimden</font> and I will give you the coin of the lords. To reach the place where they are often sighted, follow the southern coastline road.
-</body></html>

+ 0 - 3
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-02.htm

@@ -1,3 +0,0 @@
-<html><body>Sir Klaus Vasper:<br>
-My comrade of the sword, you do not have enough experience to become a Knight yet. Looking at your eyes, I see that the passion and faith in your heart is not false, but that alone is not sufficient to become a Knight. As long as you live in this world full of immorality, you need power to fuel your faith, and that power comes from experience on the battlefield.<br>Train a little more before you come back. When that day comes, I will test you to see if have the talents to become a true Human Knight.
-</body></html>

+ 0 - 3
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-04.htm

@@ -1,3 +0,0 @@
-<html><body>Sir Klaus Vasper:<br>
-Haven't you already received the<font color="LEVEL"> Sword of Ritual</font>? That sword is proof that you have the qualifications to become a Knight. If you take it to the grandmaster of the fighters guild, he will change your profession to a Human Knight.
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-06.htm

@@ -1,5 +0,0 @@
-<html><body>Sir Klaus Vasper:<br>
-Originally, Knights were warriors selected to fight against injustice and protect the helpless people. As they are given the authority to be armed with a sword and shield, they must protect the commoners from danger. As times have changed, the status of the Knight has greatly changed as well, but the fact that we are the guardians of common people remains unaltered. That is the divine duty and summons given to us by Einhasad of the light.<br>
-The journey taken by young Fighters to find their calling as a Guardian of Knights is the<font color="LEVEL"> trial of the esquire</font>. Esquires journey many places around the kingdom, especially into remote areas that do not receive the protection of the central army, and assist those in danger who ask for help. Those who receive help give the<font color="LEVEL"> coin of lords</font> as a token of thanks.<br>
-<a action="bypass -h Quest 402_PathToKnight 30417-07.htm">Ask about the coin of lords</a>
-</body></html>

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-07.htm

@@ -1,6 +0,0 @@
-<html><body>Sir Klaus Vasper:<br>
-Traditionally, the lord of those civilians that receive the aid of an esquire invites him to his castle as a token of thanks. A feast is given and the esquire is rewarded with gold coins. However, these days, the<font color="LEVEL"> coin of lords</font> has become an informal custom. The coin of lords is a gold coin engraved with the mark of the province. It signifies thanks in the name of the lord. Those who have the authority to bestow it are mostly the village Guard Captains and High Priests.<br>
-Whether or not an esquire can be acknowledged as a formal Human Knight depends on how many coins of lords he returns with after completing his pilgrim's journey.<br>
-If you wish to enter the knight guild and earn the title of Human Knight, you must go through this trial. You, comrade of the sword, will you take the trial of the esquire?<br>
-<a action="bypass -h Quest 402_PathToKnight 30417-08.htm">Accept the trial of the esquire</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-08.htm

@@ -1,5 +0,0 @@
-<html><body>Sir Klaus Vasper:<br>
-Good! I, Sir Vasper, guardian knight of the western region, commit you unto the trial of the esquire. During the trial, keep this mark on you at all times. With this, the people will know that you are an esquire in pilgrimage.<br>
-Go around the various villages in Gludio and meet the<font color="LEVEL"> Guard Captains</font> and the<font color="LEVEL"> High Priests</font>. They will present you with various tasks that an esquire can do for the people. If you perform these tasks, you will receive a coin of lords. If you bring back<font color="LEVEL"> three</font> or more coins, you can complete the trial of the esquire.<br>
-Very well, you should now depart on your journey. May the divine blessing of Einhasad be with you.
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30417-14.htm

@@ -1,4 +0,0 @@
-<html><body>Sir Klaus Vasper:<br>
-You have successfully endured a most demanding trial. Congratulations! Now you are qualified to become a Human Knight.<br>
-I will give you the sword of ritual. This sword was used in the knighting ceremony of the legendary Sir Cedric -- bear it with care. If you take this to the Grand Master of the fighters guild, he will change your profession to a Human Knight.
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30653-01.htm

@@ -1,4 +0,0 @@
-<html><body>Sir Aaron Tanford:<br>
-From that mark, I see you are undergoing the Trial of the Esquire. I guess they are giving opportunities to amateurs like you these days? Your courage is admirable but I want to advise you to give up. Do you think just anyone becomes a Knight? Even more, you are not even of noble background, are you?<br>
-One cannot become a true Knight without born disposition and talent. It is truly pathetic to see lowly ones struggle to become a Knight. 
-</body></html>

+ 0 - 301
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/__init__.py

@@ -1,301 +0,0 @@
-# Made by Mr. - Version 0.3 by DrLecter
-# Shadow Weapon Coupons contributed by BiTi for the Official L2J Datapack Project
-# Visit http://www.l2jdp.com/forum/ for more details
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest import Quest as JQuest
-from com.l2jserver.gameserver.network.serverpackets      import SocialAction
-
-qn = "402_PathToKnight"
-
-MARK_OF_ESQUIRE = 1271
-SWORD_OF_RITUAL,COIN_OF_LORDS1,COIN_OF_LORDS2,COIN_OF_LORDS3,COIN_OF_LORDS4,COIN_OF_LORDS5,COIN_OF_LORDS6,GLUDIO_GUARDS_MARK1,\
-BUGBEAR_NECKLACE,EINHASAD_CHURCH_MARK1,EINHASAD_CRUCIFIX,GLUDIO_GUARDS_MARK2,POISON_SPIDER_LEG1,EINHASAD_CHURCH_MARK2,LIZARDMAN_TOTEM,\
-GLUDIO_GUARDS_MARK3,GIANT_SPIDER_HUSK,EINHASAD_CHURCH_MARK3,HORRIBLE_SKULL = range(1161,1180)
-
-DROPLIST={
-   20775:[GLUDIO_GUARDS_MARK1,BUGBEAR_NECKLACE,10,100],
-   27024:[EINHASAD_CHURCH_MARK1,EINHASAD_CRUCIFIX,12,100],
-   20038:[GLUDIO_GUARDS_MARK2,POISON_SPIDER_LEG1,20,100],
-   20043:[GLUDIO_GUARDS_MARK2,POISON_SPIDER_LEG1,20,100],
-   20050:[GLUDIO_GUARDS_MARK2,POISON_SPIDER_LEG1,20,100],
-   20030:[EINHASAD_CHURCH_MARK2,LIZARDMAN_TOTEM,20,50],
-   20027:[EINHASAD_CHURCH_MARK2,LIZARDMAN_TOTEM,20,100],
-   20024:[EINHASAD_CHURCH_MARK2,LIZARDMAN_TOTEM,20,100],
-   20103:[GLUDIO_GUARDS_MARK3,GIANT_SPIDER_HUSK,20,40],
-   20106:[GLUDIO_GUARDS_MARK3,GIANT_SPIDER_HUSK,20,40],
-   20108:[GLUDIO_GUARDS_MARK3,GIANT_SPIDER_HUSK,20,40],
-   20404:[EINHASAD_CHURCH_MARK3,HORRIBLE_SKULL,10,100]
-}
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr):
-     JQuest.__init__(self,id,name,descr)
-     self.questItemIds = range(1162,1180)
-
- def onEvent (self,event,st) :
-    htmltext = event
-    classid = st.getPlayer().getClassId().getId()
-    level = st.getPlayer().getLevel()
-    squire = st.getQuestItemsCount(MARK_OF_ESQUIRE)
-    player = st.getPlayer()
-    coin1,coin2,coin3,coin4,coin5,coin6 = st.getQuestItemsCount(COIN_OF_LORDS1),st.getQuestItemsCount(COIN_OF_LORDS2),st.getQuestItemsCount(COIN_OF_LORDS3),st.getQuestItemsCount(COIN_OF_LORDS4),st.getQuestItemsCount(COIN_OF_LORDS5),st.getQuestItemsCount(COIN_OF_LORDS6)
-    guards_mark1,guards_mark2,guards_mark3=st.getQuestItemsCount(GLUDIO_GUARDS_MARK1),st.getQuestItemsCount(GLUDIO_GUARDS_MARK2),st.getQuestItemsCount(GLUDIO_GUARDS_MARK3)
-    church_mark1,church_mark2,church_mark3=st.getQuestItemsCount(EINHASAD_CHURCH_MARK1),st.getQuestItemsCount(EINHASAD_CHURCH_MARK2),st.getQuestItemsCount(EINHASAD_CHURCH_MARK3)
-    if event == "30417-02a.htm" :
-       if classid == 0x00 :
-          if level >= 18 :
-             if st.getQuestItemsCount(SWORD_OF_RITUAL)>0 :
-                htmltext = "30417-04.htm"
-             else:
-                htmltext = "30417-05.htm"
-          else :
-             htmltext = "30417-02.htm"
-             st.exitQuest(1)
-       elif classid != 0x04 :
-          htmltext = "30417-03.htm"
-          st.exitQuest(1)
-    elif event == "30417-08.htm" :
-        if st.getInt("cond")== 0 and classid == 0x00 and level >= 18 :
-           st.set("id","0")
-           st.set("cond","1")
-           st.setState(State.STARTED)
-           st.playSound("ItemSound.quest_accept")
-           st.giveItems(MARK_OF_ESQUIRE,1)
-        else:
-           htmltext = Quest.getNoQuestMsg(player)
-    elif event == "30332-02.htm" :
-        if squire and not guards_mark1 and not coin1:
-          st.giveItems(GLUDIO_GUARDS_MARK1,1)
-        else:
-          htmltext = Quest.getNoQuestMsg(player)
-    elif event == "30289-03.htm" :
-        if squire and not church_mark1 and not coin2:
-          st.giveItems(EINHASAD_CHURCH_MARK1,1)
-        else:
-          htmltext = Quest.getNoQuestMsg(player)
-    elif event == "30379-02.htm" :
-        if squire and not guards_mark2 and not coin3:
-          st.giveItems(GLUDIO_GUARDS_MARK2,1)
-        else:
-          htmltext = Quest.getNoQuestMsg(player)
-    elif event == "30037-02.htm" :
-        if squire and not church_mark2 and not coin4:
-          st.giveItems(EINHASAD_CHURCH_MARK2,1)
-        else:
-          htmltext = Quest.getNoQuestMsg(player)
-    elif event == "30039-02.htm" :
-        if squire and not guards_mark3 and not coin5:
-          st.giveItems(GLUDIO_GUARDS_MARK3,1)
-        else:
-          htmltext = Quest.getNoQuestMsg(player)
-    elif event == "30031-02.htm" :
-        if squire and not church_mark3 and not coin6:
-          st.giveItems(EINHASAD_CHURCH_MARK3,1)
-        else:
-          htmltext = Quest.getNoQuestMsg(player)
-    elif event == "30417-13.htm" :
-        if squire and (coin1+coin2+coin3+coin4+coin5+coin6)>=3 :
-          for item in range(1162,1180) :
-               st.takeItems(item,-1)
-          st.takeItems(MARK_OF_ESQUIRE,-1)
-          if player.getLevel() >= 20 :
-              st.addExpAndSp(160267, 11576)
-          elif player.getLevel() == 19 :
-              st.addExpAndSp(228064, 14925)
-          else:
-              st.addExpAndSp(295862, 18274)
-          st.giveItems(57, 163800)
-          st.giveItems(SWORD_OF_RITUAL,1)
-          st.set("cond","0")
-          st.exitQuest(False)
-          st.saveGlobalQuestVar("1ClassQuestFinished","1")
-          st.playSound("ItemSound.quest_finish")
-          player.sendPacket(SocialAction(player.getObjectId(),3))
-        else:
-          htmltext = Quest.getNoQuestMsg(player)
-    elif event == "30417-14.htm" :
-        if squire and (coin1+coin2+coin3+coin4+coin5+coin6)>=3 :
-          if player.getLevel() >= 20 :
-              st.addExpAndSp(160267, 11576)
-          elif player.getLevel() == 19 :
-              st.addExpAndSp(228064, 14925)
-          else:
-              st.addExpAndSp(295862, 18274)
-          st.giveItems(57, 81900)
-          for item in range(1162,1180) :
-               st.takeItems(item,-1)
-          st.takeItems(MARK_OF_ESQUIRE,-1)
-          st.giveItems(SWORD_OF_RITUAL,1)
-          st.set("cond","0")
-          st.exitQuest(False)
-          st.playSound("ItemSound.quest_finish")
-          player.sendPacket(SocialAction(player.getObjectId(),3))
-        else:
-          htmltext = Quest.getNoQuestMsg(player)
-    return htmltext
-
-
- def onTalk (self,npc,player):
-   htmltext = Quest.getNoQuestMsg(player)
-   st = player.getQuestState(qn)
-   if not st : return htmltext
-
-   npcId = npc.getId()
-   id = st.getState()
-   if npcId != 30417 and id != State.STARTED : return htmltext
-
-   squire = st.getQuestItemsCount(MARK_OF_ESQUIRE)
-   coin1,coin2,coin3,coin4,coin5,coin6 = st.getQuestItemsCount(COIN_OF_LORDS1),st.getQuestItemsCount(COIN_OF_LORDS2),st.getQuestItemsCount(COIN_OF_LORDS3),st.getQuestItemsCount(COIN_OF_LORDS4),st.getQuestItemsCount(COIN_OF_LORDS5),st.getQuestItemsCount(COIN_OF_LORDS6)
-   guards_mark1,guards_mark2,guards_mark3=st.getQuestItemsCount(GLUDIO_GUARDS_MARK1),st.getQuestItemsCount(GLUDIO_GUARDS_MARK2),st.getQuestItemsCount(GLUDIO_GUARDS_MARK3)
-   church_mark1,church_mark2,church_mark3=st.getQuestItemsCount(EINHASAD_CHURCH_MARK1),st.getQuestItemsCount(EINHASAD_CHURCH_MARK2),st.getQuestItemsCount(EINHASAD_CHURCH_MARK3)
-   cond = st.getInt("cond")
-   if id == State.COMPLETED:
-      htmltext=Quest.getAlreadyCompletedMsg(player)
-
-   elif npcId == 30417 :
-      if cond==0 :
-         htmltext = "30417-01.htm"
-      elif cond==1 and squire :
-        if (coin1+coin2+coin3+coin4+coin5+coin6) < 3 :
-           htmltext = "30417-09.htm"
-        elif (coin1+coin2+coin3+coin4+coin5+coin6) == 3 :
-           htmltext = "30417-10.htm"
-        elif 3<(coin1+coin2+coin3+coin4+coin5+coin6)<6 :
-           htmltext = "30417-11.htm"
-        elif (coin1+coin2+coin3+coin4+coin5+coin6) == 6 :
-           htmltext = "30417-12.htm"
-           if player.getLevel() >= 20 :
-               st.addExpAndSp(320534, 23152)
-           elif player.getLevel() == 19 :
-               st.addExpAndSp(456128, 29850)
-           else:
-               st.addExpAndSp(591724, 36542)
-           st.giveItems(57, 163800)
-           for item in range(1162,1180) :
-               st.takeItems(item,-1)
-           st.takeItems(MARK_OF_ESQUIRE,-1)
-           st.giveItems(SWORD_OF_RITUAL,1)
-           st.set("cond","0")
-           st.exitQuest(False)
-           st.playSound("ItemSound.quest_finish")
-           player.sendPacket(SocialAction(player.getObjectId(),3))
-   elif npcId == 30332 and cond==1 and squire :
-       if not guards_mark1 and not coin1 :
-          htmltext = "30332-01.htm"
-       elif guards_mark1 :
-          if st.getQuestItemsCount(BUGBEAR_NECKLACE)<10 :
-             htmltext = "30332-03.htm"
-          else:
-             htmltext = "30332-04.htm"
-             st.takeItems(BUGBEAR_NECKLACE,-1)
-             st.takeItems(GLUDIO_GUARDS_MARK1,1)
-             st.giveItems(COIN_OF_LORDS1,1)
-       elif coin1 :
-          htmltext = "30332-05.htm"
-   elif npcId == 30289 and cond==1 and squire :
-       if not church_mark1 and not coin2 :
-          htmltext = "30289-01.htm"
-       elif church_mark1 :
-        if st.getQuestItemsCount(EINHASAD_CRUCIFIX)<12 :
-          htmltext = "30289-04.htm"
-        else:
-          htmltext = "30289-05.htm"
-          st.takeItems(EINHASAD_CRUCIFIX,-1)
-          st.takeItems(EINHASAD_CHURCH_MARK1,1)
-          st.giveItems(COIN_OF_LORDS2,1)
-       elif coin2 :
-          htmltext = "30289-06.htm"
-   elif npcId == 30379 and cond==1 and squire :
-       if not coin3 and not guards_mark2 :
-          htmltext = "30379-01.htm"
-       elif guards_mark2 :
-          if st.getQuestItemsCount(POISON_SPIDER_LEG1)<20 :
-            htmltext = "30379-03.htm"
-          else:
-            htmltext = "30379-04.htm"
-            st.takeItems(POISON_SPIDER_LEG1,-1)
-            st.takeItems(GLUDIO_GUARDS_MARK2,1)
-            st.giveItems(COIN_OF_LORDS3,1)
-       elif coin3 :
-          htmltext = "30379-05.htm"
-   elif npcId == 30037 and cond==1 and squire :
-       if not coin4 and not church_mark2 :
-          htmltext = "30037-01.htm"
-       elif church_mark2 :
-          if st.getQuestItemsCount(LIZARDMAN_TOTEM)<20 :
-            htmltext = "30037-03.htm"
-          else:
-            htmltext = "30037-04.htm"
-            st.takeItems(LIZARDMAN_TOTEM,-1)
-            st.takeItems(EINHASAD_CHURCH_MARK2,1)
-            st.giveItems(COIN_OF_LORDS4,1)
-       elif coin4 :
-          htmltext = "30037-05.htm"
-   elif npcId == 30039 and cond==1 and squire :
-       if not guards_mark3 and not coin5 :
-          htmltext = "30039-01.htm"
-       elif guards_mark3 :
-          if st.getQuestItemsCount(GIANT_SPIDER_HUSK)<20 :
-            htmltext = "30039-03.htm"
-          else:
-            htmltext = "30039-04.htm"
-            st.takeItems(GIANT_SPIDER_HUSK,-1)
-            st.takeItems(GLUDIO_GUARDS_MARK3,1)
-            st.giveItems(COIN_OF_LORDS5,1)
-       elif coin5 :
-          htmltext = "30039-05.htm"
-   elif npcId == 30031 and cond==1 and squire :
-       if not church_mark3 and not coin6 :
-         htmltext = "30031-01.htm"
-       elif church_mark3 :
-         if st.getQuestItemsCount(HORRIBLE_SKULL)<10 :
-           htmltext = "30031-03.htm"
-         else:
-           htmltext = "30031-04.htm"
-           st.takeItems(HORRIBLE_SKULL,-1)
-           st.takeItems(EINHASAD_CHURCH_MARK3,1)
-           st.giveItems(COIN_OF_LORDS6,1)
-       elif coin6 :
-         htmltext = "30031-05.htm"
-   elif npcId == 30311 and cond==1 and squire :
-        htmltext = "30311-01.htm"
-   elif npcId == 30653 and cond==1 and squire :
-        htmltext = "30653-01.htm"
-   return htmltext
-
- def onKill(self,npc,player,isPet):
-   st = player.getQuestState(qn)
-   if not st : return 
-   if st.getState() != State.STARTED : return 
-   
-   if st.getInt("cond") :
-      item_required,item,max,chance=DROPLIST[npc.getId()]
-      if st.getQuestItemsCount(item_required) and st.getQuestItemsCount(item)<max and self.getRandom(100)<chance :
-        st.giveItems(item,1)
-        if st.getQuestItemsCount(item) == max :
-          st.playSound("ItemSound.quest_middle")
-        else:
-          st.playSound("ItemSound.quest_itemget")
-   return
-
-QUEST       = Quest(402,qn,"Path To Knight")
-
-QUEST.addStartNpc(30417)
-
-QUEST.addTalkId(30417)
-
-QUEST.addTalkId(30031)
-QUEST.addTalkId(30037)
-QUEST.addTalkId(30039)
-QUEST.addTalkId(30289)
-QUEST.addTalkId(30311)
-QUEST.addTalkId(30332)
-QUEST.addTalkId(30379)
-QUEST.addTalkId(30417)
-QUEST.addTalkId(30653)
-
-for mob in DROPLIST.keys():
-    QUEST.addKillId(mob)

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-03.htm

@@ -1,4 +0,0 @@
-<html><body>Captain Bezique:<br>
-You are an ambitious youth. However, I think you still lack skills. I have an eye for talent, and can say this with confidence ...<br>
-I say this out of concern for your welfare, so don't be too discouraged. This task is too dangerous for you. However, I will give you work if you return to me after you gain more skill.
-</body></html>

+ 0 - 9
L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-04.htm

@@ -1,9 +0,0 @@
-<html>
-
-<body>
-Captain Bezique:<br>
-Don't you already have the recommendation that I wrote you?? Take it to the Grand Master of the fighters guild. Then you can change profession to a Rogue.
-
-
-</body>
-</html>

+ 0 - 12
L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-05.htm

@@ -1,12 +0,0 @@
-<html>
-
-<body>
-Captain Bezique:<br>
-You are a very motivated young person. Very well! Now let me tell you what you must do.<br>
-Lately, we have been terribly troubled by a<font color="LEVEL"> party of bandits</font> who have been making their way into the village of Gludin. They are taking advantage of the fact that the entire village is occupied with the restoration, and appear and disappear at will to steal the wealth of the people.<br>
-According to those who have seen them, they are not Humans but ol mahum. They are so swift that the guards lose them in pursuit every time. If you catch the thieves, I will acknowledge your talent and recommend you as a Rogue.<br>
-<a action="bypass -h Quest 403_PathToRogue 1">Ask about the bandits</a>
-
-
-</body>
-</html>

+ 0 - 11
L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-06.htm

@@ -1,11 +0,0 @@
-<html>
-
-<body>
-Captain Bezique:<br>
-The thieves are no doubt some of the remaining troops of ol mahum. The foreign ol mahum troops that were employed by Gracia during the war a few years ago are still lingering in the campgrounds beyond the mountains northeast of the village.<br>
-I will tell you one more thing. There is someone who can help you catch the thieves. She lives in this village and her name is<font color="LEVEL"> Neti</font> ... To tell you the truth, she was once a swashbuckling robber who made the corrupt aristocrats of the kingdom shiver in their sleep. Furthermore, she was a famous Mercenary who found many treasures in various ruins.<br>
-She will be able to help you catch the thieves. If you go without any notice, you may be turned down at her door, so take this letter. I once did her a favor, so she will definitely help you.
-
-
-</body>
-</html>

+ 0 - 9
L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-07.htm

@@ -1,9 +0,0 @@
-<html>
-
-<body>
-Captain Bezique:<br>
-You have not sought out<font color="LEVEL"> Neti</font> yet? She will give you much aid in catching the thieves. She lives in this village, so hurry and find her.
-
-
-</body>
-</html>

+ 0 - 11
L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-08.htm

@@ -1,11 +0,0 @@
-<html>
-
-<body>
-Captain Bezique:<br>
-I see that you have received the horseshoe of light from Neti. It seems that she perceives some talent within you. You must be more skilled than you look. Very well then, it's time to become serious about stopping these thieves. This is<font color="LEVEL"> a wanted poster</font>.<br>
-If you look at the poster, you can see that your targets call themselves<font color="LEVEL"> the Cat's Eye bandits</font>. All of them are of the ol mahum race, and apparently their leader's nickname is Cat's Eye. According to the reports received from my men, who I sent out on a scout mission, their headquarters are near<font color="LEVEL"> the abandoned camp</font>, where the remaining ol mahum forces often gather. If you don't know how to get there, ask Guard Praga.<br>
-<font color="LEVEL">Use the bow and dagger that Neti gave you to get rid of the Cat's Eye bandits once and for all. And be sure to bring back the four items that were stolen from the villagers.</font> I think you'll agree that this is a worthy test of your skills? May the gods grant you victory!
-
-
-</body>
-</html>

+ 0 - 7
L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30379-09.htm

@@ -1,7 +0,0 @@
-<html>
-<body>
-Captain Bezique:
-<br>
-Oh! You've recovered all the stolen items. Thank you for your trouble. Your skills are better than I thought. I think you really have the qualities to become a good Rogue. Red-eyed Bandits... Have you ever heard of them? They are the largest group of bandits on the continent with their home in the snow-covered mountains of Oren. I can't believe those stupid thieves were related to the Red-eyed Bandits... I need to make a detailed inquiry into this. Hmm... Anyhow, I will write you a letter of recommendation. Go to Grand Master Ramos at the Fighters Guild and show him my recommendation. Then you can change occupations to a Rogue. Well then, I wish you luck. Oh, and I almost forgot! I will give Neti back her bow and dagger for you. I have to go and thank her, anyway.
-</body>
-</html> 

+ 0 - 13
L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-01.htm

@@ -1,13 +0,0 @@
-<html>
-
-<body>
-Neti:<br>
-Oh dear ...! Then Bezique must have told you all about my past!<br>
-I cannot refuse because it is Bezique's request but ... A long time ago, he saved me when I was in a dilemma ... However, I really do hate these bothersome tasks!<br>
-Fine. If you really want to catch those thieves, you must do what I say. All right?<br>
-<a action="bypass -h Quest 403_PathToRogue 30425-02.htm">Say you understand</a><br>
-<a action="bypass -h Quest 403_PathToRogue 30425-03.htm">Say you don't want to</a>
-
-
-</body>
-</html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-06.htm

@@ -1,5 +0,0 @@
-<html><body>Neti:<br>
-Have you come already? I see you are far from finishing.<br>
-<font color="LEVEL">Hurry on to the Ruins of Agony, and hunt the skeletons and spartoi. You must use the bow and dagger that I gave you. If you bring back ten bone pieces as proof of your success, I will let you pass the test. </font><br>
-If you don't know the way to the two ruins, ask the guards. Well, you should leave now. Good luck!
-</body></html>

+ 0 - 9
L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/30425-08.htm

@@ -1,9 +0,0 @@
-<html>
-
-<body>
-Neti:<br>
-Now take the horseshoe of light that I have given you and go to<font color="LEVEL"> Captain Bezique</font>.
-
-
-</body>
-</html>

+ 0 - 185
L2J_DataPack_BETA/dist/game/data/scripts/quests/403_PathToRogue/__init__.py

@@ -1,185 +0,0 @@
-# Made by Mr. Have fun! Version 0.2
-# Shadow Weapon Coupons contributed by BiTi for the Official L2J Datapack Project
-# Visit http://www.l2jdp.com/forum/ for more details
-import sys
-from com.l2jserver.gameserver.model.itemcontainer import Inventory
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest import Quest as JQuest
-from com.l2jserver.gameserver.network.serverpackets      import SocialAction
-
-qn = "403_PathToRogue"
-
-BEZIQUES_LETTER = 1180
-NETIS_BOW = 1181
-NETIS_DAGGER = 1182
-SPATOIS_BONES = 1183
-HORSESHOE_OF_LIGHT = 1184
-WANTED_BILL = 1185
-STOLEN_JEWELRY = 1186
-STOLEN_TOMES = 1187
-STOLEN_RING = 1188
-STOLEN_NECKLACE = 1189
-BEZIQUES_RECOMMENDATION = 1190
-
-DROP_CHANCE = { 20035:2, 20042:3, 20045:2, 20051:2, 20054:8, 20060:8 }
-
-STOLEN_ITEM = {
-0: (STOLEN_JEWELRY),
-1: (STOLEN_TOMES),
-2: (STOLEN_RING),
-3: (STOLEN_NECKLACE)
-}
-
-# Helper function - If player have all stolen items returns 1, otherwise 0
-def HaveAllStolenItems (st) :
-  for i in STOLEN_ITEM.keys() :
-    if st.getQuestItemsCount(STOLEN_ITEM[i]) == 0 :
-      return 0
-  return 1
-
-# Main Quest code
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr):
-   JQuest.__init__(self,id,name,descr)
-   self.questItemIds = range(1180,1190)
-
- def onEvent (self,event,st) :
-    htmltext = event
-    player = st.getPlayer()
-    if event == "30379_2" :
-          if player.getClassId().getId() == 0x00 :
-            if player.getLevel() >= 18 :
-              if st.getQuestItemsCount(BEZIQUES_RECOMMENDATION)>0 :
-                htmltext = "30379-04.htm"
-              else:
-                htmltext = "30379-05.htm"
-                return htmltext
-            else :
-              htmltext = "30379-03.htm"
-          else:
-            if player.getClassId().getId() == 0x07 :
-              htmltext = "30379-02a.htm"
-            else:
-              htmltext = "30379-02.htm"
-    elif event == "1" :
-        st.set("id","0")
-        st.set("cond","1")
-        st.setState(State.STARTED)
-        st.playSound("ItemSound.quest_accept")
-        st.giveItems(BEZIQUES_LETTER,1)
-        htmltext = "30379-06.htm"
-    elif event == "30425_1" :
-          st.takeItems(BEZIQUES_LETTER,1)
-          if st.getQuestItemsCount(NETIS_BOW) == 0 :
-            st.giveItems(NETIS_BOW,1)
-          if st.getQuestItemsCount(NETIS_DAGGER) == 0 :
-            st.giveItems(NETIS_DAGGER,1)
-          st.set("cond","2")
-          htmltext = "30425-05.htm"
-    return htmltext
-
-
- def onTalk (self,npc,player):
-   htmltext = Quest.getNoQuestMsg(player)
-   st = player.getQuestState(qn)
-   if not st : return htmltext
-
-   npcId = npc.getId()
-   id = st.getState()
-   if npcId != 30379 and id != State.STARTED : return htmltext
-
-   if npcId == 30379 and st.getInt("cond")==0 :
-     htmltext = "30379-01.htm"
-   elif npcId == 30379 and st.getInt("cond") :
-        if st.getQuestItemsCount(HORSESHOE_OF_LIGHT) == 0 and HaveAllStolenItems(st) :
-          htmltext = "30379-09.htm"
-          isFinished = st.getGlobalQuestVar("1ClassQuestFinished")
-          if isFinished == "" : 
-            if player.getLevel() >= 20 :
-              st.addExpAndSp(320534, 20232)
-            elif player.getLevel() == 19 :
-              st.addExpAndSp(456128, 26930)
-            else:
-              st.addExpAndSp(591724, 33628)
-            st.giveItems(57, 163800)
-          st.giveItems(BEZIQUES_RECOMMENDATION,1)
-          st.takeItems(NETIS_BOW,1)
-          st.takeItems(NETIS_DAGGER,1)
-          st.takeItems(WANTED_BILL,1)
-          for i in STOLEN_ITEM.keys() :
-            st.takeItems(STOLEN_ITEM[i],-1)
-          st.set("cond","0")
-          st.exitQuest(False)
-          st.saveGlobalQuestVar("1ClassQuestFinished","1")
-          st.playSound("ItemSound.quest_finish")
-          player.sendPacket(SocialAction(player.getObjectId(),3))
-        elif st.getQuestItemsCount(HORSESHOE_OF_LIGHT) == 0 and st.getQuestItemsCount(BEZIQUES_LETTER)>0 :
-          htmltext = "30379-07.htm"
-        elif st.getQuestItemsCount(HORSESHOE_OF_LIGHT)>0 :
-          htmltext = "30379-08.htm"
-          st.takeItems(HORSESHOE_OF_LIGHT,1)
-          st.giveItems(WANTED_BILL,1)
-          st.set("cond","5")
-        elif st.getQuestItemsCount(NETIS_BOW) and st.getQuestItemsCount(NETIS_DAGGER) and st.getQuestItemsCount(WANTED_BILL) == 0 :
-          htmltext = "30379-10.htm"
-        elif st.getQuestItemsCount(WANTED_BILL) :
-          htmltext = "30379-11.htm"
-   elif npcId == 30425 and st.getInt("cond") and st.getQuestItemsCount(BEZIQUES_LETTER)>0 :
-        htmltext = "30425-01.htm"
-   elif npcId == 30425 and st.getInt("cond") and st.getQuestItemsCount(HORSESHOE_OF_LIGHT)==0 and st.getQuestItemsCount(BEZIQUES_LETTER)==0 :
-        if st.getQuestItemsCount(SPATOIS_BONES)<10 :
-          htmltext = "30425-06.htm"
-        elif st.getQuestItemsCount(WANTED_BILL) :
-          htmltext = "30425-08.htm"
-        elif st.getQuestItemsCount(SPATOIS_BONES) >= 10 :
-          htmltext = "30425-07.htm"
-          st.takeItems(SPATOIS_BONES,st.getQuestItemsCount(SPATOIS_BONES))
-          st.giveItems(HORSESHOE_OF_LIGHT,1)
-          st.set("cond","4")
-   elif npcId == 30425 and st.getInt("cond") and st.getQuestItemsCount(HORSESHOE_OF_LIGHT)>0 :
-        htmltext = "30425-08.htm"
-   return htmltext
-
- def onKill(self,npc,player,isPet):
-   st = player.getQuestState(qn)
-   if not st : return 
-   if st.getState() != State.STARTED : return 
-   
-   npcId = npc.getId()
-   if st.getItemEquipped(Inventory.PAPERDOLL_RHAND) == NETIS_BOW or st.getItemEquipped(Inventory.PAPERDOLL_RHAND) == NETIS_DAGGER :
-     if npcId in (20035, 20042, 20045, 20051, 20054, 20060) :
-        st.set("id","0")
-        if st.getInt("cond") and st.getQuestItemsCount(SPATOIS_BONES)<10 and self.getRandom(10)<DROP_CHANCE[npcId] :
-            st.giveItems(SPATOIS_BONES,1)
-            if st.getQuestItemsCount(SPATOIS_BONES) == 10 :
-              st.playSound("ItemSound.quest_middle")
-              st.set("cond","3")
-            else:
-              st.playSound("ItemSound.quest_itemget")
-     elif npcId == 27038 :
-        st.set("id","0")
-        if st.getInt("cond") and st.getQuestItemsCount(WANTED_BILL)>0 :
-            n = self.getRandom(4)
-            if st.getQuestItemsCount(STOLEN_ITEM[n]) == 0 :
-                st.giveItems(STOLEN_ITEM[n],1)
-                if not HaveAllStolenItems(st) :
-                  st.playSound("ItemSound.quest_itemget")
-                else:
-                  st.playSound("ItemSound.quest_middle")
-                  st.set("cond","6")
-   return
-
-QUEST       = Quest(403,qn,"Path To Rogue")
-
-QUEST.addStartNpc(30379)
-
-QUEST.addTalkId(30379)
-
-QUEST.addTalkId(30425)
-
-QUEST.addKillId(27038)
-
-for mobId in (20035,20042,20045,20051,20054,20060) :
-  QUEST.addKillId(mobId)

+ 0 - 9
L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30391-02.htm

@@ -1,9 +0,0 @@
-<html>
-
-<body>
-Parina:<br>
-Amazing powers such as water, fire, wind and earth are hidden within nature. When more time passes, you will come to understand. Until then, be patient and wait.
-
-
-</body>
-</html>

+ 0 - 9
L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30409-02.htm

@@ -1,9 +0,0 @@
-<html>
-
-<body>
-Earth Snake:<br>
-If you want to receive the token of earth from me, bring me back red soil. The red soil contains the strong vitality of the earth and can be obtained by hunting the red bears that are frequently seen in the woods around these ruins.
-
-
-</body>
-</html>

+ 0 - 9
L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30409-03.htm

@@ -1,9 +0,0 @@
-<html>
-
-<body>
-Earth Snake:<br>
-If you have collected all four tokens of fire, water, wind and earth, that symbolize the four elements of nature, go to Parina in Gludin. Her deep understanding of elements and spirits will be able to guide you to a higher level.
-
-
-</body>
-</html>

+ 0 - 9
L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-02.htm

@@ -1,9 +0,0 @@
-<html>
-
-<body>
-Fire Salamander:<br>
-Child of Humans, have you come back already? Didn't I tell you to<font color="LEVEL"> kill the Ratman Warrior and bring back the key of flame?</font> Only then can I give you the token of flame. There are many Ratman Warriors north of these ruins or west beyond the mountains.
-
-
-</body>
-</html>

+ 0 - 11
L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-03.htm

@@ -1,11 +0,0 @@
-<html>
-
-<body>
-Fire Salamander:<br>
-Ah ... I see you have found the key. I give you the flame earring as a token of fire. I name you predecessor of the flame ... Pray, do not neglect the desire for learning now rising within you.<br>
-Your desires for knowledge lead to curiosity about the world. Thought caught up in that curiosity cannot stay in one place for very long, and will wander continuously in search of new knowledge. This is why the strong curiosity that stirs the scholar to travel is often compared to the wind.<br>
-The next thing you must find is the<font color="LEVEL"> token of wind</font>.<font color="LEVEL"> In order to find it, you must first speak to the Wind Sylph. She is staying at the entrance of the Wastelands beyond the southwestern mountains. As you already know, there are three entrances to the Wastelands. The sylph will be at the northwest entrance.</font> I wish you luck!
-
-
-</body>
-</html>

+ 0 - 9
L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30411-04.htm

@@ -1,9 +0,0 @@
-<html>
-
-<body>
-Fire Salamander:<br>
-Child of Humans ... Haven't you already received the token of flame from me? You have already been recognized as the predecessor of flame, now go find the token of wind. In order to find the token, you must meet the Wind Sylph. You can meet her at the entrance to the Wastelands that is southwest of here.
-
-
-</body>
-</html>

+ 0 - 8
L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-01.htm

@@ -1,8 +0,0 @@
-<html>
-<body>
-Wind Sylph:<br>
-I see you have come to find the token of wind. The winds blowing here told me of your story. If you grant me one favor, I will happily give you the token of wind.<br>
-Not long ago,<font color="LEVEL"> the wastelands lizardman</font> appeared in the southwest Wastelands, and it has been so noisy ever since that I haven't been able to savor the wind comfortably.<br>
-<font color="LEVEL">Please make the wastelands lizardman quiet so my meditations are not disrupted. Then I will give you the token of wind.</font>
-</body>
-</html>

+ 0 - 9
L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-02.htm

@@ -1,9 +0,0 @@
-<html>
-
-<body>
-Wind Sylph:<br>
-Is it that you do not wish to grant my request? All the noise gives me a headache ... Please, I beg you.<font color="LEVEL"> Go quiet the lizardman.</font>He is in the southwest Wastelands.
-
-
-</body>
-</html>

+ 0 - 10
L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30412-04.htm

@@ -1,10 +0,0 @@
-<html>
-
-<body>
-Wind Sylph:<br>
-I see you have already earned the token of wind from me. What you must find now is the token of water. To find it, you must meet the undine of the water.<br>
-The undine of the water is at<font color="LEVEL"> Fellmere Lake</font>. To find the lake, you must go north of here. Go pass the abandoned camp where the ol mahums are and go a little more north to reach Permel Lake.
-
-
-</body>
-</html>

+ 0 - 8
L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-01.htm

@@ -1,8 +0,0 @@
-<html>
-<body>
-Water Undine:<br>
-Don't be a nuisance and disappear. I am busy purifying the force of water in the surrounding land!<br>
-You want to earn the token of water? Well then, do me one favor. Do you see that lake? On the other side of the lake is a monster shaped like a strange eye called the<font color="LEVEL"> water seer</font>. It disturbs the force of water in this area and really gives me a headache.<br>
-<font color="LEVEL">Kill the water seer and bring back two sparkle pebbles as proof. Then I will give you the token of water.</font>
-</body>
-</html>

+ 0 - 9
L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/30413-04.htm

@@ -1,9 +0,0 @@
-<html>
-
-<body>
-Water Undine:<br>
-Have you forgotten what I've said already? I told you to go find the earth snake! Go to the Grim Ruins north of here to meet it. You haven't given up on the token of earth, have you?
-
-
-</body>
-</html>

+ 0 - 271
L2J_DataPack_BETA/dist/game/data/scripts/quests/404_PathToWizard/__init__.py

@@ -1,271 +0,0 @@
-# Made by Mr. Have fun! Version 0.2
-# Shadow Weapon Coupons contributed by BiTi for the Official L2J Datapack Project
-# Visit http://www.l2jdp.com/forum/ for more details
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest import Quest as JQuest
-from com.l2jserver.gameserver.network.serverpackets      import SocialAction
-
-qn = "404_PathToWizard"
-
-MAP_OF_LUSTER = 1280
-KEY_OF_FLAME = 1281
-FLAME_EARING = 1282
-BROKEN_BRONZE_MIRROR = 1283
-WIND_FEATHER = 1284
-WIND_BANGEL = 1285
-RAMAS_DIARY = 1286
-SPARKLE_PEBBLE = 1287
-WATER_NECKLACE = 1288
-RUST_GOLD_COIN = 1289
-RED_SOIL = 1290
-EARTH_RING = 1291
-BEAD_OF_SEASON = 1292
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr):
-     JQuest.__init__(self,id,name,descr)
-     self.questItemIds = range(1280, 1292)
-
- def onEvent (self,event,st) :
-    htmltext = event
-    player = st.getPlayer()
-    if event == "1" :
-      st.set("id","0")
-      if player.getClassId().getId() == 0x0a :
-        if player.getLevel() >= 18 :
-          if st.getQuestItemsCount(BEAD_OF_SEASON) :
-            htmltext = "30391-03.htm"
-          else:
-            htmltext = "30391-08.htm"
-            st.set("cond","1")
-            st.setState(State.STARTED)
-            st.playSound("ItemSound.quest_accept")
-        else:
-            htmltext = "30391-02.htm"
-      else:
-        if player.getClassId().getId() == 0x0b :
-          htmltext = "30391-02a.htm"
-        else:
-          htmltext = "30391-01.htm"
-    elif event == "30410_1" :
-          if st.getQuestItemsCount(WIND_FEATHER) == 0 :
-            htmltext = "30410-03.htm"
-            st.giveItems(WIND_FEATHER,1)
-            st.set("cond","6")
-    return htmltext
-
-
- def onTalk (self,npc,player):
-   htmltext = Quest.getNoQuestMsg(player)
-   st = player.getQuestState(qn)
-   if not st : return htmltext
-
-   npcId = npc.getId()
-   id = st.getState()
-   if npcId != 30391 and id != State.STARTED : return htmltext
-
-   if npcId == 30391 and st.getInt("cond")==0 :
-      #Talking to Parina before completing this quest
-      htmltext = "30391-04.htm"
-      return htmltext
-   elif npcId == 30391 and st.getInt("cond")!=0 and (st.getQuestItemsCount(FLAME_EARING)==0 or st.getQuestItemsCount(WIND_BANGEL)==0 or st.getQuestItemsCount(WATER_NECKLACE)==0 or st.getQuestItemsCount(EARTH_RING)==0) :
-      htmltext = "30391-05.htm"
-   elif npcId == 30411 and st.getInt("cond")!=0 and st.getQuestItemsCount(MAP_OF_LUSTER)==0 and st.getQuestItemsCount(FLAME_EARING)==0 :
-        #Taking to the Flame salamander for the first time
-        #gains us the MAP_OF_LUSTER
-        #and flags cond = 2
-        if st.getQuestItemsCount(MAP_OF_LUSTER) == 0 :
-          st.giveItems(MAP_OF_LUSTER,1)
-        htmltext = "30411-01.htm"
-        st.set("cond","2")
-   elif npcId == 30411 and st.getInt("cond")!=0 and st.getQuestItemsCount(MAP_OF_LUSTER)!=0 and st.getQuestItemsCount(KEY_OF_FLAME)==0 :
-        #Talking to the Flame Salamander more than once
-        #without the KEY_OF_FLAME
-        #But with the MAP_OF_LUSTER
-        #results in the following text
-        htmltext = "30411-02.htm"
-   elif npcId == 30411 and st.getInt("cond")!=0 and st.getQuestItemsCount(MAP_OF_LUSTER)!=0 and st.getQuestItemsCount(KEY_OF_FLAME)!=0 :
-        #Talking to the Flame Salamander when Cond != 0
-        #while we have a KEY_OF_FLAME from the ratmen and the MAP_OF_LUSTER
-
-        #Remove both Items and give a FLAME_EARING
-        #Set the cond flag to 4 to signify we have State.COMPLETED the first part
-        st.takeItems(KEY_OF_FLAME,st.getQuestItemsCount(KEY_OF_FLAME))
-        st.takeItems(MAP_OF_LUSTER,st.getQuestItemsCount(MAP_OF_LUSTER))
-        if st.getQuestItemsCount(FLAME_EARING) == 0 :
-          st.giveItems(FLAME_EARING,1)
-        htmltext = "30411-03.htm"
-        st.set("cond","4")
-   elif npcId == 30411 and st.getInt("cond")!=0 and st.getQuestItemsCount(FLAME_EARING)!=0 :
-        #Talking to the Flame Salamander
-        #after finishing the Fire component results
-        #in the following text
-        htmltext = "30411-04.htm"
-   elif npcId == 30412 and st.getInt("cond")!=0 and st.getQuestItemsCount(FLAME_EARING)!=0 and st.getQuestItemsCount(BROKEN_BRONZE_MIRROR)==0 and st.getQuestItemsCount(WIND_BANGEL)==0 :
-        #Talking to the Wind Sylph for the first time
-        #With a FLAME_EARING (fire component complete)
-
-        #Gives us a BROKEN_BRONZE_MIRROR
-        #and sets cond = 5
-        if st.getQuestItemsCount(BROKEN_BRONZE_MIRROR) == 0 :
-          st.giveItems(BROKEN_BRONZE_MIRROR,1)
-        htmltext = "30412-01.htm"
-        st.set("cond","5")
-   elif npcId == 30412 and st.getInt("cond")!=0 and st.getQuestItemsCount(BROKEN_BRONZE_MIRROR)!=0 and st.getQuestItemsCount(WIND_FEATHER)==0 :
-        #Talking to the Wind Sylph for a second time
-        #results in the following text
-        htmltext = "30412-02.htm"
-   elif npcId == 30412 and st.getInt("cond")!=0 and st.getQuestItemsCount(BROKEN_BRONZE_MIRROR)!=0 and st.getQuestItemsCount(WIND_FEATHER)!=0 :
-        #Talking to the Wind Sylph with cond != 0
-        #while having a BROKEN_BRONZE_MIRROR and a WIND_FEATHER
-
-        #Removes both items
-        #Gives a WIND_BANGEL
-        #and sets cond = 7
-        st.takeItems(WIND_FEATHER,st.getQuestItemsCount(WIND_FEATHER))
-        st.takeItems(BROKEN_BRONZE_MIRROR,st.getQuestItemsCount(BROKEN_BRONZE_MIRROR))
-        if st.getQuestItemsCount(WIND_BANGEL) == 0 :
-          st.giveItems(WIND_BANGEL,1)
-        htmltext = "30412-03.htm"
-        st.set("cond","7")
-   elif npcId == 30412 and st.getInt("cond")!=0 and st.getQuestItemsCount(WIND_BANGEL)!=0 :
-        #Talking to the Wind Sylph after we get the WIND_BANGLE
-        #results in the following text
-        htmltext = "30412-04.htm"
-   elif npcId == 30410 and st.getInt("cond")!=0 and st.getQuestItemsCount(BROKEN_BRONZE_MIRROR)!=0 and st.getQuestItemsCount(WIND_FEATHER)==0 :
-        #Talking to the Lizardman of the Wastelands for the first time
-        #begins this conversation
-        htmltext = "30410-01.htm"
-   elif npcId == 30410 and st.getInt("cond")!=0 and st.getQuestItemsCount(BROKEN_BRONZE_MIRROR)!=0 and st.getQuestItemsCount(WIND_FEATHER)!=0 :
-        #Talking to the Lizardman of the Wastelands after obtaining
-        #the WIND_FEATHER
-        htmltext = "30410-04.htm"
-   elif npcId == 30413 and st.getInt("cond")!=0 and st.getQuestItemsCount(WIND_BANGEL)!=0 and st.getQuestItemsCount(RAMAS_DIARY)==0 and st.getQuestItemsCount(WATER_NECKLACE)==0 :
-        #Talking to the Water Undine for the first time
-        #gives RAMAS_DIARY
-        #and sets cond = 8
-        if st.getQuestItemsCount(RAMAS_DIARY) == 0 :
-          st.giveItems(RAMAS_DIARY,1)
-        htmltext = "30413-01.htm"
-        st.set("cond","8")
-   elif npcId == 30413 and st.getInt("cond")!=0 and st.getQuestItemsCount(RAMAS_DIARY)!=0 and st.getQuestItemsCount(SPARKLE_PEBBLE)<2 :
-        #Talking to the Water Undine for a second time
-        #without 2 SPARKLE_PEBLE
-        htmltext = "30413-02.htm"
-   elif npcId == 30413 and st.getInt("cond")!=0 and st.getQuestItemsCount(RAMAS_DIARY)!=0 and st.getQuestItemsCount(SPARKLE_PEBBLE)>=2 :
-        #Talking to the Water Undine with the 2 SPARKLE_PEBLE
-
-        #removes both items
-        #and gives WATER_NECKLACE
-        #sets cond = 10
-        st.takeItems(SPARKLE_PEBBLE,st.getQuestItemsCount(SPARKLE_PEBBLE))
-        st.takeItems(RAMAS_DIARY,st.getQuestItemsCount(RAMAS_DIARY))
-        if st.getQuestItemsCount(WATER_NECKLACE) == 0 :
-          st.giveItems(WATER_NECKLACE,1)
-        htmltext = "30413-03.htm"
-        st.set("cond","10")
-   elif npcId == 30413 and st.getInt("cond")!=0 and st.getQuestItemsCount(WATER_NECKLACE)!=0 :
-        #Talking to the Water Undine after completing it's task
-        htmltext = "30413-04.htm"
-   elif npcId == 30409 and st.getInt("cond")!=0 and st.getQuestItemsCount(WATER_NECKLACE)!=0 and st.getQuestItemsCount(RUST_GOLD_COIN)==0 and st.getQuestItemsCount(EARTH_RING)==0 :
-        #Talking to the Earth Snake for the first time
-        if st.getQuestItemsCount(RUST_GOLD_COIN) == 0 :
-          st.giveItems(RUST_GOLD_COIN,1)
-        htmltext = "30409-01.htm"
-        st.set("cond","11")
-   elif npcId == 30409 and st.getInt("cond")!=0 and st.getQuestItemsCount(RUST_GOLD_COIN)!=0 and st.getQuestItemsCount(RED_SOIL)==0 :
-        #Talking to the Earth Snake for a second time
-        #without RED_SOIL
-        htmltext = "30409-02.htm"
-   elif npcId == 30409 and st.getInt("cond")!=0 and st.getQuestItemsCount(RUST_GOLD_COIN)!=0 and st.getQuestItemsCount(RED_SOIL)!=0 :
-        #Talking to the Earth Snake afket collecting the RED_SOIL
-
-        #Gives EARTH_RING
-        #and sets cond = 13
-        st.takeItems(RED_SOIL,st.getQuestItemsCount(RED_SOIL))
-        st.takeItems(RUST_GOLD_COIN,st.getQuestItemsCount(RUST_GOLD_COIN))
-        if st.getQuestItemsCount(EARTH_RING) == 0 :
-          st.giveItems(EARTH_RING,1)
-        htmltext = "30409-03.htm"
-        st.set("cond","13")
-   elif npcId == 30409 and st.getInt("cond")!=0 and st.getQuestItemsCount(EARTH_RING)!=0 :
-        #Talking to the Earth Snake after completing his task
-        htmltext = "30409-03.htm"
-   elif npcId == 30391 and st.getInt("cond")!=0 and st.getQuestItemsCount(FLAME_EARING)!=0 and st.getQuestItemsCount(WIND_BANGEL)!=0 and st.getQuestItemsCount(WATER_NECKLACE)!=0 and st.getQuestItemsCount(EARTH_RING)!=0 :
-        #Talking to Parina after gathering all 4 tokens
-        #Gains BEAD_OF_SEASON
-        #Resets cond so these NPC's will no longer speak to you
-        #and Sets the quest as State.COMPLETED
-        st.takeItems(FLAME_EARING,st.getQuestItemsCount(FLAME_EARING))
-        st.takeItems(WIND_BANGEL,st.getQuestItemsCount(WIND_BANGEL))
-        st.takeItems(WATER_NECKLACE,st.getQuestItemsCount(WATER_NECKLACE))
-        st.takeItems(EARTH_RING,st.getQuestItemsCount(EARTH_RING))
-        if player.getLevel() >= 20 :
-          st.addExpAndSp(320534, 23152)
-        elif player.getLevel() == 19 :
-          st.addExpAndSp(456128, 29850)
-        else:
-          st.addExpAndSp(591724, 36548)
-        st.giveItems(57, 163800)
-        st.set("cond","0")
-        st.exitQuest(False)
-        st.saveGlobalQuestVar("1ClassQuestFinished","1")
-        player.sendPacket(SocialAction(player.getObjectId(),3))
-        st.playSound("ItemSound.quest_finish")
-        if st.getQuestItemsCount(BEAD_OF_SEASON) == 0 :
-          st.giveItems(BEAD_OF_SEASON,1)
-        htmltext = "30391-06.htm"
-        
-   return htmltext
-
- def onKill(self,npc,player,isPet):
-   st = player.getQuestState(qn)
-   if not st : return 
-   if st.getState() != State.STARTED : return 
-   
-   npcId = npc.getId()
-   if npcId == 20359 :    #Ratman Warrior, as of C3.
-        st.set("id","0")
-        #Only get a KEY_OF_FLAME if we are on the quest for the Fire Salamander
-        if st.getInt("cond") == 2 :
-            st.giveItems(KEY_OF_FLAME,1)
-            st.playSound("ItemSound.quest_middle")
-            #Increase the Cond so we can only get one key
-            st.set("cond","3")
-   elif npcId == 27030 : #water seer
-        st.set("id","0")
-        #Only get a SPARKLE_PEBBLE if we are on the quest for the Water Undine
-        if st.getInt("cond") == 8 and st.getQuestItemsCount(SPARKLE_PEBBLE) < 2:
-            st.giveItems(SPARKLE_PEBBLE,1)
-            if st.getQuestItemsCount(SPARKLE_PEBBLE) == 2 :
-              st.playSound("ItemSound.quest_middle")
-              st.set("cond","9")
-            else:
-              st.playSound("ItemSound.quest_itemget")
-   elif npcId == 20021 :   #Red Bear
-        st.set("id","0")
-        #Only get a RED_SOIL if we are on the quest for the Earth Snake
-        if st.getInt("cond") == 11 :
-            st.giveItems(RED_SOIL,1)
-            st.playSound("ItemSound.quest_middle")
-            st.set("cond","12")
-   return
-
-QUEST       = Quest(404,qn,"Path To Wizard")
-
-QUEST.addStartNpc(30391)
-
-QUEST.addTalkId(30391)
-
-QUEST.addTalkId(30409)
-QUEST.addTalkId(30410)
-QUEST.addTalkId(30411)
-QUEST.addTalkId(30412)
-QUEST.addTalkId(30413)
-
-QUEST.addKillId(20021)
-QUEST.addKillId(20359)
-QUEST.addKillId(27030)

+ 0 - 10
L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-01.htm

@@ -1,10 +0,0 @@
-<html>
-
-<body>
-Priest Zigaunt:<br>
-You will need the<font color="LEVEL"> mark of faith</font> to change profession to a Cleric. It is given to people with true faith. By chance there is a task suitable to prove your faith if you would agree to give it a try?<br>
-<a action="bypass -h Quest 405_PathToCleric 1">Say you will take the task</a>
-
-
-</body>
-</html>

+ 0 - 9
L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-03.htm

@@ -1,9 +0,0 @@
-<html>
-
-<body>
-Priest Zigaunt:<br>
-Thank you for your kindness, but the task is far too great to entrust to you. Gain more experience. We shall talk later when your skills have matured.
-
-
-</body>
-</html>

+ 0 - 9
L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-04.htm

@@ -1,9 +0,0 @@
-<html>
-
-<body>
-Priest Zigaunt:<br>
-I see you already have the mark of faith. If you meet<font color="LEVEL"> High Priestess Levian</font>, you can change profession.
-
-
-</body>
-</html>

+ 0 - 10
L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-05.htm

@@ -1,10 +0,0 @@
-<html>
-
-<body>
-Priest Zigaunt:<br>
-By any chance, have you heard the rumors that there is a heretical book that criticizes our religion? The book is called<font color="LEVEL"> "Understanding of Miracles,"</font> and it was actually written by a person who used to be a priest. That is why the church wants to take care of this problem quietly.<br>
-Can you retrieve the books that have been sold? Please do it undercover. The beginning of the rumor about this book was the<font color="LEVEL"> town of Gludio</font>. Begin your search there.
-
-
-</body>
-</html>

+ 0 - 11
L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30022-09.htm

@@ -1,11 +0,0 @@
-<html>
-
-<body>
-Priest Zigaunt:<br>
-This is definitely Lionel's signature. Thank you.<br>
-With this, your faith has been fully proven. Here, take this<font color="LEVEL"> token of faith</font>. If you show that to the<font color="LEVEL"> High Priestess Levian</font>, she will change your profession to Cleric.<br>
-I must excuse myself now, to make a report to the church. Goodbye. May the blessing of Einhasad be with you ...
-
-
-</body>
-</html>

+ 0 - 9
L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30253-02.htm

@@ -1,9 +0,0 @@
-<html>
-
-<body>
-Trader Simplon:<br>
-Why have you come back? Is it to find out whether I am selling threatening books? Please go away so you will not a disturb my customers!
-
-
-</body>
-</html>

+ 0 - 11
L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/30333-01.htm

@@ -1,11 +0,0 @@
-<html>
-
-<body>
-Guard Praga:<br>
-Ah ... that book. But that book was quite interesting. And I bought it for money. I can't give it to you for free.<br>
-Well, how about this? Recently, I was making rounds in<font color="LEVEL"> the Ruins of Agony</font> when I happened into a fight with the<font color="LEVEL"> ruin zombies</font>. At that time, I lost a pendant that my mother left me before she died. Please find it for me. Here, this is the chain of the necklace. See if the pendant fits it, and then return them to me, please.<br>
-Don't wrinkle your nose like that. A true believer like you will be protected by your strong faith. If you need direction, you can reach the Grim Ruins by journeying west of the village.
-
-
-</body>
-</html>

+ 0 - 185
L2J_DataPack_BETA/dist/game/data/scripts/quests/405_PathToCleric/__init__.py

@@ -1,185 +0,0 @@
-# Made by Mr. Have fun! Version 0.2
-# Shadow Weapon Coupons contributed by BiTi for the Official L2J Datapack Project
-# Visit http://www.l2jdp.com/forum/ for more details
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest import Quest as JQuest
-from com.l2jserver.gameserver.network.serverpackets import SocialAction
-
-qn = "405_PathToCleric"
-
-LETTER_OF_ORDER1 = 1191
-LETTER_OF_ORDER2 = 1192
-BOOK_OF_LEMONIELL = 1193
-BOOK_OF_VIVI = 1194
-BOOK_OF_SIMLON = 1195
-BOOK_OF_PRAGA = 1196
-CERTIFICATE_OF_GALLINT = 1197
-PENDANT_OF_MOTHER = 1198
-NECKLACE_OF_MOTHER = 1199
-LEMONIELLS_COVENANT = 1200
-MARK_OF_FAITH = 1201
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr):
-     JQuest.__init__(self,id,name,descr)
-     self.questItemIds = range(1191,1201)
-
- def onEvent (self,event,st) :
-    htmltext = event
-    level = st.getPlayer().getLevel()
-    classId = st.getPlayer().getClassId().getId()
-    if event == "1" :
-        st.set("id","0")
-        if level >= 18 and classId == 0x0a and st.getQuestItemsCount(MARK_OF_FAITH) == 0 :
-          st.set("cond","1")
-          st.setState(State.STARTED)
-          st.playSound("ItemSound.quest_accept")
-          st.giveItems(LETTER_OF_ORDER1,1)
-          htmltext = "30022-05.htm"
-        elif classId != 0x0a :
-            if classId == 0x0f :
-              htmltext = "30022-02a.htm"
-            else:
-              htmltext = "30022-02.htm"
-        elif level<18 and classId == 0x0a :
-            htmltext = "30022-03.htm"
-        elif level >= 18 and classId == 0x0a and st.getQuestItemsCount(MARK_OF_FAITH) == 1 :
-            htmltext = "30022-04.htm"
-    return htmltext
-
- def onTalk (self,npc,player):
-   htmltext = Quest.getNoQuestMsg(player)
-   st = player.getQuestState(qn)
-   if not st : return htmltext
-
-   npcId = npc.getId()
-   id = st.getState()
-   if npcId != 30022 and id != State.STARTED : return htmltext
-
-   npcId = npc.getId()
-   id = st.getState()
-   if npcId == 30022 and st.getInt("cond")==0 :
-      if st.getQuestItemsCount(MARK_OF_FAITH) == 0 :
-          htmltext = "30022-01.htm"
-          return htmltext
-      else:
-          htmltext = "30022-04.htm"
-   elif npcId == 30022 and st.getInt("cond") and st.getQuestItemsCount(LETTER_OF_ORDER2)==1 and st.getQuestItemsCount(LEMONIELLS_COVENANT)==0 :
-        htmltext = "30022-07.htm"
-   elif npcId == 30022 and st.getInt("cond") and st.getQuestItemsCount(LETTER_OF_ORDER2)==1 and st.getQuestItemsCount(LEMONIELLS_COVENANT)==1 :
-        htmltext = "30022-09.htm"
-        st.takeItems(LETTER_OF_ORDER2,1)
-        st.takeItems(LEMONIELLS_COVENANT,1)
-        st.giveItems(MARK_OF_FAITH,1)
-        isFinished = st.getGlobalQuestVar("1ClassQuestFinished")
-        if isFinished == "" : 
-            if player.getLevel() >= 20 :
-              st.addExpAndSp(320534, 23152)
-            elif player.getLevel() == 19 :
-              st.addExpAndSp(456128, 28630)
-            else:
-              st.addExpAndSp(591724, 35328)
-            st.giveItems(57, 163800)
-        st.set("cond","0")
-        st.exitQuest(False)
-        st.saveGlobalQuestVar("1ClassQuestFinished","1")
-        st.playSound("ItemSound.quest_finish")
-        player.sendPacket(SocialAction(player.getObjectId(),3))
-   elif npcId == 30022 and st.getInt("cond") and st.getQuestItemsCount(LETTER_OF_ORDER1)==1 :
-        if st.getQuestItemsCount(BOOK_OF_VIVI) == 1 and st.getQuestItemsCount(BOOK_OF_SIMLON)>0 and st.getQuestItemsCount(BOOK_OF_PRAGA) == 1 :
-            htmltext = "30022-08.htm"
-            st.takeItems(BOOK_OF_PRAGA,1)
-            st.takeItems(BOOK_OF_VIVI,1)
-            st.takeItems(BOOK_OF_SIMLON,3)
-            st.takeItems(LETTER_OF_ORDER1,1)
-            st.giveItems(LETTER_OF_ORDER2,1)
-            st.set("cond","3")
-        else:
-            htmltext = "30022-06.htm"
-   elif npcId == 30253 and st.getInt("cond") and st.getQuestItemsCount(LETTER_OF_ORDER1)==1 :
-        if st.getQuestItemsCount(BOOK_OF_SIMLON) == 0 :
-            htmltext = "30253-01.htm"
-            st.giveItems(BOOK_OF_SIMLON,3)
-        elif st.getQuestItemsCount(BOOK_OF_SIMLON)>0 :
-            htmltext = "30253-02.htm"
-   elif npcId == 30030 and st.getInt("cond") and st.getQuestItemsCount(LETTER_OF_ORDER1)==1 :
-        if st.getQuestItemsCount(BOOK_OF_VIVI) == 0 :
-            htmltext = "30030-01.htm"
-            st.giveItems(BOOK_OF_VIVI,1)
-        elif st.getQuestItemsCount(BOOK_OF_VIVI) == 1 :
-            htmltext = "30030-02.htm"
-   elif npcId == 30333 and st.getInt("cond") and st.getQuestItemsCount(LETTER_OF_ORDER1)==1 :
-        if st.getQuestItemsCount(BOOK_OF_PRAGA) == 0 and st.getQuestItemsCount(NECKLACE_OF_MOTHER) == 0 :
-            htmltext = "30333-01.htm"
-            st.giveItems(NECKLACE_OF_MOTHER,1)
-        elif st.getQuestItemsCount(BOOK_OF_PRAGA) == 0 and st.getQuestItemsCount(NECKLACE_OF_MOTHER) == 1 and st.getQuestItemsCount(PENDANT_OF_MOTHER) == 0 :
-            htmltext = "30333-02.htm"
-        elif st.getQuestItemsCount(BOOK_OF_PRAGA) == 0 and st.getQuestItemsCount(NECKLACE_OF_MOTHER) == 1 and st.getQuestItemsCount(PENDANT_OF_MOTHER) == 1 :
-            htmltext = "30333-03.htm"
-            st.takeItems(NECKLACE_OF_MOTHER,1)
-            st.takeItems(PENDANT_OF_MOTHER,1)
-            st.giveItems(BOOK_OF_PRAGA,1)
-            st.set("cond","2")
-        elif st.getQuestItemsCount(BOOK_OF_PRAGA)>0 :
-            htmltext = "30333-04.htm"
-   elif npcId == 30408 and st.getInt("cond") :
-        if st.getQuestItemsCount(LETTER_OF_ORDER2) == 0 :
-          htmltext = "30408-02.htm"
-        elif st.getQuestItemsCount(LETTER_OF_ORDER2) == 1 and st.getQuestItemsCount(BOOK_OF_LEMONIELL) == 0 and st.getQuestItemsCount(LEMONIELLS_COVENANT) == 0 and st.getQuestItemsCount(CERTIFICATE_OF_GALLINT) == 0 :
-            htmltext = "30408-01.htm"
-            st.giveItems(BOOK_OF_LEMONIELL,1)
-            st.set("cond","4")
-        elif st.getQuestItemsCount(LETTER_OF_ORDER2) == 1 and st.getQuestItemsCount(BOOK_OF_LEMONIELL) == 1 and st.getQuestItemsCount(LEMONIELLS_COVENANT) == 0 and st.getQuestItemsCount(CERTIFICATE_OF_GALLINT) == 0 :
-            htmltext = "30408-03.htm"
-        elif st.getQuestItemsCount(LETTER_OF_ORDER2) == 1 and st.getQuestItemsCount(BOOK_OF_LEMONIELL) == 0 and st.getQuestItemsCount(LEMONIELLS_COVENANT) == 0 and st.getQuestItemsCount(CERTIFICATE_OF_GALLINT) == 1 :
-            htmltext = "30408-04.htm"
-            st.takeItems(CERTIFICATE_OF_GALLINT,1)
-            st.giveItems(LEMONIELLS_COVENANT,1)
-            st.set("cond","6")
-        elif st.getQuestItemsCount(LETTER_OF_ORDER2) == 1 and st.getQuestItemsCount(BOOK_OF_LEMONIELL) == 0 and st.getQuestItemsCount(LEMONIELLS_COVENANT) == 1 and st.getQuestItemsCount(CERTIFICATE_OF_GALLINT) == 0 :
-            htmltext = "30408-05.htm"
-   elif npcId == 30017 and st.getInt("cond") and st.getQuestItemsCount(LETTER_OF_ORDER2)==1 and st.getQuestItemsCount(LEMONIELLS_COVENANT)==0 :
-        if st.getQuestItemsCount(BOOK_OF_LEMONIELL) == 1 and st.getQuestItemsCount(CERTIFICATE_OF_GALLINT) == 0 :
-            htmltext = "30017-01.htm"
-            st.takeItems(BOOK_OF_LEMONIELL,1)
-            st.giveItems(CERTIFICATE_OF_GALLINT,1)
-            st.set("cond","5")
-        elif st.getQuestItemsCount(BOOK_OF_LEMONIELL) == 0 and st.getQuestItemsCount(CERTIFICATE_OF_GALLINT) == 1 :
-            htmltext = "30017-02.htm"
-   return htmltext
-
- def onKill(self,npc,player,isPet):
-   st = player.getQuestState(qn)
-   if not st : return 
-   if st.getState() != State.STARTED : return 
-   
-   npcId = npc.getId()
-   if npcId == 20026 :
-        st.set("id","0")
-        if st.getInt("cond") and st.getQuestItemsCount(PENDANT_OF_MOTHER) == 0 :
-          st.giveItems(PENDANT_OF_MOTHER,1)
-          st.playSound("ItemSound.quest_middle")
-   elif npcId == 20029 :
-        st.set("id","0")
-        if st.getInt("cond") and st.getQuestItemsCount(PENDANT_OF_MOTHER) == 0 :
-          st.giveItems(PENDANT_OF_MOTHER,1)
-          st.playSound("ItemSound.quest_middle")
-   return
-
-QUEST       = Quest(405,qn,"Path To Cleric")
-
-QUEST.addStartNpc(30022)
-
-QUEST.addTalkId(30022)
-
-QUEST.addTalkId(30017)
-QUEST.addTalkId(30030)
-QUEST.addTalkId(30253)
-QUEST.addTalkId(30333)
-QUEST.addTalkId(30408)
-
-QUEST.addKillId(20026)
-QUEST.addKillId(20029)

+ 0 - 10
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-01.htm

@@ -1,10 +0,0 @@
-<html><body>Master Shubain:<br>
-You say that Master Gwain sent you? You must be taking the test to become a Trooper. 
-The test measures your bravery and strength, both of which are vital for a 
-great Trooper.<br>
-But no matter how brave or strong a young warrior may be, he often fails the test 
-because he is nervous or afraid. He may do well during practice, but when it is time 
-for the real thing, he realizes that he is not yet ready.<br>
-Only those who do not tremble before any foe will be able to pass the test. So...<br>
-<a action="bypass -h Quest 62_PathoftheTrooper 32194-02.htm">"So...?"</a>
-</body></html>

+ 0 - 7
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-02.htm

@@ -1,7 +0,0 @@
-<html><body>Master Shubain:<br>
-Only those with extensive experience are able to pass the test. Ah, you are worried 
-that you do not have enough experience, eh? No need to fear. If you train from 
-now on as I instruct you, you will pass the test safely.<br>
-<font color="LEVEL">Go to the Fellmere Harvesting Grounds, defeat the Felim 
-Lizardman Warriors and bring back 5 of their heads.</font>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-04.htm

@@ -1,5 +0,0 @@
-<html><body>Master Shubain:<br>
-Good! Now let us move on to something a little more challenging. Go to <font color="LEVEL">
-WindMill Hill</font> south of here, defeat the huge Venomous Spiders and 
-bring back 10 legs. Oh, you had best take an antidote with you...
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-00a.htm

@@ -1,5 +0,0 @@
-<html><body>Master Gwain:<br>
-So you have come here because you want to become a Trooper, eh? You should know that we only admit those who possess the right temperament and natural ability to learn our sophisticated skills.<br>
-In short, you must pass a test to prove yourself to us. I can tell from your look that you are not yet experienced enough to even attempt the test...<br>
-(Only male Kamael soldiers level 18 or higher may embark on this quest.)
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-00b.htm

@@ -1,4 +0,0 @@
-<html><body>Master Gwain:<br>
-Hmm, you want to become a Trooper? I'm sorry, but this is not the path for you...<br>
-(Only male Kamael soldiers level 18 or higher may embark on this quest.)
-</body></html>

+ 0 - 11
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-02.htm

@@ -1,11 +0,0 @@
-<html><body>Master Gwain:<br>
-Excellent! I like your boldness.<br>
-The test itself is very simple. You must defeat a certain malignant spirit to prove 
-your bravery and strength and bring back the creature's hear as proof. But no matter 
-how talented you may be, a lack of experience will make you easy prey for this spirit.<br>
-Therefore, before you begin the test, I advise you complete some additional training. 
-Frankly, I am sick of seeing the young of our race die meaningless deaths after taking 
-on this challenge equipped with nothing but courage.<br>
-So go to Gludin Village, train under Master Shubain and bring back his letter of 
-recommendation. Then we will discuss the details of the test.
-</body></html>

+ 0 - 7
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-04.htm

@@ -1,7 +0,0 @@
-<html><body>Master Gwain:<br>
-You have a letter of recommendation from Master Shubain? Good work! You no longer 
-have the look of a novice... Now I think you are ready for the test.<br>
-Follow the road that runs west of this village to a place called the 
-<font color="LEVEL">Ruins of Agony</font>. Defeat the <font color="LEVEL">
-Tumran Bugbear</font> and bring me his heart. Good luck!
-</body></html>

+ 0 - 134
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/__init__.py

@@ -1,134 +0,0 @@
-# Made by Emperorc
-# Update 17-01-08 by t0rm3nt0r
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest import Quest as JQuest
-from com.l2jserver.gameserver.network.serverpackets      import SocialAction
-
-qn = "62_PathoftheTrooper"
-
-#NPCs
-Shubain = 32194
-Gwain = 32197
-
-#Mobs
-Warrior = 20014
-Spider = 20038
-Tumran = 20062
-
-#Items
-Head,Leg,Heart,Shubain_Rec,Gwain_Rec = range(9749,9754)
-
-class Quest (JQuest) :
-    def __init__(self,id,name,descr):
-        JQuest.__init__(self,id,name,descr)
-        self.questItemIds = range(9749,9753)
-
-    def onEvent (self,event,st) :
-        htmltext = event
-        player = st.getPlayer()
-        if event == "32197-02.htm" :
-           st.set("cond","1")
-           st.setState(State.STARTED)
-        elif event == "32194-02.htm" :
-            st.set("cond","2")
-        return htmltext
-
-    def onTalk (self,npc,player):
-        htmltext = Quest.getNoQuestMsg(player)
-        st = player.getQuestState(qn)
-        if not st : return htmltext
-        npcId = npc.getId()
-        id = st.getState()
-        cond = st.getInt("cond")
-        if id == State.COMPLETED :
-            htmltext = "32197-07.htm"
-        elif npcId == Gwain :
-            if player.getLevel() < 18 :
-                htmltext = "32197-00a.htm"
-                st.exitQuest(1)
-            elif player.getClassId().getId() != 123 :
-                htmltext = "32197-00b.htm"
-                st.exitQuest(1)
-            elif id == State.CREATED :
-                htmltext = "32197-01.htm"
-            elif cond < 4 :
-                htmltext = "32197-03.htm"
-            elif cond == 4 :
-                htmltext = "32197-04.htm"
-                st.takeItems(Shubain_Rec,-1)
-                st.set("cond","5")
-            elif cond == 5 :
-                if not st.getQuestItemsCount(Heart) :
-                    htmltext = "32197-05.htm"
-                else :
-                    st.takeItems(Heart,-1)
-                    isFinished = st.getGlobalQuestVar("1ClassQuestFinished")
-                    if isFinished == "" :
-                      st.addExpAndSp(8064,2368)
-                      st.giveItems(57, 163800)
-                      st.giveItems(Gwain_Rec,1)
-                    st.exitQuest(False)
-                    st.saveGlobalQuestVar("1ClassQuestFinished","1")
-                    st.playSound("ItemSound.quest_finish")
-                    player.sendPacket(SocialAction(player.getObjectId(),3))
-                    htmltext = "32197-06.htm"
-        elif npcId == Shubain :
-            if cond == 1 :
-                htmltext = "32194-01.htm"
-            elif cond == 2 :
-                if st.getQuestItemsCount(Head) < 5 :
-                    htmltext = "32194-03.htm"
-                else :
-                    htmltext = "32194-04.htm"
-                    st.takeItems(Head,-1)
-                    st.set("cond","3")
-            elif cond == 3 :
-                if st.getQuestItemsCount(Leg) < 10 :
-                    htmltext = "32194-05.htm"
-                else :
-                    htmltext = "32194-06.htm"
-                    st.takeItems(Leg,-1)
-                    st.giveItems(Shubain_Rec,1)
-                    st.set("cond","4")
-            elif cond > 3 :
-                htmltext = "32194-07.htm"
-        return htmltext
-
-    def onKill(self,npc,player,isPet):
-        st = player.getQuestState(qn)
-        if not st : return
-        if st.getState() != State.STARTED : return
-        npcId = npc.getId()
-        cond = st.getInt("cond")
-        if npcId == Warrior :
-            if st.getQuestItemsCount(Head) < 5 and cond == 2 :
-                st.giveItems(Head,1)
-                if st.getQuestItemsCount(Head) == 5 :
-                    st.playSound("ItemSound.quest_middle")
-                else:
-                    st.playSound("ItemSound.quest_itemget")
-        elif npcId == Spider :
-            if st.getQuestItemsCount(Leg) < 10 and cond == 3 :
-                st.giveItems(Leg,1)
-                if st.getQuestItemsCount(Leg) == 10 :
-                    st.playSound("ItemSound.quest_middle")
-                else:
-                    st.playSound("ItemSound.quest_itemget")
-        elif npcId == Tumran :
-            if not st.getQuestItemsCount(Heart) and cond == 5 :
-                st.giveItems(Heart,1)
-                st.playSound("ItemSound.quest_middle")
-        return
-
-QUEST       = Quest(62,qn,"Path of the Trooper")
-
-QUEST.addStartNpc(Gwain)
-
-QUEST.addTalkId(Gwain)
-QUEST.addTalkId(Shubain)
-
-QUEST.addKillId(Warrior)
-QUEST.addKillId(Spider)
-QUEST.addKillId(Tumran)

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-01.html

@@ -0,0 +1,6 @@
+<html><body>Master Shubain:<br>
+You say that Master Gwain sent you? You must be taking the test to become a Trooper. The test measures your bravery and strength, both of which are vital for a great Trooper.<br>
+But no matter how brave or strong a young warrior may be, he often fails the test because he is nervous or afraid. He may do well during practice, but when it is time for the real thing, he realizes that he is not yet ready.<br>
+Only those who do not tremble before any foe will be able to pass the test. So...<br>
+<a action="bypass -h Quest Q00062_PathOfTheTrooper 32194-02.html">"So...?"</a></body>
+</html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-02.html

@@ -0,0 +1,4 @@
+<html><body>Master Shubain:<br>
+Only those with extensive experience are able to pass the test. Ah, you are worried that you do not have enough experience, eh? No need to fear. If you train from now on as I instruct you, you will pass the test safely.<br>
+<font color="LEVEL">Go to the Fellmere Harvesting Grounds, defeat the Felim Lizardman Warriors and bring back 5 of their heads.</font>
+</body></html>

+ 1 - 2
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-03.html

@@ -1,4 +1,3 @@
 <html><body>Master Shubain:<br>
-As I told you earlier, experience is the best teacher. Go to the <font color="LEVEL">Fellmere Harvesting Grounds, defeat the Felim 
-Lizardman Warriors and bring back 5 of their heads.</font>
+As I told you earlier, experience is the best teacher. Go to the <font color="LEVEL">Fellmere Harvesting Grounds, defeat the Felim Lizardman Warriors, and bring back 5 of their heads.</font>
 </body></html>

+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-04.html

@@ -0,0 +1,3 @@
+<html><body>Master Shubain:<br>
+Good! Now let us move on to something a little more challenging. Go to <font color="LEVEL">Windmill Hill</font> south of here, defeat the huge Venomous Spiders and bring back 10 legs. Oh, you had best take an antidote with you...
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-05.html

@@ -1,3 +1,3 @@
 <html><body>Master Shubain:<br>
-Go to <font color="LEVEL">WindMill Hill</font> south of here, defeat the huge poison spiders and bring back 10 legs. Oh, you had best take an antidote with you...
+Go to <font color="LEVEL">Windmill Hill</font> south of here, defeat the huge poison spiders and bring back 10 legs. Oh, you had best take an antidote with you...
 </body></html>

+ 1 - 2
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-06.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-06.html

@@ -1,4 +1,3 @@
 <html><body>Master Shubain:<br>
-Ah, you've returned! How did you fare? You have done well; I think you are ready 
-to take the test. Take this recommendation to Master Gwain in the Town of Gludio.
+Ah, you've returned! How did you fare? You have done well; I think you are ready to take the test. Take this recommendation to Master Gwain in the Town of Gludio.
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32194-07.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32194-07.html


+ 2 - 2
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-01.htm

@@ -1,5 +1,5 @@
 <html><body>Master Gwain:<br>
-So you have come here because you want to become a Trooper, eh? You should know that we only admit those who possess the right temperament and natural ability to learn our sophisticated skills.<br>
+So you have come here because you want to become a Dragoon, eh? You should know that we only admit those who possess the right temperament and natural ability to learn our sophisticated skills.<br>
 In short, you must pass a test to prove yourself to us. Interested?<br>
-<a action="bypass -h Quest 62_PathoftheTrooper 32197-02.htm">Say you will do it.</a>
+<a action="bypass -h Quest Q00062_PathOfTheTrooper ACCEPT">Say you will do it.</a>
 </body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-02.html

@@ -0,0 +1,5 @@
+<html><body>Master Gwain:<br>
+Ah, you have undoubtedly come here in order to become a Trooper. It is true that as a Trooper, you will be able to learn more and higher-level skills. But our guild only recognizes those whom we judge to be qualified and capable for this honor.<br>
+Put simply, to become a Trooper you must first take a test to prove yourself. I don't think you are yet ready to take the test -- come back when you are more experienced.<br>
+(Only male Kamael Soldiers who are level 18 and above may undertake this quest.)
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-03.html

@@ -0,0 +1,4 @@
+<html><body>Master Gwain:<br>
+Ah, so you wish to become a Trooper? I am sorry, but this is not your path. You cannot become a Trooper. Find the destiny right for you.<br>
+(Only male Kamael Soldiers who are level 18 and above may undertake this quest.)
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-04.html

@@ -0,0 +1,4 @@
+<html><body>Master Gwain:<br>
+You want to become a Dragoon, eh? I'm sorry, but your race is not eligible.<br>
+(Only Kamael characters may embark on this quest.)
+</body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-07.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-05.html


+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-06.htm

@@ -0,0 +1,6 @@
+<html><body>Master Gwain:<br>
+Excellent! I like your boldness.<br>
+The test itself is very simple. You must defeat a certain malignant spirit to prove your bravery and strength and bring back the creature's heart as proof. But no matter how talented you may be, a lack of experience will make you easy prey for this spirit.<br>
+Therefore, before you begin the test, I advise you complete some additional training. Frankly, I am sick of seeing the young of our race die meaningless deaths after taking on this challenge equipped with nothing but courage.<br>
+So go to Gludin Village, train under Master Shubain and bring back his letter of recommendation. Then we will discuss the details of the test.
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-07.html

@@ -1,3 +1,3 @@
 <html><body>Master Gwain:<br>
-First, go to Master Shubain in Gludin Village, train under him and obtain his recommendation. Then return here and we will discuss the details of the test in more detail.
+First, go to Master Shubain in Gludin Village, train under him and obtain his recommendation. Then return here and we will discuss the test in more detail.
 </body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-08.html

@@ -0,0 +1,4 @@
+<html><body>Master Gwain:<br>
+You have a letter of recommendation from Master Shubain? Good work! You no longer have the look of a novice... Now I think you are ready for the test.<br>
+Follow the road that runs west of this village to a place called the <font color="LEVEL">Ruins of Agony</font>. Defeat the <font color="LEVEL">Tumran Bugbear</font> and bring me his heart. Good luck!
+</body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-09.html


+ 2 - 3
L2J_DataPack_BETA/dist/game/data/scripts/quests/62_PathoftheTrooper/32197-06.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/32197-10.html

@@ -1,5 +1,4 @@
 <html><body>Master Gwain:<br>
-Ah, the heart of the Tumran Bugbear. Well done! You will make an excellent Trooper.<br>
-Take this letter of recommendation to Grand Master Gershwin of the Kamael Guild 
-and he will approve your class transfer. Congratulations!
+Ah, the heart of the Tumran Bugbear. Well done! You will make an excellent Dragoon.<br>
+Take this letter of recommendation to Grand Master Gershwin of the Kamael Guild and he will approve your class transfer. Congratulations!
 </body></html>

+ 303 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00062_PathOfTheTrooper/Q00062_PathOfTheTrooper.java

@@ -0,0 +1,303 @@
+/*
+ * Copyright (C) 2004-2014 L2J DataPack
+ * 
+ * This file is part of L2J DataPack.
+ * 
+ * L2J DataPack is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * 
+ * L2J DataPack is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package quests.Q00062_PathOfTheTrooper;
+
+import com.l2jserver.gameserver.enums.QuestSound;
+import com.l2jserver.gameserver.enums.Race;
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.base.ClassId;
+import com.l2jserver.gameserver.model.quest.Quest;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.network.serverpackets.SocialAction;
+import com.l2jserver.gameserver.util.Util;
+
+/**
+ * Path Of The Trooper (62)
+ * @author ivantotov
+ */
+public final class Q00062_PathOfTheTrooper extends Quest
+{
+	// NPCs
+	private static final int MASTER_SHUBAIN = 32194;
+	private static final int MASTER_GWAIN = 32197;
+	// Items
+	private static final int FELIM_LIZARDMAN_HEAD = 9749;
+	private static final int VENOMOUS_SPIDERS_LEG = 9750;
+	private static final int TUMRAN_BUGBEAR_HEART = 9751;
+	private static final int SHUBAINS_RECOMMENDATION = 9752;
+	// Reward
+	private static final int GWAINS_RECOMMENDATION = 9753;
+	// Monster
+	private static final int FELIM_LIZARDMAN_WARRIOR = 20014;
+	private static final int VENOMOUS_SPIDER = 20038;
+	private static final int TUMRAN_BUGBEAR = 20062;
+	// Misc
+	private static final int MIN_LEVEL = 18;
+	
+	public Q00062_PathOfTheTrooper()
+	{
+		super(62, Q00062_PathOfTheTrooper.class.getSimpleName(), "Path Of The Trooper");
+		addStartNpc(MASTER_GWAIN);
+		addTalkId(MASTER_GWAIN, MASTER_SHUBAIN);
+		addKillId(FELIM_LIZARDMAN_WARRIOR, VENOMOUS_SPIDER, TUMRAN_BUGBEAR);
+		registerQuestItems(FELIM_LIZARDMAN_HEAD, VENOMOUS_SPIDERS_LEG, TUMRAN_BUGBEAR_HEART, SHUBAINS_RECOMMENDATION);
+	}
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		final QuestState qs = getQuestState(player, false);
+		if (qs == null)
+		{
+			return null;
+		}
+		
+		String htmltext = null;
+		switch (event)
+		{
+			case "ACCEPT":
+			{
+				if (qs.isCreated())
+				{
+					qs.startQuest();
+					qs.setMemoState(1);
+					htmltext = "32197-06.htm";
+				}
+				break;
+			}
+			case "32194-02.html":
+			{
+				if (qs.isCond(1))
+				{
+					qs.setMemoState(2);
+					qs.setCond(2, true);
+					htmltext = event;
+				}
+				break;
+			}
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
+	{
+		final QuestState qs = getQuestState(killer, false);
+		if ((qs != null) && qs.isStarted() && Util.checkIfInRange(1500, npc, killer, true))
+		{
+			switch (npc.getId())
+			{
+				case FELIM_LIZARDMAN_WARRIOR:
+				{
+					if (qs.isCond(2) && (getQuestItemsCount(killer, FELIM_LIZARDMAN_HEAD) < 5))
+					{
+						giveItems(killer, FELIM_LIZARDMAN_HEAD, 1);
+						if (getQuestItemsCount(killer, FELIM_LIZARDMAN_HEAD) == 5)
+						{
+							playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_MIDDLE);
+						}
+						else
+						{
+							playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_ITEMGET);
+						}
+					}
+					break;
+				}
+				case VENOMOUS_SPIDER:
+				{
+					if (qs.isCond(3) && (getQuestItemsCount(killer, VENOMOUS_SPIDERS_LEG) < 10))
+					{
+						giveItems(killer, VENOMOUS_SPIDERS_LEG, 1);
+						if (getQuestItemsCount(killer, VENOMOUS_SPIDERS_LEG) == 10)
+						{
+							playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_MIDDLE);
+						}
+						else
+						{
+							playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_ITEMGET);
+						}
+					}
+					break;
+				}
+				case TUMRAN_BUGBEAR:
+				{
+					if (qs.isCond(5) && !hasQuestItems(killer, TUMRAN_BUGBEAR_HEART) && (getRandom(1000) < 500))
+					{
+						giveItems(killer, TUMRAN_BUGBEAR_HEART, 1);
+						playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_MIDDLE);
+					}
+					break;
+				}
+			}
+		}
+		return super.onKill(npc, killer, isSummon);
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		final QuestState qs = getQuestState(player, true);
+		String htmltext = getNoQuestMsg(player);
+		
+		if (qs.isCreated())
+		{
+			if (npc.getId() == MASTER_GWAIN)
+			{
+				if (player.getRace() == Race.KAMAEL)
+				{
+					if (player.getClassId() == ClassId.maleSoldier)
+					{
+						if (player.getLevel() >= MIN_LEVEL)
+						{
+							htmltext = "32197-01.htm";
+						}
+						else
+						{
+							htmltext = "32197-02.html";
+						}
+					}
+					else
+					{
+						htmltext = "32197-03.html";
+					}
+				}
+				else
+				{
+					htmltext = "32197-04.html";
+				}
+			}
+		}
+		else if (qs.isStarted())
+		{
+			switch (npc.getId())
+			{
+				case MASTER_GWAIN:
+				{
+					switch (qs.getCond())
+					{
+						case 1:
+						case 2:
+						case 3:
+						{
+							htmltext = "32197-07.html";
+							break;
+						}
+						case 4:
+						{
+							takeItems(player, SHUBAINS_RECOMMENDATION, 1);
+							qs.setMemoState(5);
+							qs.setCond(5, true);
+							htmltext = "32197-08.html";
+							break;
+						}
+						case 5:
+						{
+							if (!hasQuestItems(player, TUMRAN_BUGBEAR_HEART))
+							{
+								htmltext = "32197-09.html";
+							}
+							else
+							{
+								giveAdena(player, 163800, true);
+								takeItems(player, TUMRAN_BUGBEAR_HEART, 1);
+								giveItems(player, GWAINS_RECOMMENDATION, 1);
+								final int level = player.getLevel();
+								if (level >= 20)
+								{
+									addExpAndSp(player, 320534, 20848);
+								}
+								else if (level == 19)
+								{
+									addExpAndSp(player, 456128, 27546);
+								}
+								else
+								{
+									addExpAndSp(player, 591724, 34244);
+								}
+								qs.exitQuest(false, true);
+								player.sendPacket(new SocialAction(player.getObjectId(), 3));
+								qs.saveGlobalQuestVar("1ClassQuestFinished", "1");
+								htmltext = "32197-10.html";
+							}
+							break;
+						}
+					}
+					break;
+				}
+				case MASTER_SHUBAIN:
+				{
+					switch (qs.getCond())
+					{
+						case 1:
+						{
+							htmltext = "32194-01.html";
+							break;
+						}
+						case 2:
+						{
+							if (getQuestItemsCount(player, FELIM_LIZARDMAN_HEAD) < 5)
+							{
+								htmltext = "32194-03.html";
+							}
+							else
+							{
+								takeItems(player, FELIM_LIZARDMAN_HEAD, -1);
+								qs.setMemoState(3);
+								qs.setCond(3, true);
+								htmltext = "32194-04.html";
+							}
+							break;
+						}
+						case 3:
+						{
+							if (getQuestItemsCount(player, VENOMOUS_SPIDERS_LEG) < 10)
+							{
+								htmltext = "32194-05.html";
+							}
+							else
+							{
+								takeItems(player, VENOMOUS_SPIDERS_LEG, -1);
+								giveItems(player, SHUBAINS_RECOMMENDATION, 1);
+								qs.setMemoState(4);
+								qs.setCond(4, true);
+								htmltext = "32194-06.html";
+							}
+							break;
+						}
+						case 4:
+						{
+							htmltext = "32194-07.html";
+							break;
+						}
+					}
+					break;
+				}
+			}
+		}
+		else if (qs.isCompleted())
+		{
+			if (npc.getId() == MASTER_GWAIN)
+			{
+				htmltext = "32197-05.html";
+			}
+		}
+		return htmltext;
+	}
+}

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-01.html

@@ -1,4 +1,4 @@
 <html><body>High Priest Biotin:<br>
 Now I see you were a squire. The church of Einhasad has always provided a restful place for pilgrims. Stay here and rest until your weary body and soul have recovered.<br>
-<a action="bypass -h Quest 402_PathToKnight 30031-02.htm">Ask if there is anything you can help with</a>
+<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30031-02.html">Ask if there is anything you can help with</a>
 </body></html>

+ 2 - 2
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-02.html

@@ -1,5 +1,5 @@
 <html><body>High Priest Biotin:<br>
 Long ago, this place was where the Elves taught the Humans magic. However, not long after, the Humans betrayed the Elves and went to war with them. In the end, we Humans repaid kindness with betrayal.<br>
-Although it was committed by our ancestors, we inherited their sin. We are still paying for their actions. On this island, dead Elves are unable to rest and became undead called<font color="LEVEL"> Silent Horrors</font> and threaten the island residents.<br>
-Wouldn't it be best to put the souls of the elves slain by humans to rest, and ask pardon of their souls? I would like to ask you to do this favor. Go to the<font color="LEVEL"> Elven Ruins</font> and defeat the silent horrors. And please come back with<font color="LEVEL"> ten of their skulls</font>. I would like to perform a proper funeral service so the spirits of the elves can obtain rest.
+Although it was committed by our ancestors, we inherited their sin. We are still paying for their actions. On this island, dead Elves are unable to rest and became undead called <font color="LEVEL">silent horrors</font> and threaten the island residents.<br>
+Wouldn't it be best to put the souls of the elves slain by humans to rest, and ask pardon of their souls? I would like to ask you to do this favor. Go to the <font color="LEVEL">Elven Ruins</font> and defeat the silent horrors. And please come back with <font color="LEVEL">ten of their skulls</font>. I would like to perform a proper funeral service so the spirits of the elves can obtain rest.
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-03.html

@@ -1,3 +1,3 @@
 <html><body>High Priest Biotin:<br>
-You and I will represent the Humans and show respect to the spirits of the Elves that died by the hands of our ancestors one thousand years ago.<font color="LEVEL"> You must bring ten silent horror skulls from the Elven Ruins in order to perform a proper funeral service.</font>
+You and I will represent the Humans and show respect to the spirits of the Elves that died by the hands of our ancestors one thousand years ago. <font color="LEVEL">You must bring ten silent horror skulls from the Elven Ruins in order to perform a proper funeral service.</font>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-04.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30031-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30031-05.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-01.html

@@ -1,4 +1,4 @@
 <html><body>High Priestess Levian:<br>
 This is the holy hall of Einhasad. How could you clad yourself with the tools of war and enter the most holy place? From your mark, I see you are a Knight in training. If that is the case, shouldn't you show all the more respect in the Temple of Einhasad? Next time, enter the temple in a more reverent costume.<br>
-<a action="bypass -h Quest 402_PathToKnight 30037-02.htm">Ask if there is anything you can help with</a>
+<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30037-02.html">Ask if there is anything you can help with</a>
 </body></html>

+ 2 - 2
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-02.html

@@ -1,5 +1,5 @@
 <html><body>High Priestess Levian:<br>
-These days, I hear from the guards that the lizardmen appear in great numbers on the western shore of the province ... As you know, they look like lizards but are all evil creatures made by Shilen. The lizard is the descendent of the dragon, which is the ultimate creature of evil.<br>
+These days, I hear from the guards that the lizardmen appear in great numbers on the southern shore of the province ... As you know, they look like lizards but are all evil creatures made by Shilen. The lizard is the descendent of the dragon, which is the ultimate creature of evil.<br>
 In addition, the guards say that these lizardmen perform strange sacrifices every night towards the sea. I am sure they are praying to Shilen, who lies asleep in the deep. Gludio is the land of the righteous ones that follow Einhasad. We cannot allow the land to become contaminated by unholy pagan creatures.<br>
-In the name of Einhasad, destroy Shilen's evil creatures. Take this mark with you, and strike the lizardmen with your sword of righteousness.<font color="LEVEL"> If you return with twenty tokens after killing the lizardmen</font> I will give you the coin of lords.
+In the name of Einhasad, destroy Shilen's evil creatures. Take this mark with you, and strike the lizardmen with your sword of righteousness. <font color="LEVEL">If you return with twenty tokens after killing the lizardmen</font> I will give you the Coin of Lords.
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-03.html

@@ -1,3 +1,3 @@
 <html><body>High Priestess Levian:<br>
-How come you have returned so early?<font color="LEVEL"> You must return with twenty tokens of proof that you have killed the evil creatures of Shilen in order for me to give you the coin of lords.</font>
+How come you have returned so early? <font color="LEVEL">You must return with twenty tokens of proof that you have killed the evil creatures of Shilen in order for me to give you the Coin of Lords.</font>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-04.html

@@ -1,5 +1,5 @@
 <html><body>High Priestess Levian:<br>
 Thank you. Now the lizardmen will not dare covet the land of Gludio. When I look at the strange idols of the lizardmen, I get shivers. I am thinking of burning these unholy things.<br>
-As we agreed, I will give you the coin of lords. May you always live by the will of Einhasad. Only the spiritual teachings of light will protect you from corruption.<br>
+As we agreed, I will give you the Coin of Lords. May you always live by the will of Einhasad. Only the spiritual teachings of light will protect you from corruption.<br>
 Pray, do not take my advice lightly. I have seen many Knights fall to the apostles of darkness because of arrogance. In the end, they return to the arms of Einhasad as they are cleansed in the flames of the stake, but it is not a desirable fate.
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30037-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30037-05.html

@@ -1,3 +1,3 @@
 <html><body>High Priestess Levian:<br>
-May Einhasad bless your pilgrimage. By the way, have you been to Talking Island? As you know, that small and isolated island is also a part of the Gludio province. Therefore the captain of guards and High Priest there will also have the coin of lords.
+May Einhasad bless your pilgrimage. By the way, have you been to Talking Island? As you know, that small and isolated island is also a part of the Gludio province. Therefore the captain of guards and High Priest there will also have the Coin of Lords.
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-01.html

@@ -1,4 +1,4 @@
 <html><body>Captain Gilbert:<br>
 We have not met in a long time. So you are an esquire in training... Anyway, I am glad to see you! I am Captain Gilbert.<br>
-<a action="bypass -h Quest 402_PathToKnight 30039-02.htm">Ask if there is anything you can help with</a>
+<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30039-02.html">Ask if there is anything you can help with</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-02.html

@@ -1,4 +1,4 @@
 <html><body>Captain Gilbert:<br>
 Giant spiders have always existed on Talking Island. They used to only live on the northern part of the island, but lately incidents of their attacking homes and carrying off livestock have increased. They are so huge and ferocious that it is sometimes too difficult for the guard troop to deal with them.<br>
-Please. Destroy the giant spiders.<font color="LEVEL"> Hunt the spiders and peel off their husks. Return with twenty husks and I will give you the coin of the lords. </font> I am sorry to ask you to do such a dangerous task, but I cannot think of anyone but you who could possibly manage this.
+Please. Destroy the giant spiders. <font color="LEVEL">Hunt the spiders and peel off their husks. Return with twenty husks and I will give you the coin of the lords. </font> I am sorry to ask you to do such a dangerous task, but I cannot think of anyone but you who could possibly manage this.
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-03.html

@@ -1,3 +1,3 @@
 <html><body>Captain Gilbert:<br>
-Bring me<font color="LEVEL"> twenty giant spider husks</font> and I will give you the coin of the lords. I am sorry to ask you to do such a dangerous task, but I cannot think of anyone but you who could possibly manage this.
+Bring me <font color="LEVEL">twenty giant spider husks</font> and I will give you the coin of the lords. I am sorry to ask you to do such a dangerous task, but I cannot think of anyone but you who could possibly manage this.
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-04.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30039-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30039-05.html


+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-01.html

@@ -0,0 +1,5 @@
+<html><body>High Priest Raymond:<br>
+May the blessings of Einhasad be with you always.<br>
+Long ago the knights alliance protected the church of Einhasad. Not many know this, but in the chaos that followed the fall of the empire, it was that very alliance that protected the church from raiders and pagans, while still protecting the priests from the armies of Beleth. We never forgot the assistance we received from them over those dark, desperate days.<br>
+<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30289-02.html">"Is this relevant?"</a>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-02.html

@@ -0,0 +1,6 @@
+<html><body>High Priest Raymond:<br>
+Of course! You see, we must ask the alliance's help again.<br>
+A few years ago, during the war with Gracia, we sent several priests to a small village in the south. The priest treated the wounded and performed funerals for the  dead there, but one day the village was attacked by mercenaries. Men, woman, child... it didn't matter - each was butchered where they stood. Their bodies may have decayed over time, but the spirits of the dead there have not peace and still haunt the village ruins as undead spectres.<br>
+Of course, it is the duty of the priest to console their spirits and put them to rest through player, but it is too dangerous for someone like myself to face the horrors in those ruins. That is why I am asking you a favor.<br> 
+<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30289-03.html">Say you will do the favor</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-03.html

@@ -0,0 +1,5 @@
+<html><body>High Priest Raymond:<br>
+Esquire, I beg you! Please go to the <font color="LEVEL">Ruins of Despair</font> to the south of the village and find the <font color="LEVEL">departed spirits of the priests</font> that have turned into the undead. Destroy them with your sword and recover the Einhasad crosses that are somewhere on their bodies. <font color="LEVEL">If you bring back twelve Einhasad crosses, I can perform a mass that soothes the spirits of the dead priests.</font><br>
+Before you go, take this. It is a mark that shows you are performing a holy task for the church of Einhasad.<br>
+Well than, I shall pray for your safe return. May the light of Einhasad guide you.
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-04.html

@@ -0,0 +1,4 @@
+<html><body>High Priest Raymond:<br>
+Even now, I can hear the cries and groans of despair from my priest brothers who cannot find rest. Please bring me <font color="LEVEL">twelve Silver Crosses of Einhasad</font> from the Undead Priests at the Ruins of Despair, which is to the south of the village, so that I may offer a service to appease their souls.<br>
+May Einhasad's blessing be with you.
+</body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-05.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30289-06.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30289-06.html


+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-01.html

@@ -0,0 +1,5 @@
+<html><body>Captain Bathis:<br>
+Oh-ho. That mark tells me that you're an apprentice knight! Our guards do a great job protecting the village, so I don't think we have much to as of someone like you.<br>
+Well, if you insist on helping, there is one thing that you could do...<br>
+<a action="bypass -h Quest Q00402_PathOfTheHumanKnight 30332-02.html">Ask what it is.</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-02.html

@@ -0,0 +1,4 @@
+<html><body>Captain Bathis:<br>
+If you follow the road northeast of the village, you will cross a river that marks the area between Gludio and Neutral Zone.  There is <font color="LEVEL">a bridge</font> that crosses the river. Recently, <font color="LEVEL">bugbear raiders</font> have appeared around the area between the bridge and the Neutral Zone and attacked trader coaches.  Already twenty traders have lost their lives, and the goods that were stolen are too numerous to list. The traders have requested funds from the trader's guild headquarters in order to hire mercenaries, but the guild has yet to answer their request.<br>
+I would be much obliged if you would get rid of the bugbears. According to the reports, there are about ten bugbears that attacked the trader coaches. Kill them and bring back <font color="LEVEL">ten necklaces</font>. While on this task, you will be performing an official task of the Gludio guards, so take this with you.
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-03.html

@@ -1,4 +1,4 @@
 <html><body>Captain Bathis:<br>
 Have you defeated the bugbear raiders? What do you mean, not yet? What have you done all this time?! I have already reported to my superiors that I have sent out soldiers to destroy the bugbears ... What will they take me for?!<br>
-At this very moment, the Traders that do business with Dion are losing quite a bit of profit by having to take the long way around on the southern coastal road! This is not the time for you to be fooling around in the village! Go defeat the bugbears and bring back<font color="LEVEL"> ten necklaces</font>. Then I will give you the coin of the lords!
+At this very moment, the Traders that do business with Dion are losing quite a bit of profit by having to take the long way around on the southern coastal road! This is not the time for you to be fooling around in the village! Go defeat the bugbears and bring back <font color="LEVEL">ten necklaces</font>. Then I will give you the coin of the lords!
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/402_PathToKnight/30332-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00402_PathOfTheHumanKnight/30332-04.html

@@ -1,4 +1,4 @@
 <html><body>Captain Bathis:<br>
-Oh, so you have killed all the bugbears. Now the traders can safely drive their carts to Dion. Here, take this -- it's a<font color="LEVEL"> coin of the lords</font>.<br>
+Oh, so you have killed all the bugbears. Now the traders can safely drive their carts to Dion. Here, take this -- it's a <font color="LEVEL">coin of the lords</font>.<br>
 Now you have the coin in your hand, and I have preserved my dignity as captain of the guards. Wasn't that a good exchange? Ha! Well, have a fine day!
 </body></html>

Някои файлове не бяха показани, защото твърде много файлове са промени