Преглед изворни кода

Retail-Like Elf Human class transfer Ai in Java (Cleric part).

Adry85 пре 9 година
родитељ
комит
4d49f1992c
71 измењених фајлова са 372 додато и 267 уклоњено
  1. 1 1
      dist/game/data/html/villagemaster/30120.htm
  2. 1 1
      dist/game/data/html/villagemaster/30191.htm
  3. 1 1
      dist/game/data/html/villagemaster/30857.htm
  4. 1 1
      dist/game/data/html/villagemaster/30905.htm
  5. 1 1
      dist/game/data/html/villagemaster/31276.htm
  6. 1 1
      dist/game/data/html/villagemaster/31279.htm
  7. 1 1
      dist/game/data/html/villagemaster/31321.htm
  8. 1 1
      dist/game/data/html/villagemaster/31328.htm
  9. 1 1
      dist/game/data/html/villagemaster/31755.htm
  10. 1 1
      dist/game/data/html/villagemaster/31968.htm
  11. 1 1
      dist/game/data/html/villagemaster/32095.htm
  12. 1 1
      dist/game/data/scripts.cfg
  13. 0 1
      dist/game/data/scripts/village_master/DarkElvenChange2/DarkElvenChange2.java
  14. 4 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-01.htm
  15. 5 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-02.htm
  16. 6 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-03.htm
  17. 7 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-04.htm
  18. 7 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-05.htm
  19. 6 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-06.htm
  20. 7 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-07.htm
  21. 7 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-08.htm
  22. 4 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-09.htm
  23. 5 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-10.htm
  24. 7 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-11.htm
  25. 7 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-12.htm
  26. 3 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-13.htm
  27. 3 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-14.htm
  28. 4 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-15.htm
  29. 4 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-16.htm
  30. 4 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-17.htm
  31. 4 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-18.htm
  32. 4 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-19.htm
  33. 4 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-20.htm
  34. 4 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-21.htm
  35. 4 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-22.htm
  36. 4 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-23.htm
  37. 4 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-24.htm
  38. 4 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-25.htm
  39. 4 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-26.htm
  40. 4 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-27.htm
  41. 226 0
      dist/game/data/scripts/village_master/ElfHumanClericChange2/ElfHumanClericChange2.java
  42. 0 1
      dist/game/data/scripts/village_master/OrcChange2/OrcChange2.java
  43. 0 4
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-01.htm
  44. 0 8
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-02.htm
  45. 0 8
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-03.htm
  46. 0 7
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-04.htm
  47. 0 6
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-05.htm
  48. 0 8
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-06.htm
  49. 0 8
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-07.htm
  50. 0 7
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-08.htm
  51. 0 8
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-09.htm
  52. 0 8
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-10.htm
  53. 0 7
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-11.htm
  54. 0 4
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-12.htm
  55. 0 4
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-13.htm
  56. 0 4
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-14.htm
  57. 0 3
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-15.htm
  58. 0 4
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-16.htm
  59. 0 4
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-17.htm
  60. 0 4
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-18.htm
  61. 0 3
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-19.htm
  62. 0 4
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-20.htm
  63. 0 4
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-21.htm
  64. 0 4
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-22.htm
  65. 0 3
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-23.htm
  66. 0 4
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-24.htm
  67. 0 4
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-25.htm
  68. 0 3
      dist/game/data/scripts/village_master/elven_human_buffers_2/30120-26.htm
  69. 0 114
      dist/game/data/scripts/village_master/elven_human_buffers_2/__init__.py
  70. 2 2
      dist/game/data/scripts/village_master/elven_human_fighters_2/__init__.py
  71. 2 2
      dist/game/data/scripts/village_master/elven_human_mystics_2/__init__.py

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

@@ -1,6 +1,6 @@
 <html><body>High Priest Maximilian:<br>
 Pleased to meet you. I am High Priest Maximilian of this temple, may Einhasad's light comfort your soul's distress. Why have you come here, to the heart of our faith?<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 ElfHumanClericChange2">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/30191.htm

@@ -1,6 +1,6 @@
 <html><body>High Priest Hollint:<br>
 Welcome! I am High Priest Hollint of this temple. Why have you come here, where Einhasad of the light is served? Do you perhaps wish to embark on the difficult path of a Priest?<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 ElfHumanClericChange2">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/30857.htm

@@ -1,7 +1,7 @@
 <html><body>High Priest Orven:<br>
 Welcome to Aden Town, the heart of the kingdom. People speak of this place as the kingdom's cultural and religious center. If that is true, then it is also the apex of faith that all who serve Einhasad must preserve....<br>
 But true holiness can always be found in the ordinary, the everyday, the mundane. The prayer of a commoner may resonate more deeply with the mother of light than even the prayer of a high priest, so perhaps this place is not so different from other temples.<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 ElfHumanClericChange2">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/30905.htm

