acolyte_skills.txt 4.2 KB

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