acolyte_skills.txt 4.5 KB

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