@@ -1,6 +1,6 @@
 <html><body>High Priest Squillari:<br>
 Welcome, traveler. May the goddess of light's providence be always with you. I am Squillari, a servant of Einhasad, who lives to help fulfill the will of the goddess of light in this land of water. Traveler, it would be a blessing if I could help you in your search for instruction.<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 ElfHumanClericChange2">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/31276.htm

@@ -2,7 +2,7 @@
 What in the world are you doing there! Don't be shy -- come here! I won't bite.<br>
 Ah, you certainly look like someone worth meeting. As you can see, the best warriors gather here in Goddard.<br>
 I've been noticing a number of talented young people like yourself these days. Something must be in the works, eh?<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 npc_%objectId%_Quest elven_human_fighters_2">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/31279.htm

@@ -2,7 +2,7 @@
 I am glad to meet a talented young person like yourself during these troubled times. I am High Priest Gregory.<br>
 As you know, Goddard is all abuzz these days with rumors of war between the Varka Silenos and the Ketra Orcs, as well as news of the recent awakening of the fire dragon, Valakas. The strength of young warriors like you is desperately needed in these anxious days.<br>
 And we, the apostles of light, must provide guidance and wisdom...<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 ElfHumanClericChange2">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/31321.htm

@@ -1,7 +1,7 @@
 <html><body>Grand Master Siegmund:<br>
 What do you think, young one? As a training opportunity, would you care to match your skills against those of the masters of this place? Although their teaching style is a little rough, I can promise it is very effective.<br>
 Worried about getting hurt during training? Ah! A Magister can be quickly called from the library over there to cast a cure spell, should that be necessary.<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 npc_%objectId%_Quest elven_human_fighters_2">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/31328.htm

@@ -1,7 +1,7 @@
 <html><body>High Priest Innocentin:<br>
 I can no longer hear the goddess' voice; I can only recite with my lips the knowledge my mind was once granted. I am nothing more than an empty vessel...<br>
 Nevertheless, if you seek my teaching, I will try to help you.<br>
-<a action="bypass -h npc_%objectId%_Quest DarkElvenChange2">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest ElfHumanClericChange2">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/31755.htm

@@ -1,7 +1,7 @@
 <html><body>Grand Magister Halaster:<br>
 The Town of Goddard has produced many brave war heroes over the years, but it is also well-regarded as a center of learning and study.<br>
 Do not underestimate these people simply because they live in a relatively wild and untamed region. In fact, the harsher their lives become, the greater their thirst for knowledge. That knowledge is far more than academic, you understand -- it has the power to improve their chances of survival.<br>
-<a action="bypass -h npc_%objectId%_Quest elven_human_buffers_2">"Tell me about the second class transfer."</a><br>
+<a action="bypass -h npc_%objectId%_Quest elven_human_mystics_2">"Tell me about the 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/31968.htm

@@ -2,7 +2,7 @@
 How long will the peace in Schuttgart last?<br>
 It is not exaggerating much to say that the peace is primarily kept thanks to the freezing weather and rugged terrain. However, the whole area is now infested with bandits. Our peaceful lifestyle is like sweet honey, but unless we take precautions, we may all soon come to taste only bitterness.<br>
 In times like this, the strength of warriors and disciples like ourselves is more important than ever.<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 ElfHumanClericChange2">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/32095.htm

@@ -1,6 +1,6 @@
 <html><body>High Priest Marie:<br>
 Greetings, young seeker! I am but a humble servant of the Creator Einhasad, whose sole purpose is passing on her divine wisdom. I am merely an instrument in proclaiming her sacred teachings to the world.<br>
-<a action="bypass -h npc_%objectId%_Quest elven_human_buffers_2">Listen to information about first class transfer.</a><br>
+<a action="bypass -h npc_%objectId%_Quest elven_human_mystics_1">Listen to information about first class transfer.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Clan">Clan.</a><br>
 <a action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</a><br>
 <a action="bypass -h npc_%objectId%_Quest ShadowWeapons">Use Shadow Weapon Exchange Coupon.</a><br>

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

@@ -162,7 +162,7 @@ village_master/Alliance/Alliance.java
 village_master/DarkElvenChange1/DarkElvenChange1.java
 village_master/DarkElvenChange2/DarkElvenChange2.java
 village_master/dwarven_occupation_change/__init__.py
-village_master/elven_human_buffers_2/__init__.py
+village_master/ElfHumanClericChange2/ElfHumanClericChange2.java
 village_master/elven_human_fighters_1/__init__.py
 village_master/elven_human_fighters_2/__init__.py
 village_master/elven_human_mystics_1/__init__.py

