
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@172 54d463be-8e91-2dee-dedb-b68131a5f0ec
111 lines
4.3 KiB
Plaintext
111 lines
4.3 KiB
Plaintext
//===== 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?";
|
|
next;
|
|
menu "Yes",Lgetskills,"No",Lnogetskills;
|
|
|
|
Lgetskills:
|
|
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.";
|
|
skill 142,1,0;
|
|
skill 143,1,0;
|
|
mes " ";
|
|
mes "You now have all the special skills available to the Novice job.";
|
|
next;
|
|
goto LskillsEND;
|
|
Lskillsswordie:
|
|
mes "[Platinum Skill NPC]";
|
|
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;
|
|
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 dont want my special skills?";
|
|
mes "*sob* FINE!";
|
|
mes "Have a nice day... >.>";
|
|
close;
|
|
}
|
|
|