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 | //=========================================================================================== |
---|
16 | prontera,128,200,6 script Platinum Skill NPC 94,{ |
---|
17 | mes "[Platinum Skill NPC]"; |
---|
18 | mes "I can give you the special skills available to your job. Would you like these skills now?"; |
---|
19 | next; |
---|
20 | menu "Yes",Lgetskills,"No",Lnogetskills; |
---|
21 | |
---|
22 | Lgetskills: |
---|
23 | if (BaseClass==Job_Novice) goto Lskillsnovice; |
---|
24 | if (BaseClass==Job_Swordman) goto Lskillsswordie; |
---|
25 | if (BaseClass==Job_Mage) goto Lskillsmage; |
---|
26 | if (BaseClass==Job_Archer) goto Lskillsarcher; |
---|
27 | if (BaseClass==Job_Acolyte) goto Lskillsaco; |
---|
28 | if (BaseClass==Job_Merchant) goto Lskillsmerchie; |
---|
29 | if (BaseClass==Job_Thief) goto Lskillsthief; |
---|
30 | Lskillsnovice: |
---|
31 | mes "[Platinum Skill NPC]"; |
---|
32 | mes "I see that you are a Novice Class. I will now add the special skills available to these jobs."; |
---|
33 | skill 142,1,0; |
---|
34 | if(BaseJob==0) skill 143,1,0; |
---|
35 | mes " "; |
---|
36 | mes "You now have all the special skills available to the these jobs."; |
---|
37 | next; |
---|
38 | goto LskillsEND; |
---|
39 | Lskillsswordie: |
---|
40 | mes "[Platinum Skill NPC]"; |
---|
41 | mes "I see that you are a Swordman Class. I will now add the special skills available to these jobs."; |
---|
42 | skill 142,1,0; |
---|
43 | skill 144,1,0; |
---|
44 | skill 145,1,0; |
---|
45 | skill 146,1,0; |
---|
46 | mes " "; |
---|
47 | mes "You now have all the special skills available to the these jobs."; |
---|
48 | next; |
---|
49 | goto LskillsEND; |
---|
50 | Lskillsmage: |
---|
51 | mes "[Platinum Skill NPC]"; |
---|
52 | mes "I see that you are a Mage Class. I will now add the special skills available to these jobs."; |
---|
53 | skill 142,1,0; |
---|
54 | skill 157,1,0; |
---|
55 | mes " "; |
---|
56 | mes "You now have all the special skills available to the these jobs."; |
---|
57 | next; |
---|
58 | goto LskillsEND; |
---|
59 | Lskillsarcher: |
---|
60 | mes "[Platinum Skill NPC]"; |
---|
61 | mes "I see that you are an Archer Class. I will now add the special skills available to these jobs."; |
---|
62 | skill 142,1,0; |
---|
63 | skill 147,1,0; |
---|
64 | skill 148,1,0; |
---|
65 | mes " "; |
---|
66 | mes "You now have all the special skills available to the these jobs."; |
---|
67 | next; |
---|
68 | goto LskillsEND; |
---|
69 | Lskillsaco: |
---|
70 | mes "[Platinum Skill NPC]"; |
---|
71 | mes "I see that you are an Acolyte Class. I will now add the special skills available to these jobs."; |
---|
72 | skill 142,1,0; |
---|
73 | skill 156,1,0; |
---|
74 | mes " "; |
---|
75 | mes "You now have all the special skills available to the these jobs."; |
---|
76 | next; |
---|
77 | goto LskillsEND; |
---|
78 | Lskillsmerchie: |
---|
79 | mes "[Platinum Skill NPC]"; |
---|
80 | mes "I see that you are a Merchant Class.I will now add the special skills available to these jobs."; |
---|
81 | skill 142,1,0; |
---|
82 | skill 153,1,0; |
---|
83 | skill 154,1,0; |
---|
84 | skill 155,1,0; |
---|
85 | mes " "; |
---|
86 | mes "You now have all the special skills available to the these jobs."; |
---|
87 | next; |
---|
88 | goto LskillsEND; |
---|
89 | Lskillsthief: |
---|
90 | mes "[Platinum Skill NPC]"; |
---|
91 | mes "I see that you are a Thief Class. I will now add the special skills available to these jobs."; |
---|
92 | skill 142,1,0; |
---|
93 | skill 149,1,0; |
---|
94 | skill 150,1,0; |
---|
95 | skill 151,1,0; |
---|
96 | skill 152,1,0; |
---|
97 | mes " "; |
---|
98 | mes "You now have all the special skills available to the these jobs."; |
---|
99 | next; |
---|
100 | goto LskillsEND; |
---|
101 | LskillsEND: |
---|
102 | mes "[Platinum Skill NPC]"; |
---|
103 | mes "Have a nice day."; |
---|
104 | close; |
---|
105 | Lnogetskills: |
---|
106 | mes "[Platinum Skill NPC]"; |
---|
107 | mes "Aww, how come you don't want my special skills?"; |
---|
108 | mes "*sob* FINE!"; |
---|
109 | mes "Have a nice day... >.>"; |
---|
110 | close; |
---|
111 | } |
---|