wizard_skills.txt 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. //===== eAthena Script =======================================
  2. //= Wizard 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. // WIZARD - SIGHTBLASTER
  24. //============================================================
  25. gef_tower.gat,116,37,1 script Nyao 748,{
  26. mes "[Nyao]";
  27. if(BaseJob!=Job_Wizard) goto L_nowiz;
  28. if(getskilllv(1006)) goto L_alreadyhave;
  29. mes "I'll teach you all I know for:";
  30. mes "10 Crystal Blue";
  31. mes "10 Green Live";
  32. mes "10 Red Blood";
  33. mes "10 Wind of Verdure";
  34. next;
  35. mes "[Nyao]";
  36. mes "Let me check your items.";
  37. next;
  38. if(countitem(990)<10 || countitem(991)<10 || countitem(992)<10 || countitem(993)<10) goto L_noitems;//Items: Red_Blood, Crystal_Blue, Wind_of_Verdure, Green_Live,
  39. delitem 990, 10;//Items: Red_Blood,
  40. delitem 991, 10;//Items: Crystal_Blue,
  41. delitem 992, 10;//Items: Wind_of_Verdure,
  42. delitem 993, 10;//Items: Green_Live,
  43. mes "[Nyao]";
  44. mes "I see you have what you need,";
  45. mes "so I'll teach you my talent.";
  46. skill 1006,1,0;
  47. close;
  48. L_noitems:
  49. mes "[Nyao]";
  50. mes "You don't have enough items.";
  51. mes "Come back when you have all";
  52. mes "the required items for me.";
  53. close;
  54. L_nowiz:
  55. mes "You must have the magical power.";
  56. emotion e_gasp;
  57. close;
  58. L_alreadyhave:
  59. mes "I've already taught you";
  60. mes "everything I know...";
  61. close;
  62. }