Przeglądaj źródła

Retail-Like Orc class transfer AI in Java (Second and last part).

Adry85 9 lat temu
rodzic
commit
e715c5f38c
82 zmienionych plików z 444 dodań i 295 usunięć
  1. 1 1
      dist/game/data/html/villagemaster/30513.htm
  2. 1 1
      dist/game/data/html/villagemaster/30681.htm
  3. 1 1
      dist/game/data/html/villagemaster/30704.htm
  4. 1 1
      dist/game/data/html/villagemaster/30865.htm
  5. 1 1
      dist/game/data/html/villagemaster/30913.htm
  6. 1 1
      dist/game/data/html/villagemaster/31288.htm
  7. 1 1
      dist/game/data/html/villagemaster/31326.htm
  8. 1 1
      dist/game/data/html/villagemaster/31336.htm
  9. 1 1
      dist/game/data/html/villagemaster/31977.htm
  10. 1 1
      dist/game/data/scripts.cfg
  11. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-01.htm
  12. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-02.htm
  13. 5 0
      dist/game/data/scripts/village_master/OrcChange2/30513-03.htm
  14. 6 0
      dist/game/data/scripts/village_master/OrcChange2/30513-04.htm
  15. 7 0
      dist/game/data/scripts/village_master/OrcChange2/30513-05.htm
  16. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-06.htm
  17. 5 0
      dist/game/data/scripts/village_master/OrcChange2/30513-07.htm
  18. 5 0
      dist/game/data/scripts/village_master/OrcChange2/30513-08.htm
  19. 7 0
      dist/game/data/scripts/village_master/OrcChange2/30513-09.htm
  20. 5 0
      dist/game/data/scripts/village_master/OrcChange2/30513-10.htm
  21. 6 0
      dist/game/data/scripts/village_master/OrcChange2/30513-11.htm
  22. 6 0
      dist/game/data/scripts/village_master/OrcChange2/30513-12.htm
  23. 7 0
      dist/game/data/scripts/village_master/OrcChange2/30513-13.htm
  24. 6 0
      dist/game/data/scripts/village_master/OrcChange2/30513-14.htm
  25. 6 0
      dist/game/data/scripts/village_master/OrcChange2/30513-15.htm
  26. 7 0
      dist/game/data/scripts/village_master/OrcChange2/30513-16.htm
  27. 3 0
      dist/game/data/scripts/village_master/OrcChange2/30513-17.htm
  28. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-18.htm
  29. 3 0
      dist/game/data/scripts/village_master/OrcChange2/30513-19.htm
  30. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-20.htm
  31. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-21.htm
  32. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-22.htm
  33. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-23.htm
  34. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-24.htm
  35. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-25.htm
  36. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-26.htm
  37. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-27.htm
  38. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-28.htm
  39. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-29.htm
  40. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-30.htm
  41. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-31.htm
  42. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-32.htm
  43. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-33.htm
  44. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-34.htm
  45. 4 0
      dist/game/data/scripts/village_master/OrcChange2/30513-35.htm
  46. 268 0
      dist/game/data/scripts/village_master/OrcChange2/OrcChange2.java
  47. 2 2
      dist/game/data/scripts/village_master/elven_human_buffers_2/__init__.py
  48. 0 4
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-01.htm
  49. 0 6
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-02.htm
  50. 0 7
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-03.htm
  51. 0 7
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-04.htm
  52. 0 4
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-05.htm
  53. 0 6
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-06.htm
  54. 0 7
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-07.htm
  55. 0 7
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-08.htm
  56. 0 5
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-09.htm
  57. 0 6
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-10.htm
  58. 0 7
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-11.htm
  59. 0 7
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-12.htm
  60. 0 6
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-13.htm
  61. 0 7
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-14.htm
  62. 0 7
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-15.htm
  63. 0 4
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-16.htm
  64. 0 4
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-17.htm
  65. 0 4
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-18.htm
  66. 0 3
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-19.htm
  67. 0 4
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-20.htm
  68. 0 4
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-21.htm
  69. 0 4
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-22.htm
  70. 0 3
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-23.htm
  71. 0 4
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-24.htm
  72. 0 4
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-25.htm
  73. 0 4
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-26.htm
  74. 0 3
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-27.htm
  75. 0 4
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-28.htm
  76. 0 4
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-29.htm
  77. 0 4
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-30.htm
  78. 0 3
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-31.htm
  79. 0 3
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-32.htm
  80. 0 4
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-33.htm
  81. 0 4
      dist/game/data/scripts/village_master/orc_occupation_change_2/30513-34.htm
  82. 0 119
      dist/game/data/scripts/village_master/orc_occupation_change_2/__init__.py

+ 1 - 1
dist/game/data/html/villagemaster/30513.htm

@@ -1,6 +1,6 @@
 <html><body>High Prefect Penatus:<br>
 I am High Prefect Penatus, and I instruct Orcs by the will of Pa'agrio, the father of eternal fire, so that we may restore the Orc race to its former glory.<br>
-<a action="bypass -h npc_%objectId%_Quest orc_occupation_change_2">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest OrcChange2">Listen to information about second class transfer.</a><br>
 <a action="bypass -h npc_%objectId%_Subclass 0">Sub Class.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Clan">Clan.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</a><br>

+ 1 - 1
dist/game/data/html/villagemaster/30681.htm

@@ -1,6 +1,6 @@
 <html><body>High Prefect Karia:<br>
 I am High Prefect Karia, and I teach high level Orc warriors and magicians by the will of Pa'agrio, the father of eternal fire. Why have you come to see me?<br>
-<a action="bypass -h npc_%objectId%_Quest orc_occupation_change_2">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest OrcChange2">Listen to information about second class transfer.</a><br>
 <a action="bypass -h npc_%objectId%_Subclass 0">Sub Class.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Clan">Clan.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</a><br>

+ 1 - 1
dist/game/data/html/villagemaster/30704.htm

@@ -1,6 +1,6 @@
 <html><body>High Prefect Garvarentz:<br>
 I am High Prefect Garvarentz, and I teach high level Orc warriors and magicians by the will of Pa'agrio, the father of eternal fire. Why have you come to see me?<br>
-<a action="bypass -h npc_%objectId%_Quest orc_occupation_change_2">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest OrcChange2">Listen to information about second class transfer.</a><br>
 <a action="bypass -h npc_%objectId%_Subclass 0">Sub Class.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Clan">Clan.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</a><br>

+ 1 - 1
dist/game/data/html/villagemaster/30865.htm

@@ -1,7 +1,7 @@
 <html><body>High Prefect Ladanza:<br>
 Welcome to the Humans' city, adventurer. The Humans petitioned Flame Lord Kakai personally for help during this time of turmoil. Ancestor Martankus and Ungoat of the Duda-Mara tribe said that this was related to the "Eternal Winter," the only thing capable of striking fear in the hearts of Orcs...<br>
 It is ironic, is it not, that Pa'agrio's children are now here in what was once the castle of our enemy?<br>
