瀏覽代碼

BETA: Ported some quests from Jython to Java and updated to H5:

 - A Clan's Reputation (508).
 - A Clan's Fame (509).
 - A Clan's Prestige (510).

Thanks '''jurchiks''' and '''nonom''' for help.
Adry_85 13 年之前
父節點
當前提交
1899577ffd
共有 100 個文件被更改,包括 698 次插入629 次删除
  1. 3 3
      L2J_DataPack_BETA/dist/game/data/scripts.cfg
  2. 0 9
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-0.htm
  3. 0 7
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-0a.htm
  4. 0 7
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-0b.htm
  5. 0 7
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-0c.htm
  6. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-1.htm
  7. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-1a.htm
  8. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-1b.htm
  9. 0 3
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-2.htm
  10. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-2a.htm
  11. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-2b.htm
  12. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-3.htm
  13. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-3a.htm
  14. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-3b.htm
  15. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-4.htm
  16. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-4a.htm
  17. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-4b.htm
  18. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-5.htm
  19. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-5a.htm
  20. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-5b.htm
  21. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-6.htm
  22. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-6a.htm
  23. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-6b.htm
  24. 0 7
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-7.htm
  25. 0 153
      L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/__init__.py
  26. 0 7
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-0.htm
  27. 0 7
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-0a.htm
  28. 0 7
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-0b.htm
  29. 0 7
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-0c.htm
  30. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-1.htm
  31. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-1a.htm
  32. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-1b.htm
  33. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-2.htm
  34. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-2a.htm
  35. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-2b.htm
  36. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-3.htm
  37. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-3a.htm
  38. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-3b.htm
  39. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-4.htm
  40. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-4a.htm
  41. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-4b.htm
  42. 0 7
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-5.htm
  43. 0 131
      L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/__init__.py
  44. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/510_AClansReputation/31331-3.htm
  45. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/510_AClansReputation/31331-4.htm
  46. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/510_AClansReputation/31331-7.htm
  47. 0 98
      L2J_DataPack_BETA/dist/game/data/scripts/quests/510_AClansReputation/__init__.py
  48. 11 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-0.html
  49. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-0a.htm
  50. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-0b.htm
  51. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-0c.htm
  52. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-1.html
  53. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-1a.html
  54. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-1b.html
  55. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-2.html
  56. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-2a.html
  57. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-2b.html
  58. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-3.html
  59. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-3a.html
  60. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-3b.html
  61. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-4.html
  62. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-4a.html
  63. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-4b.html
  64. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-5.html
  65. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-5a.html
  66. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-5b.html
  67. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-6.html
  68. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-6a.html
  69. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-6b.html
  70. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-7.html
  71. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-8.html
  72. 215 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/Q508_AClansReputation.java
  73. 9 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-0.html
  74. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-0a.htm
  75. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-0b.htm
  76. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-0c.htm
  77. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-1.html
  78. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-1a.html
  79. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-1b.html
  80. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-2.html
  81. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-2a.html
  82. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-2b.html
  83. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-3.html
  84. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-3a.html
  85. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-3b.html
  86. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-4.html
  87. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-4a.html
  88. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-4b.html
  89. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-5.html
  90. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-6.html
  91. 202 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/Q509_AClansFame.java
  92. 2 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-0.htm
  93. 4 3
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-1.htm
  94. 6 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-2.htm
  95. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-3.html
  96. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-4.html
  97. 2 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-5.html
  98. 2 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-6.html
  99. 7 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-7.html
  100. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-8.html

+ 3 - 3
L2J_DataPack_BETA/dist/game/data/scripts.cfg

@@ -590,9 +590,9 @@ quests/Q463_IMustBeaGenius/Q463_IMustBeaGenius.java
 quests/501_ProofOfClanAlliance/__init__.py
 quests/503_PursuitClanAmbition/__init__.py
 quests/Q504_CompetitionfortheBanditStronghold/Q504_CompetitionfortheBanditStronghold.java
-quests/508_TheClansReputation/__init__.py
-quests/509_TheClansPrestige/__init__.py
-quests/510_AClansReputation/__init__.py
+quests/Q508_AClansReputation/Q508_AClansReputation.java
+quests/Q509_AClansFame/Q509_AClansFame.java
+quests/Q510_AClansPrestige/Q510_AClansPrestige.java
 quests/Q511_AwlUnderFoot/Q511_AwlUnderFoot.java
 quests/Q551_OlympiadStarter/Q551_OlympiadStarter.java
 quests/Q552_OlympiadVeteran/Q552_OlympiadVeteran.java

+ 0 - 9
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-0.htm

@@ -1,9 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Which Raid Boss do you wish to take on?<br>
-<a action="bypass -h Quest 508_TheClansReputation 1">Palibati Queen Themis</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 2">Shilen's Priest Hisilrome</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 3">Gargoyle Lord Tiphon</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 4">Last Lesser Giant Glaki</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 5">Rahha</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 6">Flamestone Giant</a>
-</body></html>

+ 0 - 7
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-0a.htm

@@ -1,7 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Hearing this, you may think that the place has the bustling atmosphere of a metropolitan area. But due to its proximity to the border with Elmore, it always tends to maintain a somewhat tense atmosphere. The two types of atmosphere were always co-mingling and created a unique balance for years.<br>
-But an increasing number of powerful monsters started to be a major menace to this balance. Of course we, the honorable citizens of Aden can not get our hands bloody nor pose a risk to our personal belongings by sending the city guards into the task of making these daemons to retreat.<br>
-However, if we find some private army brave enough to join forces with us, there's one thing we can surely grant as a payment given our position and influence, and <font color="LEVEL"> Reputation</font> it is.<br>
-I can see you're not the kind of people with the vein of a leader, so we have nothing to talk about.<br>
-(Only the leader of a clan level 5 or above may undertake this quest)
-</body></html>

+ 0 - 7
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-0b.htm

@@ -1,7 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Hearing this, you may think that the place has the bustling atmosphere of a metropolitan area. But due to its proximity to the border with Elmore, it always tends to maintain a somewhat tense atmosphere. The two types of atmosphere were always co-mingling and created a unique balance for years.<br>
-But an increasing number of powerful monsters started to be a major menace to this balance. Of course we, the honorable citizens of Aden can not get our hands bloody nor pose a risk to our personal belongings by sending the city guards into the task of making these daemons to retreat.<br>
-However, if we find some private army brave enough to join forces with us, there's one thing we can surely grant as a payment given our position and influence, and <font color="LEVEL"> Reputation</font> it is.<br>
-I've been told you lead a personal army, but i'm afraid your fellows may lack the strenght required for we to engage in a business.<br>
-(This quest may only be undertaken by clans of level 5 and above)
-</body></html>

+ 0 - 7
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-0c.htm

@@ -1,7 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Hearing this, you may think that the place has the bustling atmosphere of a metropolitan area. But due to its proximity to the border with Elmore, it always tends to maintain a somewhat tense atmosphere. The two types of atmosphere were always co-mingling and created a unique balance for years.<br>
-But an increasing number of powerful monsters known as<font color="LEVEL"> Raid Bosses</font> started to terrorize town's people and are a major menace to this balance. Of course we, the honorable citizens of Aden can not get our hands bloody nor pose a risk to our personal belongings by sending the city guards into the task of making these daemons to retreat.<br>
-However, if we find some private army brave enough to join forces with us, there's one thing we can surely grant as a payment given our position and influence, and <font color="LEVEL"> Reputation</font> it is.<br>
-I've been told you lead a personal army. Of course we know a leader like you won't have to risk his life on the task, so if you can grant your subordinates will accomplish our requests i can give you further details, what you say?<br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-0.htm">Yes, my clan will help you</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-1.htm

@@ -1,4 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Very good! Slaughter<font color="LEVEL"> Palibati Queen Themis </font>and bring me her scale!<br>
-<font color="LEVEL">As I told you before, you don't have to kill her yourself!</font> There's no rule that says the Clan Leader has to get his hands bloody! Just stand in a safe place an watch your Clan kill Palibati Queen Themis and then bring her scale to me.
-</body></html>

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-1a.htm

@@ -1,6 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Too bad! I need you to slaughter<font color="LEVEL"> Palibati Queen Themis </font>and bring me her scale!<br>
-<font color="LEVEL">As I told you before, you don't have to kill her yourself!</font> There's no rule that says the Clan Leader has to get his hands bloody! Just stand in a safe place an watch your Clan kill Palibati Queen Themis and then bring her scale to me.<br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-0.htm">"I want to try another Raid Boss."</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-7.htm">Quit</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-1b.htm

@@ -1,5 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Well done! I'll spread the news that your brave Clan hat defeated Palibati Queen Themis.<br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-0.htm">"I want to continue killing Raid Bosses."</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-7.htm">Quit</a>
-</body></html>

+ 0 - 3
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-2.htm

@@ -1,3 +0,0 @@
-<html><head><body>Sir Eric Rodemai:<br>
-Then kill <font color="LEVEL">Shillien Priest Hisilrome</font> and bring me his heart.<br><font color="LEVEL">As I mentioned before, you don't have to kill Hisilrome yourself.</font> There is no rule that says the clan leader has to use his sword personally. <font color="LEVEL">If your clan members defeat Hisilrome, simply bring back proof of the victory.
-</font></body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-2a.htm

@@ -1,5 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Kill <font color="LEVEL">Shillien Priest Hisilrome</font> and bring me his heart.<br><font color="LEVEL">A word of advice: you don't have to kill Hisilrome yourself.</font> There is no rule that says the clan leader has to use his sword personally. <font color="LEVEL">If your clan members defeat Hisilrome, simply bring back proof of the victory.</font><br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-0.htm">"I want to try another Raid Boss."</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-7.htm">Quit</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-2b.htm

