rogue_skills.txt 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. //===== eAthena Script =======================================
  2. //= Rogue 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. // ROGUE - CLOSE CONFINE
  24. //============================================================
  25. in_rogue.gat,387,94,3 script Hyzaragrack 84,{
  26. mes "[Hyzaragrack]";
  27. if(BaseJob!=Job_Rogue) goto L_norogue;
  28. if(getskilllv(1005)) goto L_alreadyhave;
  29. mes "I'll teach you all I know, but";
  30. mes "you'll have to steal some things";
  31. mes "for me first...";
  32. mes "5 Immortal Hearts";
  33. mes "5 Stone Hearts";
  34. mes "2 Burning hearts";
  35. next;
  36. mes "[Hyzaragrack]";
  37. mes "Let me check your items.";
  38. next;
  39. if(countitem(929)<5 || countitem(953)<5 || countitem(7097)<2) goto L_noitems;//Items: Immortal_Heart, Stone_Heart, Burning_Heart,
  40. delitem 929, 5;//Items: Immortal_Heart,
  41. delitem 953, 5;//Items: Stone_Heart,
  42. delitem 7097, 2;//Items: Burning_Heart,
  43. mes "[Hyzaragrack]";
  44. mes "I see you have what you need,";
  45. mes "so I'll teach you my talent.";
  46. skill 1005,1,0;
  47. close;
  48. L_noitems:
  49. mes "[Hyzaragrack]";
  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_norogue:
  55. mes "Looking for your master?";
  56. emotion e_gasp;
  57. close;
  58. L_alreadyhave:
  59. mes "I've already taught you";
  60. mes "everything I know...";
  61. close;
  62. }