acolyte_skills.txt 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. //===== eAthena Script =======================================
  2. //= Acolyte Skill Quest
  3. //===== By: ==================================================
  4. //= kobra_k88
  5. //===== Current Version: =====================================
  6. //= 1.4a
  7. //===== Compatible With: =====================================
  8. //= eAthena 7.15 +
  9. //===== Description: =========================================
  10. //= <Description>
  11. //===== Additional Comments: =================================
  12. //= v1.0a Now using functions found in "Global_Functions.txt"
  13. //= for class checks.
  14. //= 1.2 Added Baby Class Support [Lupus]
  15. //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
  16. //= 1.4 Fixed an exploit [Lupus]
  17. //= 1.4a changed perm. variables to temp ones [Lupus]
  18. //============================================================
  19. prt_church.gat,173,23,4 script Acolyte Klift 79,{
  20. mes "[Acolyte Klift]";
  21. if (baseClass == Job_Acolyte) goto L_Start;
  22. L_Other:
  23. mes "Ah, welcome to the Prontera Church also known as the Sanctuary.";
  24. mes "Unfortunately I cannot be of much help to you. For my fellow";
  25. mes "Priests and Acolytes however, I can help them to find their ^5555FF'hidden";
  26. mes "ability'^000000.";
  27. close;
  28. L_Start:
  29. if(@HOLYLIGHT) goto L_Check;
  30. if(getskilllv(156)>0) goto L_GotSkill;
  31. if(sex==1) mes "Ahh... Brother!";
  32. if(sex==0) mes "Ahh... Sister!";
  33. mes "Does the task of caring for our lost sheep tire you out? Is it too";
  34. mes "much of a burden? Do not despair, I am here to assist you.";
  35. next;
  36. menu "About an Acolyte's ^5555FF'hidden ablitiy'^000000...",M_0, "End Conversation.",M_End;
  37. M_0:
  38. mes "[Acolyte Klift]";
  39. mes "Faced with great danger in an endless struggle with evil, our";
  40. mes "brethren are in much need of assistance.";
  41. next;
  42. mes "[Acolyte Klift]";
  43. mes "As acolytes approach their senior years in the clergy, they learn to";
  44. mes "call upon their inner power to use a special skill to aid them in";
  45. mes "battle.";
  46. next;
  47. mes "[Acolyte Klift]";
  48. mes "That skill is ^5555FF'Holy Light'^000000. Holy Light does damage to";
  49. mes "all foes but is even more effective on the undead.";
  50. next;
  51. mes "[Acolyte Klift]";
  52. mes "For someone like yourself to learn this skill, takes some hard work.";
  53. mes "Would you like to learn this skill?";
  54. next;
  55. menu "Yes, please.",-, "Let me think about it.",M_End;
  56. mes "[Acolyte Klift]";
  57. mes "Very good. You will need to find these items in order to learn the";
  58. mes "skill:";
  59. mes "^5555FF1 Opal^000000,";
  60. mes "^5555FF1 Crystal Blue^000000,";
  61. mes "and ^5555FF1 Rosary^000000.";
  62. next;
  63. mes "[Acolyte Klift]";
  64. mes "Of course you will also need to have a sufficient level of";
  65. mes "experience. Namely a ^5555FFjob level of at least 30^000000. This does";
  66. mes "not apply to Priests or Monks however, because of the vast amount of";
  67. mes "experience they already have.";
  68. next;
  69. mes "[Acolyte Klift]";
  70. mes "Come back when you are ready. I will be here.";
  71. set @HOLYLIGHT, 1;
  72. close;
  73. M_End:
  74. mes "[Acolyte Klift]";
  75. mes "I understand your zeal. You have much time yet to practice and gain";
  76. mes "experience. Go forth with many blessings...";
  77. close;
  78. L_Check:
  79. mes "So, are you ready for the Holy Light training? Let me check....";
  80. next;
  81. mes "[Acolyte Klift]";
  82. if(BaseJob==Job_Acolyte && JobLevel<30) goto L_LowLvl;
  83. if(countitem(727)<1 || countitem(991)<1 || countitem(2608)<1) goto L_NoItems;
  84. delitem 727,1;
  85. delitem 991,1;
  86. delitem 2608,1;
  87. mes "Oh! Very good. You have brought back all of the items I asked for.";
  88. next;
  89. mes "[Acolyte Klift]";
  90. mes "Ok lets get started...";
  91. next;
  92. mes "(after hours of praying and meditation)";
  93. next;
  94. mes "[Acolyte Klift]";
  95. mes "Yes! I feel it. You have released your hidden abilities and can now";
  96. mes "use ^5555FFHoly Light^000000!";
  97. skill 156,1,0;
  98. set @HOLYLIGHT, 0;
  99. next;
  100. mes "[Priest]";
  101. mes "You have done well. May God bless you!";
  102. emotion e_no1;
  103. close;
  104. L_LowLvl:
  105. mes "I'm sorry but you need more training before I can teach you Holy";
  106. mes "Light. Come back when your job level is at least 30.";
  107. close;
  108. L_NoItems:
  109. mes "I'm sorry but you don't have the required items for Holy Light.";
  110. mes "You need:";
  111. mes "^5555FF1 Opal^000000,";
  112. mes "^5555FF1 Crystal Blue^000000,";
  113. mes "and ^5555FF1 Rosary^000000.";
  114. close;
  115. L_GotSkill:
  116. mes "Ah, I see you have been using Holy Light. It is such a great skill";
  117. mes "that I truly believe it to be a gift from the lord himself. May";
  118. mes "God be with you always.";
  119. close;
  120. }