@@ -1,5 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Well done! I'll tell everyone how bravely your clan defeated Shillien Priest Hisilrome.<br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-0.htm">"I want to continue killing Raid Bosses."</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-7.htm">Quit</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-3.htm

@@ -1,4 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Very good! Slaughter<font color="LEVEL"> Gargoyle Lord Tiphon </font>and bring me his Shard!<br>
-<font color="LEVEL">As I told you before, you don't have to kill him yourself!</font> There's no rule that says the Clan Leader has to get his hands bloody! Just stand in a safe place an watch your Clan kill Gargoyle Lord Tiphon and then bring his Shard to me.
-</body></html>

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-3a.htm

@@ -1,6 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Too bad! I need you to slaughter<font color="LEVEL"> Gargoyle Lord Tiphon </font>and bring me his Shard!<br>
-<font color="LEVEL">As I told you before, you don't have to kill him yourself!</font> There's no rule that says the Clan Leader has to get his hands bloody! Just stand in a safe place an watch your Clan kill Gargoyle Lord Tiphon and then bring his Shard to me.<br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-0.htm">"I want to try another Raid Boss."</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-7.htm">Quit</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-3b.htm

@@ -1,5 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Well done! I'll spread the news that your brave Clan hat defeated Gargoyle Lord Tiphon.<br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-0.htm">"I want to continue killing Raid Bosses."</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-7.htm">Quit</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-4.htm

@@ -1,4 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Very good! Slaughter<font color="LEVEL"> Last Lesser Giant Glaki </font>and bring me his Nucleus!<br>
-<font color="LEVEL">As I told you before, you don't have to kill him yourself!</font> There's no rule that says the Clan Leader has to get his hands bloody! Just stand in a safe place an watch your Clan kill Last Lesser Giant Glaki and then bring his Nucleus to me.
-</body></html>

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-4a.htm

@@ -1,6 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Too bad! I need you to slaughter<font color="LEVEL"> Last Lesser Giant Glaki </font>and bring me his Nucleus!<br>
-<font color="LEVEL">As I told you before, you don't have to kill him yourself!</font> There's no rule that says the Clan Leader has to get his hands bloody! Just stand in a safe place an watch your Clan kill Last Lesser Giant Glaki and then bring his Nucleus to me.<br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-0.htm">"I want to try another Raid Boss."</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-7.htm">Quit</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-4b.htm

@@ -1,5 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Well done! I'll spread the news that your brave Clan hat defeated Last Lesser Giant Glaki.<br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-0.htm">"I want to continue killing Raid Bosses."</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-7.htm">Quit</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-5.htm

@@ -1,4 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Very good! Slaughter<font color="LEVEL"> Rahha </font>and bring me her fang!<br>
-<font color="LEVEL">As I told you before, you don't have to kill her yourself!</font> There's no rule that says the Clan Leader has to get his hands bloody! Just stand in a safe place an watch your Clan kill Rahha and then bring her fang to me.
-</body></html>

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-5a.htm

@@ -1,6 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Too bad! I need you to slaughter<font color="LEVEL"> Rahha </font>and bring me her fang!<br>
-<font color="LEVEL">As I told you before, you don't have to kill her yourself!</font> There's no rule that says the Clan Leader has to get his hands bloody! Just stand in a safe place an watch your Clan kill Rahha and then bring her fang to me.<br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-0.htm">"I want to try another Raid Boss."</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-7.htm">Quit</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-5b.htm

@@ -1,5 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Well done! I'll spread the news that your brave Clan hat defeated Rahha.<br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-0.htm">"I want to continue killing Raid Bosses."</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-7.htm">Quit</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-6.htm

@@ -1,4 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Very good! Slaughter<font color="LEVEL"> Flamestone Giant </font>and bring me his Nucleus!<br>
-<font color="LEVEL">As I told you before, you don't have to kill him yourself!</font> There's no rule that says the Clan Leader has to get his hands bloody! Just stand in a safe place an watch your Clan kill Flamestone Giant and then bring his Nucleus to me.
-</body></html>

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-6a.htm

@@ -1,6 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Too bad! I need you to slaughter<font color="LEVEL"> Flamestone Giant </font>and bring me his Nucleus!<br>
-<font color="LEVEL">As I told you before, you don't have to kill him yourself!</font> There's no rule that says the Clan Leader has to get his hands bloody! Just stand in a safe place an watch your Clan kill Flamestone Giant and then bring his Nucleus to me.<br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-0.htm">"I want to try another Raid Boss."</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-7.htm">Quit</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-6b.htm

@@ -1,5 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-Well done! I'll spread the news that your brave Clan hat defeated Flamestone Giant.<br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-0.htm">"I want to continue killing Raid Bosses."</a><br>
-<a action="bypass -h Quest 508_TheClansReputation 30868-7.htm">Quit</a>
-</body></html>

+ 0 - 7
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/30868-7.htm

@@ -1,7 +0,0 @@
-<html><body>Sir Eric Rodemai:<br>
-I believe that leaders are expected to supply two things most of all.<br>
-One is a compelling vision or sense of purpose for the group. And you bear a special responsibility to articulate that vision, and in a very compelling fashion.<br>
-And the second thing is to provide clear decisions. Doing that requires data collection and consultation, but ultimately leaders must set a direction.<br>
-Anyway you're welcome whenever you change your mind and decide we'd need to discuss the reputation of your clan again.<br>
-Farewell, and may we meet again in happier times.
-</body></html>

+ 0 - 153
L2J_DataPack_BETA/dist/game/data/scripts/quests/508_TheClansReputation/__init__.py

@@ -1,153 +0,0 @@
-#####################################################################
-#                                                                   #
-#   "The Clan's Reputation"                                         #
-#   "Raise the Clan's Reputation"                                   #
-#   "Sir Eric Rodemai in Aden Castle Town is looking                #
-#   for a brave adventurer to raise the clan's reputation."         #
-#   "Clan Leader, Clan Level 5 and above"                           #
-#                                                                   #
-#   Start NPC: Sir Eric Rodemai[30868]                              #
-#                                                                   #
-#   fixed and State.COMPLETED by chris_00 @katmai and 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.jython 			import QuestJython as JQuest
-from com.l2jserver.gameserver.network.serverpackets      	import PledgeShowInfoUpdate
-from com.l2jserver.gameserver.network.serverpackets      	import SystemMessage
-from com.l2jserver.util 									import Rnd
-
-qn="508_TheClansReputation"
-qd="The Clans Reputation"
-
-# Quest NPC
-SIR_ERIC_RODEMAI = 30868
-
-# Quest Items
-THEMIS_SCALE = 8277 # Themis' Scale : Obtain this scale by defeating Palibati Queen Themis.
-HISILROMES_HEART = 14883 # Hisilrome's Heart : Heart obtained after defeating Shilen's Priest Hisilrome.
-TIPHON_SHARD = 8280 # Tiphon Shard : Debris obtained by defeating Tiphon, Gargoyle Lord.
-GLAKIS_NUCLEUS = 8281 # Glaki's Necleus : Nucleus obtained by defeating Glaki, the last lesser Giant.
-RAHHAS_FANG = 8282 # Rahha's Fang : Fangs obtained by defeating Rahha.
-NUCLEUS_OF_FLAMESTONE_GIANT = 8494 # Nucleus of Flamestone Giant : Nucleus obtained by defeating Flamestone Giant.
-
-#Quest Raid Bosses
-PALIBATI_QUEEN_THEMIS = 25252
-SHILENS_PRIEST_HISILROME = 25478
-GARGOYLE_LORD_TIPHON = 25255
-LAST_LESSER_GIANT_GLAKI = 25245
-RAHHA = 25051
-FLAMESTONE_GIANT = 25524
-
-# id:[RaidBossNpcId,questItemId,ClanPoints]
-REWARDS_LIST={
-    1:[PALIBATI_QUEEN_THEMIS, THEMIS_SCALE,560],
-    2:[SHILENS_PRIEST_HISILROME, HISILROMES_HEART,584],
-    3:[GARGOYLE_LORD_TIPHON, TIPHON_SHARD,602],
-    4:[LAST_LESSER_GIANT_GLAKI, GLAKIS_NUCLEUS,784],
-    5:[RAHHA, RAHHAS_FANG,558],
-    6:[FLAMESTONE_GIANT, NUCLEUS_OF_FLAMESTONE_GIANT,768]
-    }
-
-RADAR={
-    1:[192346,21528,-3648],
-    2:[168288,28368,-3632],
-    3:[170038,-26236,-3824],
-    4:[171762,55028,-5992],
-    5:[117232,-9476,-3320],
-    6:[144218,-5816,-4722],
-    }
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr) :
-     JQuest.__init__(self,id,name,descr)
-     self.questItemIds = [THEMIS_SCALE, HISILROMES_HEART, TIPHON_SHARD, GLAKIS_NUCLEUS, RAHHAS_FANG, NUCLEUS_OF_FLAMESTONE_GIANT]
-
- def onAdvEvent (self,event,npc,player) :
-  st = player.getQuestState(qn)
-  if not st: return
-  cond = st.getInt("cond")
-  htmltext=event
-  if event == "30868-0.htm" :
-    if cond == 0 :
-      st.set("cond","1")
-      st.setState(State.STARTED)
-  elif event.isdigit() :
-    if int(event) in REWARDS_LIST.keys():
-      st.set("raid",event)
-      htmltext="30868-"+event+".htm"
-      x,y,z=RADAR[int(event)]
-      if x+y+z:
-        st.addRadar(x, y, z)
-      st.playSound("ItemSound.quest_accept")
-  elif event == "30868-7.htm" :
-    st.playSound("ItemSound.quest_finish")
-    st.exitQuest(1)
-  return htmltext
-
- def onTalk (self,npc,player) :
-  htmltext = Quest.getNoQuestMsg(player)
-  st = player.getQuestState(qn)
-  if not st : return htmltext
-  clan = player.getClan()
-  npcId = npc.getNpcId()
-  if player.getClan() == None or player.isClanLeader() == 0 :
-     st.exitQuest(1)
-     htmltext = "30868-0a.htm"
-  elif player.getClan().getLevel() < 5 :
-     st.exitQuest(1)
-     htmltext =  "30868-0b.htm"
-  else :
-     cond = st.getInt("cond")
-     raid = st.getInt("raid")
-     id = st.getState()
-     if id == State.CREATED and cond == 0 :
-        htmltext =  "30868-0c.htm"
-     elif id == State.STARTED and cond == 1 and raid in REWARDS_LIST.keys() :
-        npc,item,point=REWARDS_LIST[raid]
-        count = st.getQuestItemsCount(item)
-        if not count :
-           htmltext = "30868-"+str(raid)+"a.htm"
-        elif count == 1 :
-           htmltext = "30868-"+str(raid)+"b.htm"
-           st.takeItems(item,1)
-           clan.addReputationScore(point,True)
-           player.sendPacket(SystemMessage.getSystemMessage(1777).addNumber(point))
-           clan.broadcastToOnlineMembers(PledgeShowInfoUpdate(clan))
-  return htmltext
-
- def onKill(self,npc,player,isPet) :
-  st = 0
-  if player.isClanLeader() :
-   st = player.getQuestState(qn)
-  else:
-   clan = player.getClan()
-   if clan:
-    leader=clan.getLeader()
-    if leader :
-     pleader= leader.getPlayerInstance()
-     if pleader :
-      if player.isInsideRadius(pleader, 1500, 1, 0) :
-       st = pleader.getQuestState(qn)
-  if not st : return
-  option=st.getInt("raid")
-  if st.getInt("cond") == 1 and st.getState() == State.STARTED and option in REWARDS_LIST.keys():
-   raid,item,point = REWARDS_LIST[option]
-   npcId=npc.getNpcId()
-   if npcId == raid and not st.getQuestItemsCount(item) :
-      st.giveItems(item,1)
-      st.playSound("ItemSound.quest_middle")
-  return
-
-
-# Quest class and state definition
-QUEST       = Quest(508,qn,qd)
-
-QUEST.addStartNpc(SIR_ERIC_RODEMAI)
-QUEST.addTalkId(SIR_ERIC_RODEMAI)
-
-for npc,item,point in REWARDS_LIST.values():
-    QUEST.addKillId(npc)