-<a action="bypass -h npc_%objectId%_Quest orc_occupation_change_2">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest OrcChange2">Listen to information about second class transfer.</a><br>
 <a action="bypass -h npc_%objectId%_Subclass 0">Sub Class.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Clan">Clan.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</a><br>

+ 1 - 1
dist/game/data/html/villagemaster/30913.htm

@@ -1,7 +1,7 @@
 <html><body>Head Prefect Tushku:<br>
 Welcome to the Heine, the city of water... Eh, the truth is that Orcs like me just can't get used to a city like this, with its white and shiny buildings and candy-stinking Elves. I feel like firecracker thrown into a pond.<br>
 But duty calls, and we do what must be done... So, why are you looking for me?<br>
-<a action="bypass -h npc_%objectId%_Quest orc_occupation_change_2">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest OrcChange2">Listen to information about second class transfer.</a><br>
 <a action="bypass -h npc_%objectId%_Subclass 0">Sub Class.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Clan">Clan.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</a><br>

+ 1 - 1
dist/game/data/html/villagemaster/31288.htm

@@ -1,7 +1,7 @@
 <html><body>High Prefect Aklan:<br>
 Welcome to Goddard, land of war and fire! In this place, blood boils as hot as the lava that flows from the volcanos of the north!<br>
 Those disgusting Varka Silenos and Ketra Orc tribes intend to battle nearby, and it is said that the Fire Dragon Valakas has awakened from its long slumber. Soon it will be time for Pa'agrio's glorious warriors to arise, so do not be relax with your preparations!<br>
-<a action="bypass -h npc_%objectId%_Quest orc_occupation_change_2">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest OrcChange2">Listen to information about second class transfer.</a><br>
 <a action="bypass -h npc_%objectId%_Subclass 0">Sub Class.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Clan">Clan.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</a><br>

+ 1 - 1
dist/game/data/html/villagemaster/31326.htm

@@ -1,7 +1,7 @@
 <html><body>High Prefect Lambac:<br>
 Even though we have the reputation as the top Warrior training camp in the entire kingdom, I, High Prefect Lambac, am almost mad with frustration at having to train with these fragile Humans and Elves! If I exert even a little strength, their bones snap like twigs, or they swoon like a lovesick girl...<br>
 Tejakar Orka! True training must be between Orcs!<br>
-<a action="bypass -h npc_%objectId%_Quest orc_occupation_change_2">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest OrcChange2">Listen to information about second class transfer.</a><br>
 <a action="bypass -h npc_%objectId%_Subclass 0">Sub Class.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Clan">Clan.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</a><br>

+ 1 - 1
dist/game/data/html/villagemaster/31336.htm

@@ -1,7 +1,7 @@
 <html><body>Grand Seer Rahorakti:<br>
 Heed the warning that our ancestors whisper in your ears! See the omens that are appear before your eyes! Feel the danger at your very doorstep! The eternal will soon be upon us!<br>
 Can you feel the impending calamity? What is it that we must do during these times? If you remain firm in your faith, the Spirit of Fire shall be your guide!<br>
-<a action="bypass -h npc_%objectId%_Quest elven_human_buffers_2">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest OrcChange2">Listen to information about second class transfer.</a><br>
 <a action="bypass -h npc_%objectId%_Subclass 0">Sub Class.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Clan">Clan.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</a><br>

+ 1 - 1
dist/game/data/html/villagemaster/31977.htm

@@ -1,7 +1,7 @@
 <html><body>High Prefect Shaka:<br>
 My Orc comrade! Are you ready to be reborn in blood and fire as a true warrior of our kind? Schuttgart Territory is necessary if our race is to regain our former glory.<br>
 How long must we suffer the disdain of those puny Dwarves and moon-faced Elves? Young Orc! Schuttgart may well become a key strategic position for the warriors of the Elmorean kingdom. If we Orcs unite, it will be a trivial matter to occupy this defenseless place. Stoke up your smoldering vengeance! The time to strike swift and hard will soon be at hand.<br>
-<a action="bypass -h npc_%objectId%_Quest orc_occupation_change_2">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest OrcChange2">Listen to information about second class transfer.</a><br>
 <a action="bypass -h npc_%objectId%_Subclass 0">Sub Class.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Clan">Clan.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</a><br>

+ 1 - 1
dist/game/data/scripts.cfg

@@ -170,7 +170,7 @@ village_master/elven_human_mystics_2/__init__.py
 village_master/KamaelChange1/KamaelChange1.java
 village_master/KamaelChange2/KamaelChange2.java
 village_master/OrcChange1/OrcChange1.java
-village_master/orc_occupation_change_2/__init__.py
+village_master/OrcChange2/OrcChange2.java
 
 # Instance Section
 instances/InstanceLoader.java

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-01.htm

@@ -0,0 +1,4 @@
+<html><body>
+You are limited to two occupational changes.<br>
+You would be better served training yourself. Remember that strength flows from your mind, not your weapon.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-02.htm

@@ -0,0 +1,4 @@
+<html><body>
+An occupational change occurs when one gets promoted to a higher-level occupation. An Orc Raider may advance to <font color="LEVEL">Destroyer</font>.<br>
+<a action="bypass -h Quest OrcChange2 30513-03.htm">Destroyer</a>
+</body></html>

+ 5 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-03.htm

@@ -0,0 +1,5 @@
+<html><body>
+Destroyers are the highest level of Orc Fighters. Typically fighting to the death, their name suits them well.<br>
+<a action="bypass -h Quest OrcChange2 30513-04.htm">Description of the Destroyer</a><br>
+<a action="bypass -h Quest OrcChange2 46">Change occupation to Destroyer.</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-04.htm

@@ -0,0 +1,6 @@
+<html><body>
+Destroyers are courageous Orc Fighters who are best at the front line, wielding huge swords and axes. Orc Raiders advance to this occupation.<br>
+To become a Destroyer, your level must be over 40 and you must collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Champion.<br>
+<a action="bypass -h Quest OrcChange2 30513-05.htm">Ask about marks</a><br>
+<a action="bypass -h Quest OrcChange2 30513-03.htm">Return</a>
+</body></html>

+ 7 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-05.htm

@@ -0,0 +1,7 @@
+<html><body>
+Each mark requires its own trial.<br>
+The <font color="LEVEL">Mark of the Challenger</font> is reserved for those who pass the Trial of the Challenger. You must be above <font color="LEVEL">level 35</font> to qualify. To take this test visit <font color="LEVEL">Kash of the Town of Dion</font>.<br>
+The <font color="LEVEL">Mark of Glory</font> is only given to those who pass the Testimony of Glory. You must be above <font color="LEVEL">level 37</font> to qualify. To take this test visit <font color="LEVEL">Prefect Vokian of the Town of Giran</font>.<br>
+And last, the <font color="LEVEL">Mark of the Champion</font> is only given to those who pass the Test of the Champion. You must be above <font color="LEVEL">level 39</font> to qualify. To take this test visit <font color="LEVEL">Veteran Ascalon of the Town of Giran</font>.<br>
+<a action="bypass -h Quest OrcChange2 30513-03.htm">Return</a>
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-06.htm

