acolyte_skills.txt 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. //===== rAthena Script =======================================
  2. //= Acolyte Skill Quest
  3. //===== By: ==================================================
  4. //= kobra_k88
  5. //===== Current Version: =====================================
  6. //= 1.5
  7. //===== Compatible With: =====================================
  8. //= rAthena SVN
  9. //===== Description: =========================================
  10. //= [Aegis Conversion]
  11. //= Quest for skills: Holy Light
  12. //===== Additional Comments: =================================
  13. //= 1.5 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf]
  14. //= 1.6 Fixed a typo in job check. (Bugreport:1531) [L0ne_W0lf]
  15. //============================================================
  16. prt_church,173,23,4 script Cleric#qsk_al 79,{
  17. mes "[Acolyte Klift]";
  18. mes "Ahh . Brothers ! Does the task of";
  19. mes "caring for out lost sheep burden";
  20. mes "and tire you ?";
  21. mes "I am here to assist you.";
  22. next;
  23. switch(select("^3355FF' About acolyte's hidden ability '^000000 ..:^3355FF' Holy light '^000000 training:End conversation")) {
  24. case 1:
  25. mes "[Acolyte Klift]";
  26. mes "Our members of the clergy";
  27. mes "naturally learn a skill as";
  28. mes "as they mature. As they approach ";
  29. mes "their senior years as an acolyte";
  30. mes "this special skill.";
  31. next;
  32. mes "[Acolyte Klift]";
  33. mes "Faced with great danger and";
  34. mes "an endless struggle with evil,";
  35. mes "our brethren are much in need of assistance.";
  36. mes "^3355FF' Holy Light '^000000 is that skill.";
  37. mes "To gain this ability for yourself,";
  38. mes "takes some work.";
  39. next;
  40. mes "[Acolyte Klift]";
  41. mes "To gain the skill, you must find these items.";
  42. mes "^FF33551 Opal^000000";
  43. mes "^FF33551 Crystal Blue^000000";
  44. mes "^FF33551 Rosary^000000 ";
  45. next;
  46. mes "[Acolyte Klift]";
  47. mes "In order to be able to even use this skill,";
  48. mes "one must be have sufficient experience.";
  49. mes "^FF3355 Job Level 30^000000";
  50. mes "is required to learn this skill.";
  51. next;
  52. mes "[Acolyte Klift]";
  53. mes "As for a priest, because of their";
  54. mes "already vast amount of experience,";
  55. mes "they are able to gain this skill at any";
  56. mes "job level.";
  57. close;
  58. case 2:
  59. if (getskilllv("AL_HOLYLIGHT") == 1) {
  60. mes "[Acolyte Klift]";
  61. mes "Brother, you already possess";
  62. mes "the skill of ` Holy Light '.";
  63. mes "You cannot gain a skill you";
  64. mes "already possess ..";
  65. mes "I pray that you are using";
  66. mes "this skill for the work of good . .";
  67. close;
  68. }
  69. else {
  70. if (countitem(727) > 0 && countitem(991) > 0 && countitem(2608) > 0) {
  71. if ((JobLevel > 29 && BaseJob == Job_Acolyte) || BaseJob == Job_Monk || BaseJob == Job_Priest) {
  72. mes "[Acolyte Klift]";
  73. mes "Your faith has proven worthy";
  74. mes "for you to gain the ' Holy Light ' skill.";
  75. mes "Your skill is adequate";
  76. mes "to use this skill.";
  77. mes "Use it wisely. . .";
  78. next;
  79. delitem 727,1; //White_Jewel
  80. delitem 991,1; //Crystal_Blue
  81. delitem 2608,1; //Rosary
  82. skill 156,1,0;
  83. mes "[Acolyte Klift]";
  84. mes "You now know ' Holy Light '";
  85. mes "May you use this skill only in the";
  86. mes "best conduct . . . . .";
  87. close;
  88. }
  89. }
  90. mes "[Acolyte Klift]";
  91. mes "Oh, it is clear. . .";
  92. mes "You are not yet ready to";
  93. mes "receive the ' Holy Light ' skill.";
  94. next;
  95. mes "[Acolyte Klift]";
  96. mes "You should listen carefully to what";
  97. mes "is necessary for this skill.";
  98. mes "If you listen closely,";
  99. mes "you may learn what you lack.";
  100. mes "So that you may improve upon yourself.";
  101. close;
  102. }
  103. case 3:
  104. mes "[Acolyte Klift]";
  105. mes ". . . . .";
  106. mes "I understand your zeal.";
  107. mes "You have much time yet to";
  108. mes "practice and gain experience.";
  109. mes "Blessings upon you . . . . .";
  110. close;
  111. }
  112. }
  113. //============================================================
  114. // Old changelog
  115. //============================================================
  116. //= v1.0a Now using functions found in "Global_Functions.txt"
  117. //= for class checks.
  118. //= 1.2 Added Baby Class Support [Lupus]
  119. //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
  120. //= 1.4 Fixed an exploit [Lupus]
  121. //= 1.4a changed perm. variables to temp ones [Lupus]
  122. //============================================================