+ 0 - 7
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-0.htm

@@ -1,7 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Take your pick!<br>
-<a action="bypass -h Quest 509_TheClansPrestige 1">Daimon the White-Eyed</a><br>
-<a action="bypass -h Quest 509_TheClansPrestige 2">Hestia, Guardian Deity of the Hot Springs</a><br>
-<a action="bypass -h Quest 509_TheClansPrestige 3">Plague Golem</a><br>
-<a action="bypass -h Quest 509_TheClansPrestige 4">Demon's Agent Falston</a><br>
-</body></html>

+ 0 - 7
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-0a.htm

@@ -1,7 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Hearing this, you may think that the place has the bustling atmosphere of a metropolitan area. But due to its proximity to the border with Elmore, it always tends to maintain a somewhat tense atmosphere. The two types of atmosphere were always co-mingling and created a unique balance for years.<br>
-But an increasing number of powerful monsters started to be a major menace to this balance. Of course we, the honorable citizens of Rune can not get our hands bloody nor pose a risk to our personal belongings by sending the city guards into the task of making these daemons to retreat.<br>
-However, if we find some private army brave enough to join forces with us, there's one thing we can surely grant as a payment given our position and influence, and <font color="LEVEL"> Reputation</font> it is.<br>
-I can see you're not the kind of people with the vein of a leader, so we have nothing to talk about.<br>
-(Only the leader of a clan level 6 or above may undertake this quest)
-</body></html>

+ 0 - 7
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-0b.htm

@@ -1,7 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Hearing this, you may think that the place has the bustling atmosphere of a metropolitan area. But due to its proximity to the border with Elmore, it always tends to maintain a somewhat tense atmosphere. The two types of atmosphere were always co-mingling and created a unique balance for years.<br>
-But an increasing number of powerful monsters started to be a major menace to this balance. Of course we, the honorable citizens of Rune can not get our hands bloody nor pose a risk to our personal belongings by sending the city guards into the task of making these daemons to retreat.<br>
-However, if we find some private army brave enough to join forces with us, there's one thing we can surely grant as a payment given our position and influence, and <font color="LEVEL"> Reputation</font> it is.<br>
-I've been told you lead a personal army, but i'm afraid your fellows may lack the strenght required for we to engage in a business.<br>
-(This quest may only be undertaken by clans of level 6 and above)
-</body></html>

+ 0 - 7
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-0c.htm

@@ -1,7 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Hearing this, you may think that the place has the bustling atmosphere of a metropolitan area. But due to its proximity to the border with Elmore, it always tends to maintain a somewhat tense atmosphere. The two types of atmosphere were always co-mingling and created a unique balance for years.<br>
-But an increasing number of powerful monsters known as<font color="LEVEL"> Raid Bosses</font> started to terrorize town's people and are a major menace to this balance. Of course we, the honorable citizens of Rune can not get our hands bloody nor pose a risk to our personal belongings by sending the city guards into the task of making these daemons to retreat.<br>
-However, if we find some private army brave enough to join forces with us, there's one thing we can surely grant as a payment given our position and influence, and <font color="LEVEL"> Reputation</font> it is.<br>
-I've been told you lead a personal army. Of course we know a leader like you won't have to risk his life on the task, so if you can grant your subordinates will accomplish our requests i can give you further details, what you say?<br>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-0.htm">Yes, my clan will help you</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-1.htm

@@ -1,4 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Very good! Destroy <font color="LEVEL">Daimon, the white-Eyed</font> and bring me Daimon's Eyes.<br>
-<font color="LEVEL">Remember, you don't need to do the killing yourself! Just stand back and let your Clan to do the work for you!</font>
-</body></html>

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-1a.htm

@@ -1,6 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Too bad! Destroy <font color="LEVEL">Daimon, the white-Eyed</font> and bring me Daimon's Eyes.<br>
-<font color="LEVEL">Remember, you don't need to do the killing yourself! Just stand back and let your Clan to do the work for you!</font><br>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-0.htm">"I want to try another Raid Boss."</a><br>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-6.htm">"I want to quit this mission."</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-1b.htm

@@ -1,5 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Excellent! I'll spread the word of your mighty Clan's defeat of the Daimon, the white-Eyed.<br>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-0.htm">"I want to kill some more Raid Bosses!"</a><br>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-6.htm">"I want to quit this mission."</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-2.htm

@@ -1,4 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Very good! Destroy <font color="LEVEL">Hestia, Guardian Deity of the Hot Springs</font> and bring me Hestia's Fairy Stone.<br>
-<font color="LEVEL">Remember, you don't need to do the killing yourself! Just stand back and let your Clan to do the work for you!</font>
-</body></html>

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-2a.htm

@@ -1,6 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Too bad! Destroy <font color="LEVEL">Hestia, Guardian Deity of the Hot Springs</font> and bring me Hestia's Fairy Stone.<br>
-<font color="LEVEL">Remember, you don't need to do the killing yourself! Just stand back and let your Clan to do the work for you!</font><br>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-6.htm">"I want to quit this mission."</a>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-6.htm">Quit</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-2b.htm

@@ -1,5 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Excellent! I'll spread the word of your mighty Clan's defeat of the Hestia, Guardian Deity of the Hot Springs.<br>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-0.htm">"I want to kill some more Raid Bosses!"</a><br>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-6.htm">"I want to quit this mission."</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-3.htm

@@ -1,4 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Very good! Destroy <font color="LEVEL">Plague Golem</font> and bring me Nucleus of Lesser Golem.<br>
-<font color="LEVEL">Remember, you don't need to do the killing yourself! Just stand back and let your Clan to do the work for you!</font>
-</body></html>

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-3a.htm

@@ -1,6 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Too bad! Destroy <font color="LEVEL">Plague Golem</font> and bring me Nucleus of Lesser Golem.<br>
-<font color="LEVEL">Remember, you don't need to do the killing yourself! Just stand back and let your Clan to do the work for you!</font><br>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-0.htm">"I want to try another Raid Boss."</a><br>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-6.htm">"I want to quit this mission."</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-3b.htm

@@ -1,5 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Excellent! I'll spread the word of your mighty Clan's defeat of the Plague Golem.<br>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-0.htm">"I want to kill some more Raid Bosses!"</a><br>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-6.htm">"I want to quit this mission."</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-4.htm

@@ -1,4 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Very good! Destroy <font color="LEVEL">Demon's Agent Falchion</font> and bring me Falston's Fang.<br>
-<font color="LEVEL">Remember, you don't need to do the killing yourself! Just stand back and let your Clan to do the work for you!</font>
-</body></html>

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-4a.htm

@@ -1,6 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Too bad! Destroy <font color="LEVEL">Demon's Agent Falchion</font> and bring me Falston's Fang.<br>
-<font color="LEVEL">Remember, you don't need to do the killing yourself! Just stand back and let your Clan to do the work for you!</font><br>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-0.htm">"I want to try another Raid Boss."</a><br>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-6.htm">"I want to quit this mission."</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-4b.htm

