Bläddra i källkod

Fixed it so the advanced classes can get quest skills.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@49 54d463be-8e91-2dee-dedb-b68131a5f0ec
shadowlady 20 år sedan
förälder
incheckning
1d83f99445
1 ändrade filer med 26 tillägg och 16 borttagningar
  1. 26 16
      npc/other/platinum_skills.txt

+ 26 - 16
npc/other/platinum_skills.txt

@@ -1,6 +1,16 @@
-//-------------------------------------------------------------------------------------------------------------------------\\
-//                                PLATINUM SKILL NPC MADE BY KEIICHI AND EDITED BY DARKCHILD                                                     \\
-//-------------------------------------------------------------------------------------------------------------------------\\
+//===== eAthena Script ======================================================================
+//= Platinum Skills NPC
+//===== By: =================================================================================
+//= Keichii and edited by DarkChild
+//===== Current Version: ====================================================================
+//= 2.0 
+//===== Compatible With: ====================================================================
+//= Any eAthena Version
+//===== Description: ========================================================================
+//= Single NPC that assigns quests skills for all classes.
+//===== Additional Comments: ================================================================
+//= Added advanced classes by ShadowLady.
+//===========================================================================================
 prontera.gat,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?";
@@ -8,13 +18,13 @@ next;
 menu "Yes",Lgetskills,"No",Lnogetskills;
 
 Lgetskills:
-if (Class==0) goto Lskillsnovice;
-if ((Class==1) || (Class==7) || (Class==14)) goto Lskillsswordie;
-if ((Class==2) || (Class==9) || (Class==16)) goto Lskillsmage;
-if ((Class==3) || (Class==11) || (Class==19) || (Class==20)) goto Lskillsarcher;
-if ((Class==4) || (Class==8) || (Class==15)) goto Lskillsaco;
-if ((Class==5) || (Class==10) || (Class==18)) goto Lskillsmerchie;
-if ((Class==6) || (Class==12) || (Class==17)) goto Lskillsthief;
+if ((Class==Job_Novice) || (Class==4001)) goto Lskillsnovice;
+if ((Class==Job_Swordman) || (Class==7) || (Class==Job_Knight2) || (Class==14)|| (Class==Job_Crusader2) || (Class==4002) || (Class==4008) || (Class==Job_Lord_Knight2) || (Class==4015) || (Class==Job_Paladin2)) goto Lskillsswordie;
+if ((Class==Job_Mage) || (Class==9) || (Class==16) || (Class==4003) || (Class==4010) || (Class==4017)) goto Lskillsmage;
+if ((Class==Job_Archer) || (Class==11) || (Class==19) || (Class==20) || (Class==4004) || (Class==4012) || (Class==4020) || (Class==4021)) goto Lskillsarcher;
+if ((Class==Job_Acolyte) || (Class==8) || (Class==15) || (Class==4005) || (Class==4009) || (Class==4016)) goto Lskillsaco;
+if ((Class==Job_Merchant) || (Class==10) || (Class==18) || (Class==4006) || (Class==4011) || (Class==4019)) goto Lskillsmerchie;
+if ((Class==Job_Thief) || (Class==12) || (Class==17) || (Class==4007) || (Class==4013) || (Class==4018)) goto Lskillsthief;
 Lskillsnovice:
 mes "[Platinum Skill NPC]";
 mes "I see that you are a Novice. I will now add the special skills available to the Novice job.";
@@ -26,7 +36,7 @@ next;
 goto LskillsEND;
 Lskillsswordie:
 mes "[Platinum Skill NPC]";
-mes "I see that you are a Swordman, Knight, or Crusader. I will now add the special skills available to these jobs.";
+mes "I see that you are a Swordman, Knight, Crusader, Lord Knight or Paladin. I will now add the special skills available to these jobs.";
 skill 142,1,0;
 skill 144,1,0;
 skill 145,1,0;
@@ -37,7 +47,7 @@ next;
 goto LskillsEND;
 Lskillsmage:
 mes "[Platinum Skill NPC]";
-mes "I see that you are a Mage, Wizard, or Sage. I will now add the special skills available to these jobs.";
+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 " ";
@@ -46,7 +56,7 @@ next;
 goto LskillsEND;
 Lskillsarcher:
 mes "[Platinum Skill NPC]";
-mes "I see that you are an Archer, Hunter, Bard, or Dancer. I will now add the special skills available to these jobs.";
+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;
@@ -56,7 +66,7 @@ next;
 goto LskillsEND;
 Lskillsaco:
 mes "[Platinum Skill NPC]";
-mes "I see that you are an Acolyte, Priest, or Monk. I will now add the special skills available to these jobs.";
+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 " ";
@@ -65,7 +75,7 @@ next;
 goto LskillsEND;
 Lskillsmerchie:
 mes "[Platinum Skill NPC]";
-mes "I see that you are a Merchant, Blacksmith, or Alchemist. I will now add the special skills available to these jobs.";
+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;
@@ -76,7 +86,7 @@ next;
 goto LskillsEND;
 Lskillsthief:
 mes "[Platinum Skill NPC]";
-mes "I see that you are a Thief, Assassin, or Rogue. I will now add the special skills available to these jobs.";
+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;