root/npc/custom/platinum_skills.txt @ 1

Revision 1, 3.8 kB (checked in by jinshiro, 17 years ago)
RevLine 
[1]1//===== eAthena Script ======================================================================
2//= Platinum Skills NPC
3//===== By: =================================================================================
4//= Keichii and edited by DarkChild
5//===== Current Version: ====================================================================
6//= 2.2
7//===== Compatible With: ====================================================================
8//= Any eAthena Version
9//===== Description: ========================================================================
10//= Single NPC that assigns quests skills for all classes.
11//===== Additional Comments: ================================================================
12//= Added advanced classes by ShadowLady.
13//= Added baby clases by Midas
14//= Simplified Job Checks [Silentdragon]
15//===========================================================================================
16prontera,128,200,6      script  Platinum Skill NPC      94,{
17mes "[Platinum Skill NPC]";
18mes "I can give you the special skills available to your job. Would you like these skills now?";
19next;
20menu "Yes",Lgetskills,"No",Lnogetskills;
21
22Lgetskills:
23if (BaseClass==Job_Novice) goto Lskillsnovice;
24if (BaseClass==Job_Swordman) goto Lskillsswordie;
25if (BaseClass==Job_Mage) goto Lskillsmage;
26if (BaseClass==Job_Archer) goto Lskillsarcher;
27if (BaseClass==Job_Acolyte) goto Lskillsaco;
28if (BaseClass==Job_Merchant) goto Lskillsmerchie;
29if (BaseClass==Job_Thief) goto Lskillsthief;
30Lskillsnovice:
31mes "[Platinum Skill NPC]";
32mes "I see that you are a Novice Class. I will now add the special skills available to these jobs.";
33skill 142,1,0;
34if(BaseJob==0) skill 143,1,0;
35mes " ";
36mes "You now have all the special skills available to the these jobs.";
37next;
38goto LskillsEND;
39Lskillsswordie:
40mes "[Platinum Skill NPC]";
41mes "I see that you are a Swordman Class. I will now add the special skills available to these jobs.";
42skill 142,1,0;
43skill 144,1,0;
44skill 145,1,0;
45skill 146,1,0;
46mes " ";
47mes "You now have all the special skills available to the these jobs.";
48next;
49goto LskillsEND;
50Lskillsmage:
51mes "[Platinum Skill NPC]";
52mes "I see that you are a Mage Class. I will now add the special skills available to these jobs.";
53skill 142,1,0;
54skill 157,1,0;
55mes " ";
56mes "You now have all the special skills available to the these jobs.";
57next;
58goto LskillsEND;
59Lskillsarcher:
60mes "[Platinum Skill NPC]";
61mes "I see that you are an Archer Class. I will now add the special skills available to these jobs.";
62skill 142,1,0;
63skill 147,1,0;
64skill 148,1,0;
65mes " ";
66mes "You now have all the special skills available to the these jobs.";
67next;
68goto LskillsEND;
69Lskillsaco:
70mes "[Platinum Skill NPC]";
71mes "I see that you are an Acolyte Class. I will now add the special skills available to these jobs.";
72skill 142,1,0;
73skill 156,1,0;
74mes " ";
75mes "You now have all the special skills available to the these jobs.";
76next;
77goto LskillsEND;
78Lskillsmerchie:
79mes "[Platinum Skill NPC]";
80mes "I see that you are a Merchant Class.I will now add the special skills available to these jobs.";
81skill 142,1,0;
82skill 153,1,0;
83skill 154,1,0;
84skill 155,1,0;
85mes " ";
86mes "You now have all the special skills available to the these jobs.";
87next;
88goto LskillsEND;
89Lskillsthief:
90mes "[Platinum Skill NPC]";
91mes "I see that you are a Thief Class. I will now add the special skills available to these jobs.";
92skill 142,1,0;
93skill 149,1,0;
94skill 150,1,0;
95skill 151,1,0;
96skill 152,1,0;
97mes " ";
98mes "You now have all the special skills available to the these jobs.";
99next;
100goto LskillsEND;
101LskillsEND:
102mes "[Platinum Skill NPC]";
103mes "Have a nice day.";
104close;
105Lnogetskills:
106mes "[Platinum Skill NPC]";
107mes "Aww, how come you don't want my special skills?";
108mes "*sob* FINE!";
109mes "Have a nice day... >.>";
110close;
111}
Note: See TracBrowser for help on using the browser.