@@ -1,5 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Excellent! I'll spread the word of your mighty Clan's defeat of the Demon's Agent Falchion.<br>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-0.htm">"I want to kill some more Raid Bosses!"</a><br>
-<a action="bypass -h Quest 509_TheClansPrestige 31331-6.htm">"I want to quit this mission."</a>
-</body></html>

+ 0 - 7
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/31331-5.htm

@@ -1,7 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-I believe that leaders are expected to supply two things most of all.<br>
-One is a compelling vision or sense of purpose for the group. And you bear a special responsibility to articulate that vision, and in a very compelling fashion.<br>
-And the second thing is to provide clear decisions. Doing that requires data collection and consultation, but ultimately leaders must set a direction.<br>
-Anyway you're welcome whenever you change your mind and decide we'd need to discuss the reputation of your clan again.<br>
-Farewell, and may we meet again in happier times.
-</body></html>

+ 0 - 131
L2J_DataPack_BETA/dist/game/data/scripts/quests/509_TheClansPrestige/__init__.py

@@ -1,131 +0,0 @@
-import sys
-from com.l2jserver.gameserver.model.quest        			import State
-from com.l2jserver.gameserver.model.quest        			import QuestState
-from com.l2jserver.gameserver.model.quest.jython 			import QuestJython as JQuest
-from com.l2jserver.gameserver.network.serverpackets      	import PledgeShowInfoUpdate
-from com.l2jserver.gameserver.network.serverpackets      	import SystemMessage
-from com.l2jserver.util import Rnd
-
-qn="509_TheClansPrestige"
-
-# Quest NPC
-VALDIS = 31331
-
-# Quest Items
-DAIMONS_EYES = 8489 # Daimon's Eyes: Eyes obtained by killing Daimon the White-Eyed.
-HESTIAS_FAIRY_STONE = 8490 # Hestia's Fairy Stone: Fairy Stone obtained by defeating Hestia, the Guardian Deity of the Hot Springs.
-NUCLEUS_OF_LESSER_GOLEM = 8491 # Nucleus of Lesser Golem: Nucleus obtained by defeating the Lesser Golem.
-FALSTON_FANG = 8492 # Falston's Fang: Fangs obtained by killing Falston, the Demon's Agent.
-
-#Quest Raid Bosses
-DAIMON_THE_WHITE_EYED = 25290
-HESTIA_GUARDIAN_DEITY = 25293
-PLAGUE_GOLEM = 25523
-DEMONS_AGENT_FALSTON = 25322
-
-# id:[RaidBossNpcId,questItemId,ClanPoints]
-REWARDS_LIST={
-    1:[DAIMON_THE_WHITE_EYED,	DAIMONS_EYES,1378],
-    2:[HESTIA_GUARDIAN_DEITY, HESTIAS_FAIRY_STONE,1378],
-    3:[PLAGUE_GOLEM, NUCLEUS_OF_LESSER_GOLEM,1070],
-    4:[DEMONS_AGENT_FALSTON, FALSTON_FANG,782],
-    }
-
-RADAR={
-    1:[186320,-43904,-3175],
-    2:[134672,-115600,-1216],
-    3:[170000,-60000,-3500],
-    4:[93296,-75104,-1824],
-    }
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr) :
-     JQuest.__init__(self,id,name,descr)
-     self.questItemIds = [DAIMONS_EYES,HESTIAS_FAIRY_STONE,NUCLEUS_OF_LESSER_GOLEM,FALSTON_FANG]
-
- def onAdvEvent (self,event,npc,player) :
-  st = player.getQuestState(qn)
-  if not st: return
-  cond = st.getInt("cond")
-  htmltext=event
-  if event == "31331-0.htm" :
-    if cond == 0 :
-      st.set("cond","1")
-      st.setState(State.STARTED)
-  elif event.isdigit() :
-    if int(event) in REWARDS_LIST.keys():
-      st.set("raid",event)
-      htmltext="31331-"+event+".htm"
-      x,y,z=RADAR[int(event)]
-      if x+y+z:
-        st.addRadar(x, y, z)
-      st.playSound("ItemSound.quest_accept")
-  elif event == "31331-5.htm" :
-    st.playSound("ItemSound.quest_finish")
-    st.exitQuest(1)
-  return htmltext
-
- def onTalk (self,npc,player) :
-  htmltext = Quest.getNoQuestMsg(player)
-  st = player.getQuestState(qn)
-  if not st : return htmltext
-  clan = player.getClan()
-  npcId = npc.getNpcId()
-  if player.getClan() == None or player.isClanLeader() == 0 :
-     st.exitQuest(1)
-     htmltext = "31331-0a.htm"
-  elif player.getClan().getLevel() < 6 :
-     st.exitQuest(1)
-     htmltext =  "31331-0b.htm"
-  else :
-     cond = st.getInt("cond")
-     raid = st.getInt("raid")
-     id = st.getState()
-     if id == State.CREATED and cond == 0 :
-        htmltext =  "31331-0c.htm"
-     elif id == State.STARTED and cond == 1 and raid in REWARDS_LIST.keys() :
-        npc,item,point=REWARDS_LIST[raid]
-        count = st.getQuestItemsCount(item)
-        if not count :
-           htmltext = "31331-"+str(raid)+"a.htm"
-        elif count == 1 :
-           htmltext = "31331-"+str(raid)+"b.htm"
-           st.takeItems(item,1)
-           clan.addReputationScore(point,True)
-           player.sendPacket(SystemMessage.getSystemMessage(1777).addNumber(point))
-           clan.broadcastToOnlineMembers(PledgeShowInfoUpdate(clan))
-  return htmltext
-
- def onKill(self,npc,player,isPet) :
-  st = 0
-  if player.isClanLeader() :
-   st = player.getQuestState(qn)
-  else:
-   clan = player.getClan()
-   if clan:
-    leader=clan.getLeader()
-    if leader :
-     pleader= leader.getPlayerInstance()
-     if pleader :
-      if player.isInsideRadius(pleader, 1500, 1, 0) :
-       st = pleader.getQuestState(qn)
-  if not st : return
-  option=st.getInt("raid")
-  if st.getInt("cond") == 1 and st.getState() == State.STARTED and option in REWARDS_LIST.keys():
-   raid,item,point = REWARDS_LIST[option]
-   npcId=npc.getNpcId()
-   if npcId == raid and not st.getQuestItemsCount(item) :
-      st.giveItems(item,1)
-      st.playSound("ItemSound.quest_middle")
-  return
-
-
-# Quest class and state definition
-QUEST       = Quest(509,qn,"The Clan's Prestige")
-
-QUEST.addStartNpc(VALDIS)
-QUEST.addTalkId(VALDIS)
-
-for npc,item,point in REWARDS_LIST.values():
-    QUEST.addKillId(npc)

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/510_AClansReputation/31331-3.htm

@@ -1,4 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Thank you, thank you! Legend has it that these creatures are extremely vicious... Oh, but I'm sure they will pose no more trouble to such a powerful clan than a kitten with her claws! So, will you go to the Primeval Isle and slay a <font color="LEVEL">Tyrannosaurus</font>?  <br><font color="LEVEL">Naturally, we don't expect you personally to slay the creature.</font> There is no rule requiring a clan leader to brandish his own sword in these matters. <font color="LEVEL">Simply stay nearby and watch your clan members slay the Tyrannosaurus and return here with its claws.</font><font color="LEVEL">It's vital that the claw be undamaged, you understand, which means...uh, well, it's probably best that you capture the creature before slaying it. I hope that doesn't complicate the task for you!</font> <br>
-I'll be here anxiously awaiting your good news.
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/510_AClansReputation/31331-4.htm

@@ -1,5 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Are you still here? Hurry to the Primeval Isle and bring back the <font color="LEVEL">Tyrannosaurus Claw</font> that I requested. Do you have any other business with me? <br>
-<a action="bypass -h Quest 510_AClansReputation 31331-5.htm">"No, nothing. I'll go get the material. "</a><br>
-<a action="bypass -h Quest 510_AClansReputation 31331-6.htm">"I wish to stop now."</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/510_AClansReputation/31331-7.htm

@@ -1,5 +0,0 @@
-<html><body>Grand Magister Valdis:<br>
-Well done! We will make great use of the material that you and your clan brought back. What a tremendous feat, to capture and bring back that ferocious creature! As promised, I will spread word everywhere that the clan you lead brought down a <font color="LEVEL">Tyrannosaurus.</font> <br>Could we possibly convince you to continue your efforts on our behalf? <br>
-<a action="bypass -h Quest 510_AClansReputation 31331-5.htm">"I will continue to go and get the material."</a><br>
-<a action="bypass -h Quest 510_AClansReputation 31331-6.htm">"I wish to stop now."</a>
-</body></html>

+ 0 - 98
L2J_DataPack_BETA/dist/game/data/scripts/quests/510_AClansReputation/__init__.py