@@ -0,0 +1,4 @@
+<html><body>
+An occupational change occurs when one gets promoted to a higher-level occupation. An Orc Monk may advance to <font color="LEVEL">Tyrant</font>.<br>
+<a action="bypass -h Quest OrcChange2 30513-07.htm">Tyrant</a>
+</body></html>

+ 5 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-07.htm

@@ -0,0 +1,5 @@
+<html><body>
+Tyrants are the highest level of priests. Fearless, they forgo weapons for their bare fists.<br>
+<a action="bypass -h Quest OrcChange2 30513-08.htm">Description of the Tyrant</a><br>
+<a action="bypass -h Quest OrcChange2 48">Change occupation to Tyrant.</a>
+</body></html>

+ 5 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-08.htm

@@ -0,0 +1,5 @@
+<html><body>
+The Tyrant is an advanced occupation of the Orc Monk. Lightly armed, their attack is quick and devastating. Known to sacrifice stamina and defense in order to make their attack even faster. In order to become a Tyrant, your level must be over 40 and you must collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Duelist.<br>
+<a action="bypass -h Quest OrcChange2 30513-09.htm">Ask about marks</a><br>
+<a action="bypass -h Quest OrcChange2 30513-07.htm">Return</a>
+</body></html>

+ 7 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-09.htm

@@ -0,0 +1,7 @@
+<html><body>
+Each mark requires its own test.<br>
+The <font color="LEVEL">Mark of the Challenger</font> is reserved for those who pass the Trial of the Challenger. You must be above <font color="LEVEL">level 35</font> to qualify. To take this test visit <font color="LEVEL">Kash of the Town of Dion</font>.<br>
+The <font color="LEVEL">Mark of Glory</font> is reserved for those who pass the Testimony of Glory. You must be above <font color="LEVEL">level 37</font> to qualify. To take this test visit <font color="LEVEL">Prefect Vokian of the Town of Giran</font>.<br>
+And last, the <font color="LEVEL">Mark of the Duelist</font> is reserved for those who pass the Test of the Duelist. You must be above <font color="LEVEL">level 39</font> to qualify. To take this test meet <font color="LEVEL">Duelist Kaien of the Town of Oren</font>.<br>
+<a action="bypass -h Quest OrcChange2 30513-07.htm">Return</a>
+</body></html>

+ 5 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-10.htm

@@ -0,0 +1,5 @@
+<html><body>
+An occupational change occurs when one gets promoted to a higher-level occupation. An Orc Shaman can advance to <font color="LEVEL">Overlord</font> or a <font color="LEVEL">Warcryer</font>. Which occupation would you like to learn about?<br>
+<a action="bypass -h Quest OrcChange2 30513-11.htm">Overlord</a><br>
+<a action="bypass -h Quest OrcChange2 30513-14.htm">Warcryer</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-11.htm

@@ -0,0 +1,6 @@
+<html><body>
+An Overlord is an advanced Orc Shaman. Possessing the qualities required to be head of a tribe, only they can lead our clan to a higher level.<br>
+<a action="bypass -h Quest OrcChange2 30513-12.htm">Description of the Overlord</a><br>
+<a action="bypass -h Quest OrcChange2 51">Change occupation to Overlord</a><br>
+<a action="bypass -h Quest OrcChange2 30513-10.htm">Return</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-12.htm

@@ -0,0 +1,6 @@
+<html><body>
+An Overlord is an advanced Orc Shaman, with strong basic supplementary magic to protect and strengthen his clan. This occupation is specialized for clan wars.<br>
+To become an Overlord your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the Lord.<br>
+<a action="bypass -h Quest OrcChange2 30513-13.htm">Ask about marks</a><br>
+<a action="bypass -h Quest OrcChange2 30513-11.htm">Return</a>
+</body></html>

+ 7 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-13.htm

@@ -0,0 +1,7 @@
+<html><body>
+Each mark requires its own test.<br>
+The <font color="LEVEL">Mark of the Pilgrim</font> is reserved for  those who pass the Trial of the Pilgrim. You must be above <font color="LEVEL">level 35</font> to qualify. To this test visit <font color="LEVEL">Hermit Santiago in the Estate of Gludio</font>. He lives on a farm with Piotur.<br>
+The <font color="LEVEL">Mark of Glory</font> is only given to those who pass the Testimony of Glory. You must be above <font color="LEVEL">level 37</font> to qualify. To take this test visit <font color="LEVEL">Prefect Vokian of the Town of Giran</font>.<br>
+And last, the <font color="LEVEL">Mark of the Lord</font> is only given to those who pass the Test of the Lord. You must be above <font color="LEVEL">level 39</font> to qualify. To take this test visit <font color="LEVEL">Flame Lord Kakai of the Orc Village</font>.<br>
+<a action="bypass -h Quest OrcChange2 30513-11.htm">Return</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-14.htm

@@ -0,0 +1,6 @@
+<html><body>
+Warcryers are advanced form of Shaman. They burst into song at the peak of battle to bolster the fighting spirit. Also capable of supplementary magic.<br>
+<a action="bypass -h Quest OrcChange2 30513-15.htm">Description of the Warcryer</a><br>
+<a action="bypass -h Quest OrcChange2 52">Change occupation to Warcryer</a><br>
+<a action="bypass -h Quest OrcChange2 30513-10.htm">Return</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-15.htm

@@ -0,0 +1,6 @@
+<html><body>
+Warcryers specialize in party play. A Warcryer uses a spell called Song of War to heal and increase the fighting spirit of his comrades. They increase attack speed, evasion and critical attack power of party members. He is also capable of disrupting opponents with his song.<br><br>
+To become a Warcryer your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the War Spirit.<br>
+<a action="bypass -h Quest OrcChange2 30513-16.htm">Ask about marks</a><br>
+<a action="bypass -h Quest OrcChange2 30513-14.htm">Return</a>
+</body></html>

+ 7 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-16.htm

