monk_skills.txt 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. //===== eAthena Script =======================================
  2. //= Monk 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. // MONK - KI TRANSLATION + KI EXPLOSION
  24. //============================================================
  25. monk_test.gat,316,69,3 script Krate 823,{
  26. mes "[Krate]";
  27. if(BaseJob!=Job_Monk) goto L_nomonk;
  28. if(getskilllv(1015) && getskilllv(1016)) goto L_alreadyhave;
  29. if(monk_skill) goto L_verif;
  30. if(Weight>0) goto L_heavymonk;
  31. mes "I'll teach you all I know, but you must bring me:";
  32. mes "40 Stems";
  33. mes "3 Shoots";
  34. set monk_skill, 1;
  35. next;
  36. goto L_verif;
  37. L_verif:
  38. mes "Let me check your items.";
  39. next;
  40. if(countitem(711)<3 || countitem(905)<40) goto L_noitems;//Items: Shoot, Stem,
  41. delitem 711, 3;//Items: Shoot,
  42. delitem 905, 40;//Items: Stem,
  43. next;
  44. mes "[Krate]";
  45. mes "I see you have what you need,";
  46. mes "so I'll teach you my talent.";
  47. skill 1015,1,0;
  48. skill 1016,1,0;
  49. set monk_skill, 0;
  50. close;
  51. L_noitems:
  52. mes "[Krate]";
  53. mes "You don't have enough items.";
  54. mes "Come back when you have all";
  55. mes "the required items for me.";
  56. close;
  57. L_nomonk:
  58. mes "It seems that your soul is disagree with your body.";
  59. mes "Come back when your body and your soul will be like Yin and Yang.";
  60. emotion e_gasp;
  61. close;
  62. L_alreadyhave:
  63. mes "I've already taught you";
  64. mes "everything I know...";
  65. close;
  66. L_heavymonk:
  67. mes "Come back when you've cleansed";
  68. mes "yourself of your worldly possessions.";
  69. close;
  70. }