浏览代码

Retail-like The Leader And The Follower (123).
Reviewed by: @Zoey76
Thanks to: @Zoey76

ivantotov 10 年之前
父节点
当前提交
c980552f3d
共有 65 个文件被更改,包括 524 次插入315 次删除
  1. 0 1
      L2J_DataPack/dist/game/data/scripts.cfg
  2. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-01.htm
  3. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-02.htm
  4. 0 2
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-03.htm
  5. 0 6
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-04.htm
  6. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-04a.htm
  7. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-04b.htm
  8. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-04c.htm
  9. 0 5
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-04d.htm
  10. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-05.htm
  11. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-05a.htm
  12. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-05b.htm
  13. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-05c.htm
  14. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-05d.htm
  15. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-05e.htm
  16. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-05f.htm
  17. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-06.htm
  18. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-07.htm
  19. 0 3
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-08.htm
  20. 0 3
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-09.htm
  21. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-09a.htm
  22. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-09b.htm
  23. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-09c.htm
  24. 0 3
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-10.htm
  25. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-FA.htm
  26. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-FB.htm
  27. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-FC.htm
  28. 0 4
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-FD.htm
  29. 0 2
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-FE.htm
  30. 0 2
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-FF.htm
  31. 0 202
      L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/__init__.py
  32. 4 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-01.htm
  33. 1 1
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-02.htm
  34. 4 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-02a.html
  35. 4 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-02b.htm
  36. 4 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-03.htm
  37. 3 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-04.html
  38. 6 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-05.html
  39. 5 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-05a.html
  40. 5 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-05b.html
  41. 5 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-05c.html
  42. 5 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-05d.html
  43. 5 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-05e.html
  44. 5 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-05f.html
  45. 3 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-05g.html
  46. 4 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-06.html
  47. 4 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-06a.html
  48. 4 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-06b.html
  49. 4 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-06c.html
  50. 4 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-06d.html
  51. 4 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-06e.html
  52. 3 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-07.html
  53. 4 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-08.html
  54. 3 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-09.html
  55. 3 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-10.html
  56. 3 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-11.html
  57. 3 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-11a.html
  58. 3 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-12.html
  59. 3 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-14.html
  60. 5 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-15.html
  61. 4 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-16.html
  62. 4 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-17.html
  63. 399 0
      L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/Q00123_TheLeaderAndTheFollower.java
  64. 2 0
      L2J_DataPack/dist/game/data/scripts/quests/QuestMasterHandler.java
  65. 2 1
      L2J_DataPack/dist/sql/game/updates/20150222update.sql

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

@@ -182,7 +182,6 @@ hellbound/HellboundLoader.java
 # Quests Section
 quests/QuestMasterHandler.java
 quests/TerritoryWarScripts/TerritoryWarSuperClass.java
-quests/123_TheLeaderAndTheFollower/__init__.py
 quests/234_FatesWhisper/__init__.py
 quests/236_SeedsOfChaos/__init__.py
 quests/255_Tutorial/__init__.py

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-01.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Have you heard? A<font color="LEVEL"> new type of armor has been designed excusively for members of the Clan Academy</font>!<br>
-Do you want some? I'd be happy to make it for you, just say the word!<br>
-<a action="bypass -h Quest 123_TheLeaderAndTheFollower 31961-02.htm">"Please make some new armor for me."</a></body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-02.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Oh really?<font color="LEVEL"> Nothing in life is free my friend!</font> This will be no exception! You may as well get ready to pay through the nose for every little piece of material I need! Ha! That look on your face is priceless!<br>
-You won't find this stuff easilty, I can promise you that! Nothing I need can be found in a store...<br>
-I'm afraid you'll have to slaughter the<font color="LEVEL"> Bruin Lizardman</font> in the<font color="LEVEL"> East of Schuttgart</font> and bring me<font color="LEVEL"> 10 bottles</font> of their<font color="LEVEL"> blood</font>. I can't make the special Armor without it... Now get going! I don't have all day!</body></html>

+ 0 - 2
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-03.htm

@@ -1,2 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-You're back so soon? You have to slaughter the<font color="LEVEL"> Bruin Lizardman</font> in the<font color="LEVEL"> East of Schuttgart</font> and bring me<font color="LEVEL"> 10 bottles</font> of their<font color="LEVEL"> blood</font>. I can't make the special Armor without it... Now get going! I don't have all day!</body></html>

+ 0 - 6
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-04.htm

@@ -1,6 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Good job! Now I'll need some crystals: D-Gra...<br>
-Oh, I'm getting ahead of myself! What kinf of Armor is it that you want?<br>
-<a action="bypass -h Quest 123_TheLeaderAndTheFollower 31961-04a.htm">Heavy Armor</a><br>
-<a action="bypass -h Quest 123_TheLeaderAndTheFollower 31961-04b.htm">Light Armor</a><br>
-<a action="bypass -h Quest 123_TheLeaderAndTheFollower 31961-04c.htm">Robe</a></body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-04a.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Heavy Armor, eh? Make sure that's what you want, because ince I start making it, there is no going back!<br>
-<a action="bypass -h Quest 123_TheLeaderAndTheFollower 31961-05a.htm">"I want Heavy Armor"</a><br>
-<a action="bypass -h Quest 123_TheLeaderAndTheFollower 31961-04d.htm">"I need to think about it some more"</a></body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-04b.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Light Armor, eh? Make sure that's what you want, because ince I start making it, there is no going back!<br>
-<a action="bypass -h Quest 123_TheLeaderAndTheFollower 31961-05b.htm">"I want Light Armor"</a><br>
-<a action="bypass -h Quest 123_TheLeaderAndTheFollower 31961-04d.htm">"I need to think about it some more"</a></body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-04c.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Robe Armor, eh? Make sure that's what you want, because ince I start making it, there is no going back!<br>
-<a action="bypass -h Quest 123_TheLeaderAndTheFollower 31961-05c.htm">"I want Robe Armor"</a><br>
-<a action="bypass -h Quest 123_TheLeaderAndTheFollower 31961-04d.htm">"I need to think about it some more"</a></body></html>

+ 0 - 5
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-04d.htm

