acolyte_skills.txt 4.2 KB

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