From 63f46a4cda1fe029e6e9f1b0940c09565698080a Mon Sep 17 00:00:00 2001 From: Paradox924X Date: Sat, 6 Jun 2009 10:56:21 +0000 Subject: Fixed several issues introduced by Kisuka and/or Spre in r13214 with custom platinum skills script. Fix by Ancyker (bugreport:3190) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13851 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/custom/platinum_skills.txt | 64 ++++++++++++++++-------------------------- 1 file changed, 24 insertions(+), 40 deletions(-) (limited to 'npc/custom/platinum_skills.txt') diff --git a/npc/custom/platinum_skills.txt b/npc/custom/platinum_skills.txt index 01a27d897..294f352e0 100644 --- a/npc/custom/platinum_skills.txt +++ b/npc/custom/platinum_skills.txt @@ -3,7 +3,7 @@ //===== By: ================================================================================= //= Keichii and edited by DarkChild //===== Current Version: ==================================================================== -//= 2.5 +//= 2.6 //===== Compatible With: ==================================================================== //= Any eAthena Version //===== Description: ======================================================================== @@ -15,91 +15,75 @@ //=2.3 Thehell? Cleaned up script removed the nastiness. Also added rebirth skills. [Spre] //=2.4 Added Advanced skills. [Spre] //=2.5 Added dialog for if the user is none of the listed jobs. [Kisuka] +//=2.6 Fixed 2nd advanced classes not being able to get their advanced skills. [Ancyker] //=========================================================================================== prontera,128,200,6 script Platinum Skill NPC 94,{ mes "[Platinum Skill NPC]"; mes "I can give you the special skills available to your job. Would you like these skills now?"; next; if (select("Yes Please:No") == 2) { - mes "[Platinum Skill NPC]"; - mes "Have a nice day... >.>"; - close; + mes "[Platinum Skill NPC]"; + mes "Have a nice day... >.>"; + close; } if (BaseClass==Job_Novice) { skill 142,1,0; skill 143,1,0; - close; - } else if (BaseClass==Job_Swordman) { + } else if (BaseClass==Job_Swordman) { skill 142,1,0; skill 144,1,0; skill 145,1,0; skill 146,1,0; - close; - } else if (BaseClass==Job_Mage) { + } else if (BaseClass==Job_Mage) { skill 142,1,0; skill 157,1,0; - close; - } else if (BaseClass==Job_Archer) { + } else if (BaseClass==Job_Archer) { skill 142,1,0; skill 147,1,0; skill 148,1,0; - close; - } else if (BaseClass==Job_Acolyte) { + } else if (BaseClass==Job_Acolyte) { skill 142,1,0; skill 156,1,0; - close; - } else if (BaseClass==Job_Merchant) { + } else if (BaseClass==Job_Merchant) { skill 142,1,0; skill 153,1,0; skill 154,1,0; skill 155,1,0; - close; - } else if (BaseClass==Job_Thief) { + } else if (BaseClass==Job_Thief) { skill 142,1,0; skill 149,1,0; skill 150,1,0; skill 151,1,0; skill 152,1,0; - close; - } else if (BaseClass==Job_Lord_Knight) { + } + if (Class==Job_Lord_Knight) { skill 1002,1,0; - close; - } else if (BaseClass==Job_High_Wizard) { + } else if (Class==Job_High_Wizard) { skill 1006,1,0; - close; - } else if (BaseClass==Job_Professor) { + } else if (Class==Job_Professor) { skill 1007,1,0; - close; - } else if (BaseClass==Job_Sniper) { + } else if (Class==Job_Sniper) { skill 1009,1,0; - close; - } else if (BaseClass==Job_Clown) { + } else if (Class==Job_Clown) { skill 1010,1,0; - close; - } else if (BaseClass==Job_Gypsy) { + } else if (Class==Job_Gypsy) { skill 1011,1,0; - close; - } else if (BaseClass==Job_High_Priest) { + } else if (Class==Job_High_Priest) { skill 1014,1,0; skill 363,10,0; - close; - } else if (BaseClass==Job_Champion) { + } else if (Class==Job_Champion) { skill 1015,1,0; skill 1016,10,0; - close; - } else if (BaseClass==Job_WhiteSmith) { + } else if (Class==Job_WhiteSmith) { skill 1012,1,0; skill 1013,1,0; - close; - } else if (BaseClass==Job_Assassin_Cross) { + } else if (Class==Job_Assassin_Cross) { skill 1003,1,0; skill 1004,1,0; - close; - } else if (BaseClass==Job_Stalker) { + } else if (Class==Job_Stalker) { skill 1005,1,0; - close; } mes "[Platinum Skill NPC]"; - mes "I'm sorry, but there are no special skills that I can give you."; + mes "There you go!"; close; } -- cgit v1.2.3-60-g2f50