@@ -1,5 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Oh! Ok, take your time and choose carefully... What kind of Armor is it that you want?<br>
-<a action="bypass -h Quest 123_TheLeaderAndTheFollower 31961-04a.htm">Heavy Armor</a><br>
-<a action="bypass -h Quest 123_TheLeaderAndTheFollower 31961-04b.htm">Light Armor</a><br>
-<a action="bypass -h Quest 123_TheLeaderAndTheFollower 31961-04c.htm">Robe</a></body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-05.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Now I can get started making Robe Armor armor. I'll need some D-Grade crystals , but I know better that to ask a lightweight like you to bring them to me!<br>
-Have you<font color="LEVEL"> Sponsor</font> bring me<font color="LEVEL"> 771 D-Grade Crystals</font>. Stop whininh! I'm not running a charity here!<br>
-Oh, by the way...<font color="LEVEL"> You've got to come back with your Sponsor!</font> How else would I know who your sponsor was?</body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-05a.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Now I can get started making Heavy Armor. I'll need some D-Grade crystals , but I know better than to ask a lightweight like you to bring them to me!<br>
-Have your<font color="LEVEL"> Sponsor</font> bring me<font color="LEVEL"> 922 D-Grade Crystals</font>. Stop whining! I'm not running a charity here!<br>
-Oh, by the way...<font color="LEVEL"> You've got to come back with your Sponsor!</font> How else would I know who your sponsor was?</body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-05b.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Now I can get started making Light Armor. I'll need some D-Grade crystals , but I know better than to ask a lightweight like you to bring them to me!<br>
-Have your<font color="LEVEL"> Sponsor</font> bring me<font color="LEVEL"> 771 D-Grade Crystals</font>. Stop whining! I'm not running a charity here!<br>
-Oh, by the way...<font color="LEVEL"> You've got to come back with your Sponsor!</font> How else would I know who your sponsor was?</body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-05c.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Now I can get started making Robe Armor. I'll need some D-Grade crystals , but I know better than to ask a lightweight like you to bring them to me!<br>
-Have your<font color="LEVEL"> Sponsor</font> bring me<font color="LEVEL"> 771 D-Grade Crystals</font>. Stop whining! I'm not running a charity here!<br>
-Oh, by the way...<font color="LEVEL"> You've got to come back with your Sponsor!</font> How else would I know who your sponsor was?</body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-05d.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-I'm about to start making your Heavy Armor, but I'll need some D-Grade crystals!<br>
-Have your<font color="LEVEL"> Sponsor</font> bring me<font color="LEVEL"> 922 D-Grade Crystals</font>. Stop whining! I'm not running a charity here!<br>
-Oh, by the way...<font color="LEVEL"> You've got to come back with your Sponsor!</font> How else would I know who your sponsor was?</body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-05e.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-I'm about to start making your Light Armor, but I'll need some D-Grade crystals!<br>
-Have your<font color="LEVEL"> Sponsor</font> bring me<font color="LEVEL"> 771 D-Grade Crystals</font>. Stop whining! I'm not running a charity here!<br>
-Oh, by the way...<font color="LEVEL"> You've got to come back with your Sponsor!</font> How else would I know who your sponsor was?</body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-05f.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-I'm about to start making your Robe Armor, but I'll need some D-Grade crystals!<br>
-Have your<font color="LEVEL"> Sponsor</font> bring me<font color="LEVEL"> 771 D-Grade Crystals</font>. Stop whining! I'm not running a charity here!<br>
-Oh, by the way...<font color="LEVEL"> You've got to come back with your Sponsor!</font> How else would I know who your sponsor was?</body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-06.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Well, these are all the materials I need for the armor, but... I have one last whim. I want to see just how close you and your sponsor really are.<br>
-Go to the<font color="LEVEL"> southwest of the village</font> and defeat the<font color="LEVEL"> Piccat Arachnids</font>. Bring me<font color="LEVEL"> 8 Arachnid legs</font> as proof.<font color="LEVEL"> But here's the catch: you must defeat the Piccat Arachnid while your Sponsor is watching.</font> I think this is the perfect chance for you to show your sponsor how much you've grown. And, just in case you get into some trouble, your sponsor's presence may be very beneficial. Whatever happens, I believe this will be beneficial to your mutual relationship.<br>
-I will work on the armor while you go to confront the Piccat Arachnid.</body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-07.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-As I said, I have all the ingredients I need, but I want to test the bond between you and your Sponsor.<br>
-Go to the<font color="LEVEL"> southwest of the village</font> and defeat the<font color="LEVEL"> Piccat Arachnids</font>. Bring me<font color="LEVEL"> 8 Arachnid legs</font> as proof.<font color="LEVEL"> But here's the catch: you must defeat the Piccat Arachnid while your Sponsor is watching.</font> I think this is the perfect chance for you to show your sponsor how much you've grown. And, just in case you get into some trouble, your sponsor's presence may be very beneficial. Whatever happens, I believe this will be beneficial to your mutual relationship.<br>
-I will work on the armor while you go to confront the Piccat Arachnid.</body></html>

+ 0 - 3
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-08.htm

@@ -1,3 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-And here you are, with your Arachnid trophy! I trust your sponsor was suitably impressed. He should be.<br>
-Here's the armor. I hope it serves you well.</body></html>

+ 0 - 3
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-09.htm

@@ -1,3 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Unfortunately there's nothing i can do for you without crystals<br>
-Go get some and talk with me again. I'll be waiting but please hurry or Lizardmen blood will debase!</body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-09a.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-I'm about to start making a Heavy Armor for your apprentice, but I'll need some D-Grade crystals!<br>
-Have you brought<font color="LEVEL"> 992 D-Grade Crystals</font>?<br>
-<a action="bypass -h Quest 123_TheLeaderAndTheFollower 31961-09.htm">"Here are the crystals"</a></body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-09b.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-I'm about to start making a Light Armor for your apprentice, but I'll need some D-Grade crystals!<br>
-Have you brought<font color="LEVEL">  771 D-Grade Crystals</font>?<br>
-<a action="bypass -h Quest 123_TheLeaderAndTheFollower 31961-09.htm">"Here are the crystals"</a></body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-09c.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-I'm about to start making a Robe Armor for your apprentice, but I'll need some D-Grade crystals!<br>
-Have you brought<font color="LEVEL">  771 D-Grade Crystals</font>?<br>
-<a action="bypass -h Quest 123_TheLeaderAndTheFollower 31961-09.htm">"Here are the crystals"</a></body></html>

+ 0 - 3
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-10.htm

