summaryrefslogtreecommitdiff
path: root/npc/custom
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-06-06 10:56:21 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-06-06 10:56:21 +0000
commit63f46a4cda1fe029e6e9f1b0940c09565698080a (patch)
treef91f4a084ef920f88d55688aac4981da739eb424 /npc/custom
parent1e0d131e8ab96e066af5fa6f01a5e67f63043b73 (diff)
downloadhercules-63f46a4cda1fe029e6e9f1b0940c09565698080a.tar.gz
hercules-63f46a4cda1fe029e6e9f1b0940c09565698080a.tar.bz2
hercules-63f46a4cda1fe029e6e9f1b0940c09565698080a.tar.xz
hercules-63f46a4cda1fe029e6e9f1b0940c09565698080a.zip
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
Diffstat (limited to 'npc/custom')
-rw-r--r--npc/custom/platinum_skills.txt64
1 files changed, 24 insertions, 40 deletions
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;
}