Переглянути джерело

Retail-Like Elf Human class transfer Ai in Java (Wizard, first part).

Adry85 9 роки тому
батько
коміт
21f582d5c6
99 змінених файлів з 504 додано та 332 видалено
  1. 1 1
      dist/game/data/html/villagemaster/30115.htm
  2. 1 1
      dist/game/data/html/villagemaster/30174.htm
  3. 1 1
      dist/game/data/html/villagemaster/30176.htm
  4. 1 1
      dist/game/data/html/villagemaster/30694.htm
  5. 1 1
      dist/game/data/html/villagemaster/30854.htm
  6. 1 1
      dist/game/data/html/villagemaster/31331.htm
  7. 1 1
      dist/game/data/html/villagemaster/31755.htm
  8. 1 1
      dist/game/data/html/villagemaster/31996.htm
  9. 1 1
      dist/game/data/scripts.cfg
  10. 0 1
      dist/game/data/scripts/village_master/DarkElvenChange2/DarkElvenChange2.java
  11. 0 1
      dist/game/data/scripts/village_master/DwarfBlacksmithChange1/DwarfBlacksmithChange1.java
  12. 0 1
      dist/game/data/scripts/village_master/DwarfBlacksmithChange2/DwarfBlacksmithChange2.java
  13. 0 1
      dist/game/data/scripts/village_master/DwarfWarehouseChange1/DwarfWarehouseChange1.java
  14. 0 1
      dist/game/data/scripts/village_master/DwarfWarehouseChange2/DwarfWarehouseChange2.java
  15. 0 1
      dist/game/data/scripts/village_master/ElfHumanClericChange2/ElfHumanClericChange2.java
  16. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-01.htm
  17. 6 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-02.htm
  18. 6 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-03.htm
  19. 6 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-04.htm
  20. 7 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-05.htm
  21. 6 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-06.htm
  22. 6 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-07.htm
  23. 7 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-08.htm
  24. 6 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-09.htm
  25. 6 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-10.htm
  26. 7 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-11.htm
  27. 5 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-12.htm
  28. 6 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-13.htm
  29. 6 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-14.htm
  30. 7 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-15.htm
  31. 6 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-16.htm
  32. 6 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-17.htm
  33. 7 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-18.htm
  34. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-19.htm
  35. 3 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-20.htm
  36. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-21.htm
  37. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-22.htm
  38. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-23.htm
  39. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-24.htm
  40. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-25.htm
  41. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-26.htm
  42. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-27.htm
  43. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-28.htm
  44. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-29.htm
  45. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-30.htm
  46. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-31.htm
  47. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-32.htm
  48. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-33.htm
  49. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-34.htm
  50. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-35.htm
  51. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-36.htm
  52. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-37.htm
  53. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-38.htm
  54. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-39.htm
  55. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-40.htm
  56. 4 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-41.htm
  57. 294 0
      dist/game/data/scripts/village_master/ElfHumanWizardChange2/ElfHumanWizardChange2.java
  58. 0 1
      dist/game/data/scripts/village_master/OrcChange2/OrcChange2.java
  59. 0 5
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-01.htm
  60. 0 6
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-02.htm
  61. 0 6
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-03.htm
  62. 0 7
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-04.htm
  63. 0 6
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-05.htm
  64. 0 7
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-06.htm
  65. 0 7
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-07.htm
  66. 0 6
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-08.htm
  67. 0 6
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-09.htm
  68. 0 7
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-10.htm
  69. 0 7
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-11.htm
  70. 0 6
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-12.htm
  71. 0 7
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-13.htm
  72. 0 7
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-14.htm
  73. 0 6
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-15.htm
  74. 0 7
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-16.htm
  75. 0 7
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-17.htm
  76. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-18.htm
  77. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-19.htm
  78. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-20.htm
  79. 0 3
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-21.htm
  80. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-22.htm
  81. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-23.htm
  82. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-24.htm
  83. 0 3
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-25.htm
  84. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-26.htm
  85. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-27.htm
  86. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-28.htm
  87. 0 3
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-29.htm
  88. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-30.htm
  89. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-31.htm
  90. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-32.htm
  91. 0 3
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-33.htm
  92. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-34.htm
  93. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-35.htm
  94. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-36.htm
  95. 0 3
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-37.htm
  96. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-38.htm
  97. 0 4
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-39.htm
  98. 0 3
      dist/game/data/scripts/village_master/elven_human_mystics_2/30115-40.htm
  99. 0 120
      dist/game/data/scripts/village_master/elven_human_mystics_2/__init__.py

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

@@ -1,6 +1,6 @@
 <html><body>Grand Magister Jurek:<br>
 Welcome! I am Grand Magister Jurek, responsiblen for the education and training of Wizards in this Wizards Guild. What has led you to this place?<br>
-<a action="bypass -h npc_%objectId%_Quest elven_human_mystics_2">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2">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/30174.htm

@@ -1,6 +1,6 @@
 <html><body>Grand Magister Arkenias:<br>
 Glad to see you. It is my task to mold wizards into high-level sorcerers here in this Ivory Tower. Have you come to learn how to freely manipulate the power of the elements themselves?<br>
-<a action="bypass -h npc_%objectId%_Quest 30115_jurek_occupation_change">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2">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/30176.htm

@@ -1,6 +1,6 @@
 <html><body>Grand Magister Valleria:<br>
 Nice to meet you. I am Grand Magister Valleria, responsible for transforming Wizards into high-level Sorcerers here in this Ivory Tower. Hey, Did you come here to learn how to freely manipulates the power of the elements themselves?<br>
-<a action="bypass -h npc_%objectId%_Quest 30115_jurek_occupation_change">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2">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/30694.htm

@@ -1,6 +1,6 @@
 <html><body>Grand Magister Scraide:<br>
 Welcome! I am Grand Magister Scraide, in charge of transforming the Wizards in this guild into high level Sorcerers. Have you come here to learn how to wield elemental powers freely?<br>
-<a action="bypass -h npc_%objectId%_Quest elven_human_mystics_2">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2">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/30854.htm

@@ -1,7 +1,7 @@
 <html><body>Grand Magister Drikiyan:<br>
 Keuk! Oh, my aching head... It must be true what they say about those thrice-cursed wine merchants spiking their Dreviant wine with spider venom! Fiends! Hellspawn! Tax collectors! An eternity of torment would be too good for them... And Cedric here must have drunk three bottles by himslef, that old Dwarvish geezer! What are laughing at, Desmo? You're no better! Drunkards, the lot of you! Where's the hot tea?<br>
 Wha... oh! Ah, welcome to the, ah, magicians guild here in Aden Castle Town. I'm Grand Master Drikiyan. Who, ah, exactly are you?<br>