@@ -1,3 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Excellent! Thank you very much. I'll get started right now...<br>
-Ah.. may I have a word with your Apprentice? Please tell him I wish to have a talk.</body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-FA.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-You don't meet any of the criteria required to undertake this quest.<br>
-Most common reason should be that you're in a clan but don't have an apprentice.<br>
-Try again later or contact your administrator if this is not the case.</body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-FB.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Apprentice's clan member instance information isn't available right now.<br>
-Maybe he's disconnected, teleporting or somehow unavailable.<br>
-Try again later or contact your administrator if problem persist.</body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-FC.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Apprentice's clan member instance doesn't seem to be online.<br>
-Maybe he's disconnected, teleporting or somehow unavailable.<br>
-Try again later or contact your administrator if problem persist.</body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-FD.htm

@@ -1,4 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Apprentice's player instance information isn't available right now.<br>
-Maybe he's disconnected, teleporting or somehow unavailable.<br>
-Try again later or contact your administrator if problem persist.</body></html>

+ 0 - 2
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-FE.htm

@@ -1,2 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Your apprentice isn't undertaking this quest right now, or its quest information is unavailable. Try again later or contact your administrator if problem persist.</body></html>

+ 0 - 2
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-FF.htm

@@ -1,2 +0,0 @@
-<html><body>Head Blacksmith Newyear:<br>
-Your apprentice's quest don't require actions from you for the moment.</body></html>

+ 0 - 202
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/__init__.py

@@ -1,202 +0,0 @@
-# The Leader and the Follower - v0.1 by DrLecter
-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 = "123_TheLeaderAndTheFollower"
-
-#CONFIG
-DEBUG=1
-#ITEMS 
-BLOOD,LEG = 8549,8550
-#NPCS
-NEWYEAR = 31961
-#MOBS and DROPS
-DROPLIST={27321:[BLOOD,60,10,1,0],
-          27322:[LEG,70,8,7,1]
-          }
-
- 
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr):
-     JQuest.__init__(self,id,name,descr)
-     self.questItemIds = [BLOOD, LEG]
-
- def onAdvEvent (self,event,npc, player) :
-   htmltext = event
-   st = self.getQuestState(player, False)
-   if not st : return
-   if event == "31961-02.htm" :
-     st.set("cond","1")
-     st.setState(State.STARTED)
-     st.playSound("ItemSound.quest_accept")
-   elif event == "31961-05a.htm" :
-     if st.getQuestItemsCount(BLOOD) >= 10 :
-         st.takeItems(BLOOD,-1)
-         st.set("cond","3");
-         st.set("settype","1")
-         st.playSound("ItemSound.quest_middle")
-     else:
-         htmltext = "Incorrect item count"
-   elif event == "31961-05b.htm" :
-     if st.getQuestItemsCount(BLOOD) >= 10 :
-         st.takeItems(BLOOD,-1)
-         st.set("cond","4")
-         st.set("settype","2")
-         st.playSound("ItemSound.quest_middle")
-     else:
-         htmltext = "Incorrect item count"
-   elif event == "31961-05c.htm" :
-     if st.getQuestItemsCount(BLOOD) >= 10 :
-         st.takeItems(BLOOD,-1)
-         st.set("cond","5");
-         st.set("settype","3")
-         st.playSound("ItemSound.quest_middle") 
-     else:
-         htmltext = "Incorrect item count"
-   elif event == "31961-09.htm" :
-     cm_apprentice = st.getPlayer().getClan().getClanMember(st.getPlayer().getApprentice())
-     if cm_apprentice.isOnline():
-        apprentice = cm_apprentice.getPlayerInstance()
-        if apprentice :
-           ap_quest=apprentice.getQuestState("123_TheLeaderAndTheFollower")
-           if ap_quest != None :
-              ap_cond=ap_quest.getInt("cond")
-              if  ap_cond == 3 :
-                 crystals=922
-              elif ap_cond in [4,5] :
-                 crystals=771
-              if st.getQuestItemsCount(1458) >= crystals:
-                 st.takeItems(1458,crystals)
-                 ap_quest.set("cond","6")
-                 st.playSound("ItemSound.quest_middle")
-                 ap_quest.playSound("ItemSound.quest_middle")
-                 htmltext = "31961-10.htm"
-     st.exitQuest(1)
-   return htmltext 
-
- def onTalk (self,npc,player):
-   npcId = npc.getId()
-   htmltext = Quest.getNoQuestMsg(player)
-   st = self.getQuestState(player, True)
-   if not st : return htmltext
-
-   id = st.getState()
-   cond = st.getInt("cond") 
-   if player.getClan() == None :
-     htmltext = "31961-00.htm"
-     st.exitQuest(1)
-   elif player.getPledgeType() == -1 :
-     if id==State.COMPLETED:
-       htmltext = Quest.getAlreadyCompletedMsg(player) 
-     elif player.getLevel() < 19 or not player.getSponsor() :
-       htmltext = "31961-00.htm"
-       st.exitQuest(1)
-     else :
-       if id == State.CREATED :
-         htmltext = "31961-01.htm"
-       elif cond == 1 :
-         htmltext = "31961-03.htm" 
-       elif cond == 2 :
-         htmltext = "31961-04.htm"
-       elif cond == 3 :
-         htmltext = "31961-05d.htm"
-       elif cond == 4 :
-         htmltext = "31961-05e.htm"
-       elif cond == 5 :
-         htmltext = "31961-05f.htm"
-       elif cond == 6 :
-         htmltext = "31961-06.htm"
-         st.set("cond", "7")
-       elif cond == 7 :
-         htmltext = "31961-07.htm"
-       elif cond == 8 and st.getQuestItemsCount(LEG)==8 :
-         settype = st.getInt("settype")
-         htmltext = "31961-08.htm"
-         st.takeItems(LEG,-1)
-         if settype == 1 :
-            set = range(7851,7854) #heavy
-         elif settype == 2 :
-            set = range(7854,7857) #light
-         elif settype == 3 :
-            set = range(7857,7860) #robe
-         for item in [7850]+set:
-            st.giveItems(item,1)
-         st.unset("cond")
-         st.unset("settype")
-         st.exitQuest(False) 
-         st.playSound("ItemSound.quest_finish")
-   elif player.getApprentice() :
-     cm_apprentice = player.getClan().getClanMember(player.getApprentice())
-     if cm_apprentice:
-        if cm_apprentice.isOnline():
-           apprentice = cm_apprentice.getPlayerInstance()
-           if apprentice :
-              ap_quest=apprentice.getQuestState(qn)
-              if ap_quest :
-                 ap_cond=ap_quest.getInt("cond")
-                 if ap_cond == 3 :
-                    htmltext = "31961-09a.htm"
-                 elif ap_cond == 4 :
-                    htmltext = "31961-09b.htm"
-                 elif ap_cond == 5 :
-                    htmltext = "31961-09c.htm"
-                 else :
-                    if DEBUG : htmltext = "31961-FF.htm"
-                    st.exitQuest(1)
-              else :
-                if DEBUG: htmltext = "31961-FE.htm"
-                st.exitQuest(1)
-           else :
-             if DEBUG: htmltext = "31961-FD.htm"
-             st.exitQuest(1)
-        else :
-           if DEBUG:htmltext = "31961-FC.htm"
-           st.exitQuest(1)
-     else :
-       if DEBUG:htmltext = "31961-FB.htm"
-       st.exitQuest(1)
-   else :
-     if DEBUG:htmltext = "31961-FA.htm"
-     st.exitQuest(1)
-   return htmltext
-
- def onKill(self,npc,player,isPet):
-    st = self.getQuestState(player, False)
-    if not st : return
-    if st.getState() != State.STARTED : return
-    sponsor = player.getSponsor()
-    if not sponsor:
-      st.exitQuest(1)
-      return
-    item,chance,max,cond,check = DROPLIST[npc.getId()]
-    count,enabled=st.getQuestItemsCount(item),True
-    if check :
-       enabled=False
-       cm_sponsor = player.getClan().getClanMember(sponsor)
-       if cm_sponsor :
-         if cm_sponsor.isOnline():
-           sponsor = cm_sponsor.getPlayerInstance()
-           if sponsor :
-             if player.isInsideRadius(sponsor, 1100, 1, 0) :
-               enabled=True
-    if st.getInt("cond") == cond and count < max and self.getRandom(100) < chance and enabled :
-       st.giveItems(item,1)
-       if count == max-1:
-          st.set("cond",str(cond+1))
-          st.playSound("ItemSound.quest_middle")
-       else :
-          st.playSound("ItemSound.quest_itemget")
-    return
-     
-
-QUEST     = Quest(123,qn,"The Leader And The Follower") 
-
-QUEST.addStartNpc(NEWYEAR) 
-
-QUEST.addTalkId(NEWYEAR)
-
-for mob in DROPLIST.keys():
-    QUEST.addKillId(mob)

