acolyte_skills.txt 4.1 KB

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