-<a action="bypass -h npc_%objectId%_Quest elven_human_mystics_2">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2">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/31331.htm

@@ -1,6 +1,6 @@
 <html><body>Grand Magister Valdis:<br>
 Welcome to the continent's largest and most extensive library! The massive amount of material archived here includes everything from the authentic chronicles of the previous empire to the research notes of current magisters. Not even Oren's Ivory Tower has as many tomes as we do! The magic that you learn here is the original and true teaching, of that you can be sure!<br>
-<a action="bypass -h npc_%objectId%_Quest DarkElvenChange2">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2">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_mystics_2">"Tell me about the second class transfer."</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2">"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/31996.htm

@@ -2,7 +2,7 @@
 Pleased to met you. I am Grand Magister Javier. Ah, is my voice too loud? Sorry! Whenever I see young, promising warriors like you, my excitement just gets the better of me!<br>
 Ha ha! Hmm, I see you wondering, "Is this Grand Magister really on the level?" Don't worry -- I am! But I still love to chat with young warriors who are journeying through different territories.<br>
 Never fear, though -- I take my job seriously.<br>
-<a action="bypass -h npc_%objectId%_Quest elven_human_mystics_2">Listen to information about second class transfer.</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2">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

@@ -166,10 +166,10 @@ village_master/DwarfBlacksmithChange2/DwarfBlacksmithChange2.java
 village_master/DwarfWarehouseChange1/DwarfWarehouseChange1.java
 village_master/DwarfWarehouseChange2/DwarfWarehouseChange2.java
 village_master/ElfHumanClericChange2/ElfHumanClericChange2.java
+village_master/ElfHumanWizardChange2/ElfHumanWizardChange2.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
-village_master/elven_human_mystics_2/__init__.py
 village_master/KamaelChange1/KamaelChange1.java
 village_master/KamaelChange2/KamaelChange2.java
 village_master/OrcChange1/OrcChange1.java

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

@@ -42,7 +42,6 @@ public final class DarkElvenChange2 extends Quest
 		30862, // Oltran
 		30910, // Xairakin
 		31285, // Samael
-		31331, // Valdis
 		31334, // Tifaren
 		31974, // Drizzit
 		32096, // Helminter

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

@@ -43,7 +43,6 @@ public final class DwarfBlacksmithChange1 extends AbstractNpcAI
 	// Items
 	private static final int SHADOW_ITEM_EXCHANGE_COUPON_D_GRADE = 8869;
 	private static final int FINAL_PASS_CERTIFICATE = 1635;
-	
 	// Class
 	private static final int ARTISAN = 56;
 	

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

@@ -49,7 +49,6 @@ public final class DwarfBlacksmithChange2 extends AbstractNpcAI
 	private static final int MARK_OF_MAESTRO = 2867; // proof11z
 	private static final int MARK_OF_GUILDSMAN = 3119; // proof11x
 	private static final int MARK_OF_PROSPERITY = 3238; // proof11y
-	
 	// Class
 	private static final int WARSMITH = 57;
 	

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

@@ -43,7 +43,6 @@ public final class DwarfWarehouseChange1 extends AbstractNpcAI
 	// Items
 	private static final int SHADOW_ITEM_EXCHANGE_COUPON_D_GRADE = 8869;
 	private static final int RING_OF_RAVEN = 1642;
-	
 	// Class
 	private static final int SCAVENGER = 54;
 	

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

@@ -49,7 +49,6 @@ public final class DwarfWarehouseChange2 extends AbstractNpcAI
 	private static final int MARK_OF_SEARCHER = 2809; // proof11z
 	private static final int MARK_OF_GUILDSMAN = 3119; // proof11x
 	private static final int MARK_OF_PROSPERITY = 3238; // proof11y
-	
 	// Class
 	private static final int BOUNTY_HUNTER = 55;
 	

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

@@ -50,7 +50,6 @@ public final class ElfHumanClericChange2 extends AbstractNpcAI
 	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;

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

+ 6 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-02.htm

@@ -0,0 +1,6 @@
+<html><body>
+An occupational change occurs when one gets promoted to a higher-level occupation. A Wizard may advance to a <font color="LEVEL">Sorcerer</font>, a <font color="LEVEL">Necromancer</font>, or a <font color="LEVEL">Warlock</font>. Which occupation would you like to know about?<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-03.htm">Sorcerer</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-06.htm">Necromancer</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-09.htm">Warlock</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-03.htm

@@ -0,0 +1,6 @@
+<html><body>
+A Sorcerer has ultimate control of the 4 elements, with elemental magic skills second to none.<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-04.htm">Description of the Sorcerer</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 12">Change occupation to Sorcerer</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-02.htm">Return</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-04.htm

@@ -0,0 +1,6 @@
+<html><body>
+A Sorcerer is an advanced form of a Wizard. Uses elemental magic for long-range offensive attack. Strong offensive power but lacks stamina. Works best with a party. Very valuable during melee and siege. With groups of other sorcerers becomes a most fearsome battlefield weapon.<br>
+To become a Sorcerer your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Trust, and the Mark of the Magus.<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-05.htm">Ask about marks.</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-03.htm">Return</a>
+</body></html>

+ 7 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-05.htm

@@ -0,0 +1,7 @@
+<html><body>
+Each mark requires its own test.<br>
+The <font color="LEVEL">Mark of the Scholar</font> is reserved for those who pass the Trial of the Scholar. You must be above <font color="LEVEL">level 35</font> to qualify. To take this test visit <font color="LEVEL">Magister Mirien in the temple of the Town of Dion</font>.<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 Magus</font> is reserved for those who pass the Test of the Magus. You must be above <font color="LEVEL">level 39</font> to qualify. To take this test visit <font color="LEVEL">Bard Rukal of the Town of Dion</font>.<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-03.htm">Return</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-06.htm

@@ -0,0 +1,6 @@
+<html><body>
+A Necromancer is the foremost practitioner of the black arts, including control of the undead.<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-07.htm">Description of the Necromancer</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 13">Change occupation to Necromancer.</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-02.htm">Return</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-07.htm