+ 4 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-01.htm

@@ -0,0 +1,4 @@
+<html><body>Head Blacksmith Newyear:<br>
+Say, you may not have heard, but there is<font color="LEVEL"> a new type of armor available that's only for members of a clan academy. </font>Would you like to have a suit of it? I can make one for you...<br>
+<a action="bypass -h Quest Q00123_TheLeaderAndTheFollower 31961-03.htm">Tell him you want it.</a>
+</body></html>

+ 1 - 1
L2J_DataPack/dist/game/data/scripts/quests/123_TheLeaderAndTheFollower/31961-00.htm → L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-02.htm

@@ -1,5 +1,5 @@
 <html><body>Head Blacksmith Newyear:<br>
-Say, you may not have heard, but there is <font color="LEVEL">a new type of armor available ... but only for members of the clan academy</font>. Would you like to have a suit of it? I can make one for you...<br>
+Say, you may not have heard, but there is <font color="LEVEL">a new type of armor available  but only for members of the clan academy</font>. Would you like to have a suit of it? I can make one for you...<br>
 Oh, wait, I fear you don't meet the prerequisites. I'm sorry.<br>
 (Only level 19 and higher characters who are clan academy members, and who have a sponsor, are permitted to take on the quest.)
 </body></html>

+ 4 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-02a.html

@@ -0,0 +1,4 @@
+<html><body>Head Blacksmith Newyear:<br>
+Oh, don't be greedy, now. You've already received a set of Clan Academy armor from Blacksmith Pinter of Gludio...<br>
+(This quest is not available to characters who are engaged in the quest To Lead and Be Led.)
+</body></html>

+ 4 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-02b.htm

@@ -0,0 +1,4 @@
+<html><body>Head Blacksmith Newyear:<br>
+Oh, come now. You've already gotten a fine set of Clan Academy armor from Blacksmith Pinter of Gludio.<br>
+(This quest is not available to characters who are engaged in the quest To Lead and Be Led.)
+</body></html>

+ 4 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-03.htm

@@ -0,0 +1,4 @@
+<html><body>Head Blacksmith Newyear:<br>
+Oh, don't you worry about getting this for free. Nothing's for nothing, you know. In fact, you will need to fetch me every single piece of material required to make it! But it'll be worth the effort, I promise you. You can't buy this kind of armor in a store.<br>
+First, you must defeat the <font color="LEVEL">Brun Lizardmen</font> to the <font color="LEVEL">south of the village</font>, and then bring me <font color="LEVEL">10 bottles</font> of their <font color="LEVEL">blood</font>. Their blood is the activator in the epoxy I use for the armor. Go, make haste!
+</body></html>

+ 3 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-04.html

@@ -0,0 +1,3 @@
+<html><body>Head Blacksmith Newyear:<br>
+First, you must defeat the <font color="LEVEL">Brun Lizardmen</font> to the <font color="LEVEL">south of the village</font>, and then bring me <font color="LEVEL">10 bottles</font> of their <font color="LEVEL">blood</font>. Their blood is the activator in the epoxy I use for the armor. Go, make haste!
+</body></html>

+ 6 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-05.html

@@ -0,0 +1,6 @@
+<html><body>Head Blacksmith Newyear:<br>
+Great! Fine work! Now, I need some D-Grade Crystals... but before we get into that, I need to know what kind of armor you want. That will dictate the terms of our agreement, including, of course, the number of crystals you will need to gather.<br>
+<a action="bypass -h Quest Q00123_TheLeaderAndTheFollower 31961-05a.html">Heavy</a><br>
+<a action="bypass -h Quest Q00123_TheLeaderAndTheFollower 31961-05b.html">Light</a><br>
+<a action="bypass -h Quest Q00123_TheLeaderAndTheFollower 31961-05c.html">Robe</a>
+</body></html>

+ 5 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-05a.html