@@ -1,98 +0,0 @@
-import sys
-from com.l2jserver.gameserver.model.quest        			import State
-from com.l2jserver.gameserver.model.quest        			import QuestState
-from com.l2jserver.gameserver.model.quest.jython 			import QuestJython as JQuest
-from com.l2jserver.gameserver.network.serverpackets      	import PledgeShowInfoUpdate
-from com.l2jserver.gameserver.network.serverpackets      	import SystemMessage
-
-qn="510_AClansReputation"
-
-# Quest NPC
-Valdis = 31331
-
-# Quest Items
-Claw = 8767
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr) :
-     JQuest.__init__(self,id,name,descr)
-     self.questItemIds = [Claw]
-
- def onAdvEvent (self,event,npc,player) :
-  st = player.getQuestState(qn)
-  if not st: return
-  cond = st.getInt("cond")
-  htmltext=event
-  if event == "31331-3.htm" :
-    if cond == 0 :
-      st.set("cond","1")
-      st.setState(State.STARTED)
-  elif event == "31331-6.htm" :
-    st.playSound("ItemSound.quest_finish")
-    st.exitQuest(1)
-  return htmltext
-
- def onTalk (self,npc,player) :
-  htmltext = Quest.getNoQuestMsg(player)
-  st = player.getQuestState(qn)
-  if not st : return htmltext
-  clan = player.getClan()
-  npcId = npc.getNpcId()
-  if player.getClan() == None or player.isClanLeader() == 0 :
-     st.exitQuest(1)
-     htmltext = "31331-0.htm"
-  elif player.getClan().getLevel() < 5 :
-     st.exitQuest(1)
-     htmltext =  "31331-0.htm"
-  else :
-     cond = st.getInt("cond")
-     id = st.getState()
-     if id == State.CREATED and cond == 0 :
-        htmltext =  "31331-1.htm"
-     elif id == State.STARTED and cond == 1 :
-        count = st.getQuestItemsCount(Claw)
-        if not count :
-           htmltext = "31331-4.htm"
-        elif count >= 1 :
-           htmltext = "31331-7.htm"
-           if count < 10 :
-           		CLAN_POINTS_REWARD = 30 * count
-           else :
-           		CLAN_POINTS_REWARD = 59 + 30 * count
-           st.takeItems(Claw,-1)
-           clan.addReputationScore(CLAN_POINTS_REWARD,True)
-           player.sendPacket(SystemMessage.getSystemMessage(1777).addNumber(CLAN_POINTS_REWARD))
-           clan.broadcastToOnlineMembers(PledgeShowInfoUpdate(clan))
-  return htmltext
-
- def onKill(self,npc,player,isPet) :
-  st = 0
-  if player.isClanLeader() :
-   st = player.getQuestState(qn)
-  else:
-   clan = player.getClan()
-   if clan:
-    leader=clan.getLeader()
-    if leader :
-     pleader= leader.getPlayerInstance()
-     if pleader :
-      if player.isInsideRadius(pleader, 1600, 1, 0) :
-       st = pleader.getQuestState(qn)
-  if not st : return
-  if st.getState() == State.STARTED :
-   npcId=npc.getNpcId()
-   if npcId in range(22215,22218) :
-      st.giveItems(Claw,1)
-      st.playSound("ItemSound.quest_itemget")
-  return
-
-
-# Quest class and state definition
-QUEST       = Quest(510,qn,"A Clan's Reputation")
-
-QUEST.addStartNpc(Valdis)
-QUEST.addTalkId(Valdis)
-
-for npc in range(22215,22218):
-    QUEST.addKillId(npc)

+ 11 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-0.html

@@ -0,0 +1,11 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Thank you! There are several Raid Bosses near the village. Which one can you defeat?<br>
+<font color="LEVEL">Remember, you don't have to kill the Raid Boss by yourself.</font> There is no rule that says the clan leader has to use his sword. <font color="LEVEL">If your clan members defeat the Raid Boss, simply bring back proof of your victory.</font><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-1.html">Palibati Queen Themis</a><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-2.html">Shilen's Priest Hisilrome</a><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-3.html">Gargoyle Lord Tiphon</a><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-4.html">Last Lesser Giant Glaki</a><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-5.html">Rahha</a><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-6.html">Flamestone Giant</a>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-0a.htm

@@ -0,0 +1,6 @@
+<html><body>
+Sir Eric Rodemai:<br>
+The townsfolk of Aden Castle live in mortal fear of the Raid Bosses in this area. If they were to actually make it into the village...<br>
+I must find a Clan Leader who leads a very powerful Clan. Can you recommend anyone?<br>
+(Only Clan Leaders of Clans of level 5 and above may undertake this quest.)
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-0b.htm

@@ -0,0 +1,5 @@
+<html><body>
+Sir Eric Rodemai:<br>
+It hasn't been long since I saw you, but your Clan has certainly grown! Would you and your Clan be interested in raising your <font color="LEVEL">reputation</font>? We could really use some help here!<br>
+<a action="bypass -h Quest 508_AClansReputation 30868-0c.htm">"What's the problem?"</a>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-0c.htm

@@ -0,0 +1,6 @@
+<html><body>
+Sir Eric Rodemai:<br>
+The townsfolk of Aden Castle live in mortal fear of the <font color="LEVEL">Raid Bosses</font> in this area. If they were to actually make it into the village... Naturally, we have guards posted, but there aren't any guarantees!<br>
+Please, use the power of your Clan to set the townsfolk free from fear! Help us and we'll raise your Clan's reputation by spreading the word far and wide of your good deed! Will you help us?<br>
+<a action="bypass -h Quest 508_AClansReputation 30868-0.htm">"I'll do it."</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-1.html

@@ -0,0 +1,5 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Very good! Slaughter <font color="LEVEL">Palibati Queen Themis</font> and bring me her scale!<br>
+<font color="LEVEL">As I told you before, you don't have to kill her yourself!</font> There's no rule that says the Clan Leader has to get his hands bloody! <font color="LEVEL">Just stand in a safe place and watch your Clan kill Palibati Queen Themis and then bring her scale to me.</font>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-1a.html

@@ -0,0 +1,6 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Very well! Slay <font color="LEVEL">Palibati Queen Themis</font> and bring me her scale.<br>
+<font color="LEVEL">Remember, you don't have to kill Palibati Queen Themis yourself.</font> There's no rule that says a Clan Leader must get his hands bloody! <font color="LEVEL">Just stand in a safe place and watch your Clan kill Palibati Queen Themis and then bring me back her scale.</font><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-0.html">"I want a new mission."</a>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-1b.html

@@ -0,0 +1,6 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Well done! I'll spread the news that your brave Clan has defeated Palibati Queen Themis.<br>
+<a action="bypass -h Quest 508_AClansReputation 30868-0.html">"I want to continue killing Raid Bosses."</a><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-7.html">Quit</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-2.html

@@ -0,0 +1,5 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Then kill <font color="LEVEL">Shillien Priest Hisilrome</font> and bring me his heart.<br>
+<font color="LEVEL">As I mentioned before, you don't have to kill Hisilrome yourself.</font> There is no rule that says the clan leader has to use his sword personally. <font color="LEVEL">If your clan members defeat Hisilrome, simply bring back proof of the victory.</font>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-2a.html

@@ -0,0 +1,6 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Kill <font color="LEVEL">Shillien Priest Hisilrome</font> and bring me his heart.<br>
+<font color="LEVEL">A word of advice: you don't have to kill Hisilrome yourself.</font> There is no rule that says the clan leader has to use his sword personally. <font color="LEVEL">If your clan members defeat Hisilrome, simply bring back proof of the victory.</font><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-0.html">Quit this mission and take on a new one.</a>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-2b.html

@@ -0,0 +1,6 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Well done! I'll tell everyone how bravely your clan defeated Shillien Priest Hisilrome.<br>
+<a action="bypass -h Quest 508_AClansReputation 30868-0.html">Choose another Raid Boss to fight.</a><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-7.html">Say you want to quit.</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-3.html

@@ -0,0 +1,5 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Fine! Then go and kill <font color="LEVEL">Gargoyle Lord Tiphon</font> and bring me the Tiphon Shard.<br>
+<font color="LEVEL">As I have said, you don't have to kill Gargoyle Lord Tiphon yourself.</font> There's no rule that says the Clan Leader has to get his hands bloody! <font color="LEVEL">Just stand in a safe place and watch your Clan kill Gargoyle Lord Tiphon and then bring me its Tiphon Shard.</font>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-3a.html

@@ -0,0 +1,6 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Fine! Then go and kill <font color="LEVEL">Gargoyle Lord Tiphon</font> and bring me the Tiphon Shard.<br>
+<font color="LEVEL">Just so we're clear, I'll tell you this once more. You don't have to kill Gargoyle Lord Tiphon yourself.</font> There's no rule that says a Clan Leader must get his hands bloody! <font color="LEVEL">Just stand in a safe place and watch your Clan kill Gargoyle Lord Tiphon and then bring back the Tiphon Shard to me.</font><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-0.html">"I want a new mission."</a>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-3b.html

@@ -0,0 +1,6 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Thank you. I'll spread the word of your brave Clan's defeat of the Gargoyle Lord Tiphon.<br>
+<a action="bypass -h Quest 508_AClansReputation 30868-0.html">"I'll keep slaying Raid Bosses."</a><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-7.html">"I want to quit this mission."</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-4.html

@@ -0,0 +1,5 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Very well, go and kill <font color="LEVEL">Last Lesser Giant Glaki</font> and bring me Glaki's Nucleus.<br>
+<font color="LEVEL">As I have said, you don't have to kill Last Lesser Giant Glaki yourself.</font> There's no rule that says the Clan Leader has to get his hands bloody! <font color="LEVEL">Just stand in a safe place and watch your Clan kill Last Lesser Giant Glaki and then bring me back Glaki's Nucleus.</font>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-4a.html

@@ -0,0 +1,6 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Very well, go and kill the <font color="LEVEL">Last Lesser Giant Glaki</font> and bring me Glaki's Nucleus.<br>
+<font color="LEVEL">Remember, you don't have to kill the Last Lesser Giant Glaki yourself.</font> There's no rule that says a Clan Leader must get his hands bloody! <font color="LEVEL">Just stand in a safe place and watch your Clan kill Last Lesser Giant Glaki and then bring me back Glaki's Nucleus.</font><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-0.html">"I want a new mission."</a>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-4b.html

@@ -0,0 +1,6 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Thank you. I'll spread the word of your brave Clan's defeat of Last Lesser Giant Glaki.<br>
+<a action="bypass -h Quest 508_AClansReputation 30868-0.html">"I'll keep slaying Raid Bosses."</a><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-7.html">"I want to quit this mission."</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-5.html