@@ -0,0 +1,7 @@
+<html><body>
+Each mark requires its own test.<br>
+The <font color="LEVEL">Mark of the Pilgrim</font> is reserved for those who pass the Trial of the Pilgrim. You must be above <font color="LEVEL">level 35</font> to qualify. To take this test visit <font color="LEVEL">Hermit Santiago in the Estate of Gludio</font>. He lives on a farm with Piotur.<br>
+The <font color="LEVEL">Mark of Glory</font> is reserved for those who pass the Testimony of Glory. You must be above <font color="LEVEL">level 37</font> to qualify. To take this test visit <font color="LEVEL">Prefect Vokian of the Town of Giran</font>.<br>
+And last, the <font color="LEVEL">Mark of the War Spirit</font> is reserved for those who pass the Test of the War Spirit. You must be above <font color="LEVEL">level 39</font> to qualify. To take this test visit <font color="LEVEL">Seer Somak of the Town of Dion</font>.<br>
+<a action="bypass -h Quest OrcChange2 30513-14.htm">Return</a>
+</body></html>

+ 3 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-17.htm

@@ -0,0 +1,3 @@
+<html><body>
+You have yet to complete your first occupational change! I only train advanced Orc Fighters and Mystics. If you wish to study with me you must change occupations. Dejakyar Pa'agrio!
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-18.htm

@@ -0,0 +1,4 @@
+<html><body>
+I teach Great Orcs under the authority of the Lord of Eternal Flame, Pa'agrio!<br>
+If you are serious about changing occupations, go and find a guild that suits you.
+</body></html>

+ 3 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-19.htm

@@ -0,0 +1,3 @@
+<html><body>
+I see that you have already changed occupations. May you always use your skills for the advancement of our race! Give our enemies a taste of your awesome strength! Dejakyar Pa'agrio!
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-20.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Destroyer your level must be over 40 and you must collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Champion.<br>
+I see that you have collected all 3 marks, but lack the training to advance. Come back when you have completed your training and I will advance your occupation to Destroyer.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-21.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Destroyer your level must be over 40 and you must collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Champion.<br>
+Obviously you lack the marks and the skills to advance. Come back when you have collected all 3 marks and completed the necessary training and I will change your occupation to Destroyer.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-22.htm

@@ -0,0 +1,4 @@
+<html><body>
+Dejakar Pa'agrio! Congratulations! You are finally a proud Destroyer. Devote yourself to restoring the honor of the Orc race and you will go far!<br>
+Our guild has prepared this small gift to assist you in your journey. Take this to <font color="LEVEL">the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town</font> and you will be able to exchange it for a usable Shadow Weapon.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-23.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Destroyer your level must be over 40 and you must collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Champion.<br>
+Your training is impressive but you still have not collected all 3 marks. Return to me when you get the marks and I will advance your occupation to Destroyer.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-24.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Tyrant your level must be over 40 and you must collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Duelist.<br>
+I see that you have collected all 3 marks, but lack the training to advance. Come back when you have completed your training and I will advance your occupation to Tyrant.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-25.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Tyrant your level must be over 40 and you must collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Duelist.<br>
+Obviously you lack the marks and the skills to advance. Come back when you have collected all 3 marks and completed the necessary training and I will change your occupation to Tyrant.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-26.htm

@@ -0,0 +1,4 @@
+<html><body>
+Congratulations! You are finally a proud Tyrant. Devote yourself to restoring the honor of the Orc race and you will go far!<br>
+Our guild has prepared this small gift to assist you in your journey. Take this to <font color="LEVEL">the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town</font> and you will be able to exchange it for a usable Shadow Weapon.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-27.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Tyrant your level must be over 40 and you must collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Duelist.<br>
+Your training is impressive but you still have not collected all 3 marks. Return to me when you get the marks and I will advance your occupation to Tyrant.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-28.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become an Overlord your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the Lord.<br>
+I see that you have collected all 3 marks, but lack the training to advance. Come back when you have completed your training and I will advance your occupation to Overlord.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-29.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become an Overlord your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the Lord.<br>
+Obviously you lack the marks and the skills to advance. Come back when you have collected all 3 marks and completed the necessary training and I will change your occupation to Overlord.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-30.htm

@@ -0,0 +1,4 @@
+<html><body>
+Dejakar Pa'agrio! Congratulations! You have finally become a mighty Overlord able to lead our Orc people. I hope that you will lead us again to the glory we once knew!<br>
+Our guild has prepared this small gift to assist you in your journey. Take this to <font color="LEVEL">the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town</font> and you will be able to exchange it for a usable Shadow Weapon.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-31.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become an Overlord your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the Lord.<br>
+Your training is impressive but you still have not collected all 3 marks. Return to me when you get the marks and I will advance your occupation to Overlord.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-32.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Warcryer your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the War Spirit.<br>
+I see that you have collected all 3 marks, but lack the training to advance.  Come back when you have completed your training and I will advance your occupation to Warcryer.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-33.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Warcryer your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the War Spirit.<br>
+Obviously you lack the marks and the skills to advance. Come back when you have collected all 3 marks and completed the necessary training and I will change your occupation to Warcryer.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-34.htm

@@ -0,0 +1,4 @@
+<html><body>
+Dejakar Pa'agrio! Congratulations! You are finally a proud Warcryer. Devote yourself to restoring the honor of the Orc race and you will go far!<br>
+Our guild has prepared this small gift to assist you in your journey. Take this to <font color="LEVEL">the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town</font> and you will be able to exchange it for a usable Shadow Weapon.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/OrcChange2/30513-35.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Warcryer your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the War Spirit.<br>
+Your training is impressive but you still have not collected all 3 marks.  Return to me when you get the marks and I will advance your occupation to Warcryer.
+</body></html>

+ 268 - 0
dist/game/data/scripts/village_master/OrcChange2/OrcChange2.java