@@ -0,0 +1,5 @@
+<html><body>Head Blacksmith Newyear:<br>
+Okay, heavy armor it is. But I'm going to give you one chance to reconsider, for once I start making this suit, there's no way to reverse the choice.<br>
+<a action="bypass -h Quest Q00123_TheLeaderAndTheFollower 31961-05d.html">Tell him you want heavy armor.</a><br>
+<a action="bypass -h Quest Q00123_TheLeaderAndTheFollower 31961-05g.html">Tell him you will think about it again.</a>
+</body></html>

+ 5 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-05b.html

@@ -0,0 +1,5 @@
+<html><body>Head Blacksmith Newyear:<br>
+Very well, one suit of light armor.  But I'm going to give you one chance to reconsider, for once I start making this suit, there's no way to reverse the choice.<br>
+<a action="bypass -h Quest Q00123_TheLeaderAndTheFollower 31961-05e.html">Tell him you want light armor.</a><br>
+<a action="bypass -h Quest Q00123_TheLeaderAndTheFollower 31961-05g.html">Tell him you will think about it again.</a>
+</body></html>

+ 5 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-05c.html

@@ -0,0 +1,5 @@
+<html><body>Head Blacksmith Newyear:<br>
+A robe it shall be, then.  But I'm going to give you one chance to reconsider, for once I start making this item, there's no way to reverse the choice.<br>
+<a action="bypass -h Quest Q00123_TheLeaderAndTheFollower 31961-05f.html">Tell him you want robe armor.</a><br>
+<a action="bypass -h Quest Q00123_TheLeaderAndTheFollower 31961-05g.html">Tell him you will think about it again.</a>
+</body></html>

+ 5 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-05d.html

@@ -0,0 +1,5 @@
+<html><body>Head Blacksmith Newyear:<br>
+Very well, heavy armor then. But I don't think you have the number of D-Grade Crystals I'll need for this; you're far too inexperienced.<br>
+Perhaps you could ask your <font color="LEVEL">sponsor</font> to bring <font color="LEVEL">922 D-Grade Crystals</font>.  Come now, don't make a long face. These crystals are integral to the process of making the armor. I can't afford to supply them for free - this isn't a charity, you know.<br>
+Oh, yes, one other requirement: <font color="LEVEL">you will have to accompany your sponsor here.</font> Otherwise, if he comes here alone, how in the world will I know he's your sponsor?
+</body></html>

+ 5 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-05e.html

@@ -0,0 +1,5 @@
+<html><body>Head Blacksmith Newyear:<br>
+Light armor it is, then. But I don't think you have the number of D-Grade Crystals I'll need for this; you're far too inexperienced.<br>
+Perhaps you could ask your <font color="LEVEL">sponsor</font> to bring <font color="LEVEL">771 D-Grade Crystals</font>. Come now, don't make a long face. These crystals are integral to the process of making the armor. I can't afford to supply them for free - this isn't a charity, you know.<br>
+Oh, yes, one other requirement: <font color="LEVEL">you will have to accompany your sponsor here.</font> Otherwise, if he comes here alone, how in the world will I know he's your sponsor?
+</body></html>

+ 5 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-05f.html

@@ -0,0 +1,5 @@
+<html><body>Head Blacksmith Newyear:<br>
+I will make you a robe, then. Unfortunately, I suspect that you won't have the number of D-Grade Crystals I'll need for this; you're far too inexperienced.<br>
+Perhaps you could ask your <font color="LEVEL">sponsor</font> to bring <font color="LEVEL">771 D-Grade Crystals</font>. Come, now, don't make a long face. These crystals are integral to the process of making the armor. I can't afford to supply them for free - this isn't a charity, you know.<br>
+Oh, yes, one other requirement: <font color="LEVEL">you will have to accompany your sponsor here.</font> Otherwise, if he comes here alone, how in the world will I know he's your sponsor?
+</body></html>

+ 3 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-05g.html

@@ -0,0 +1,3 @@
+<html><body>Head Blacksmith Newyear:<br>
+Very well. Think it over and let me know.
+</body></html>

+ 4 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-06.html

@@ -0,0 +1,4 @@
+<html><body>Head Blacksmith Newyear:<br>
+Ask your <font color="LEVEL">sponsor</font> to bring <font color="LEVEL">922 D-Grade Crystals</font>. Come, now, don't make a long face. These crystals are integral to the process of making the armor. I can't afford to supply them for free - this isn't a charity, you know.<br>
+Oh, yes, one other requirement: <font color="LEVEL">you will have to accompany your sponsor here.</font> Otherwise, if he comes here alone, how in the world will I know he's your sponsor?
+</body></html>

+ 4 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-06a.html

@@ -0,0 +1,4 @@
+<html><body>Head Blacksmith Newyear:<br>
+Go ask your <font color="LEVEL">sponsor</font> to bring <font color="LEVEL">922 D-Grade Crystals</font>. Come, now, don't make a long face. These crystals are integral to the process of making the armor. I can't afford to supply them for free - this isn't a charity, you know.<br>
+What's that you say? You don't have a sponsor? Oh, for crying out loud! Why didn't you tell me that before wasting my time? Come back and see me again after you find a sponsor.
+</body></html>

+ 4 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-06b.html

@@ -0,0 +1,4 @@
+<html><body>Head Blacksmith Newyear:<br>
+Go ask your <font color="LEVEL">sponsor</font> to bring <font color="LEVEL">771 D-Grade Crystals</font>. Come, now, don't make a long face. These crystals are integral to the process of making the armor. I can't afford to supply them for free - this isn't a charity, you know.<br>
+What's that you say? You don't have a sponsor? Oh, for crying out loud! Why didn't you tell me that before wasting my time? Come back and see me again after you find a sponsor.
+</body></html>

+ 4 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-06c.html

@@ -0,0 +1,4 @@
+<html><body>Head Blacksmith Newyear:<br>
+Go ask your <font color="LEVEL">sponsor</font> to bring <font color="LEVEL">771 D-Grade Crystals</font>. Come, now, don't make a long face. These crystals are integral to the process of making the armor. I can't afford to supply them for free - this isn't a charity, you know.<br>
+What's that you say? You don't have a sponsor? Oh, for crying out loud! Why didn't you tell me that before wasting my time? Come back and see me again after you find a sponsor.
+</body></html>

+ 4 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-06d.html

@@ -0,0 +1,4 @@
+<html><body>Head Blacksmith Newyear:<br>
+Ask your <font color="LEVEL">sponsor</font> to bring <font color="LEVEL">771 D-Grade Crystals</font>. Come, now, don't make a long face. These crystals are integral to the process of making the armor. I can't afford to supply them for free - this isn't a charity, you know.<br>
+Oh, yes, one other requirement: <font color="LEVEL">you will have to accompany your sponsor here.</font> Otherwise, if he comes here alone, how in the world will I know he's your sponsor?
+</body></html>