@@ -0,0 +1,5 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Go defeat <font color="LEVEL">Rahha</font> and bring me Rahha's Fang.<br>
+<font color="LEVEL">As I have said, you don't have to kill Rahha yourself.</font> There's no rule that says the Clan Leader has to get his hands bloody! <font color="LEVEL">Just stand in a safe place and watch your Clan kill Rahha and then bring back Rahha's Fang.</font>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-5a.html

@@ -0,0 +1,6 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Very well, go and kill <font color="LEVEL">Rahha</font> and bring me Rahha's Fang.<br>
+<font color="LEVEL">Just so we're clear, I'll tell you this once more. You don't have to kill Rahha yourself.</font> There's no rule that says a Clan Leader must get his hands bloody! <font color="LEVEL">Just stand in a safe place and watch your Clan kill Rahha and then bring me back Rahha's Fang.</font><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-0.html">"I want a new mission."</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-5b.html

@@ -0,0 +1,5 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Thank you. I'll spread the word of your brave Clan's defeat of Rahha.<br>
+<a action="bypass -h Quest 508_AClansReputation 30868-0.html">"I want to quit this mission."</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-6.html

@@ -0,0 +1,5 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Very well, go and kill the <font color="LEVEL">Flamestone Giant</font> and bring me the Nucleus of Flamestone Giant.<br>
+<font color="LEVEL">As I have said, you don't have to kill Flamestone Giant yourself.</font> There's no rule that says the Clan Leader has to get his hands bloody! <font color="LEVEL">Just stand in a safe place and watch your Clan kill Flamestone Giant and then bring me the Nucleus of Flamestone Giant.</font>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-6a.html

@@ -0,0 +1,6 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Very well, go and kill the <font color="LEVEL">Flamestone Giant</font> and bring me the Nucleus of Flamestone Giant.<br>
+<font color="LEVEL">Remember, you don't have to kill Flamestone Giant yourself.</font> There's no rule that says a Clan Leader must get his hands bloody! <font color="LEVEL">Just stand in a safe place and watch your Clan kill Flamestone Giant and then bring me back the Nucleus of Flamestone Giant.</font><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-0.html">"I want a new mission."</a>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-6b.html

@@ -0,0 +1,6 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Well done! I'll spread the news that your brave Clan has defeated the Flamestone Giant.<br>
+<a action="bypass -h Quest 508_AClansReputation 30868-0.html">"I want to continue killing Raid Bosses."</a><br>
+<a action="bypass -h Quest 508_AClansReputation 30868-7.html">Quit</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-7.html

@@ -0,0 +1,4 @@
+<html><body>
+Sir Eric Rodemai:<br>
+You're quitting? That's too bad, but I can't help it. I'm sure that you and your Clan know what you're doing.
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/30868-8.html

@@ -0,0 +1,4 @@
+<html><body>
+Sir Eric Rodemai:<br>
+Now that you are no longer a clan lord, I have nothing to ask of you. Go in peace.
+</body></html>

+ 215 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q508_AClansReputation/Q508_AClansReputation.java

@@ -0,0 +1,215 @@
+/*
+ * This program 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.
+ * 
+ * This program 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.Q508_AClansReputation;
+
+/**
+ * A Clan's Reputation (508).<br>
+ * Original Jython script by chris_00, @katmai and DrLecter.
+ * @author Adry_85
+ */
+
+import gnu.trove.map.hash.TIntObjectHashMap;
+
+import com.l2jserver.gameserver.model.L2Clan;
+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.network.SystemMessageId;
+import com.l2jserver.gameserver.network.serverpackets.PledgeShowInfoUpdate;
+import com.l2jserver.gameserver.network.serverpackets.RadarControl;
+import com.l2jserver.gameserver.network.serverpackets.SystemMessage;
+
+public class Q508_AClansReputation extends Quest
+{
+	private static final String qn = "508_AClansReputation";
+	// NPC
+	private static final int SIR_ERIC_RODEMAI = 30868;
+	
+	private static final TIntObjectHashMap<int[]> REWARD_POINTS = new TIntObjectHashMap<>();
+	
+	//@formatter:off
+	static
+	{
+		REWARD_POINTS.put(1, new int[] {25252, 8277, 560 }); // Palibati Queen Themis
+		REWARD_POINTS.put(2, new int[] {25478, 14883, 584 }); // Shilen's Priest Hisilrome
+		REWARD_POINTS.put(3, new int[] {25255, 8280, 602 }); // Gargoyle Lord Tiphon
+		REWARD_POINTS.put(4, new int[] {25245, 8281, 784 }); // Last Lesser Giant Glaki
+		REWARD_POINTS.put(5, new int[] {25051, 8282, 558 }); // Rahha
+		REWARD_POINTS.put(6, new int[] {25524, 8494, 768 }); // Flamestone Giant
+	}
+	//@formatter:on
+	
+	private static final int[] RAID_BOSS =
+	{
+		25252,
+		25478,
+		25255,
+		25245,
+		25051,
+		25524
+	};
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		QuestState st = player.getQuestState(getName());
+		if (st == null)
+		{
+			return getNoQuestMsg(player);
+		}
+		
+		switch (event)
+		{
+			case "30868-0.html":
+				st.startQuest();
+				break;
+			case "30868-1.html":
+				st.set("raid", "1");
+				player.sendPacket(new RadarControl(0, 2, 192376, 22087, -3608));
+				break;
+			case "30868-2.html":
+				st.set("raid", "2");
+				player.sendPacket(new RadarControl(0, 2, 168288, 28368, -3632));
+				break;
+			case "30868-3.html":
+				st.set("raid", "3");
+				player.sendPacket(new RadarControl(0, 2, 170048, -24896, -3440));
+				break;
+			case "30868-4.html":
+				st.set("raid", "4");
+				player.sendPacket(new RadarControl(0, 2, 188809, 47780, -5968));
+				break;
+			case "30868-5.html":
+				st.set("raid", "5");
+				player.sendPacket(new RadarControl(0, 2, 117760, -9072, -3264));
+				break;
+			case "30868-6.html":
+				st.set("raid", "6");
+				player.sendPacket(new RadarControl(0, 2, 144600, -5500, -4100));
+				break;
+			case "30868-7.html":
+				st.exitQuest(true, true);
+				break;
+		}
+		return event;
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = getNoQuestMsg(player);
+		QuestState st = player.getQuestState(getName());
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		L2Clan clan = player.getClan();
+		
+		switch (st.getState())
+		{
+			case State.CREATED:
+				htmltext = (clan == null || !player.isClanLeader() || clan.getLevel() < 5) ? "30868-0a.htm" : "30868-0b.htm";
+				break;
+			case State.STARTED:
+				if (clan == null || !player.isClanLeader())
+				{
+					st.exitQuest(true);
+					return "30868-8.html";
+				}
+				
+				int raid = st.getInt("raid");
+				
+				if (REWARD_POINTS.containsKey(raid))
+				{
+					if (st.hasQuestItems(REWARD_POINTS.get(raid)[1]))
+					{
+						htmltext = "30868-" + raid + "b.html";
+						st.playSound("ItemSound.quest_fanfare_1");
+						st.takeItems(REWARD_POINTS.get(raid)[1], -1);
+						clan.addReputationScore(REWARD_POINTS.get(raid)[2], true);
+						player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.CLAN_QUEST_COMPLETED_AND_S1_POINTS_GAINED).addNumber(REWARD_POINTS.get(raid)[2]));
+						clan.broadcastToOnlineMembers(new PledgeShowInfoUpdate(clan));
+					}
+					else
+					{
+						htmltext = "30868-" + raid + "a.html";
+					}
+				}
+				else
+				{
+					htmltext = "30868-0.html";
+				}
+				break;
+			default:
+				break;
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onKill(L2Npc npc, L2PcInstance player, boolean isPet)
+	{
+		if (player.getClan() == null)
+		{
+			return null;
+		}
+		
+		QuestState st = null;
+		
+		if (player.isClanLeader())
+		{
+			st = player.getQuestState(qn);
+		}
+		else
+		{
+			L2PcInstance pleader = player.getClan().getLeader().getPlayerInstance();
+			if (player.isInsideRadius(pleader, 1500, true, false))
+			{
+				st = pleader.getQuestState(qn);
+			}
+		}
+		
+		if (st != null && st.isStarted())
+		{
+			int raid = st.getInt("raid");
+			if (REWARD_POINTS.containsKey(raid))
+			{
+				if (npc.getNpcId() == REWARD_POINTS.get(raid)[0] && !st.hasQuestItems(REWARD_POINTS.get(raid)[1]))
+				{
+					st.rewardItems(REWARD_POINTS.get(raid)[1], 1);
+					st.playSound("ItemSound.quest_itemget");
+				}
+			}
+		}
+		return null;
+	}
+	
+	public Q508_AClansReputation(int id, String name, String descr)
+	{
+		super(id, name, descr);
+		
+		addStartNpc(SIR_ERIC_RODEMAI);
+		addTalkId(SIR_ERIC_RODEMAI);
+		addKillId(RAID_BOSS);
+	}
+	
+	public static void main(String[] args)
+	{
+		new Q508_AClansReputation(508, qn, "A Clan's Reputation");
+	}
+}

+ 9 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-0.html

