priest_skills.txt 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. //===== eAthena Script =======================================
  2. //= Priest Skills Quests
  3. //===== By: ==================================================
  4. //= Lupus, Reddozen
  5. //===== Current Version: =====================================
  6. //= 1.3a
  7. //===== Compatible With: =====================================
  8. //= eAthena Revision 3800+
  9. //===== Description: =========================================
  10. //= Temp quests for new skills for 2nd classes
  11. //===== Additional Comments: =================================
  12. //= 1.0 for fully working skills only [Lupus]
  13. //= 1.1 Added more new skill quests for more classes [Lupus]
  14. //= Somehow eA engine doesn't let you keep learn't skill V_V'
  15. //= 1.2 Added to correct locations, correct NPC's, fixed
  16. //= some of the items required and made them into real
  17. //= quests. [Reddozen]
  18. //= 1.3 Fixed bugs and minor typos. Optimized [Lupus]
  19. //= 1.3a fixed an item ID typo, thx 2Spiritual Kid
  20. //= 1.3b Splitted into different files [DracoRPG]
  21. //============================================================
  22. //============================================================
  23. // PRIEST - REDEMPTIO
  24. //============================================================
  25. prt_church.gat,111,112,3 script Nun Linus 79,{
  26. mes "[Nun Linus]";
  27. if(BaseJob!=Job_Priest) goto L_nopriest;
  28. if(getskilllv(1014)) goto L_alreadyhave;
  29. if(getskilllv(54)<1) goto L_norez;
  30. mes "I can teach you the mercy of God";
  31. mes "if you bring me a couple things,";
  32. mes "and if God finds you worthy!";
  33. mes "1 Blue Gemstone";
  34. mes "1 Holy Water";
  35. next;
  36. mes "[Nun Linus]";
  37. mes "Let me check your items.";
  38. next;
  39. if(countitem(717)<1 || countitem(523)<1) goto L_noitems;//Items: Blue_Gemstone, Holy_Water,
  40. delitem 717, 1;//Items: Blue_Gemstone,
  41. delitem 523, 1;//Items: Holy_Water,
  42. mes "[Nun Linus]";
  43. mes "I see you have what you need,";
  44. mes "so we shall see if God finds";
  45. mes "you worthy yet!";
  46. next;
  47. if(rand(100)<JobLevel+25) goto L_bless;
  48. mes "[Nun Linus]";
  49. mes "Sorry, but God has not";
  50. mes "shined on you as of yet.";
  51. mes "Try again when you are a";
  52. mes "stronger Priest.";
  53. close;
  54. L_bless:
  55. mes "[Nun Linus]";
  56. mes "Hum... I see God has shined on you this time";
  57. skill 1014,1,0;
  58. close;
  59. L_noitems:
  60. mes "[Nun Linus]";
  61. mes "You don't have enough items.";
  62. mes "Come back when you have all";
  63. mes "the required items for me.";
  64. close;
  65. L_nopriest:
  66. mes "Sorry, you need to have some faith in God.";
  67. emotion e_gasp;
  68. close;
  69. L_alreadyhave:
  70. mes "I've already taught you";
  71. mes "everything I know...";
  72. close;
  73. L_norez:
  74. mes "Come back when you've learned";
  75. mes "more about priest and God.";
  76. close;
  77. }