+ 4 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-06e.html

@@ -0,0 +1,4 @@
+<html><body>Head Blacksmith Newyear:<br>
+Ask your <font color="LEVEL">sponsor</font> to bring <font color="LEVEL">771 D-Grade Crystals</font>. Come, now, don't make a long face. These crystals are integral to the process of making the armor. I can't afford to supply them for free - this isn't a charity, you know.<br>
+Oh, yes, one other requirement: <font color="LEVEL">you will have to accompany your sponsor here.</font> Otherwise, if he comes here alone, how in the world will I know that he's your sponsor?
+</body></html>

+ 3 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-07.html

@@ -0,0 +1,3 @@
+<html><body>Head Blacksmith Newyear:<br>
+Well, where is your sponsor, then?  Go bring him here.
+</body></html>

+ 4 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-08.html

@@ -0,0 +1,4 @@
+<html><body>Head Blacksmith Newyear:<br>
+Ah, here you are again. Did you bring the D-Grade Crystals as we arranged?<br>
+<a action="bypass -h Quest Q00123_TheLeaderAndTheFollower 31961-10.html">Hand him the D-Grade Crystals.</a>
+</body></html>

+ 3 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-09.html

@@ -0,0 +1,3 @@
+<html><body>Head Blacksmith Newyear:<br>
+Who are you? A sponsor, you say, but whose? Go get your apprentice. I can't be expected to remember every apprentice and every sponsor, can I?
+</body></html>

+ 3 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-10.html

@@ -0,0 +1,3 @@
+<html><body>Head Blacksmith Newyear:<br>
+Thank you for supplying these crystals. Now I have something to tell your apprentice, so please ask him to come talk to me.
+</body></html>

+ 3 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-11.html

@@ -0,0 +1,3 @@
+<html><body>Head Blacksmith Newyear:<br>
+Well, what is this? I need more crystals. Please bring me <font color="LEVEL">922 D-Grade Crystals</font> if you want this job done.
+</body></html>

+ 3 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-11a.html

@@ -0,0 +1,3 @@
+<html><body>Head Blacksmith Newyear:<br>
+These aren't enough crystals. Please bring me <font color="LEVEL">771 D-Grade Crystals</font> so that I can make your armor.
+</body></html>

+ 3 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-12.html

@@ -0,0 +1,3 @@
+<html><body>Head Blacksmith Newyear:<br>
+I have something to tell your apprentice, so please ask him to come talk to me.
+</body></html>

+ 3 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-14.html

@@ -0,0 +1,3 @@
+<html><body>Head Blacksmith Newyear:<br>
+I don't think you have any business here — this is my place, and I have nothing to discuss with you.
+</body></html>

+ 5 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-15.html

@@ -0,0 +1,5 @@
+<html><body>Head Blacksmith Newyear:<br>
+Well, these are all the materials I need for the armor, but... I have one last whim. I want to see just how close you and your sponsor really are.<br>
+Go to the <font color="LEVEL">southwest of the village</font> and defeat the <font color="LEVEL">Piccat Arachnids</font>. Bring me <font color="LEVEL">8 Arachnid legs</font> as proof. <font color="LEVEL">But here's the catch: you must defeat the Piccat Arachnid while your Sponsor is watching.</font> I think this is the perfect  chance for you to show your sponsor how much you've grown. And, just in case you get into some trouble, your sponsor's presence may be very beneficial. Whatever happens, I believe  this will be beneficial to your mutual relationship.<br>
+I will work on the armor while you go to confront the Piccat Arachnid.
+</body></html>

+ 4 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-16.html

@@ -0,0 +1,4 @@
+<html><body>Head Blacksmith Newyear:<br>
+Go to the <font color="LEVEL">southwest of the village</font> and defeat the <font color="LEVEL">Piccat Arachnids</font>. Bring me <font color="LEVEL">8 Arachnid legs</font> as proof. <font color="LEVEL">But here's the catch: you must defeat the Piccat Arachnid while your sponsor is watching.</font> I think this is the perfect  chance for you to show your sponsor how much you've grown. And, just in case you get into some trouble, your sponsor's presence may be very beneficial. Whatever happens, I believe  this will be beneficial to your mutual relationship.<br>
+I will work on the armor while you go to confront the Piccat Arachnid.
+</body></html>

+ 4 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/31961-17.html

@@ -0,0 +1,4 @@
+<html><body>Head Blacksmith Newyear:<br>
+And here you are, with your Arachnid trophy!  I trust your sponsor was suitably impressed.  He should be.<br>
+Here's the armor.  I hope it serves you well.
+</body></html>

+ 399 - 0
L2J_DataPack/dist/game/data/scripts/quests/Q00123_TheLeaderAndTheFollower/Q00123_TheLeaderAndTheFollower.java

