acolyte_skills.txt 4.2 KB

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