@@ -0,0 +1,6 @@
+<html><body>
+A Necromancer is an advanced form of Wizard. The Necromancer first weakens his opponent with Black Magic and then summons a zombie to finish him off. Uses poisons effectively on monsters.<br>
+To be a Necromancer, your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Trust, and the Mark of Witchcraft.<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-08.htm">Ask about marks</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-06.htm">Return</a>
+</body></html>

+ 7 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-08.htm

@@ -0,0 +1,7 @@
+<html><body>
+Each mark requires its own trial.<br>
+The <font color="LEVEL">Mark of the Scholar</font> is only given to those who pass the Trial of the Scholar. You must be above <font color="LEVEL">level 35</font> to qualify. To take this test visit <font color="LEVEL">Magister Mirien in the temple of the Town of Dion</font>.<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 Witchcraft</font> is reserved for those who pass the Test of Witchcraft. You must be above <font color="LEVEL">level 39</font> to qualify. To take this test go to the <font color="LEVEL">Death Pass and visit Orim of the Shadow</font>.<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-06.htm">Return</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-09.htm

@@ -0,0 +1,6 @@
+<html><body>
+The Warlock is among the foremost practitioners of the summoning arts.<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-10.htm">Description of the Warlock</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 14">Change occupation to Warlock.</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-02.htm">Return</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-10.htm

@@ -0,0 +1,6 @@
+<html><body>
+A Warlock is an expert in the summoning arts. He hunts alone with the creature he has summoned. They may attack simultaneously or act as support for one another. Warlocks may summon as many different creatures as are needed for a party's situation.<br>
+To become a Warlock your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Trust, and the Mark of the Summoner.<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-11.htm">Ask about marks</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-09.htm">Return</a>
+</body></html>

+ 7 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-11.htm

@@ -0,0 +1,7 @@
+<html><body>
+Each mark requires its own test.<br>
+The <font color="LEVEL">Mark of the Scholar</font> is reserved for those who pass the Trial of the Scholar. You must be above <font color="LEVEL">level 35</font> to qualify. To take this test visit <font color="LEVEL">Magister Mirien in the temple of the Town of Dion</font>.<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 the Testimony of Trust, visit <font color="LEVEL">High Priest Hollint at the Town of Oren</font>.<br>
+And last, the <font color="LEVEL">Mark of the Summoner</font> is reserved for those who pass the Test of the Summoner. You must be above <font color="LEVEL">level 39</font> to qualify. To take this test, visit <font color="LEVEL">High Summoner Galatea of Gludin</font>.<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-09.htm">Return</a>
+</body></html>

+ 5 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-12.htm

@@ -0,0 +1,5 @@
+<html><body>
+An occupational change occurs when one gets promoted to a higher-level occupation. An Elven Wizard may advance to a <font color="LEVEL">Spellsinger</font> or an <font color="LEVEL">Elemental Summoner</font>. Which occupation do you want to know about?<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-13.htm">Spellsinger</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-16.htm">Elemental Summoner</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-13.htm

@@ -0,0 +1,6 @@
+<html><body>
+A Spellsinger learns the secrets of elements and spirits and is capable of strong Elemental Magic.<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-14.htm">Description of the Spellsinger</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 27">Change occupation to Spellsinger</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-12.htm">Return</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-14.htm

@@ -0,0 +1,6 @@
+<html><body>
+Spellsingers are somewhat similar to Human Sorcerers, but with Elven sensibilities. They practice a potent form of elemental magic. Very fast during combat and more efficient and safe than other Mystics. Most dreaded opponent during a siege.<br>
+To become a Spellsinger, your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Life, and the Mark of the Magus.<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-15.htm">Ask about marks.</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-13.htm">Return</a>
+</body></html>

+ 7 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-15.htm

@@ -0,0 +1,7 @@
+<html><body>
+Each mark requires its own trial.<br>
+The <font color="LEVEL">Mark of the Scholar</font> is reserved for those who pass the Trial of the Scholar. You must be above <font color="LEVEL">level 35</font> to qualify. To take this test visit <font color="LEVEL">Magister Mirien in the temple of the Town of Dion</font>.<br>
+The <font color="LEVEL">Mark of Life</font> is 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 this test visit <font color="LEVEL">Master Cardien of the Town of Dion</font>.<br>
+And last, the <font color="LEVEL">Mark of the Magus</font> is reserved for those who pass the Test of the Magus. You must be above <font color="LEVEL">level 39</font> to qualify. To take this test visit <font color="LEVEL">Bard Rukal of the Town of Dion</font>.<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-13.htm">Return</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-16.htm

@@ -0,0 +1,6 @@
+<html><body>
+The Elemental Summoner is the utmost level of Elven Wizard, with summoning skills second to none.<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-17.htm">Description of the Elemental Summoner</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 28">Change occupation to Elemental Summoner.</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-12.htm">Return</a>
+</body></html>

+ 6 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-17.htm

@@ -0,0 +1,6 @@
+<html><body>
+Elemental Summoners are the Elven equivalent of Human Warlocks and Dark Elven Phantom Summoners. Elemental Summoners go hunting alone with the creatures they have summoned. They may either attack simultaneously or in support of one another. They may summon as many creatures as are necessary for any situation.<br>
+To be an Elemental Summoner, your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Life, and the Mark of the Summoner.<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-18.htm">Ask about marks</a><br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-16.htm">Return</a>
+</body></html>

+ 7 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-18.htm

@@ -0,0 +1,7 @@
+<html><body>
+Each mark requires its own trial.<br>
+The <font color="LEVEL">Mark of the Scholar</font> is reserved for those who pass the Trial of the Scholar. You must be above <font color="LEVEL">level 35</font> to qualify. To take this test visit <font color="LEVEL">Magister Mirien in the temple of the Town of Dion</font>.<br>
+The <font color="LEVEL">Mark of Life</font> is given to those who pass the Testimony of Life. You must be above <font color="LEVEL">level 37</font> to qualify. To take this test visit <font color="LEVEL">Master Cardien of the Town of Dion</font>.<br>
+And last, the <font color="LEVEL">Mark of the Summoner</font> is reserved for those who pass the Test of the Summoner. You must be above <font color="LEVEL">level 39</font> to qualify. To take this test visit <font color="LEVEL">High Summoner Galatea of Gludin</font>.<br>
+<a action="bypass -h Quest ElfHumanWizardChange2 30115-16.htm">Return</a>
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-19.htm

@@ -0,0 +1,4 @@
+<html><body>
+You have not changed occupations even once! I only train Wizards to advance.<br>
+If you want to be trained by me, you must first become a Wizard.
+</body></html>

