platinum_skills.txt 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. //===== eAthena Script ======================================================================
  2. //= Platinum Skills NPC
  3. //===== By: =================================================================================
  4. //= Keichii and edited by DarkChild
  5. //===== Current Version: ====================================================================
  6. //= 2.2
  7. //===== Compatible With: ====================================================================
  8. //= Any eAthena Version
  9. //===== Description: ========================================================================
  10. //= Single NPC that assigns quests skills for all classes.
  11. //===== Additional Comments: ================================================================
  12. //= Added advanced classes by ShadowLady.
  13. //= Added baby clases by Midas
  14. //= Simplified Job Checks [Silentdragon]
  15. //===========================================================================================
  16. prontera.gat,128,200,6 script Platinum Skill NPC 94,{
  17. mes "[Platinum Skill NPC]";
  18. mes "I can give you the special skills available to your job. Would you like these skills now?";
  19. next;
  20. menu "Yes",Lgetskills,"No",Lnogetskills;
  21. Lgetskills:
  22. if (BaseClass==Job_Novice) goto Lskillsnovice;
  23. if (BaseClass==Job_Swordman) goto Lskillsswordie;
  24. if (BaseClass==Job_Mage) goto Lskillsmage;
  25. if (BaseClass==Job_Archer) goto Lskillsarcher;
  26. if (BaseClass==Job_Acolyte) goto Lskillsaco;
  27. if (BaseClass==Job_Merchant) goto Lskillsmerchie;
  28. if (BaseClass==Job_Thief) goto Lskillsthief;
  29. Lskillsnovice:
  30. mes "[Platinum Skill NPC]";
  31. mes "I see that you are a Novice Class. I will now add the special skills available to these jobs.";
  32. skill 142,1,0;
  33. if(BaseJob==0) skill 143,1,0;
  34. mes " ";
  35. mes "You now have all the special skills available to the these jobs.";
  36. next;
  37. goto LskillsEND;
  38. Lskillsswordie:
  39. mes "[Platinum Skill NPC]";
  40. mes "I see that you are a Swordman Class. I will now add the special skills available to these jobs.";
  41. skill 142,1,0;
  42. skill 144,1,0;
  43. skill 145,1,0;
  44. skill 146,1,0;
  45. mes " ";
  46. mes "You now have all the special skills available to the these jobs.";
  47. next;
  48. goto LskillsEND;
  49. Lskillsmage:
  50. mes "[Platinum Skill NPC]";
  51. mes "I see that you are a Mage Class. I will now add the special skills available to these jobs.";
  52. skill 142,1,0;
  53. skill 157,1,0;
  54. mes " ";
  55. mes "You now have all the special skills available to the these jobs.";
  56. next;
  57. goto LskillsEND;
  58. Lskillsarcher:
  59. mes "[Platinum Skill NPC]";
  60. mes "I see that you are an Archer Class. I will now add the special skills available to these jobs.";
  61. skill 142,1,0;
  62. skill 147,1,0;
  63. skill 148,1,0;
  64. mes " ";
  65. mes "You now have all the special skills available to the these jobs.";
  66. next;
  67. goto LskillsEND;
  68. Lskillsaco:
  69. mes "[Platinum Skill NPC]";
  70. mes "I see that you are an Acolyte Class. I will now add the special skills available to these jobs.";
  71. skill 142,1,0;
  72. skill 156,1,0;
  73. mes " ";
  74. mes "You now have all the special skills available to the these jobs.";
  75. next;
  76. goto LskillsEND;
  77. Lskillsmerchie:
  78. mes "[Platinum Skill NPC]";
  79. mes "I see that you are a Merchant Class.I will now add the special skills available to these jobs.";
  80. skill 142,1,0;
  81. skill 153,1,0;
  82. skill 154,1,0;
  83. skill 155,1,0;
  84. mes " ";
  85. mes "You now have all the special skills available to the these jobs.";
  86. next;
  87. goto LskillsEND;
  88. Lskillsthief:
  89. mes "[Platinum Skill NPC]";
  90. mes "I see that you are a Thief Class. I will now add the special skills available to these jobs.";
  91. skill 142,1,0;
  92. skill 149,1,0;
  93. skill 150,1,0;
  94. skill 151,1,0;
  95. skill 152,1,0;
  96. mes " ";
  97. mes "You now have all the special skills available to the these jobs.";
  98. next;
  99. goto LskillsEND;
  100. LskillsEND:
  101. mes "[Platinum Skill NPC]";
  102. mes "Have a nice day.";
  103. close;
  104. Lnogetskills:
  105. mes "[Platinum Skill NPC]";
  106. mes "Aww, how come you dont want my special skills?";
  107. mes "*sob* FINE!";
  108. mes "Have a nice day... >.>";
  109. close;
  110. }