crusader_skills.txt 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. //===== eAthena Script =======================================
  2. //= Crusader 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. // CRUSADER SKILL - SHRINK
  24. //============================================================
  25. geffen.gat,110,118,3 script Ford 752,{
  26. mes "[Ford]";
  27. if(BaseJob!=Job_Crusader) goto L_nocruz;
  28. if(getskilllv(1002)) goto L_alreadyhave;
  29. mes "Maybe I'll teach you a little skill";
  30. mes "if you bring me a few things...";
  31. mes "Bring me these items and we'll";
  32. mes "see if I feel like giving it to you.";
  33. next;
  34. mes "[Ford]";
  35. mes "1 Red Potion";
  36. mes "20 Sticky Mucus";
  37. mes "3 Empty Bottles";
  38. mes "5 Jellopies";
  39. mes "1 Unripe Apple";
  40. mes "1 Grape";
  41. mes "1 Coal";
  42. mes "3 Cyfars";
  43. next;
  44. mes "[Ford]";
  45. mes "Let me check your items.";
  46. next;
  47. if(countitem(501)<1 || countitem(938)<20 || countitem(713)<3 || countitem(909)<5 || countitem(619)<1 || countitem(514)<1 || countitem(1003)<1 || countitem(7053)<3)goto L_noitems;//Items: Red_Potion, Sticky_Mucus, Empty_Bottle, Jellopy, Unripe_Apple, Grape, Coal, Cyfar,
  48. delitem 501, 1;//Items: Red_Potion,
  49. delitem 938, 20;//Items: Sticky_Mucus,
  50. delitem 713, 3;//Items: Empty_Bottle,
  51. delitem 909, 5;//Items: Jellopy,
  52. delitem 619, 1;//Items: Unripe_Apple,
  53. delitem 514, 1;//Items: Grape,
  54. delitem 1003, 1;//Items: Coal,
  55. delitem 7053, 3;//Items: Cyfar,
  56. mes "[Ford]";
  57. mes "Time to roll my lucky dice.";
  58. mes "Good luck, I almost never lose.";
  59. //TODO: add DICE emotions? 8)
  60. emotion e_gg;
  61. next;
  62. if(rand(1,6)!=3) goto L_lose;
  63. emotion 58;
  64. next;
  65. skill 1002,1,0;
  66. mes "[Ford]";
  67. mes "I can't believe I lost!";
  68. mes "I NEVER lose...";
  69. emotion e_sob;
  70. close;
  71. L_noitems:
  72. mes "[Ford]";
  73. mes "You don't have enough items.";
  74. mes "Come back when you have all";
  75. mes "the required items for me.";
  76. close;
  77. L_lose:
  78. emotion 63;
  79. next;
  80. mes "[Ford]";
  81. mes "I win again!!";
  82. mes "I'm not teaching you";
  83. mes "anything this time. Come";
  84. mes "back if you want to Try";
  85. mes "again";
  86. close;
  87. L_nocruz:
  88. mes "If you are not a Crusader,";
  89. mes "then you have no business";
  90. mes "with me...";
  91. close;
  92. L_alreadyhave:
  93. mes "Hey, you were lucky I";
  94. mes "even taught you the";
  95. mes "skill I did! Don't press";
  96. mes "your luck.";
  97. close;
  98. }