+ 3 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-20.htm

@@ -0,0 +1,3 @@
+<html><body>
+I exclusively teach Wizards and Elven Wizards. If you wish to change occupations you should find a guild suitable for you.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-21.htm

@@ -0,0 +1,4 @@
+<html><body>
+You have changed occupations twice and are now a higher-level being.<br>
+This continent bears the scars of the repeated misuse of magic, and is now paying the price for it with the Sea of Spores and the Wastelands... That is why you must use magic only for good.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-22.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Sorcerer your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Trust, and the Mark of the Magus.<br>
+I see that you have all the marks, but you still require more training.  Return when you have advanced your skill level and I will change your occupation to Sorcerer.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-23.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Sorcerer your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Trust, and the Mark of the Magus.<br>
+Obviously your skill level is not high enough and you have not collected all the marks. Return when you have done this and I will change your occupation to Sorcerer.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-24.htm

@@ -0,0 +1,4 @@
+<html><body>
+Congratulations! You have now become a Sorcerer who can freely use elemental magic. Many more trials and hardships await you, but I trust that you will overcome them all. May the blessings of Einhasad be with 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/ElfHumanWizardChange2/30115-25.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Sorcerer your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Trust, and the Mark of the Magus.<br>
+Your skills are impressive but you still must collect all of the required marks.  Return to me when you have the marks and I will change your occupation to Sorcerer.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-26.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Necromancer your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Trust, and the Mark of Witchcraft.<br>
+I see that you have all the marks, but you still require more training.  Return when you have advanced your skill level and I will change your occupation to Necromancer.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-27.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Necromancer your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Trust, and the Mark of Witchcraft.<br>
+Obviously your skill level is not high enough and you have not collected all the marks. Return when you have done this and I will change your occupation to Necromancer.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-28.htm

@@ -0,0 +1,4 @@
+<html><body>
+Congratulations! You have now become a Necromancer who can freely use the strongest black magic. Many more trials and hardships await you, but I trust that you will overcome them all.<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/ElfHumanWizardChange2/30115-29.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Necromancer your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Trust, and the Mark of Witchcraft.<br>
+Your skills are impressive but you still must collect all of the required marks.  Return to me when you have the marks and I will change your occupation to Necromancer.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-30.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Warlock your level must be over 40 and you must  collect the Mark of the Scholar, the Mark of Trust, and the Mark of the Summoner.<br>
+I see that you have all the marks, but you still require more training.  Return when you have advanced your skill level and I will change your occupation to Warlock.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-31.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Warlock your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Trust, and the Mark of the Summoner.<br>
+Obviously your skill level is not high enough and you have not collected all the marks. Return when you have done this and I will change your occupation to Warlock.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-32.htm

@@ -0,0 +1,4 @@
+<html><body>
+Congratulations! You have now become a Warlock who can freely wield the strongest summoning magic. Many more trials and hardships await you, but I trust that you will overcome them all.<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/ElfHumanWizardChange2/30115-33.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Warlock your level must be over 40 and you must  collect the Mark of the Scholar, the Mark of Trust, and the Mark of the Summoner.<br>
+Your skills are impressive but you still must collect all of the required marks.  Return to me when you have the marks and I will change your occupation to Warlock.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-34.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Spellsinger your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Life, and the Mark of the Magus.<br>
+I see that you have all the marks, but you still require more training.  Return when you have advanced your skill level and I will change your occupation to Spellsinger.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-35.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Spellsinger your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Life, and the Mark of the Magus.<br>
+Obviously your skill level is not high enough and you have not collected all the marks. Return when you have done this and I will change your occupation to Spellsinger.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-36.htm

@@ -0,0 +1,4 @@
+<html><body>
+Congratulations! You have now become a Spellsinger who can freely use elemental magic. Many more trials and hardships await you, but I trust that you will overcome them all. May the blessings of Einhasad and Eva always be with you.<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/ElfHumanWizardChange2/30115-37.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become a Spellsinger your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Life, and the Mark of the Magus.<br>
+Your skills are impressive but you still must collect all of the required marks. Return to me when you have the marks and I will change your occupation to Spellsinger.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-38.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become an Elemental Summoner your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Life, and the Mark of the Summoner.<br>
+I see that you have all the marks, but you still require more training. Return when you have advanced your skill level and I will change your occupation to Elemental Summoner.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-39.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become an Elemental Summoner your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Life, and the Mark of the Summoner.<br>
+Obviously your skill level is not high enough and you have not collected all the marks. Return when you have done this and I will change your occupation to Elemental Summoner.
+</body></html>

+ 4 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/30115-40.htm

@@ -0,0 +1,4 @@
+<html><body>
+Congratulations! You have now become an Elemental Summoner who can freely use elemental magic. Many more trials and hardships await you, but I trust that you will overcome them all. May the blessings of Einhasad and Eva always be with you.<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/ElfHumanWizardChange2/30115-41.htm

@@ -0,0 +1,4 @@
+<html><body>
+To become an Elemental Summoner your level must be over 40 and you must collect the Mark of the Scholar, the Mark of Life, and the Mark of the Summoner.<br>
+Your skills are impressive but you still must collect all of the required marks. Return to me when you have the marks and I will change your occupation to Elemental Summoner.
+</body></html>

+ 294 - 0
dist/game/data/scripts/village_master/ElfHumanWizardChange2/ElfHumanWizardChange2.java