@@ -0,0 +1,268 @@
+/*
+ * Copyright (C) 2004-2015 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 village_master.OrcChange2;
+
+import ai.npc.AbstractNpcAI;
+
+import com.l2jserver.gameserver.enums.CategoryType;
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.base.ClassId;
+
+/**
+ * Orc class transfer AI.
+ * @author Adry_85
+ */
+public final class OrcChange2 extends AbstractNpcAI
+{
+	// NPCs
+	private static int[] NPCS =
+	{
+		30513, // Penatus
+		30681, // Karia
+		30704, // Garvarentz
+		30865, // Ladanza
+		30913, // Tushku
+		31288, // Aklan
+		31326, // Lambac
+		31336, // Rahorakti
+		31977, // Shaka
+	};
+	
+	// Items
+	private static final int SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE = 8870;
+	private static final int MARK_OF_CHALLENGER = 2627; // proof11x, proof21x
+	private static final int MARK_OF_PILGRIM = 2721; // proof31x, proof32x
+	private static final int MARK_OF_DUELIST = 2762; // proof21z
+	private static final int MARK_OF_WARSPIRIT = 2879; // proof32z
+	private static final int MARK_OF_GLORY = 3203; // proof11y, proof21y, proof31y, proof32y
+	private static final int MARK_OF_CHAMPION = 3276; // proof11z
+	private static final int MARK_OF_LORD = 3390; // proof31z
+	
+	// Classes
+	private static final int DESTROYER = 46;
+	private static final int TYRANT = 48;
+	private static final int OVERLORD = 51;
+	private static final int WARCRYER = 52;
+	
+	private OrcChange2()
+	{
+		super(OrcChange2.class.getSimpleName(), "village_master");
+		addStartNpc(NPCS);
+		addTalkId(NPCS);
+	}
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = null;
+		switch (event)
+		{
+			case "30513-03.htm": // master_lv3_orc006ra
+			case "30513-04.htm": // master_lv3_orc007ra
+			case "30513-05.htm": // master_lv3_orc007rat
+			case "30513-07.htm": // master_lv3_orc006ma
+			case "30513-08.htm": // master_lv3_orc007ma
+			case "30513-09.htm": // master_lv3_orc007mat
+			case "30513-10.htm": // master_lv3_orc003s
+			case "30513-11.htm": // master_lv3_orc006sa
+			case "30513-12.htm": // master_lv3_orc007sa
+			case "30513-13.htm": // master_lv3_orc007sat
+			case "30513-14.htm": // master_lv3_orc006sb
+			case "30513-15.htm": // master_lv3_orc007sb
+			case "30513-16.htm": // master_lv3_orc007sbt
+			{
+				htmltext = event;
+				break;
+			}
+			case "46":
+			case "48":
+			case "51":
+			case "52":
+			{
+				htmltext = ClassChangeRequested(player, Integer.valueOf(event));
+				break;
+			}
+		}
+		return htmltext;
+	}
+	
+	private String ClassChangeRequested(L2PcInstance player, int classId)
+	{
+		String htmltext = null;
+		if (player.isInCategory(CategoryType.THIRD_CLASS_GROUP))
+		{
+			htmltext = "30513-19.htm"; // fnYouAreThirdClass
+		}
+		
+		else if ((classId == DESTROYER) && (player.getClassId() == ClassId.orcRaider))
+		{
+			if (player.getLevel() < 40)
+			{
+				if (hasQuestItems(player, MARK_OF_CHALLENGER, MARK_OF_GLORY, MARK_OF_CHAMPION))
+				{
+					htmltext = "30513-20.htm"; // fnLowLevel11
+				}
+				else
+				{
+					htmltext = "30513-21.htm"; // fnLowLevelNoProof11
+				}
+			}
+			else if (hasQuestItems(player, MARK_OF_CHALLENGER, MARK_OF_GLORY, MARK_OF_CHAMPION))
+			{
+				takeItems(player, -1, MARK_OF_CHALLENGER, MARK_OF_GLORY, MARK_OF_CHAMPION);
+				player.setClassId(DESTROYER);
+				player.setBaseClass(DESTROYER);
+				// SystemMessage and cast skill is done by setClassId
+				player.broadcastUserInfo();
+				giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15);
+				htmltext = "30513-22.htm"; // fnAfterClassChange11
+			}
+			else
+			{
+				htmltext = "30513-23.htm"; // fnNoProof11
+			}
+		}
+		else if ((classId == TYRANT) && (player.getClassId() == ClassId.orcMonk))
+		{
+			if (player.getLevel() < 40)
+			{
+				if (hasQuestItems(player, MARK_OF_CHALLENGER, MARK_OF_GLORY, MARK_OF_DUELIST))
+				{
+					htmltext = "30513-24.htm"; // fnLowLevel21
+				}
+				else
+				{
+					htmltext = "30513-25.htm"; // fnLowLevelNoProof21
+				}
+			}
+			else if (hasQuestItems(player, MARK_OF_CHALLENGER, MARK_OF_GLORY, MARK_OF_DUELIST))
+			{
+				takeItems(player, -1, MARK_OF_CHALLENGER, MARK_OF_GLORY, MARK_OF_DUELIST);
+				player.setClassId(TYRANT);
+				player.setBaseClass(TYRANT);
+				// SystemMessage and cast skill is done by setClassId
+				player.broadcastUserInfo();
+				giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15);
+				htmltext = "30513-26.htm"; // fnAfterClassChange21
+			}
+			else
+			{
+				htmltext = "30513-27.htm"; // fnNoProof21
+			}
+		}
+		else if ((classId == OVERLORD) && (player.getClassId() == ClassId.orcShaman))
+		{
+			if (player.getLevel() < 40)
+			{
+				if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_GLORY, MARK_OF_LORD))
+				{
+					htmltext = "30513-28.htm"; // fnLowLevel31
+				}
+				else
+				{
+					htmltext = "30513-29.htm"; // fnLowLevelNoProof31
+				}
+			}
+			else if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_GLORY, MARK_OF_LORD))
+			{
+				takeItems(player, -1, MARK_OF_PILGRIM, MARK_OF_GLORY, MARK_OF_LORD);
+				player.setClassId(OVERLORD);
+				player.setBaseClass(OVERLORD);
+				// SystemMessage and cast skill is done by setClassId
+				player.broadcastUserInfo();
+				giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15);
+				htmltext = "30513-30.htm"; // fnAfterClassChange31
+			}
+			else
+			{
+				htmltext = "30513-31.htm"; // fnNoProof31
+			}
+		}
+		else if ((classId == WARCRYER) && (player.getClassId() == ClassId.orcShaman))
+		{
+			if (player.getLevel() < 40)
+			{
+				if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_GLORY, MARK_OF_WARSPIRIT))
+				{
+					htmltext = "30513-32.htm"; // fnLowLevel32
+				}
+				else
+				{
+					htmltext = "30513-33.htm"; // fnLowLevelNoProof32
+				}
+			}
+			else if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_GLORY, MARK_OF_WARSPIRIT))
+			{
+				takeItems(player, -1, MARK_OF_PILGRIM, MARK_OF_GLORY, MARK_OF_WARSPIRIT);
+				player.setClassId(WARCRYER);
+				player.setBaseClass(WARCRYER);
+				// SystemMessage and cast skill is done by setClassId
+				player.broadcastUserInfo();
+				giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15);
+				htmltext = "30513-34.htm"; // fnAfterClassChange32
+			}
+			else
+			{
+				htmltext = "30513-35.htm"; // fnNoProof32
+			}
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = null;
+		if (player.isInCategory(CategoryType.FOURTH_CLASS_GROUP) && (player.isInCategory(CategoryType.ORC_MALL_CLASS) || player.isInCategory(CategoryType.ORC_FALL_CLASS)))
+		{
+			htmltext = "30513-01.htm"; // fnYouAreFourthClass
+		}
+		else if (player.isInCategory(CategoryType.ORC_MALL_CLASS) || player.isInCategory(CategoryType.ORC_FALL_CLASS))
+		{
+			final ClassId classId = player.getClassId();
+			if ((classId == ClassId.orcRaider) || (classId == ClassId.destroyer))
+			{
+				htmltext = "30513-02.htm"; // fnClassList1
+			}
+			else if ((classId == ClassId.orcMonk) || (classId == ClassId.tyrant))
+			{
+				htmltext = "30513-06.htm"; // fnClassList2
+			}
+			else if ((classId == ClassId.orcShaman) || (classId == ClassId.overlord) || (classId == ClassId.warcryer))
+			{
+				htmltext = "30513-10.htm"; // fnClassList3
+			}
+			else
+			{
+				htmltext = "30513-17.htm"; // fnYouAreFirstClass
+			}
+		}
+		else
+		{
+			htmltext = "30513-18.htm"; // fnClassMismatch
+		}
+		return htmltext;
+	}
+	
+	public static void main(String[] args)
+	{
+		new OrcChange2();
+	}
+}