@@ -0,0 +1,9 @@
+<html><body>
+Grand Magister Valdis:<br>
+Thank you! As a matter of fact, there are several Raid bosses around here. Which one can you defeat?<br>
+<font color="LEVEL">Ah! Of course you don't have to do so personally.</font> There is no rule that says a clan leader must take up the sword directly. <font color="LEVEL">You can order your clan members to defeat a Raid Boss, then bring me proof of the victory.</font><br>
+<a action="bypass -h Quest 509_AClansFame 31331-1.html">Daimon the White-Eyed</a><br>
+<a action="bypass -h Quest 509_AClansFame 31331-2.html">Hestia, Guardian Deity of the Hot Springs</a><br>
+<a action="bypass -h Quest 509_AClansFame 31331-3.html">Plague Golem</a><br>
+<a action="bypass -h Quest 509_AClansFame 31331-4.html">Demon's Agent Falston</a>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-0a.htm

@@ -0,0 +1,6 @@
+<html><body>
+Grand Magister Valdis:<br>
+Our townsfolk live in mortal fear of the Raid Bosses in this area. It would be disastrous if they were to actually intrude into the village...<br>
+Our only hope is to obtain the assistance of a very powerful Clan Leader! Do you know one?<br>
+(This quest is only available to the Leaders of Clans of level 6 and above.)
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-0b.htm

@@ -0,0 +1,5 @@
+<html><body>
+Grand Magister Valdis:<br>
+Your Clan's sterling reputation precedes you! How would you and your compatriots like to enhance your Clan's <font color="LEVEL">prestige</font>? I'm afraid we've fallen into a bad situation here...<br>
+<a action="bypass -h Quest 509_AClansFame 31331-0c.htm">"What's the problem?"</a>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-0c.htm

@@ -0,0 +1,6 @@
+<html><body>
+Grand Magister Valdis:<br>
+The local townsfolk live in mortal fear of the <font color="LEVEL">Raid Bosses</font> in this area!  It would be disastrous if they were to actually intrude into the village...<br>
+Would you and your friends please use your power to set the minds of our townsfolk at ease? Success would give an enormous boost to your Clan's prestige throughout the land! What do you think? Will you help us?<br>
+<a action="bypass -h Quest 509_AClansFame 31331-0.html">"I'll do it."</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-1.html

@@ -0,0 +1,5 @@
+<html><body>
+Grand Magister Valdis:<br>
+Very good! Slay <font color="LEVEL">Daimon the White-Eyed</font> and bring me his eyeballs.<br>
+<font color="LEVEL">And remember, you don't need to do the killing yourself! Just step aside and let your Clan members do the messy work!</font>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-1a.html

@@ -0,0 +1,6 @@
+<html><body>
+Grand Magister Valdis:<br>
+<font color="LEVEL">Slay Daimon the White-Eyed</font> and bring me his eyeball.<br>
+<font color="LEVEL">Remember, you don't need to do the killing yourself! Just stand back and let your Clan do the work for you!</font><br>
+<a action="bypass -h Quest 509_AClansFame 31331-0.html">"I want to try killing another Raid Boss."</a>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-1b.html

@@ -0,0 +1,6 @@
+<html><body>
+Grand Magister Valdis:<br>
+Excellent! I'll spread the word of your mighty Clan's defeat of Daimon the White-Eyed.<br>
+<a action="bypass -h Quest 509_AClansFame 31331-0.html">"I want to kill some more Raid Bosses!"</a><br>
+<a action="bypass -h Quest 509_AClansFame 31331-5.html">"I want to quit this mission."</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-2.html

@@ -0,0 +1,5 @@
+<html><body>
+Grand Magister Valdis:<br>
+Very good! Slay the <font color="LEVEL">Guardian Deity of Hot Springs Hestia</font> and bring me her Fairy Stone.<br>
+<font color="LEVEL">Of course, you won't need to get your hands bloody... Have your Clan members do the killing for you! All you need to do is collect and bring back the proof!</font>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-2a.html

@@ -0,0 +1,6 @@
+<html><body>
+Grand Magister Valdis:<br>
+Slay <font color="LEVEL">Guardian Deity of Hot Springs Hestia</font> and bring me her Fairy Stone.<br>
+<font color="LEVEL">Remember, you need not kill the Guardian Deity of Hot Springs Hestia with your own hands. Just stand back and let your Clan do the work for you!</font><br>
+<a action="bypass -h Quest 509_AClansFame 31331-5.html">"I want to try killing another Raid Boss."</a>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-2b.html

@@ -0,0 +1,6 @@
+<html><body>
+Grand Magister Valdis:<br>
+Excellent! I'll spread the word of your mighty Clan's defeat of the Hestia, Guardian Deity of the Hot Springs.<br>
+<a action="bypass -h Quest 509_AClansFame 31331-0.html">"I want to kill some more Raid Bosses!"</a><br>
+<a action="bypass -h Quest 509_AClansFame 31331-5.html">"I want to quit this mission."</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-3.html

@@ -0,0 +1,5 @@
+<html><body>
+Grand Magister Valdis:<br>
+Very good! Destroy the <font color="LEVEL">Plague Golem</font> and bring me the Nucleus from the Golem.<br>
+<font color="LEVEL">Remember, you don't need to do the killing yourself! Just stand back and let your Clan do the work for you!</font>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-3a.html

@@ -0,0 +1,6 @@
+<html><body>
+Grand Magister Valdis:<br>
+Defeat the <font color="LEVEL">Plague Golem</font> and bring me the Nucleus of Lesser Golem.<br>
+<font color="LEVEL">Remember, you need not kill the Plague Golem with your own hands. Just stand back and let your Clan do the work for you!</font><br>
+<a action="bypass -h Quest 509_AClansFame 31331-0.html">"I want to try killing another Raid Boss."</a>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-3b.html

@@ -0,0 +1,6 @@
+<html><body>
+Grand Magister Valdis:<br>
+Excellent! I'll spread the word of your mighty Clan's defeat of the Plague Golem.<br>
+<a action="bypass -h Quest 509_AClansFame 31331-0.html">"I want to kill some more Raid Bosses!"</a><br>
+<a action="bypass -h Quest 509_AClansFame 31331-5.html">"I want to quit this mission."</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-4.html

@@ -0,0 +1,5 @@
+<html><body>
+Grand Magister Valdis:<br>
+Very good! Destroy <font color="LEVEL">Demon's Agent Falston</font> and bring me Falston's Fang.<br>
+<font color="LEVEL">Remember, you don't need to do the killing yourself! Just stand back and let your Clan do the work for you!</font>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-4a.html

@@ -0,0 +1,6 @@
+<html><body>
+Grand Magister Valdis:<br>
+Excellent! Destroy <font color="LEVEL">Demon's Agent Falston</font> and bring me his Fang.<br>
+<font color="LEVEL">Remember, you need not kill Demon's Agent Falston with your own hands. Just stand back and let your Clan do the work for you!</font><br>
+<a action="bypass -h Quest 509_AClansFame 31331-0.html">"I want to try killing another Raid Boss."</a>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-4b.html

@@ -0,0 +1,6 @@
+<html><body>
+Grand Magister Valdis:<br>
+Excellent! Destroy <font color="LEVEL">Demon's Agent Falston</font> and bring me his Fang.<br>
+<font color="LEVEL">Remember, you need not kill Demon's Agent Falston with your own hands. Just stand back and let your Clan do the work for you!</font><br>
+<a action="bypass -h Quest 509_AClansFame 31331-0.html">"I want to try killing another Raid Boss."</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-5.html

@@ -0,0 +1,4 @@
+<html><body>
+Grand Magister Valdis:<br>
+What? You want to quit? Oh well, I guess you and your Clan have better things to do...
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/31331-6.html

@@ -0,0 +1,4 @@
+<html><body>
+Grand Magister Valdis:<br>
+You are no longer a clan lord -- I have nothing to ask of you. Go in peace.
+</body></html>

+ 202 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q509_AClansFame/Q509_AClansFame.java