@@ -0,0 +1,294 @@
+/*
+ * 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.ElfHumanWizardChange2;
+
+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 ElfHumanWizardChange2 extends AbstractNpcAI
+{
+	// NPCs
+	private static int[] NPCS =
+	{
+		30115, // Jurek
+		30174, // Arkenias
+		30176, // Valleria
+		30694, // Scraide
+		30854, // Drikiyan
+		31331, // Valdis
+		31755, // Halaster
+		31996, // Javier
+	};
+	
+	// Items
+	private static final int SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE = 8870;
+	private static final int MARK_OF_SCHOLAR = 2674; // proof11x, proof12x, proof13x, proof21x, proof22x
+	private static final int MARK_OF_TRUST = 2734; // proof11y, proof12y, proof13y
+	private static final int MARK_OF_MAGUS = 2840; // proof11z, proof21z
+	private static final int MARK_OF_WITCHCRAFT = 3307; // proof12z
+	private static final int MARK_OF_SUMMONER = 3336; // proof13z, proof22z
+	private static final int MARK_OF_LIFE = 3140; // proof21y, proof22y
+	// Classes
+	private static final int SORCERER = 12;
+	private static final int NECROMANCER = 13;
+	private static final int WARLOCK = 14;
+	private static final int SPELLSINGER = 27;
+	private static final int ELEMENTAL_SUMMONER = 28;
+	
+	private ElfHumanWizardChange2()
+	{
+		super(ElfHumanWizardChange2.class.getSimpleName(), "village_master");
+		addStartNpc(NPCS);
+		addTalkId(NPCS);
+	}
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = null;
+		switch (event)
+		{
+			case "30115-02.htm": // master_lv3_hew003h
+			case "30115-03.htm": // master_lv3_hew006ha
+			case "30115-04.htm": // master_lv3_hew007ha
+			case "30115-05.htm": // master_lv3_hew007hat
+			case "30115-06.htm": // master_lv3_hew006hb
+			case "30115-07.htm": // master_lv3_hew007hb
+			case "30115-08.htm": // master_lv3_hew007hbt
+			case "30115-09.htm": // master_lv3_hew006hc
+			case "30115-10.htm": // master_lv3_hew007hc
+			case "30115-11.htm": // master_lv3_hew007hct
+			case "30115-12.htm": // master_lv3_hew003e
+			case "30115-13.htm": // master_lv3_hew006ea
+			case "30115-14.htm": // master_lv3_hew007ea
+			case "30115-15.htm": // master_lv3_hew007eat
+			case "30115-16.htm": // master_lv3_hew006eb
+			case "30115-17.htm": // master_lv3_hew007eb
+			case "30115-18.htm": // master_lv3_hew007eb
+			{
+				htmltext = event;
+				break;
+			}
+			case "12":
+			case "13":
+			case "14":
+			case "27":
+			case "28":
+			{
+				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 = "30115-21.htm"; // fnYouAreThirdClass
+		}
+		else if ((classId == SORCERER) && (player.getClassId() == ClassId.wizard))
+		{
+			if (player.getLevel() < 40)
+			{
+				if (hasQuestItems(player, MARK_OF_SCHOLAR, MARK_OF_TRUST, MARK_OF_MAGUS))
+				{
+					htmltext = "30115-22.htm"; // fnLowLevel11
+				}
+				else
+				{
+					htmltext = "30115-23.htm"; // fnLowLevelNoProof11
+				}
+			}
+			else if (hasQuestItems(player, MARK_OF_SCHOLAR, MARK_OF_TRUST, MARK_OF_MAGUS))
+			{
+				takeItems(player, -1, MARK_OF_SCHOLAR, MARK_OF_TRUST, MARK_OF_MAGUS);
+				player.setClassId(SORCERER);
+				player.setBaseClass(SORCERER);
+				// SystemMessage and cast skill is done by setClassId
+				player.broadcastUserInfo();
+				giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15);
+				htmltext = "30115-24.htm"; // fnAfterClassChange11
+			}
+			else
+			{
+				htmltext = "30115-25.htm"; // fnNoProof11
+			}
+		}
+		else if ((classId == NECROMANCER) && (player.getClassId() == ClassId.wizard))
+		{
+			if (player.getLevel() < 40)
+			{
+				if (hasQuestItems(player, MARK_OF_SCHOLAR, MARK_OF_TRUST, MARK_OF_WITCHCRAFT))
+				{
+					htmltext = "30115-26.htm"; // fnLowLevel12
+				}
+				else
+				{
+					htmltext = "30115-27.htm"; // fnLowLevelNoProof12
+				}
+			}
+			else if (hasQuestItems(player, MARK_OF_SCHOLAR, MARK_OF_TRUST, MARK_OF_WITCHCRAFT))
+			{
+				takeItems(player, -1, MARK_OF_SCHOLAR, MARK_OF_TRUST, MARK_OF_WITCHCRAFT);
+				player.setClassId(NECROMANCER);
+				player.setBaseClass(NECROMANCER);
+				// SystemMessage and cast skill is done by setClassId
+				player.broadcastUserInfo();
+				giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15);
+				htmltext = "30115-28.htm"; // fnAfterClassChange12
+			}
+			else
+			{
+				htmltext = "30115-29.htm"; // fnNoProof12
+			}
+		}
+		else if ((classId == WARLOCK) && (player.getClassId() == ClassId.wizard))
+		{
+			if (player.getLevel() < 40)
+			{
+				if (hasQuestItems(player, MARK_OF_SCHOLAR, MARK_OF_TRUST, MARK_OF_SUMMONER))
+				{
+					htmltext = "30115-30.htm"; // fnLowLevel13
+				}
+				else
+				{
+					htmltext = "30115-31.htm"; // fnLowLevelNoProof13
+				}
+			}
+			else if (hasQuestItems(player, MARK_OF_SCHOLAR, MARK_OF_TRUST, MARK_OF_SUMMONER))
+			{
+				takeItems(player, -1, MARK_OF_SCHOLAR, MARK_OF_TRUST, MARK_OF_SUMMONER);
+				player.setClassId(WARLOCK);
+				player.setBaseClass(WARLOCK);
+				// SystemMessage and cast skill is done by setClassId
+				player.broadcastUserInfo();
+				giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15);
+				htmltext = "30115-32.htm"; // fnAfterClassChange13
+			}
+			else
+			{
+				htmltext = "30115-33.htm"; // fnNoProof13
+			}
+		}
+		else if ((classId == SPELLSINGER) && (player.getClassId() == ClassId.elvenWizard))
+		{
+			if (player.getLevel() < 40)
+			{
+				if (hasQuestItems(player, MARK_OF_SCHOLAR, MARK_OF_LIFE, MARK_OF_MAGUS))
+				{
+					htmltext = "30115-34.htm"; // fnLowLevel21
+				}
+				else
+				{
+					htmltext = "30115-35.htm"; // fnLowLevelNoProof21
+				}
+			}
+			else if (hasQuestItems(player, MARK_OF_SCHOLAR, MARK_OF_LIFE, MARK_OF_MAGUS))
+			{
+				takeItems(player, -1, MARK_OF_SCHOLAR, MARK_OF_LIFE, MARK_OF_MAGUS);
+				player.setClassId(SPELLSINGER);
+				player.setBaseClass(SPELLSINGER);
+				// SystemMessage and cast skill is done by setClassId
+				player.broadcastUserInfo();
+				giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15);
+				htmltext = "30115-36.htm"; // fnAfterClassChange21
+			}
+			else
+			{
+				htmltext = "30115-37.htm"; // fnNoProof21
+			}
+		}
+		else if ((classId == ELEMENTAL_SUMMONER) && (player.getClassId() == ClassId.elvenWizard))
+		{
+			if (player.getLevel() < 40)
+			{
+				if (hasQuestItems(player, MARK_OF_SCHOLAR, MARK_OF_LIFE, MARK_OF_SUMMONER))
+				{
+					htmltext = "30115-38.htm"; // fnLowLevel22
+				}
+				else
+				{
+					htmltext = "30115-39.htm"; // fnLowLevelNoProof22
+				}
+			}
+			else if (hasQuestItems(player, MARK_OF_SCHOLAR, MARK_OF_LIFE, MARK_OF_SUMMONER))
+			{
+				takeItems(player, -1, MARK_OF_SCHOLAR, MARK_OF_LIFE, MARK_OF_SUMMONER);
+				player.setClassId(ELEMENTAL_SUMMONER);
+				player.setBaseClass(ELEMENTAL_SUMMONER);
+				// SystemMessage and cast skill is done by setClassId
+				player.broadcastUserInfo();
+				giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15);
+				htmltext = "30115-40.htm"; // fnAfterClassChange22
+			}
+			else
+			{
+				htmltext = "30115-41.htm"; // fnNoProof22
+			}
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = null;
+		if (player.isInCategory(CategoryType.WIZARD_GROUP) && player.isInCategory(CategoryType.FOURTH_CLASS_GROUP) && (player.isInCategory(CategoryType.HUMAN_MALL_CLASS) || player.isInCategory(CategoryType.ELF_MALL_CLASS)))
+		{
+			htmltext = "30115-01.htm"; // fnYouAreFourthClass
+		}
+		else if (player.isInCategory(CategoryType.WIZARD_GROUP) && (player.isInCategory(CategoryType.HUMAN_MALL_CLASS) || player.isInCategory(CategoryType.ELF_MALL_CLASS)))
+		{
+			final ClassId classId = player.getClassId();
+			if ((classId == ClassId.wizard) || (classId == ClassId.sorceror) || (classId == ClassId.necromancer) || (classId == ClassId.warlock))
+			{
+				htmltext = "30115-02.htm"; // fnClassList1
+			}
+			else if ((classId == ClassId.elvenWizard) || (classId == ClassId.spellsinger) || (classId == ClassId.elementalSummoner))
+			{
+				htmltext = "30115-12.htm"; // fnClassList2
+			}
+			else
+			{
+				htmltext = "30115-19.htm"; // fnYouAreFirstClass
+			}
+		}
+		else
+		{
+			htmltext = "30115-20.htm"; // fnClassMismatch
+		}
+		return htmltext;
+	}
+	
+	public static void main(String[] args)
+	{
+		new ElfHumanWizardChange2();
+	}
+}

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

@@ -54,7 +54,6 @@ public final class OrcChange2 extends AbstractNpcAI
 	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;

+ 0 - 5
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-01.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. An Elven Wizard may change occupations to a<font color="LEVEL"> Spellsinger</font> or an<font color="LEVEL"> Elemental Summoner</font>. Which occupation do you want to know about?<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-02.htm">Spellsinger</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-05.htm">Elemental Summoner</a>
-</body></html>

+ 0 - 6
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-02.htm

@@ -1,6 +0,0 @@
-<html><body>
-A Spellsinger researches about elements and spirits, trys to obtain power from his studies, and he can use strong Elemental Magic.<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-03.htm">Description of the Spellsinger</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 EW">Change occupations to a Spellsinger.</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-01.htm">Return</a>
-</body></html>

+ 0 - 6
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-03.htm

@@ -1,6 +0,0 @@
-<html><body>
-Spellsingers are almost similar to a Human Sorcerer. But Men and Elves treat the elements and spirits differently and think differently about the origin of power. They practice magic which needs mutual response with spirits of fire, water, and ice. These Elemental Magic are very powerful. And the Elves boast great speed so during combat they are most efficient and safer than any other Mages. Plus they are one of the dreaded group during Siege Battle.<br>
-To be a Spellsinger, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Life, and the Mark of the Magus.<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-04.htm">Ask about Tokens.</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-02.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-04.htm

@@ -1,7 +0,0 @@
-<html><body>
-You must pass individual tests to obtain marks.<br>
-The<font color="LEVEL"> Mark of the Scholar</font> is only given to those who pass the Trial of the Scholar. You must be above<font color="LEVEL"> level 35</font> to take the test. To take the Trial of the Scholar, visit<font color="LEVEL"> Magister Mirien in the temple of Dion Castle Town</font>.<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 Testimony of Life, visit<font color="LEVEL"> Master Cardien of Dion Castle Town</font>.<br>
-And finally the<font color="LEVEL"> Mark of the Magus</font> is only given to those who pass the Test of the Magus. You must be above<font color="LEVEL"> level 39</font> to take the test. To take the Test of Magus, visit<font color="LEVEL"> Bard Rukal of Dion Castle Town</font>.<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-03.htm">Return</a>
-</body></html>

+ 0 - 6
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-05.htm

@@ -1,6 +0,0 @@
-<html><body>
-The Elemental Summoner is the final stage of an Elven Wizard, they use the greatest Summoning Magic. They are the best at summoning various creatures and using their powers.<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-06.htm">Description of the Elemental Summoner</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 ES">Change occupations to an Elemental Summoner.</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-01.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-06.htm

@@ -1,7 +0,0 @@
-<html><body>
-Elemental Summoners are experts at Summoning Magic just like Human Hexans or Dark Elven Phantom Summoners. But, they summon different creatures compared to Warlocks. The Elemental Summoner is an occupation which goes hunting alone with the creature he has summoned. The summoned creature attacks and the character supports or vice versa, or they can both attack. But they must summon enough creatures depending on the situation to have a proper fight. During party play, the Elemental Summoner can summon various creatures to help the party. He can supplement the weak spots of a party depending on the party's characteristics.<br>
-They have basic skills such as summoning various creatures and have magical skills to support the creatures.<br>
-To be an Elemental Summoner, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Life, and the Mark of the Summoner.<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-07.htm">Ask about marks.</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-05.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-07.htm

@@ -1,7 +0,0 @@
-<html><body>
-You must pass individual tests to obtain marks.<br>
-The<font color="LEVEL"> Mark of the Scholar</font> is only given to those who pass the Trial of the Scholar. You must be above<font color="LEVEL"> level 35</font> to take the test. To take the Trial of the Scholar, visit<font color="LEVEL"> Magister Mirien in the temple of Dion Castle Town</font>.<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 Testimony of Life, visit<font color="LEVEL"> Master Cardien of Dion Castle Town</font>.<br>
-And finally, the<font color="LEVEL"> Mark of the Summoner</font> is only given to those who pass the Test of the Summoner. You must be above<font color="LEVEL"> level 39</font> to take the test. To take the Test of the Summoner, visit<font color="LEVEL"> High Summoner Galatea of Gludin</font>.<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-06.htm">Return</a>
-</body></html>

+ 0 - 6
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-08.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. A Wizard may change occupations to a<font color="LEVEL"> Sorcerer</font>, a<font color="LEVEL"> Necromancer</font>, or a<font color="LEVEL"> Warlock</font>. Which occupation do you want to know about?<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-09.htm">Sorcerer</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-12.htm">Necromancer</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-15.htm">Warlock</a>
-</body></html>

+ 0 - 6
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-09.htm

@@ -1,6 +0,0 @@
-<html><body>
-A Sorcerer can use the power of the 4 elements to the extreme. They can use the strongest Elemental Magic.<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-10.htm">Description of the Sorcerer</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 HS">Change occupations to a Sorcerer.</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-08.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-10.htm

@@ -1,7 +0,0 @@
-<html><body>
-A Sorcerer is an occupation which amplifies the ability of a Wizard. This Elemental Magic mostly damages opponents, and the Sorcerer is a long range Mystic. And, he can face monsters with his strong offensive ability but needs to act with a party due to his poor stamina. However, during party play, while other Fighters are in a melee situation Sorcerers can attack from safe places with the most critical damages. And a Sorcerer shows his ability fully during Siege Battle. A Sorcerer is known as a cannon during Siege Battle. A group of Sorcerers attacking enemy territory is the most feared thing at the battlefield.<br>
-So he uses skills are that are mainly offensive Elemental Magic. Burning enemies around themselves and striking from long distance are the ways they attack.<br>
-To be a Sorcerer, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Trust, and the Mark of the Magus.<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-11.htm">Ask about marks.</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-09.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-11.htm

@@ -1,7 +0,0 @@
-<html><body>
-You must pass individual tests to obtain marks.<br>
-The<font color="LEVEL"> Mark of the Scholar</font> is only given to those who pass the Trial of the Scholar. You must be above<font color="LEVEL"> level 35</font> to take the test. To take the Trial of the Scholar, visit<font color="LEVEL"> Magister Mirien in the temple of Dion Castle Town</font>.<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 Magus</font> is only given to those who pass the Test of the Magus. You must be above<font color="LEVEL"> level 39</font> to take the test. To take the Test of Magus, visit<font color="LEVEL"> Bard Rukal of Dion Castle Town</font>.<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-10.htm">Return</a>
-</body></html>

+ 0 - 6
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-12.htm

@@ -1,6 +0,0 @@
-<html><body>
-A Necromaner uses the power of darkness, Black Magic to the extreme. They use the best Black Magic, and control the undead.<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-13.htm">Description of the Necromancer</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 HN">Change occupations to a Necromancer.</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-08.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-13.htm

@@ -1,7 +0,0 @@
-<html><body>
-A Necromancer is an occupation which amplifies the Black Magic ability of a Wizard. Black Magic is a form of indirect offense magic, used to weaken opponents. The way a Necromancer finishes off an opponent begins by weakening it first then using a summoned zombie to conclude the fight. During party play he poisons monsters decreasing their attack speed, which helps his party. This form of combat is very useful during fights with strong boss-like monsters.<br>
-They have basic skills such as summoning corpses to fight off enemies and blowing up corpses around the enemies to give them damage.<br>
-To be a Necromancer, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Trust, and the Mark of Witchcraft.<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-14.htm">Ask about marks.</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-12.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-14.htm

@@ -1,7 +0,0 @@
-<html><body>
-You must pass individual tests to obtain marks.<br>
-The<font color="LEVEL"> Mark of the Scholar</font> is only given to those who pass the Trial of the Scholar. You must be above<font color="LEVEL"> level 35</font> to take the test. To take the Trial of the Scholar, visit<font color="LEVEL"> Magister Mirien in the temple of Dion Castle Town</font>.<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 Witchcraft</font> is only given to those who pass the Test of Witchcraft. You must be above<font color="LEVEL"> level 39</font> to take the test. To take the Test of Witchcraft, go to the<font color="LEVEL"> Corridor of Death and visit Orim of the Shadow</font>.<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-13.htm">Return</a>
-</body></html>

+ 0 - 6
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-15.htm

@@ -1,6 +0,0 @@
-<html><body>
-Warlock uses the Summoning Magic to the extreme. They are the best at summoning various creatures and using their powers.<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-16.htm">Description of the Warlock</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 HW">Change occupations to a Warlock.</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-08.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-16.htm

@@ -1,7 +0,0 @@
-<html><body>
-A Warlock is an expert in Summoning Magic. The Hexan is an occupation which goes hunting alone with the creature he has summoned. The summoned creature attacks and the character supports or vice versa, or they can both attack. But they must summon enough creatures depending on the situation to have a proper fight. During party play, the Warlock can summon various creatures to help the party. He/She can supplement the weak spots of a party depending on the party's characteristics.<br>
-They have basic skills such as summoning various creatures and have magical skills to support the creatures.<br>
-To be a Warlock, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Trust, and the Mark of the Summoner.<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-17.htm">Ask about marks.</a><br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-15.htm">Return</a>
-</body></html>

+ 0 - 7
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-17.htm

@@ -1,7 +0,0 @@
-<html><body>
-You must pass individual tests to obtain marks.<br>
-The<font color="LEVEL"> Mark of the Scholar</font> is only given to those who pass the Trial of the Scholar. You must be above<font color="LEVEL"> level 35</font> to take the test. To take the Trial of the Scholar, visit<font color="LEVEL"> Magister Mirien in the temple of Dion Castle Town</font>.<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 Summoner</font> is only given to those who pass the Test of the Summoner. You must be above<font color="LEVEL"> level 39</font> to take the test. To take the Test of the Summoner, visit<font color="LEVEL"> High Summoner Galatea of Gludin</font>.<br>
-<a action="bypass -h Quest elven_human_mystics_2 30115-16.htm">Return</a>
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-18.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Spellsinger, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Life, and the Mark of the Magus.<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 to a Spellsinger.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-19.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Spellsinger, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Life, and the Mark of the Magus.<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 to a Spellsinger.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-20.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Spellsinger, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Life, and the Mark of the Magus.<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 to a Spellsinger.
-</body></html>

+ 0 - 3
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-21.htm

@@ -1,3 +0,0 @@
-<html><body>
-Congratulations! You have become one of the best to control Elemental Magic, Spellsinger. More ordeals and hardships await you, but I believe you will endure them well. If you have a strong wish, it is bound to come true. May the blessings of Einhasad and Eva always be with you.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-22.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be an Elemental Summoner, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Life, and the Mark of the Summoner.<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 to an Elemental Summoner.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-23.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be an Elemental Summoner, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Life, and the Mark of the Summoner.<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 to an Elemental Summoner.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-24.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be an Elemental Summoner, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Life, and the Mark of the Summoner.<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 to an Elemental Summoner.
-</body></html>

+ 0 - 3
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-25.htm

@@ -1,3 +0,0 @@
-<html><body>
-Congratulations! You have become one of the best to control Elemental Magic, the Elemental Summoner. More ordeals and hardships await you, but I believe you will endure them well. If you have a strong wish, it is bound to come true. May the blessings of Einhasad and Eva always be with you.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-26.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Sorcerer, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Trust, and the Mark of the Magus.<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 to a Sorcerer.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-27.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Sorcerer, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Trust, and the Mark of the Magus.<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 to a Sorcerer.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-28.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Sorcerer, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Trust, and the Mark of the Magus.<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 to a Sorcerer.
-</body></html>

+ 0 - 3
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-29.htm

@@ -1,3 +0,0 @@
-<html><body>
-Congratulations! Now you have become one of the best control Elemental Magic, the Sorcerer. 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_mystics_2/30115-30.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Necromancer, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Trust, and the Mark of Witchcraft.<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 Necromancer.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-31.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Necromancer, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Trust, and the Mark of Witchcraft.<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 Necromancer.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-32.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Necromancer, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Trust, and the Mark of Witchcraft.<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 Necromancer.
-</body></html>

+ 0 - 3
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-33.htm

@@ -1,3 +0,0 @@
-<html><body>
-Congratulations! Now you have become one of the best to control Black Magic, the Necromancer. 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_mystics_2/30115-34.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Warlock, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Trust, and the Mark of the Summoner.<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 to a Warlock.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-35.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Warlock, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Trust, and the Mark of the Summoner.<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 to a Warlock.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-36.htm

@@ -1,4 +0,0 @@
-<html><body>
-To be a Warlock, your level must be over 40 and you need to collect the Mark of the Scholar, the Mark of Trust, and the Mark of the Summoner.<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 to a Hexan.
-</body></html>

+ 0 - 3
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-37.htm

@@ -1,3 +0,0 @@
-<html><body>
-Congratulations! Now you have become one of the best to control Summoning Magic, the Warlock. 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_mystics_2/30115-38.htm

@@ -1,4 +0,0 @@
-<html><body>
-You still haven't done your 1st occupational change. I only teach Wizards and train them in to advanced ones.<br>
-You are not ready to come to me. Come to me after you have changed your occupation to a Wizard. Then I shall teach you the way to change occupations to higher levels.
-</body></html>

+ 0 - 4
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-39.htm

@@ -1,4 +0,0 @@
-<html><body>
-You have already changed your occupation twice. Now you have jumped a over the level of a normal person. Use your power in good places.<br>
-This continent shows the history of the misuse of magic, and is currently paying the price for it. The Sea of Spores and the Wastelands demonstrates these cases. That is why I beg you to use magic the right way.
-</body></html>

+ 0 - 3
dist/game/data/scripts/village_master/elven_human_mystics_2/30115-40.htm

@@ -1,3 +0,0 @@
-<html><body>
-I only teach Wizards and Elven Wizards, and never teach anyone else. If you wish to change occupations go look for a guild suitable for you.
-</body></html>

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

@@ -1,120 +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_mystics_2"
-#Quest items
-MARK_OF_SCHOLAR      = 2674
-MARK_OF_TRUST        = 2734
-MARK_OF_MAGUS        = 2840
-MARK_OF_LIFE         = 3140
-MARK_OF_WITCHCRAFT   = 3307
-MARK_OF_SUMMONER     = 3336
-#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
-#ok_ni: level ok, but you don't have quest item
-#ok_i: level ok, you got quest item, class change takes place
-CLASSES = {
-    "EW":[27,26,1,"18","19","20","21",[MARK_OF_SCHOLAR,MARK_OF_LIFE,MARK_OF_MAGUS]],
-    "ES":[28,26,1,"22","23","24","25",[MARK_OF_SCHOLAR,MARK_OF_LIFE,MARK_OF_SUMMONER]],
-    "HS":[12,11,0,"26","27","28","29",[MARK_OF_SCHOLAR,MARK_OF_TRUST,MARK_OF_MAGUS]],
-    "HN":[13,11,0,"30","31","32","33",[MARK_OF_SCHOLAR,MARK_OF_TRUST,MARK_OF_WITCHCRAFT]],
-    "HW":[14,11,0,"34","35","36","37",[MARK_OF_SCHOLAR,MARK_OF_TRUST,MARK_OF_SUMMONER]]
-    }
-#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 = "30115-"+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
-   # Elven and Human wizards only
-   if npcId in NPCS :
-     htmltext = "30115"
-     if race in [0,1] :
-       if id == 26 :      # elven wizard
-         return htmltext+"-01.htm"
-       elif id == 11 :      # human wizard
-         return htmltext+"-08.htm"
-       elif not classId.isMage() :   # all elf/human fighters from all occupation levels
-         htmltext += "-40.htm"
-       elif classId.level() == 0 : # first occupation change not made yet
-         htmltext += "-38.htm"
-       elif classId.level() == 1 : # buffers/oracles
-         htmltext += "-40.htm"
-       elif classId.level() >= 2 : # second/third occupation change already made
-         htmltext += "-39.htm"
-     else :
-       htmltext += "-40.htm"  # other races
-   st.exitQuest(1)
-   return htmltext
-
-QUEST   = Quest(99994,qn,"village_master")
-
-
-
-for npc in NPCS :
-    QUEST.addStartNpc(npc)
-    QUEST.addTalkId(npc)