@@ -0,0 +1,399 @@
+/*
+ * 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 quests.Q00123_TheLeaderAndTheFollower;
+
+import quests.Q00118_ToLeadAndBeLed.Q00118_ToLeadAndBeLed;
+
+import com.l2jserver.gameserver.model.L2World;
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.quest.Quest;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.model.quest.State;
+import com.l2jserver.gameserver.util.Util;
+
+/**
+ * The Leader And The Follower (123)
+ * @author ivantotov
+ */
+public final class Q00123_TheLeaderAndTheFollower extends Quest
+{
+	// NPC
+	private static final int HEAD_BLACKSMITH_NEWYEAR = 31961;
+	// Items
+	private static final int CRYSTAL_D = 1458;
+	private static final int BRUIN_LIZARDMAN_BLOOD = 8549;
+	private static final int PICOT_ARANEIDS_LEG = 8550;
+	// Reward
+	private static final int CLAN_OATH_HELM = 7850;
+	private static final int CLAN_OATH_ARMOR = 7851;
+	private static final int CLAN_OATH_GAUNTLETS_HEAVY_ARMOR = 7852;
+	private static final int CLAN_OATH_SABATON_HEAVY_ARMOR = 7853;
+	private static final int CLAN_OATH_BRIGANDINE = 7854;
+	private static final int CLAN_OATH_LEATHER_GLOVES_LIGHT_ARMOR = 7855;
+	private static final int CLAN_OATH_BOOTS_LIGHT_ARMOR = 7856;
+	private static final int CLAN_OATH_AKETON = 7857;
+	private static final int CLAN_OATH_PADDED_GLOVES_ROBE = 7858;
+	private static final int CLAN_OATH_SANDALS_ROBE = 7859;
+	// Quest Monster
+	private static final int BRUIN_LIZARDMAN = 27321;
+	private static final int PICOT_ARANEID = 27322;
+	// Misc
+	private static final int MIN_LEVEL = 19;
+	private static final int CRYSTAL_COUNT_1 = 922;
+	private static final int CRYSTAL_COUNT_2 = 771;
+	
+	public Q00123_TheLeaderAndTheFollower()
+	{
+		super(123, Q00123_TheLeaderAndTheFollower.class.getSimpleName(), "The Leader And The Follower");
+		addStartNpc(HEAD_BLACKSMITH_NEWYEAR);
+		addTalkId(HEAD_BLACKSMITH_NEWYEAR);
+		addKillId(BRUIN_LIZARDMAN, PICOT_ARANEID);
+		registerQuestItems(BRUIN_LIZARDMAN_BLOOD, PICOT_ARANEIDS_LEG);
+	}
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = null;
+		// Manage Sponsor's quest events.
+		if (player.getApprentice() > 0)
+		{
+			final L2PcInstance apprentice = L2World.getInstance().getPlayer(player.getApprentice());
+			if (apprentice == null)
+			{
+				return htmltext;
+			}
+			
+			final QuestState q123 = apprentice.getQuestState(Q00123_TheLeaderAndTheFollower.class.getSimpleName());
+			switch (event)
+			{
+				case "sponsor":
+				{
+					if (!Util.checkIfInRange(1500, npc, apprentice, true))
+					{
+						htmltext = "31961-09.html";
+					}
+					else
+					{
+						if ((q123 == null) || (!q123.isMemoState(2) && !q123.isMemoState(3)))
+						{
+							htmltext = "31961-14.html";
+						}
+						else if (q123.isMemoState(2))
+						{
+							htmltext = "31961-08.html";
+						}
+						else if (q123.isMemoState(3))
+						{
+							htmltext = "31961-12.html";
+						}
+					}
+					break;
+				}
+				case "31961-10.html":
+				{
+					if (Util.checkIfInRange(1500, npc, apprentice, true) && (q123 != null) && q123.isMemoState(2))
+					{
+						switch (q123.getMemoStateEx(1))
+						{
+							case 1:
+							{
+								if (getQuestItemsCount(player, CRYSTAL_D) >= CRYSTAL_COUNT_1)
+								{
+									takeItems(player, CRYSTAL_D, CRYSTAL_COUNT_1);
+									q123.setMemoState(3);
+									q123.setCond(6, true);
+									htmltext = event;
+								}
+								else
+								{
+									htmltext = "31961-11.html";
+								}
+								break;
+							}
+							case 2:
+							case 3:
+							{
+								if (getQuestItemsCount(player, CRYSTAL_D) >= CRYSTAL_COUNT_2)
+								{
+									takeItems(player, CRYSTAL_D, CRYSTAL_COUNT_2);
+									q123.setMemoState(3);
+									q123.setCond(6, true);
+									htmltext = event;
+								}
+								else
+								{
+									htmltext = "31961-11a.html";
+								}
+								break;
+							}
+						}
+					}
+				}
+					break;
+			}
+			return htmltext;
+		}
+		
+		final QuestState qs = getQuestState(player, false);
+		if (qs == null)
+		{
+			return null;
+		}
+		
+		switch (event)
+		{
+			case "31961-03.htm":
+			{
+				if (qs.isCreated())
+				{
+					qs.startQuest();
+					qs.setMemoState(1);
+					htmltext = event;
+				}
+				break;
+			}
+			case "31961-05a.html":
+			case "31961-05b.html":
+			case "31961-05c.html":
+			case "31961-05g.html":
+			{
+				htmltext = event;
+				break;
+			}
+			case "31961-05d.html":
+			{
+				if (qs.isMemoState(1) && (getQuestItemsCount(player, BRUIN_LIZARDMAN_BLOOD) >= 10))
+				{
+					takeItems(player, BRUIN_LIZARDMAN_BLOOD, -1);
+					qs.setMemoState(2);
+					qs.setMemoStateEx(1, 1);
+					qs.setCond(3, true);
+					htmltext = event;
+				}
+				break;
+			}
+			case "31961-05e.html":
+			{
+				if (qs.isMemoState(1) && (getQuestItemsCount(player, BRUIN_LIZARDMAN_BLOOD) >= 10))
+				{
+					takeItems(player, BRUIN_LIZARDMAN_BLOOD, -1);
+					qs.setMemoState(2);
+					qs.setMemoStateEx(1, 2);
+					qs.setCond(4, true);
+					htmltext = event;
+				}
+				break;
+			}
+			case "31961-05f.html":
+			{
+				if (qs.isMemoState(1) && (getQuestItemsCount(player, BRUIN_LIZARDMAN_BLOOD) >= 10))
+				{
+					takeItems(player, BRUIN_LIZARDMAN_BLOOD, -1);
+					qs.setMemoState(2);
+					qs.setMemoStateEx(1, 3);
+					qs.setCond(5, true);
+					htmltext = event;
+				}
+				break;
+			}
+			
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
+	{
+		final QuestState qs = getQuestState(killer, false);
+		if ((qs != null) && qs.isStarted())
+		{
+			switch (npc.getId())
+			{
+				case BRUIN_LIZARDMAN:
+				{
+					if (qs.isMemoState(1))
+					{
+						if (giveItemRandomly(killer, npc, BRUIN_LIZARDMAN_BLOOD, 1, 10, 7, true))
+						{
+							qs.setCond(2);
+						}
+					}
+					break;
+				}
+				case PICOT_ARANEID:
+				{
+					if (qs.isMemoState(4))
+					{
+						if (killer.getSponsor() > 0)
+						{
+							final L2PcInstance c0 = L2World.getInstance().getPlayer(killer.getSponsor());
+							if ((c0 != null) && Util.checkIfInRange(1500, npc, c0, true))
+							{
+								if (giveItemRandomly(killer, npc, PICOT_ARANEIDS_LEG, 1, 8, 7, true))
+								{
+									qs.setCond(8);
+								}
+							}
+						}
+					}
+					break;
+				}
+			}
+		}
+		return super.onKill(npc, killer, isSummon);
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		final QuestState qs = getQuestState(player, true);
+		final QuestState q118 = player.getQuestState(Q00118_ToLeadAndBeLed.class.getSimpleName());
+		String htmltext = getNoQuestMsg(player);
+		
+		switch (qs.getState())
+		{
+			case State.CREATED:
+			{
+				if ((q118 != null) && q118.isStarted())
+				{
+					htmltext = "31961-02b.htm";
+				}
+				else if ((q118 != null) && q118.isCompleted())
+				{
+					htmltext = "31961-02a.html";
+				}
+				else if ((player.getLevel() >= MIN_LEVEL) && (player.getPledgeType() == -1) && (player.getSponsor() > 0))
+				{
+					htmltext = "31961-01.htm";
+				}
+				else
+				{
+					htmltext = "31961-02.htm";
+				}
+				break;
+			}
+			case State.STARTED:
+			{
+				if (qs.isMemoState(1))
+				{
+					if (getQuestItemsCount(player, BRUIN_LIZARDMAN_BLOOD) < 10)
+					{
+						htmltext = "31961-04.html";
+					}
+					else
+					{
+						htmltext = "31961-05.html";
+					}
+				}
+				else if (qs.isMemoState(2))
+				{
+					if (player.getSponsor() == 0)
+					{
+						if (qs.getMemoStateEx(1) == 1)
+						{
+							htmltext = "31961-06a.html";
+						}
+						else if (qs.getMemoStateEx(1) == 2)
+						{
+							htmltext = "31961-06b.html";
+						}
+						else if (qs.getMemoStateEx(1) == 3)
+						{
+							htmltext = "31961-06c.html";
+						}
+					}
+					else
+					{
+						final L2PcInstance c0 = L2World.getInstance().getPlayer(player.getSponsor());
+						if ((c0 != null) && Util.checkIfInRange(1500, npc, c0, true))
+						{
+							htmltext = "31961-07.html";
+						}
+						else
+						{
+							if (qs.getMemoStateEx(1) == 1)
+							{
+								htmltext = "31961-06.html";
+							}
+							else if (qs.getMemoStateEx(1) == 2)
+							{
+								htmltext = "31961-06d.html";
+							}
+							else if (qs.getMemoStateEx(1) == 3)
+							{
+								htmltext = "31961-06e.html";
+							}
+						}
+					}
+				}
+				else if (qs.isMemoState(3))
+				{
+					qs.setMemoState(4);
+					qs.setCond(7, true);
+					htmltext = "31961-15.html";
+				}
+				else if (qs.isMemoState(4))
+				{
+					if (getQuestItemsCount(player, PICOT_ARANEIDS_LEG) < 8)
+					{
+						htmltext = "31961-16.html";
+					}
+					else
+					{
+						if (qs.getMemoStateEx(1) == 1)
+						{
+							giveItems(player, CLAN_OATH_HELM, 1);
+							giveItems(player, CLAN_OATH_ARMOR, 1);
+							giveItems(player, CLAN_OATH_GAUNTLETS_HEAVY_ARMOR, 1);
+							giveItems(player, CLAN_OATH_SABATON_HEAVY_ARMOR, 1);
+							takeItems(player, PICOT_ARANEIDS_LEG, -1);
+						}
+						else if (qs.getMemoStateEx(1) == 2)
+						{
+							giveItems(player, CLAN_OATH_HELM, 1);
+							giveItems(player, CLAN_OATH_BRIGANDINE, 1);
+							giveItems(player, CLAN_OATH_LEATHER_GLOVES_LIGHT_ARMOR, 1);
+							giveItems(player, CLAN_OATH_BOOTS_LIGHT_ARMOR, 1);
+							takeItems(player, PICOT_ARANEIDS_LEG, -1);
+						}
+						else if (qs.getMemoStateEx(1) == 3)
+						{
+							giveItems(player, CLAN_OATH_HELM, 1);
+							giveItems(player, CLAN_OATH_AKETON, 1);
+							giveItems(player, CLAN_OATH_PADDED_GLOVES_ROBE, 1);
+							giveItems(player, CLAN_OATH_SANDALS_ROBE, 1);
+							takeItems(player, PICOT_ARANEIDS_LEG, -1);
+						}
+						qs.exitQuest(false, true);
+						htmltext = "31961-17.html";
+					}
+				}
+				break;
+			}
+			case State.COMPLETED:
+			{
+				htmltext = getAlreadyCompletedMsg(player);
+				break;
+			}
+		}
+		return htmltext;
+	}
+}

+ 2 - 0
L2J_DataPack/dist/game/data/scripts/quests/QuestMasterHandler.java

@@ -136,6 +136,7 @@ import quests.Q00119_LastImperialPrince.Q00119_LastImperialPrince;
 import quests.Q00120_PavelsLastResearch.Q00120_PavelsLastResearch;
 import quests.Q00121_PavelTheGiant.Q00121_PavelTheGiant;
 import quests.Q00122_OminousNews.Q00122_OminousNews;
+import quests.Q00123_TheLeaderAndTheFollower.Q00123_TheLeaderAndTheFollower;
 import quests.Q00124_MeetingTheElroki.Q00124_MeetingTheElroki;
 import quests.Q00125_TheNameOfEvil1.Q00125_TheNameOfEvil1;
 import quests.Q00126_TheNameOfEvil2.Q00126_TheNameOfEvil2;
@@ -607,6 +608,7 @@ public class QuestMasterHandler
 		Q00120_PavelsLastResearch.class,
 		Q00121_PavelTheGiant.class,
 		Q00122_OminousNews.class,
+		Q00123_TheLeaderAndTheFollower.class,
 		Q00124_MeetingTheElroki.class,
 		Q00125_TheNameOfEvil1.class,
 		Q00126_TheNameOfEvil2.class,

+ 2 - 1
L2J_DataPack/dist/sql/game/updates/20150222update.sql

@@ -1 +1,2 @@
-UPDATE character_quests SET name='Q00118_ToLeadAndBeLed' WHERE name='118_ToLeadAndBeLed'; 
+UPDATE character_quests SET name='Q00118_ToLeadAndBeLed' WHERE name='118_ToLeadAndBeLed'; 
+UPDATE character_quests SET name='Q00123_TheLeaderAndTheFollower' WHERE name='123_TheLeaderAndTheFollower';