+ 2 - 2
dist/game/data/scripts/village_master/elven_human_buffers_2/__init__.py

@@ -16,8 +16,8 @@ MARK_OF_TRUST       = 2734
 MARK_OF_HEALER      = 2820
 MARK_OF_REFORMER    = 2821
 MARK_OF_LIFE        = 3140
-#MAXIMILIAN, HOLLINT,ORVEN,SQUILLARI,BERNHARD,SIEGMUND,GREGORY,HALASTER,BARYL,MARIE,RAHORAKI
-NPCS=[30120,30191,30857,30905,31276,31321,31279,31755,31968,32095,31336]
+#MAXIMILIAN, HOLLINT,ORVEN,SQUILLARI,BERNHARD,SIEGMUND,GREGORY,HALASTER,BARYL,MARIE
+NPCS=[30120,30191,30857,30905,31276,31321,31279,31755,31968,32095]
 #event:[newclass,req_class,req_race,low_ni,low_i,ok_ni,ok_i,req_item]
 #low_ni : level too low, and you dont have quest item
 #low_i: level too low, despite you have the item

+ 0 - 4
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-01.htm

@@ -1,4 +0,0 @@
-<html><body>
-An occupational change is when one with certain abilities and experience gets promoted to a higher-level occupation. If you are an Monk you can change occupations to a<font color="LEVEL"> Tyrant</font>.<br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-02.htm">Tyrant</a>
-</body></html>

+ 0 - 6
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-02.htm

@@ -1,6 +0,0 @@
-<html><body>
-Tyrants are the ones who spread the wisdom of power, the highest of Priests. They do not rely on swords or axes, but fight with their bare fists, they do not feel any fear.<br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-03.htm">Description of the Tyrant</a><br>
-<a action="bypass -h Quest orc_occupation_change_2 TY">Change occupations to a Tyrant.</a><br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-01.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-03.htm

@@ -1,7 +0,0 @@
-<html><body>
-The Tyrant is an advanced model of an Monk. They are armed with light equipment, dodge opponents attacks and strike critical damages to them during melee. During party play they are the ones who reliably give the opponents great damage.<br>
-They have basic skills such as strengthening their light equipment and melee weapons, and by giving up their defense and stamina they can increase their attack speed for a short period of time.<br>
-To be a Tyrant, your level must be over 40 and you need to collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Duelist.<br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-04.htm">Explanation of marks</a><br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-02.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-04.htm

@@ -1,7 +0,0 @@
-<html><body>
-You must pass individual tests to obtain marks.<br>
-The<font color="LEVEL"> Mark of the Challenger</font> is only given to those who pass the Trial of the Challenger. You must be above<font color="LEVEL"> level 35</font> to take the test. And to take the Trial of the Challenger, visit<font color="LEVEL"> Kash of Dion Castle Town</font>.<br>
-The<font color="LEVEL"> Mark of Glory</font> is only given to those who pass the Testimony of Glory. You must be above<font color="LEVEL"> level 37</font> to take the test. To take the Testimony of Glory, visit<font color="LEVEL"> Prefect Vokian of Giran Castle Town</font>.<br>
-And finally the<font color="LEVEL"> Mark of the Duelist</font> is only given to those who pass the Test of the Duelist. You must be above<font color="LEVEL"> level 39</font> to take the test. To take the Test of the Duelist, meet<font color="LEVEL"> Duelist Kaien of the Town of Oren</font>.<br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-03.htm">Return</a>
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-05.htm

@@ -1,4 +0,0 @@
-<html><body>
-An occupational change is when one with certain abilities and experience gets promoted to a higher-level occupation. If you are an Raider you can change occupations to a<font color="LEVEL"> Destroyer</font>.<br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-06.htm">Destroyer</a>
-</body></html>

+ 0 - 6
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-06.htm

@@ -1,6 +0,0 @@
-<html><body>
-Destroyers are the most excellent Fighter of the Orcs, they fight with huge weapons until they fall, the name Destroyer is just right for them.<br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-07.htm">Description of the Destroyer</a><br>
-<a action="bypass -h Quest orc_occupation_change_2 DE">Change occupations to a Destroyer.</a><br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-05.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-07.htm

@@ -1,7 +0,0 @@
-<html><body>
-A Destroyer is a courageous Orc Fighter who carries huge swords and axes at the front line, they are an advanced model of an Raider. They normally carry huge weapons and slay through great numbers of enemies. They usually use polearms during fights with numerous opponents, but they do not succumb during 1 on 1 duels either.<br>
-Their basic skills support them to use polearms, swords and clubs. They also have a skill which will increase their offense and defense, if they are in an emergency.<br>
-To be a Destroyer, your level must be over 40 and you need to collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Champion.<br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-08.htm">Ask about marks.</a><br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-06.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-08.htm

@@ -1,7 +0,0 @@
-<html><body>
-You must pass individual tests to obtain marks.<br>
-The<font color="LEVEL"> Mark of the Challenger</font> is only given to those who pass the Trial of the Challenger. You must be above<font color="LEVEL"> level 35</font> to take the test. And to take the Trial of the Challenger, visit<font color="LEVEL"> Kash of Dion Castle Town</font>.<br>
-The<font color="LEVEL"> Mark of Glory</font> is only given to those who pass the Testimony of Glory. You must be above<font color="LEVEL"> level 37</font> to take the test. To take the Testimony of Glory, visit<font color="LEVEL"> Prefect Vokian of Giran Castle Town</font>.<br>
-And finally, the<font color="LEVEL"> Mark of the Champion</font> is only given to those who pass the Test of the Champion. You must be above<font color="LEVEL"> level 39</font> to take the test. To take the Test of the Champion, visit<font color="LEVEL"> Veteran Ascalon of Giran Castle Town</font>.<br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-07.htm">Return</a>
-</body></html>

+ 0 - 5
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-09.htm

@@ -1,5 +0,0 @@
-<html><body>
-An occupational change is when one with certain abilities and experience gets promoted to a higher-level occupation. If you are an Shaman you can change occupations to an<font color="LEVEL"> Overlord</font> or a<font color="LEVEL"> Warcryer</font>. Which occupation do you want to learn about?<br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-10.htm">Overlord</a><br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-13.htm">Warcryer</a>
-</body></html>