@@ -0,0 +1,202 @@
+/*
+ * This program 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.
+ * 
+ * This program 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.Q509_AClansFame;
+
+/**
+ * A Clan's Fame (509).
+ * @author Adry_85
+ */
+
+import gnu.trove.map.hash.TIntObjectHashMap;
+
+import com.l2jserver.gameserver.model.L2Clan;
+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.network.SystemMessageId;
+import com.l2jserver.gameserver.network.serverpackets.PledgeShowInfoUpdate;
+import com.l2jserver.gameserver.network.serverpackets.RadarControl;
+import com.l2jserver.gameserver.network.serverpackets.SystemMessage;
+
+public class Q509_AClansFame extends Quest
+{
+	private static final String qn = "509_AClansFame";
+	// NPC
+	private static final int VALDIS = 31331;
+	
+	private static final TIntObjectHashMap<int[]> REWARD_POINTS = new TIntObjectHashMap<>();
+	
+	//@formatter:off
+	static
+	{
+		REWARD_POINTS.put(1, new int[] {25290, 8489, 1378 }); // Daimon The White-Eyed
+		REWARD_POINTS.put(2, new int[] {25293, 8490, 1378 }); // Hestia, Guardian Deity Of The Hot Springs
+		REWARD_POINTS.put(3, new int[] {25523, 8491, 1070 }); // Plague Golem
+		REWARD_POINTS.put(4, new int[] {25322, 8492, 782 }); // Demon's Agent Falston
+	}
+	//@formatter:on
+	
+	private static final int[] RAID_BOSS =
+	{
+		25290,
+		25293,
+		25523,
+		25322
+	};
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		QuestState st = player.getQuestState(getName());
+		if (st == null)
+		{
+			return getNoQuestMsg(player);
+		}
+		
+		switch (event)
+		{
+			case "31331-0.html":
+				st.startQuest();
+				break;
+			case "31331-1.html":
+				st.set("raid", "1");
+				player.sendPacket(new RadarControl(0, 2, 186304, -43744, -3193));
+				break;
+			case "31331-2.html":
+				st.set("raid", "2");
+				player.sendPacket(new RadarControl(0, 2, 134672, -115600, -1216));
+				break;
+			case "31331-3.html":
+				st.set("raid", "3");
+				player.sendPacket(new RadarControl(0, 2, 170000, -60000, -3500));
+				break;
+			case "31331-4.html":
+				st.set("raid", "4");
+				player.sendPacket(new RadarControl(0, 2, 93296, -75104, -1824));
+				break;
+			case "31331-5.html":
+				st.exitQuest(true, true);
+				break;
+		}
+		return event;
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = getNoQuestMsg(player);
+		QuestState st = player.getQuestState(getName());
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		L2Clan clan = player.getClan();
+		
+		switch (st.getState())
+		{
+			case State.CREATED:
+				htmltext = (clan == null || !player.isClanLeader() || clan.getLevel() < 6) ? "31331-0a.htm" : "31331-0b.htm";
+				break;
+			case State.STARTED:
+				if (clan == null || !player.isClanLeader())
+				{
+					st.exitQuest(true);
+					return "31331-6.html";
+				}
+				
+				int raid = st.getInt("raid");
+				
+				if (REWARD_POINTS.containsKey(raid))
+				{
+					if (st.hasQuestItems(REWARD_POINTS.get(raid)[1]))
+					{
+						htmltext = "31331-" + raid + "b.html";
+						st.playSound("ItemSound.quest_fanfare_1");
+						st.takeItems(REWARD_POINTS.get(raid)[1], -1);
+						clan.addReputationScore(REWARD_POINTS.get(raid)[2], true);
+						player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.CLAN_QUEST_COMPLETED_AND_S1_POINTS_GAINED).addNumber(REWARD_POINTS.get(raid)[2]));
+						clan.broadcastToOnlineMembers(new PledgeShowInfoUpdate(clan));
+					}
+					else
+					{
+						htmltext = "31331-" + raid + "a.html";
+					}
+				}
+				else
+				{
+					htmltext = "31331-0.html";
+				}
+				break;
+			default:
+				break;
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onKill(L2Npc npc, L2PcInstance player, boolean isPet)
+	{
+		if (player.getClan() == null)
+		{
+			return null;
+		}
+		
+		QuestState st = null;
+		
+		if (player.isClanLeader())
+		{
+			st = player.getQuestState(qn);
+		}
+		else
+		{
+			L2PcInstance pleader = player.getClan().getLeader().getPlayerInstance();
+			if (player.isInsideRadius(pleader, 1500, true, false))
+			{
+				st = pleader.getQuestState(qn);
+			}
+		}
+		
+		if (st != null && st.isStarted())
+		{
+			int raid = st.getInt("raid");
+			if (REWARD_POINTS.containsKey(raid))
+			{
+				if (npc.getNpcId() == REWARD_POINTS.get(raid)[0] && !st.hasQuestItems(REWARD_POINTS.get(raid)[1]))
+				{
+					st.rewardItems(REWARD_POINTS.get(raid)[1], 1);
+					st.playSound("ItemSound.quest_itemget");
+				}
+			}
+		}
+		return null;
+	}
+	
+	public Q509_AClansFame(int id, String name, String descr)
+	{
+		super(id, name, descr);
+		
+		addStartNpc(VALDIS);
+		addTalkId(VALDIS);
+		addKillId(RAID_BOSS);
+	}
+	
+	public static void main(String[] args)
+	{
+		new Q509_AClansFame(509, qn, "A Clan's Fame");
+	}
+}

+ 2 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/510_AClansReputation/31331-0.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-0.htm

@@ -1,4 +1,5 @@
-<html><body>Grand Magister Valdis:<br>
+<html><body>
+Grand Magister Valdis:<br>
 The townspeople live in constant fear because of the Raid Bosses in this area. We must manufacture better arms and equipment for our guards to defeat this menace, but the materials are difficult to obtain...<br>
 If there were a strong clan nearby, I would ask its clan leader. Do you know of anyone in the area?<br>
 (Only clan leaders of clans level 5 and above can take on this quest.)

+ 4 - 3
L2J_DataPack_BETA/dist/game/data/scripts/quests/510_AClansReputation/31331-1.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-1.htm

@@ -1,4 +1,5 @@
-<html><body>Grand Magister Valdis:<br>
-I have heard of your clan's exploits. Would you and your members desire to come together and enhance <font color="LEVEL">your clan's prestige</font>? Any assistance you can provide us, be it large or small, would be greatly appreciated. <br>
-<a action="bypass -h Quest 510_AClansReputation 31331-2.htm">&quot;What kind of assistance do you need?&quot;</a>
+<html><body>
+Grand Magister Valdis:<br>
+I have heard of your clan's exploits. Would you and your members desire to come together and enhance <font color="LEVEL">your clan's prestige</font>? Any assistance you can provide us, be it large or small, would be greatly appreciated.<br>
+<a action="bypass -h Quest 510_AClansPrestige 31331-2.htm">"What kind of assistance do you need?"</a>
 </body></html>

+ 6 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/510_AClansReputation/31331-2.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-2.htm

@@ -1,5 +1,7 @@
-<html><body>Grand Magister Valdis:<br>
-We lack sufficient weapons and armor to properly equip the guards who safeguard us here. The local blacksmiths have agreed to manufacture what we need, but lack the necessary raw materials to do so. We have been searching for those materials, but without much success. I recently heard that the claws of the ferocious <font color="LEVEL">Tyrannosaurus</font>, a creature that inhabits the Primeval Isle, would be ideal for our purposes. <br>
-Would you consider using the power of your clan to collect those materials for us? <br>If you help us, I will help you enhance your clan's prestige throughout this land by spreading word of the great feat you have accomplished for us. Well? What say you?<br>
-<a action="bypass -h Quest 510_AClansReputation 31331-3.htm">Say yes.</a>
+<html><body>
+Grand Magister Valdis:<br>
+We lack sufficient weapons and armor to properly equip the guards who safeguard us here. The local blacksmiths have agreed to manufacture what we need, but lack the necessary raw materials to do so. We have been searching for those materials, but without much success. I recently heard that the claws of the ferocious <font color="LEVEL">Tyrannosaurus</font>, a creature that inhabits the Primeval Isle, would be ideal for our purposes.<br>
+Would you consider using the power of your clan to collect those materials for us?<br>
+If you help us, I will help you enhance your clan's prestige throughout this land by spreading word of the great feat you have accomplished for us. Well? What say you?<br>
+<a action="bypass -h Quest 510_AClansPrestige 31331-3.html">Say yes.</a>
 </body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-3.html

@@ -0,0 +1,6 @@
+<html><body>
+Grand Magister Valdis:<br>
+Thank you, thank you! Legend has it that these creatures are extremely vicious... Oh, but I'm sure they will pose no more trouble to such a powerful clan than a kitten with her claws! So, will you go to the Primeval Isle and slay a <font color="LEVEL">Tyrannosaurus</font>?<br>
+<font color="LEVEL">Naturally, we don't expect you personally to slay the creature.</font> There is no rule requiring a clan leader to brandish his own sword in these matters. <font color="LEVEL">Simply stay nearby and watch your clan members slay the Tyrannosaurus and return here with its claws. It's vital that the claw be undamaged, you understand, which means...uh, well, it's probably best that you capture the creature before slaying it. I hope that doesn't complicate the task for you!</font><br>
+I'll be here anxiously awaiting your good news.
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-4.html

@@ -0,0 +1,6 @@
+<html><body>
+Grand Magister Valdis:<br>
+Are you still here? Hurry to the Primeval Isle and bring back the <font color="LEVEL">Tyrannosaurus Claw</font> that I requested. Do you have any other business with me?<br>
+<a action="bypass -h Quest 510_AClansPrestige 31331-5.html">"No, nothing. I'll go get the material."</a><br>
+<a action="bypass -h Quest 510_AClansPrestige 31331-6.html">"I wish to stop now."</a>
+</body></html>

+ 2 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/510_AClansReputation/31331-5.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-5.html

@@ -1,3 +1,4 @@
-<html><body>Grand Magister Valdis:<br>
+<html><body>
+Grand Magister Valdis:<br>
 Then I'll leave it to you. The <font color="LEVEL">Tyrannosaurus</font> of the Primeval Isle is ferocious, but I will trust in you and your clan and wait. Be sure to <font color="LEVEL">capture</font> it and bring back a usable claw. Well, you know the way out. Thank you!
 </body></html>

+ 2 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/510_AClansReputation/31331-6.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-6.html

@@ -1,3 +1,4 @@
-<html><body>Grand Magister Valdis:<br>
+<html><body>
+Grand Magister Valdis:<br>
 You wish to quit? That's too bad, but I suppose it cannot be helped. Your clan must have concerns of its own...
 </body></html>

+ 7 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-7.html

@@ -0,0 +1,7 @@
+<html><body>
+Grand Magister Valdis:<br>
+Well done! We will make great use of the material that you and your clan brought back. What a tremendous feat, to capture and bring back that ferocious creature! As promised, I will spread word everywhere that the clan you lead brought down a <font color="LEVEL">Tyrannosaurus.</font><br>
+Could we possibly convince you to continue your efforts on our behalf?<br>
+<a action="bypass -h Quest 510_AClansPrestige 31331-5.html">"I will continue to go and get the material."</a><br>
+<a action="bypass -h Quest 510_AClansPrestige 31331-6.html">"I wish to stop now."</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q510_AClansPrestige/31331-8.html

@@ -0,0 +1,4 @@
+<html><body>
+Grand Magister Valdis:<br>
+You are no longer a clan lord -- I have nothing to ask of you. Go in peace.
+</body></html>

Some files were not shown because too many files changed in this diff