knight_skills.txt 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. //===== eAthena Script =======================================
  2. //= Knight 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. // KNIGHT - CHARGE ATTACK
  24. //============================================================
  25. prt_in.gat,84,98,3 script Esope 734,{
  26. mes "[Esope]";
  27. if(BaseJob!=Job_Knight) goto L_noknight;
  28. if(getskilllv(1001)) goto L_alreadyhave;
  29. mes "I'll teach you all I know for:";
  30. mes "5 Candy canes";
  31. mes "3 Witherless Roses";
  32. next;
  33. mes "[Esope]";
  34. mes "Let me check your items.";
  35. next;
  36. if(countitem(530)<5 || countitem(748)<3)goto L_noitems;//Items: Candy_Cane, Witherless_Rose,
  37. delitem 530, 5;//Items: Candy_Cane,
  38. delitem 748, 3;//Items: Witherless_Rose,
  39. mes "[Esope]";
  40. mes "I see you have what you need,";
  41. mes "so I'll teach you my talent.";
  42. skill 1001,1,0;
  43. close;
  44. L_noitems:
  45. mes "[Esope]";
  46. mes "You don't have enough items.";
  47. mes "Come back when you have all";
  48. mes "the required items for me.";
  49. close;
  50. L_noknight:
  51. mes "Looking for your master?";
  52. emotion e_gasp;
  53. close;
  54. L_alreadyhave:
  55. mes "I've already taught you";
  56. mes "everything I know...";
  57. close;
  58. }