+ 0 - 6
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-10.htm

@@ -1,6 +0,0 @@
-<html><body>
-An Overlord is an Orc Shaman with the qualities to be nominated as head of a tribe. Only the Overlords can lead our blood pledge to a higher level.<br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-11.htm">Description of the Overlord</a><br>
-<a action="bypass -h Quest orc_occupation_change_2 OL">Change occupations to an Overlord.</a><br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-09.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-11.htm

@@ -1,7 +0,0 @@
-<html><body>
-An Overlord is an Shaman developed in to a leader, that is why he has strong basic Supplementary Magic so he can protect and make his blood pledge members stronger. It can almost be said that this occupation is a specialized occupation for blood pledge wars.<br>
-Of course, the basic skills are used to support blood pledge members, increasing their abilities while decreasing the opponents abilities.<br>
-To be an Overlord, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the Lord.<br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-12.htm">Ask about marks.</a><br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-10.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-12.htm

@@ -1,7 +0,0 @@
-<html><body>
-You must pass individual tests to obtain marks.<br>
-The<font color="LEVEL"> Mark of the Pilgrim</font> is only given to those who pass the Trial of the Pilgrim. You must be above<font color="LEVEL"> level 35</font> to take the test. And to take the Trial of the Pilgrim, visit<font color="LEVEL"> Hermit Santiago in the Estate of Gludio</font>. He lives at a farm with Peter.<br>
-The<font color="LEVEL"> Mark of Glory</font> is only given to those who pass the Testimony of Glory. You must be above<font color="LEVEL"> level 37</font> to take the test. To take the Testimony of Glory, visit<font color="LEVEL"> Prefect Vokian of Giran Castle Town</font>.<br>
-And finally, the<font color="LEVEL"> Mark of the Lord</font> is only given to those who pass the Test of the Lord. You must be above<font color="LEVEL"> level 39</font> to take the test. To take the Test of the Lord, visit<font color="LEVEL"> Flame Lord Kakai of the Orc Village</font>.<br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-11.htm">Return</a>
-</body></html>

+ 0 - 6
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-13.htm

@@ -1,6 +0,0 @@
-<html><body>
-Warcryers are an advancement of Shamans, they sing during the peak of war to pull up the fighting spirit of our force and they support us during war.<br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-14.htm">Description of the Warcryer</a><br>
-<a action="bypass -h Quest orc_occupation_change_2 WC">Change occupations to a Warcryer.</a><br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-09.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-14.htm

@@ -1,7 +0,0 @@
-<html><body>
-If an Overlord is a Shaman who specializes in blood pledge wars, a Warcryer specializes in party play. A Warcryer uses a spell called Song of War to heal, increase the fighting spirit and the abilities of our forces, and, on the other hand he curses the opponents to disrupt them.<br>
-Of course they have offensive magic skills, increasing attack speed, evasion, critical attack power by party members, and they have skills that will decrease the ability of the opponents.<br>
-To be a Warcryer, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the War Spirit.<br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-15.htm">Explanation of marks</a><br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-13.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-15.htm

@@ -1,7 +0,0 @@
-<html><body>
-You must pass individual tests to obtain marks.<br>
-The<font color="LEVEL"> Mark of the Pilgrim</font> is only given to those who pass the Trial of the Pilgrim. You must be above<font color="LEVEL"> level 35</font> to take the test. And to take the Trial of the Pilgrim, visit<font color="LEVEL"> Hermit Santiago in the Estate of Gludio</font>. He lives at a farm with Peter.<br>
-The<font color="LEVEL"> Mark of Glory</font> is only given to those who pass the Testimony of Glory. You must be above<font color="LEVEL"> level 37</font> to take the test. To take the Testimony of Glory, visit<font color="LEVEL"> Prefect Vokian of Giran Castle Town</font>.<br>
-And finally, the<font color="LEVEL"> Mark of the War Spirit</font> is only given to those who pass the Test of the War Spirit. You must be above<font color="LEVEL"> level 39</font> to take the test. To take the Test of the War Spirit, visit<font color="LEVEL"> Seer Somak of Dion Castle Town</font>.<br>
-<a action="bypass -h Quest orc_occupation_change_2 30513-14.htm">Return</a>
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-16.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Tyrant, your level must be over 40 and you need to collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Duelist.<br>
-But what is this, you level is not high enough and you haven't even collected all of the marks. Come back after collecting the marks and after more training. If you fulfill these obligations I will change your occupation to a Tyrant.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-17.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Tyrant, your level must be over 40 and you need to collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Duelist.<br>
-You did collect all of the marks, but your level is not high enough. Come back to me after more training. Then I shall change your occupation to a Tyrant.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-18.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Tyrant, your level must be over 40 and you need to collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Duelist.<br>
-You have acquired the level but you still haven't brought me all of the marks. Come back after collecting all of the marks. If you fulfill these obligations I will change your occupation to a Tyrant.
-</body></html>

+ 0 - 3
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-19.htm

@@ -1,3 +0,0 @@
-<html><body>
-Dejakyar Paagrio! Congratulations! Now you have finally become a proud Tyrant. Continuously endeavor not to stain the honor of the Orcs.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-20.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Destroyer, your level must be over 40 and you need to collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Champion.<br>
-But what is this, you level is not high enough and you haven't even collected all of the marks. Come back after collecting the marks and after more training. If you fulfill these obligations I will change your occupation to a Destroyer.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-21.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Destroyer, your level must be over 40 and you need to collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Champion.<br>
-You did collect all of the marks, but your level is not high enough. Come back to me after more training. Then I shall change your occupation to a Destroyer.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-22.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Destroyer, your level must be over 40 and you need to collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Champion.<br>
-You have acquired the level but you still haven't brought me all of the marks. Come back after collecting all of the marks. If you fulfill these obligations, I will change your occupation to a Destroyer.
-</body></html>

+ 0 - 3
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-23.htm

@@ -1,3 +0,0 @@
-<html><body>
-Dejakyar Paagrio! Congratulations! Now you have finally become a proud Destroyer. Continuously endeavor not to stain the honor of the Orcs.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-24.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be an Overlord, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the Lord.<br>
-But what is this, you level is not high enough and you haven't even collected all of the marks. Come back after collecting the marks and after more training. If you fulfill these obligations I will change your occupation to an Overlord.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-25.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be an Overlord, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the Lord.<br>
-You did collect all of the marks, but your level is not high enough. Come back to me after more training. Then I shall change your occupation to an Overlord.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-26.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be an Overlord, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the Lord.<br>
-You have acquired the level but you still haven't brought me all of the marks. Come back after collecting all Tokens. If you fulfill these obligations, I will change your occupation to an Overlord.
-</body></html>