+ 0 - 1
dist/game/data/scripts/village_master/DarkElvenChange2/DarkElvenChange2.java

@@ -35,7 +35,6 @@ public final class DarkElvenChange2 extends Quest
 	// NPCs
 	private static int[] NPCS =
 	{
-		31328, // Innocentin
 		30195, // Brecson
 		30699, // Medown
 		30474, // Angus

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-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>

+ 5 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-02.htm

@@ -0,0 +1,5 @@
+<html><body>
+An occupational change occurs when one advances to a higher-level occupation. Clerics may advance to <font color="LEVEL">Bishop</font> or <font color="LEVEL">Prophet</font>. Which occupation would you like to learn about?<br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-03.htm">Bishop</a><br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-06.htm">Prophet</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-03.htm

@@ -0,0 +1,6 @@
+<html><body>
+Bishops trust in the gods and use their power to heal and restore. They are the best practitioners of healing magic.<br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-04.htm">Description of the Bishop</a><br>
+<a action="bypass -h Quest ElfHumanClericChange2 16">Change occupation to Bishop.</a><br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-02.htm">Return</a>
+</body></html>

+ 7 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-04.htm

@@ -0,0 +1,7 @@
+<html><body>
+The Bishop is an expert in healing magic. He fights best in groups, and becomes vital in party play or siege. Even strong fighters will appreciate the presence of a Bishop.<br>
+Bishops can revive the dead and are capable of strong white magic attacks.<br>
+To be a Bishop, your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Healer.<br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-05.htm">Ask about marks.</a><br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-03.htm">Return</a>
+</body></html>

+ 7 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-05.htm

@@ -0,0 +1,7 @@
+<html><body>
+Each mark requires its own trial.<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 you must 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 Trust</font> is reserved for those who pass the Testimony of Trust. You must be above <font color="LEVEL">level 37</font> to qualify. To take this test you must  visit <font color="LEVEL">High Priest Hollint at the Town of Oren</font>.<br>
+And last, the <font color="LEVEL">Mark of the Healer</font> is reserved for those who pass the Test of the Healer. You must be above <font color="LEVEL">level 39</font> to qualify. To take this test you must visit <font color="LEVEL">Priest Bandellos in the temple of the Town of Giran</font>.<br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-03.htm">Return</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-06.htm

@@ -0,0 +1,6 @@
+<html><body>
+Prophets are priests who practice the highest level of supplementary magic. Prophets are more mercenary than other priests.<br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-07.htm">Description of the Prophet</a><br>
+<a action="bypass -h Quest ElfHumanClericChange2 17">Change occupation to Prophet.</a><br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-02.htm">Return</a>
+</body></html>

+ 7 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-07.htm

@@ -0,0 +1,7 @@
+<html><body>
+The Prophet is an expert in supplementary magic. Supplementary magic mainly strengthens allies. Prophets must possess heavy equipment and extra strength before fighting monsters. Prophets strengthen the force of their party, especially during battle.<br>
+Their supplementary magic increases attack power, hit rate, evasion and defense.<br>
+To be a Prophet, your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Reformer.<br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-08.htm">Ask about marks.</a><br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-06.htm">Return</a>
+</body></html>

+ 7 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-08.htm

@@ -0,0 +1,7 @@
+<html><body>
+Each mark requires its own trial.<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 you must 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 Trust</font> is reserved for those who pass the Testimony of Trust. You must be above <font color="LEVEL">level 37</font> to qualify. To take this test, visit <font color="LEVEL">High Priest Hollint at the Town of Oren</font>.<br>
+And last, the <font color="LEVEL">Mark of the Reformer</font> is reserved for those who pass the Trial of the Reformer. You must be above <font color="LEVEL">level 39</font> to qualify. To take this test, visit <font color="LEVEL">Priestess Pupina at the temple of the Town of Giran</font>.<br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-06.htm">Return</a>
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-09.htm

@@ -0,0 +1,4 @@
+<html><body>
+An occupational change occurs when one advances to a higher-level occupation. An Oracle can advance to <font color="LEVEL">Elder</font>. An Elven Priest does not advance.<br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-10.htm">Elder</a>
+</body></html>

+ 5 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-10.htm

@@ -0,0 +1,5 @@
+<html><body>
+The Elder serves Eva, the Goddess of Water. The goddess endows Elders with her magical powers.<br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-11.htm">Description of the Elder</a><br>
+<a action="bypass -h Quest ElfHumanClericChange2 30">Change occupation to Elder.</a>
+</body></html>

+ 7 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-11.htm

@@ -0,0 +1,7 @@
+<html><body>
+Elders practice both healing and supplementary magic. Elders do not specialize in one particular skill and thus are quite useful during small party play.<br>
+They increase defense and evasion and are capable of healing allies and inflicting strong damage on the undead.<br>
+To be an Elder, your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Life, and the Mark of the Healer.<br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-12.htm">Ask about marks.</a><br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-10.htm">Return</a>
+</body></html>

+ 7 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-12.htm

@@ -0,0 +1,7 @@
+<html><body>
+Each mark requires its own trial.<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 the <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 Life</font> is reserved for those who pass the Testimony of Life. You must be above <font color="LEVEL">level 37</font> to take the test. To take this trial, visit <font color="LEVEL">Master Cardien of the Town of Dion</font>.<br>
+And last, the <font color="LEVEL">Mark of the Healer</font> is reserved for those who pass the Test of the Healer. You must be above <font color="LEVEL">level 39</font> to qualify. To take the Test of the Healer, visit <font color="LEVEL">Priest Bandellos in the temple of the Town of Giran</font>.<br>
+<a action="bypass -h Quest ElfHumanClericChange2 30120-11.htm">Return</a>
+</body></html>

+ 3 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-13.htm

@@ -0,0 +1,3 @@
+<html><body>
+You have not changed occupations once! I only teach clerics. Come back when you walk the path of service to Einhasad.
+</body></html>

+ 3 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-14.htm

@@ -0,0 +1,3 @@
+<html><body>
+The Light of Einhasad must have led you here, however I only teach clerics. You must walk the path of the priest to be instructed by me.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-15.htm

@@ -0,0 +1,4 @@
+<html><body>
+You are limited to two occupational changes.<br>
+Judging by your strength, I feel that your faith is stronger than others. Keep this faith always, and constantly move forward. May the will of Einhasad guide you on path of righteousness.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-16.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Bishop your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Healer.<br>
+Obviously you lack training even though you have all the marks. Come back to me when you have done more training and I will change your occupation to Bishop.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-17.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Bishop your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Healer.<br>
+Obviously you lack training and do not have all the marks. Come back to me when you have done this and I will change your occupation to Bishop.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-18.htm

@@ -0,0 +1,4 @@
+<html><body>
+Congratulations! You have advanced one level as a Bishop, a child of the blessed goddess. Many more trials and hardships await you, but I trust that you will overcome them all. I congratulate you in the name of the goddess of light, Einhasad, whom you and I both serve.<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/ElfHumanClericChange2/30120-19.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Bishop your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Healer.<br>
+Obviously your skills are adequate but you still have not gotten all the marks.  Go and get the marks you lack and I will change your occupation to Bishop.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-20.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Prophet your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Reformer.<br>
+Obviously you lack training even though you have all the marks. Come back to me when you have done more training and I will change your occupation to Prophet.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-21.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Prophet your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Reformer.<br>
+Obviously you lack training and do not have all the marks. Come back to me when you have done this and I will change your occupation to Prophet.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-22.htm

@@ -0,0 +1,4 @@
+<html><body>
+Congratulations! You have become a Prophet and have advanced one level as a child of the goddess. Many more trials and hardships await you, but I trust that you will overcome them all. I congratulate you in the name of the goddess of light, Einhasad, whom you and I both serve.<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/ElfHumanClericChange2/30120-23.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Prophet your level must be above 40 and you must collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Reformer.<br>
+Obviously your skills are adequate but you still have not gotten all the marks. Go and get the marks you lack and I will change your occupation to Prophet.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-24.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become an Elder your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Life, and the Mark of the Healer.<br>
+Obviously you lack training even though you  have all the marks. Come back to me when you have done more training and I will change your occupation to Elder.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-25.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become an Elder your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Life, and the Mark of the Healer.<br>
+Obviously you lack training and do not have all the marks. Come back to me when you have done this and I will change your occupation to Elder.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/30120-26.htm

@@ -0,0 +1,4 @@
+<html><body>
+Congratulations! With this, you have become an Elven Elder, a proud and mighty priest of Eva, the goddess of water. Many more trials and hardships await you, but I trust that you will overcome them all. May Eva bless and watch over you always.<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/ElfHumanClericChange2/30120-27.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become an Elder your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Life, and the Mark of the Healer.<br>
+Obviously your skills are adequate but you still have not gotten all the marks.  Go and get the marks you lack and I will change your occupation to Elder.
+</body></html>

+ 226 - 0
dist/game/data/scripts/village_master/ElfHumanClericChange2/ElfHumanClericChange2.java

@@ -0,0 +1,226 @@
+/*
+ * 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.ElfHumanClericChange2;
+
+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;
+
+/**
+ * Elf Human class transfer AI.
+ * @author Adry_85
+ */
+public final class ElfHumanClericChange2 extends AbstractNpcAI
+{
+	// NPCs
+	private static int[] NPCS =
+	{
+		30120, // Maximilian
+		30191, // Hollint
+		30857, // Orven
+		30905, // Squillari
+		31279, // Gregory
+		31328, // Innocentin
+		31968, // Baryl
+	};
+	
+	// Items
+	private static final int SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE = 8870;
+	private static final int MARK_OF_PILGRIM = 2721; // proof11x, proof12x, proof21x
+	private static final int MARK_OF_TRUST = 2734; // proof11y, proof12y
+	private static final int MARK_OF_HEALER = 2820; // proof11z, proof21z
+	private static final int MARK_OF_REFORMER = 2821; // proof12z
+	private static final int MARK_OF_LIFE = 3140; // proof21y
+	
+	// Classes
+	private static final int BISHOP = 16;
+	private static final int PROPHET = 17;
+	private static final int ELDER = 30;
+	
+	private ElfHumanClericChange2()
+	{
+		super(ElfHumanClericChange2.class.getSimpleName(), "village_master");
+		addStartNpc(NPCS);
+		addTalkId(NPCS);
+	}
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = null;
+		switch (event)
+		{
+			case "30120-02.htm": // master_lv3_hec003h
+			case "30120-03.htm": // master_lv3_hec006ha
+			case "30120-04.htm": // master_lv3_hec007ha
+			case "30120-05.htm": // master_lv3_hec007hat
+			case "30120-06.htm": // master_lv3_hec006hb
+			case "30120-07.htm": // master_lv3_hec007hb
+			case "30120-08.htm": // master_lv3_hec007hbt
+			case "30120-10.htm": // master_lv3_hec006ea
+			case "30120-11.htm": // master_lv3_hec007ea
+			case "30120-12.htm": // master_lv3_hec007eat
+			{
+				htmltext = event;
+				break;
+			}
+			case "16":
+			case "17":
+			case "30":
+			{
+				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 = "30120-15.htm"; // fnYouAreThirdClass
+		}
+		else if ((classId == BISHOP) && (player.getClassId() == ClassId.cleric))
+		{
+			if (player.getLevel() < 40)
+			{
+				if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_TRUST, MARK_OF_HEALER))
+				{
+					htmltext = "30120-16.htm"; // fnLowLevel11
+				}
+				else
+				{
+					htmltext = "30120-17.htm"; // fnLowLevelNoProof11
+				}
+			}
+			else if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_TRUST, MARK_OF_HEALER))
+			{
+				takeItems(player, -1, MARK_OF_PILGRIM, MARK_OF_TRUST, MARK_OF_HEALER);
+				player.setClassId(BISHOP);
+				player.setBaseClass(BISHOP);
+				// SystemMessage and cast skill is done by setClassId
+				player.broadcastUserInfo();
+				giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15);
+				htmltext = "30120-18.htm"; // fnAfterClassChange11
+			}
+			else
+			{
+				htmltext = "30120-19.htm"; // fnNoProof11
+			}
+		}
+		else if ((classId == PROPHET) && (player.getClassId() == ClassId.cleric))
+		{
+			if (player.getLevel() < 40)
+			{
+				if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_TRUST, MARK_OF_REFORMER))
+				{
+					htmltext = "30120-20.htm"; // fnLowLevel12
+				}
+				else
+				{
+					htmltext = "30120-21.htm"; // fnLowLevelNoProof12
+				}
+			}
+			else if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_TRUST, MARK_OF_REFORMER))
+			{
+				takeItems(player, -1, MARK_OF_PILGRIM, MARK_OF_TRUST, MARK_OF_REFORMER);
+				player.setClassId(PROPHET);
+				player.setBaseClass(PROPHET);
+				// SystemMessage and cast skill is done by setClassId
+				player.broadcastUserInfo();
+				giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15);
+				htmltext = "30120-22.htm"; // fnAfterClassChange12
+			}
+			else
+			{
+				htmltext = "30120-23.htm"; // fnNoProof12
+			}
+		}
+		else if ((classId == ELDER) && (player.getClassId() == ClassId.oracle))
+		{
+			if (player.getLevel() < 40)
+			{
+				if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_LIFE, MARK_OF_HEALER))
+				{
+					htmltext = "30120-24.htm"; // fnLowLevel21
+				}
+				else
+				{
+					htmltext = "30120-25.htm"; // fnLowLevelNoProof21
+				}
+			}
+			else if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_LIFE, MARK_OF_HEALER))
+			{
+				takeItems(player, -1, MARK_OF_PILGRIM, MARK_OF_LIFE, MARK_OF_HEALER);
+				player.setClassId(ELDER);
+				player.setBaseClass(ELDER);
+				// SystemMessage and cast skill is done by setClassId
+				player.broadcastUserInfo();
+				giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15);
+				htmltext = "30120-26.htm"; // fnAfterClassChange21
+			}
+			else
+			{
+				htmltext = "30120-27.htm"; // fnNoProof21
+			}
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = null;
+		if (player.isInCategory(CategoryType.CLERIC_GROUP) && player.isInCategory(CategoryType.FOURTH_CLASS_GROUP) && (player.isInCategory(CategoryType.HUMAN_CALL_CLASS) || player.isInCategory(CategoryType.ELF_CALL_CLASS)))
+		{
+			htmltext = "30120-01.htm"; // fnYouAreFourthClass
+		}
+		else if (player.isInCategory(CategoryType.CLERIC_GROUP) && (player.isInCategory(CategoryType.HUMAN_CALL_CLASS) || player.isInCategory(CategoryType.ELF_CALL_CLASS)))
+		{
+			final ClassId classId = player.getClassId();
+			if ((classId == ClassId.cleric) || (classId == ClassId.bishop) || (classId == ClassId.prophet))
+			{
+				htmltext = "30120-02.htm"; // fnClassList1
+			}
+			else if ((classId == ClassId.oracle) || (classId == ClassId.elder))
+			{
+				htmltext = "30120-09.htm"; // fnClassList2
+			}
+			else
+			{
+				htmltext = "30120-13.htm"; // fnYouAreFirstClass
+			}
+		}
+		else
+		{
+			htmltext = "30120-14.htm"; // fnClassMismatch
+		}
+		return htmltext;
+	}
+	
+	public static void main(String[] args)
+	{
+		new ElfHumanClericChange2();
+	}
+}

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

