acolyte_skills.txt 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. //===== rAthena Script =======================================
  2. //= Acolyte Skill Quest
  3. //===== By: ==================================================
  4. //= kobra_k88
  5. //===== Current Version: =====================================
  6. //= 1.7
  7. //===== Compatible With: =====================================
  8. //= rAthena SVN
  9. //===== Description: =========================================
  10. //= Quest for skills: Holy Light
  11. //===== Additional Comments: =================================
  12. //= 1.5 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf]
  13. //= 1.6 Fixed a typo in job check. (Bugreport:1531) [L0ne_W0lf]
  14. //= 1.7 Updated to latest available official file. [Masao]
  15. //============================================================
  16. prt_church,173,23,4 script Cleric 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. if ((countitem(727) > 0) && (countitem(991) > 0) && (countitem(2608) > 0) && (JobLevel > 29) && (BaseClass == Job_Acolyte)) {
  70. mes "[Acolyte Klift]";
  71. mes "Your faith has proven worthy";
  72. mes "for you to gain the ' Holy Light ' skill.";
  73. mes "Your skill is adequate";
  74. mes "to use this skill.";
  75. mes "Use it wisely. . .";
  76. next;
  77. delitem 727,1; //White_Jewel
  78. delitem 991,1; //Crystal_Blue
  79. delitem 2608,1; //Rosary
  80. skill "AL_HOLYLIGHT",1,0;
  81. mes "[Acolyte Klift]";
  82. mes "You now know ' Holy Light '";
  83. mes "May you use this skill only in the";
  84. mes "best conduct . . . . .";
  85. close;
  86. }
  87. mes "[Acolyte Klift]";
  88. mes "Oh, it is clear. . .";
  89. mes "You are not yet ready to";
  90. mes "receive the ' Holy Light ' skill.";
  91. next;
  92. mes "[Acolyte Klift]";
  93. mes "You should listen carefully to what";
  94. mes "is necessary for this skill.";
  95. mes "If you listen closely,";
  96. mes "you may learn what you lack.";
  97. mes "So that you may improve upon yourself.";
  98. close;
  99. case 3:
  100. mes "[Acolyte Klift]";
  101. mes ". . . . .";
  102. mes "I understand your zeal.";
  103. mes "You have much time yet to";
  104. mes "practice and gain experience.";
  105. mes "Blessings upon you . . . . .";
  106. close;
  107. }
  108. }
  109. //============================================================
  110. // Old changelog
  111. //============================================================
  112. //= v1.0a Now using functions found in "Global_Functions.txt"
  113. //= for class checks.
  114. //= 1.2 Added Baby Class Support [Lupus]
  115. //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
  116. //= 1.4 Fixed an exploit [Lupus]
  117. //= 1.4a changed perm. variables to temp ones [Lupus]
  118. //============================================================