+ 0 - 3
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-27.htm

@@ -1,3 +0,0 @@
-<html><body>
-Dejakyar Paagrio! Congratulations! Now you have finally become a proud Overlord. Continuously endeavor to bring honor to the Orcs, and lead us well!
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-28.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Warcryer, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the War Spirit.<br>
-But what is this, you level is not high enough and you haven't even collected all of the marks. Come back after collecting the marks and after more training. If you fulfill these obligations I will change your occupation to a Warcryer.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-29.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Warcryer, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the War Spirit.<br>
-You did collect all of the marks, but your level is not high enough. Come back to me after more training. Then I shall change your occupation to a Warcryer.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-30.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Warcryer, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the War Spirit.<br>
-You have acquired the level but you still haven't brought me all of the marks. Come back after collecting all marks. If you fulfill these obligations, I will change your occupation to a Warcryer.
-</body></html>

+ 0 - 3
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-31.htm

@@ -1,3 +0,0 @@
-<html><body>
-Dejakyar Paagrio! Congratulations! Now you have finally become a proud Warcryer. Continuously endeavor not to stain the honor of the Orcs.
-</body></html>

+ 0 - 3
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-32.htm

@@ -1,3 +0,0 @@
-<html><body>
-Haven't you already changed occupations? You who pursue great strength, I hope you will always use your power to recover the glory of our race. Give your enemies a taste of your unthinkable strength! Dejakyar Paagrio!
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-33.htm

@@ -1,4 +0,0 @@
-<html><body>
-You still haven't done your 1st occupational change! I train advanced Orc Fighters and Mages. You do not qualify to learn from me.<br>
-Go back to your home town and change to your 1st occupation and train more before coming back to me. Dejakyar Paagrio!
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/orc_occupation_change_2/30513-34.htm

@@ -1,4 +0,0 @@
-<html><body>
-I have received the authority of Paagrio, the father of eternal Flame, and I teach the great Orcs. Could one like you dare to succeed the power of our race?<br>
-If you really want to change occupations go look for a guild suitable for yourself.
-</body></html>

+ 0 - 119
dist/game/data/scripts/village_master/orc_occupation_change_2/__init__.py

@@ -1,119 +0,0 @@
-# Created by DrLecter, based on DraX' scripts
-# This script is part of the L2J Official Datapack Project
-# Visit us at http://www.l2jdp.com/
-# See readme-dp.txt and gpl.txt for license and distribution details
-# Let us know if you did not receive a copy of such files.
-import sys
-
-from com.l2jserver.gameserver.model.quest        import State
-from com.l2jserver.gameserver.model.quest        import QuestState
-from com.l2jserver.gameserver.model.quest import Quest as JQuest
-
-qn = "orc_occupation_change_2"
-
-MARK_OF_CHALLENGER   = 2627
-MARK_OF_PILGRIM      = 2721
-MARK_OF_DUELIST      = 2762
-MARK_OF_WARSPIRIT    = 2879
-MARK_OF_GLORY        = 3203
-MARK_OF_CHAMPION     = 3276
-MARK_OF_LORD         = 3390
-#PENATUS, KARIA, GARVARENTZ, LADANZA, TUSHKU, AKLAN, LAMBAC, SHAKA
-NPCS=[30513,30681,30704,30865,30913,31288,31326,31977]
-
-#event:[newclass,req_class,req_race,low_ni,low_i,ok_ni,ok_i,[req_items]]
-#low_ni : level too low, and you dont have quest item
-#low_i: level too low, despite you have the item
-#ok_ni: level ok, but you don't have quest item
-#ok_i: level ok, you got quest item, class change takes place
-CLASSES = {
-    "TY":[48,47,3,"16","17","18","19",[MARK_OF_CHALLENGER,MARK_OF_GLORY,MARK_OF_DUELIST]],
-    "DE":[46,45,3,"20","21","22","23",[MARK_OF_CHALLENGER,MARK_OF_GLORY,MARK_OF_CHAMPION]],
-    "OL":[51,50,3,"24","25","26","27",[MARK_OF_PILGRIM,MARK_OF_GLORY,MARK_OF_LORD]],
-    "WC":[52,50,3,"28","29","30","31",[MARK_OF_PILGRIM,MARK_OF_GLORY,MARK_OF_WARSPIRIT]],
-    }
-#Messages
-default = "No Quest"
-
-def change(st,player,newclass,items) :
-   for item in items :
-      st.takeItems(item,1)
-   st.playSound("ItemSound.quest_fanfare_2")
-   player.setClassId(newclass)
-   player.setBaseClass(newclass)
-   player.broadcastUserInfo()
-   return
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)
-
- def onAdvEvent (self,event,npc,player) :
-   npcId    = npc.getId()
-   htmltext = default
-   suffix = ''
-   st = self.getQuestState(player, False)
-   if not st : return
-   race     = player.getRace().ordinal()
-   classid  = player.getClassId().getId()
-   level    = player.getLevel()
-   if npcId not in NPCS : return
-   if not event in CLASSES.keys() :
-     return event
-   else :
-     newclass,req_class,req_race,low_ni,low_i,ok_ni,ok_i,req_item=CLASSES[event]
-     if race == req_race and classid == req_class :
-        item = True
-        for i in req_item :
-            if not st.getQuestItemsCount(i):
-               item = False
-        if level < 40 :
-           suffix = low_i
-           if not item :
-              suffix = low_ni
-        else :
-           if not item :
-              suffix = ok_ni
-           else :
-              suffix = ok_i
-              change(st,player,newclass,req_item)
-     st.exitQuest(1)
-     htmltext = "30513-"+suffix+".htm"
-   return htmltext
-
- def onTalk (self,npc,player):
-   st = self.getQuestState(player, True)
-   npcId = npc.getId()
-   race = player.getRace().ordinal()
-   classId = player.getClassId()
-   id = classId.getId()
-   htmltext = default
-   if player.isSubClassActive() :
-      st.exitQuest(1)
-      return htmltext
-   # Orcs only
-   if npcId in NPCS :
-     htmltext = "30513"
-     if race in [3] :
-       if id == 47 :      # orc monk
-         return htmltext+"-01.htm"
-       elif id == 45 :    # orc raider
-         return htmltext+"-05.htm"
-       elif id == 50 :    # orc shaman
-         return htmltext+"-09.htm"
-       elif classId.level() == 0 : # first occupation change not made yet
-         htmltext += "-33.htm"
-       elif classId.level() >= 2 : # second/third occupation change already made
-         htmltext += "-32.htm"
-     else :
-       htmltext += "-34.htm"  # other races
-   st.exitQuest(1)
-   return htmltext
-
-QUEST   = Quest(99993,qn,"village_master")
-
-
-
-for npc in NPCS :
-    QUEST.addStartNpc(npc)
-    QUEST.addTalkId(npc)