@@ -110,7 +110,6 @@ public final class OrcChange2 extends AbstractNpcAI
 		{
 			htmltext = "30513-19.htm"; // fnYouAreThirdClass
 		}
-		
 		else if ((classId == DESTROYER) && (player.getClassId() == ClassId.orcRaider))
 		{
 			if (player.getLevel() < 40)

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-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 Elven Oracle you can change to an <font color="LEVEL">Elven Elder</font>. There are no other choice for an Elven Priest.<br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-02.htm">Elven Elder</a>
-</body></html>

+ 0 - 8
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-02.htm

@@ -1,8 +0,0 @@
-<html><body>
-The Elder is the one who serves and follows Eva, the Goddess of Water. They use Healing Magic and Supplementary Magic freely, which is the power of Eva.<br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-03.htm">Description of the Elven Elder
-</a><br>
-<a action="bypass -h Quest elven_human_buffers_2 EE">Change occupations to an Elven Elder.
-</a><br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-01.htm">Return</a>
-</body></html>

+ 0 - 8
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-03.htm

@@ -1,8 +0,0 @@
-<html><body>
-Elven Elders can use both Healing Magic and Supplementary Magic. Elders are not inclined to one skill like Bishops or Prophets, and they are very useful during small party play.<br>
-They have basic skills such as Supplementary Magic, increasing defense and evasion and healing allies and they can use magic to damage the undead.<br>
-To be an Elder, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Life, and the Mark of the Healer.<br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-04.htm">Ask about marks.
-</a><br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-02.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-04.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>. Oh, and he lives with Peter at a farm.<br>
-The <font color="LEVEL">Mark of Life</font> is only given to those who pass the Testimony of Life. You must be above <font color="LEVEL">level 37</font> to take the test. To take the Test of Life, visit <font color="LEVEL">Master Cardien of Dion Castle Town</font>.<br>
-And finally the <font color="LEVEL">Mark of the Healer</font> is only given to those who pass the Test of the Healer. You must be above <font color="LEVEL">level 39</font> to take the test. To take the Test of the Healer, visit <font color="LEVEL">Priest Bandellos in the temple of Giran Castle Town</font>.<br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-03.htm">Return</a>
-</body></html>

+ 0 - 6
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-05.htm

@@ -1,6 +0,0 @@
-<html><body>
-An occupational change is when one with certain abilities and experience gets promoted to a higher-level occupation. Clerics may change occupations to a <font color="LEVEL">Bishop</font> or a <font color="LEVEL">Prophet</font>. Which occupation do you want to know about?<br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-06.htm">Bishop
-</a><br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-09.htm">Prophet</a>
-</body></html>

+ 0 - 8
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-06.htm

@@ -1,8 +0,0 @@
-<html><body>
-Bishops are ones who trust God and uses Gods' power to heal and restore. They practice the best Healing Magic.<br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-07.htm">Description of the Bishop
-</a><br>
-<a action="bypass -h Quest elven_human_buffers_2 BI">Change occupations to a Bishop.
-</a><br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-05.htm">Return</a>
-</body></html>

+ 0 - 8
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-07.htm

@@ -1,8 +0,0 @@
-<html><body>
-If the Prophet is a professional in Supplementary Magic, and the Bishop is an expert in Healing Magic. It is advantageous to fight with others in a party rather than to fight alone. During party play or Siege Battle, the role of a Bishop becomes very important. Even a strong Fighter will not be able to fight his best without the help of a Bishop.<br>
-Of course the Bishop has healing skills, reviving the dead and damaging monsters with strong strikes with his/her White Magic.<br>
-To be an Bishop, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Healer.<br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-08.htm">Ask about marks.
-</a><br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-06.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-08.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>. Oh, and he lives with Peter at a farm.<br>
-The <font color="LEVEL">Mark of Trust</font> is only given to those who pass the Testimony of Trust. You must be above <font color="LEVEL">level 37</font> to take the test. To take the Testimony of Trust, visit <font color="LEVEL">High Priest Hollint at the Town of Oren</font>.<br>
-And finally the <font color="LEVEL">Mark of the Healer</font> is only given to those who pass the Test of the Healer. You must be above <font color="LEVEL">level 39</font> to take the test. To take the Test of the Healer, visit <font color="LEVEL">Priest Bandellos in the temple of Giran Castle Town</font>.<br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-07.htm">Return</a>
-</body></html>

+ 0 - 8
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-09.htm

@@ -1,8 +0,0 @@
-<html><body>
-Prophets are Priests who practices the highest level of Supplementary Magic. Prophets are quite different from Bishops, because they will do anything in order to get what they need.<br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-10.htm">Description of the Prophet
-</a><br>
-<a action="bypass -h Quest elven_human_buffers_2 PH">Change occupation to a Prophet.
-</a><br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-05.htm">Return</a>
-</body></html>

+ 0 - 8
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-10.htm

@@ -1,8 +0,0 @@
-<html><body>
-If the Bishop is a professional in Healing Magic, the Prophet is an expert in Supplementary Magic. Supplementary Magic mainly strengthens allies. It is possible for Prophets to fight physically with monsters, but not before having heavy equipment and strengthening it's self with magic. And Prophets strengthen our forces, during Siege Battle they play a vital role increasing combat skills of our forces.<br>
-Of course the basic skills are Supplementary Magic which increases the attack power, hit rate, evasion, and defense.<br>
-To be a Prophet, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Reformer.<br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-11.htm">Ask about marks.
-</a><br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-09.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-11.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>. Oh, and he lives with Peter at a farm.<br>
-The <font color="LEVEL">Mark of Trust</font> is only given to those who pass the Testimony of Trust. You must be above <font color="LEVEL">level 37</font> to take the test. To take the Testimony of Trust, visit <font color="LEVEL">High Priest Hollint at the Town of Oren</font>.<br>
-And finally the <font color="LEVEL">Mark of the Reformer</font> is only given to those who pass the Trial of the Reformer. You must be above <font color="LEVEL">level 39</font> to take the test. To take the Trial of the Reformer, visit <font color="LEVEL">Priestess Rupino at the temple of Giran Castle Town</font>.<br>
-<a action="bypass -h Quest elven_human_buffers_2 30120-10.htm">Return</a>
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-12.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be an Elder, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Life, and the Mark of the Healer.<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 all marks and after more training. If you fulfill these obligations I will change your occupation in to an Elder.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-13.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be an Elder, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Life, and the Mark of the Healer.<br>
-You did collect all of the marks, but your level is not high enough. Come back after you have trained more. If you fulfill these obligations I will change your occupation in to an Elder.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-14.htm

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

+ 0 - 3
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-15.htm

@@ -1,3 +0,0 @@
-<html><body>
-Congratulations! Now you have become a proud Elder of the Goddess of Water, Eva. More ordeals and hardships await you, but I believe you will endure them well. Great accomplishments come to those who have great dreams. May the blessing of Einhasad always be with you.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-16.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Bishop, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Healer.<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 all marks and after more training. If you fulfill these obligations I will change your occupation in to a Bishop.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-17.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Bishop, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Healer.<br>
-You did collect all of the marks, but your level is not high enough. Come back after you have trained more. If you fulfill these obligations I will change your occupation in to a Bishop.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-18.htm

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

+ 0 - 3
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-19.htm

@@ -1,3 +0,0 @@
-<html><body>
-Congratulations! You have grown one step further as a child of God. More ordeals and hardships await you, but I believe you will endure them well. Great accomplishments come to those who have great dreams. I congratulate you in the name of the God of Light, Einhasad, whom we both serve.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-20.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Prophet, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Reformer.<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 all marks and after more training. If you fulfill these obligations I will change your occupation in to a Prophet.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-21.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Prophet, your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Reformer.<br>
-You did collect all of the marks, but your level is not high enough. Come back after you have trained more. If you fulfill these obligations I will change your occupation in to a Prophet.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-22.htm

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

+ 0 - 3
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-23.htm

@@ -1,3 +0,0 @@
-<html><body>
-Congratulations! You have grown one step further as a child of God. More ordeals and hardships await you, but I believe you will endure them well. Great accomplishments come to those who have great dreams.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-24.htm

@@ -1,4 +0,0 @@
-<html><body>
-You still haven't done your 1st occupation change. I can only teach ones who are already walking the path of the Priest. Please come back after you walk the path of serving Einhasad.<br>
-If you faithfully follow the will of Einhasad, we will meet once again.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-25.htm

@@ -1,4 +0,0 @@
-<html><body>
-You have already finished your 2nd occupational change. You cannot change occupations anymore.<br>
-Judging from your strength, I believe that your faith in is different from others. Keep your faith to the end, and move forward. May the will of Einhasad guide you to the path of righteousness.
-</body></html>

+ 0 - 3
dist/game/data/scripts/village_master/elven_human_buffers_2/30120-26.htm

@@ -1,3 +0,0 @@
-<html><body>
-The Light of Einhasad has led you here. However I only teach Men and Elves who serve Einhasad. I can't teach ones who do not walk the path of a Priest about changing occupations.
-</body></html>

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

@@ -1,114 +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 = "elven_human_buffers_2"
-#Quest items
-MARK_OF_PILGRIM     = 2721
-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
-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
-#ok_ni: level ok, but you don't have quest item
-#ok_i: level ok, you got quest item, class change takes place
-CLASSES = {
-    "BI":[16,15,0,"16","17","18","19",[MARK_OF_PILGRIM,MARK_OF_TRUST,MARK_OF_HEALER]],
-    "PH":[17,15,0,"20","21","22","23",[MARK_OF_PILGRIM,MARK_OF_TRUST,MARK_OF_REFORMER]],
-    "EE":[30,29,1,"12","13","14","15",[MARK_OF_PILGRIM,MARK_OF_LIFE,MARK_OF_HEALER]],
-    }
-#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 = "30120-"+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
-   # Dark Elves only
-   if npcId in NPCS :
-     htmltext = "30120"
-     if race in [0,1] :
-       if id == 29 :                          # oracle
-         return htmltext+"-01.htm"
-       elif id == 15 :                        # cleric
-         return htmltext+"-05.htm"
-       elif classId.level() == 0 :            # first occupation change not made yet
-         htmltext += "-24.htm"
-       elif classId.level() >= 2 :            # second/third occupation change already made
-         htmltext += "-25.htm"
-       else :
-         htmltext += "-26.htm"                # other conditions
-     else :
-       htmltext += "-26.htm"                  # other races
-   st.exitQuest(1)
-   return htmltext
-
-QUEST   = Quest(99992,qn,"village_master")
-
-
-for npc in NPCS:
-    QUEST.addStartNpc(npc)
-    QUEST.addTalkId(npc)

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

@@ -23,8 +23,8 @@ MARK_OF_CHAMPION    = 3276
 MARK_OF_SAGITTARIUS = 3293
 MARK_OF_WITCHCRAFT  = 3307
 
-#HANNAVALT,BLACKBIRD,SIRIA,SEDRICK,MARCUS,HECTOR,SCHULE
-NPCS=[30109,30187,30689,30849,30900,31965,32094]
+#HANNAVALT,BLACKBIRD,SIRIA,SEDRICK,MARCUS,HECTOR,SCHULE,BERNHARD,SIEGMUND
+NPCS=[30109,30187,30689,30849,30900,31965,32094,31276,31321]
 #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

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

@@ -17,8 +17,8 @@ MARK_OF_MAGUS        = 2840
 MARK_OF_LIFE         = 3140
 MARK_OF_WITCHCRAFT   = 3307
 MARK_OF_SUMMONER     = 3336
-#JUREK,ARKENIAS,VALLERIA,SCRAIDE,DRIKIYAN,JAVIER
-NPCS=[30115,30174,30176,30694,30854,31996]
+#JUREK,ARKENIAS,VALLERIA,SCRAIDE,DRIKIYAN,HALASTER,JAVIER
+NPCS=[30115,30174,30176,30694,30854,31755,31996]
 #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