summaryrefslogtreecommitdiff
path: root/npc/custom/platinum_skills.txt
diff options
context:
space:
mode:
authorKisuka <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-14 20:03:15 +0000
committerKisuka <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-14 20:03:15 +0000
commited443022d234432a9db933832298404987798c37 (patch)
tree1a2592bad1dddd50ff003e81eb3ed3b231c38acc /npc/custom/platinum_skills.txt
parent525cd1232a289562e866eeb4eac8d5772c1d573c (diff)
downloadhercules-ed443022d234432a9db933832298404987798c37.tar.gz
hercules-ed443022d234432a9db933832298404987798c37.tar.bz2
hercules-ed443022d234432a9db933832298404987798c37.tar.xz
hercules-ed443022d234432a9db933832298404987798c37.zip
- More optimization to custom folder. (Optimized by Spre)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13214 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/platinum_skills.txt')
-rw-r--r--npc/custom/platinum_skills.txt184
1 files changed, 87 insertions, 97 deletions
diff --git a/npc/custom/platinum_skills.txt b/npc/custom/platinum_skills.txt
index e97616afa..7ab251256 100644
--- a/npc/custom/platinum_skills.txt
+++ b/npc/custom/platinum_skills.txt
@@ -9,103 +9,93 @@
//===== Description: ========================================================================
//= Single NPC that assigns quests skills for all classes.
//===== Additional Comments: ================================================================
-//= Added advanced classes by ShadowLady.
-//= Added baby clases by Midas
-//= Simplified Job Checks [Silentdragon]
+//=2.0 Added advanced classes by ShadowLady.
+//=2.1 Added baby clases by Midas
+//=2.2 Simplified Job Checks [Silentdragon]
+//=2.3 Thehell? Cleaned up script removed the nastiness. Also added rebirth skills. [Spre]
+//=2.4 Added Advanced skills. [Spre]
//===========================================================================================
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;
-menu "Yes",Lgetskills,"No",Lnogetskills;
-
-Lgetskills:
-if (BaseClass==Job_Novice) goto Lskillsnovice;
-if (BaseClass==Job_Swordman) goto Lskillsswordie;
-if (BaseClass==Job_Mage) goto Lskillsmage;
-if (BaseClass==Job_Archer) goto Lskillsarcher;
-if (BaseClass==Job_Acolyte) goto Lskillsaco;
-if (BaseClass==Job_Merchant) goto Lskillsmerchie;
-if (BaseClass==Job_Thief) goto Lskillsthief;
-Lskillsnovice:
-mes "[Platinum Skill NPC]";
-mes "I see that you are a Novice Class. I will now add the special skills available to these jobs.";
-skill 142,1,0;
-if(BaseJob==0) skill 143,1,0;
-mes " ";
-mes "You now have all the special skills available to the these jobs.";
-next;
-goto LskillsEND;
-Lskillsswordie:
-mes "[Platinum Skill NPC]";
-mes "I see that you are a Swordman Class. I will now add the special skills available to these jobs.";
-skill 142,1,0;
-skill 144,1,0;
-skill 145,1,0;
-skill 146,1,0;
-mes " ";
-mes "You now have all the special skills available to the these jobs.";
-next;
-goto LskillsEND;
-Lskillsmage:
-mes "[Platinum Skill NPC]";
-mes "I see that you are a Mage Class. I will now add the special skills available to these jobs.";
-skill 142,1,0;
-skill 157,1,0;
-mes " ";
-mes "You now have all the special skills available to the these jobs.";
-next;
-goto LskillsEND;
-Lskillsarcher:
-mes "[Platinum Skill NPC]";
-mes "I see that you are an Archer Class. I will now add the special skills available to these jobs.";
-skill 142,1,0;
-skill 147,1,0;
-skill 148,1,0;
-mes " ";
-mes "You now have all the special skills available to the these jobs.";
-next;
-goto LskillsEND;
-Lskillsaco:
-mes "[Platinum Skill NPC]";
-mes "I see that you are an Acolyte Class. I will now add the special skills available to these jobs.";
-skill 142,1,0;
-skill 156,1,0;
-mes " ";
-mes "You now have all the special skills available to the these jobs.";
-next;
-goto LskillsEND;
-Lskillsmerchie:
-mes "[Platinum Skill NPC]";
-mes "I see that you are a Merchant Class.I will now add the special skills available to these jobs.";
-skill 142,1,0;
-skill 153,1,0;
-skill 154,1,0;
-skill 155,1,0;
-mes " ";
-mes "You now have all the special skills available to the these jobs.";
-next;
-goto LskillsEND;
-Lskillsthief:
-mes "[Platinum Skill NPC]";
-mes "I see that you are a Thief Class. I will now add the special skills available to these jobs.";
-skill 142,1,0;
-skill 149,1,0;
-skill 150,1,0;
-skill 151,1,0;
-skill 152,1,0;
-mes " ";
-mes "You now have all the special skills available to the these jobs.";
-next;
-goto LskillsEND;
-LskillsEND:
-mes "[Platinum Skill NPC]";
-mes "Have a nice day.";
-close;
-Lnogetskills:
-mes "[Platinum Skill NPC]";
-mes "Aww, how come you don't want my special skills?";
-mes "*sob* FINE!";
-mes "Have a nice day... >.>";
-close;
+ 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;
}
+ if (BaseClass==Job_Novice) {
+ skill 142,1,0;
+ skill 143,1,0;
+ close;
+ } 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) {
+ skill 142,1,0;
+ skill 157,1,0;
+ close;
+ } else if (BaseClass==Job_Archer) {
+ skill 142,1,0;
+ skill 147,1,0;
+ skill 148,1,0;
+ close;
+ } else if (BaseClass==Job_Acolyte) {
+ skill 142,1,0;
+ skill 156,1,0;
+ close;
+ } 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) {
+ 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) {
+ skill 1002,1,0;
+ close;
+ } else if (BaseClass==Job_High_Wizard) {
+ skill 1006,1,0;
+ close;
+ } else if (BaseClass==Job_Professor) {
+ skill 1007,1,0;
+ close;
+ } else if (BaseClass==Job_Sniper) {
+ skill 1009,1,0;
+ close;
+ } else if (BaseClass==Job_Clown) {
+ skill 1010,1,0;
+ close;
+ } else if (BaseClass==Job_Gypsy) {
+ skill 1011,1,0;
+ close;
+ } else if (BaseClass==Job_High_Priest) {
+ skill 1014,1,0;
+ skill 363,10,0;
+ close;
+ } else if (BaseClass==Job_Champion) {
+ skill 1015,1,0;
+ skill 1016,10,0;
+ close;
+ } else if (BaseClass==Job_WhiteSmith) {
+ skill 1012,1,0;
+ skill 1013,1,0;
+ close;
+ } else if (BaseClass==Job_Assassin_Cross) {
+ skill 1003,1,0;
+ skill 1004,1,0;
+ close;
+ } else if (BaseClass==Job_Stalker) {
+ skill 1005,1,0;
+ close;
+ }
+} \ No newline at end of file