1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
|
//===== eAthena Script =======================================
//= eAthena Jobchanger AKA Job Master
//===== By: ==================================================
//= eAthena Dev Team [LunatikBunnie] (Editted by Amada`)
//===== Current Version: =====================================
//= 1.4
//===== Compatible With: =====================================
//= Any Athena Version
//===== Description: =========================================
//= Changes your job without asking too much
//= For other info, please contact me at Lunatikbunnie@gmail.com
//= Editted menu to avoid button mashing.
//= 1.3 Added TK/SL/SG, thanks to Haplo. Fixed minor bugs [Lupus]
//= script leaves grabage variable: 'lastJob'
//= 1.4 Added NJ/GS, changed all job numbers to Job_* constants.
//= All credits go to pxxx [Skotlex]
//============================================================
// ------------------------------ Start ------------------------------
prontera.gat,153,193,6 script Job Master 123,{
// Variable Setup
set @MinimumJB, 40; //Minimum job level for changing between 2nd and advance Class (Default : 40)
set @GivePlat, 1; //Give Platinum skills on Jobchange (Default : 1-yes)
set @SupNovM, 45; //Base Level to change into Super Novice (Default : 45)
// Check Jobtype
if(Upper == 1 && Class >= Job_Lord_Knight) goto L_cantCh;
if(SkillPoint != 0) goto L_skillUsed;
if(Class == Job_Novice) goto L_novice;
if(JobLevel <10) goto L_notEn;
if((Class ==Job_Novice_High) && ((lastJob ==Job_Knight) || (lastJob ==Job_Crusader))) goto L_cHsword;
if((Class ==Job_Novice_High) && ((lastJob ==Job_Wizard) || (lastJob ==Job_Sage))) goto L_cHmage;
if((Class ==Job_Novice_High) && ((lastJob ==Job_Hunter) || (lastJob ==Job_Bard) || (lastJob ==Job_Dancer))) goto L_cHarcher;
if((Class ==Job_Novice_High) && ((lastJob ==Job_Priest) || (lastJob ==Job_Monk))) goto L_cHacolyte;
if((Class ==Job_Novice_High) && ((lastJob ==Job_Blacksmith) || (lastJob ==Job_Alchem))) goto L_cHmerchant;
if((Class ==Job_Novice_High) && ((lastJob ==Job_Assassin) || (lastJob ==Job_Rogue))) goto L_cHthief;
if(JobLevel <@MinimumJB) goto L_notEn;
if(Class ==Job_Swordman) goto L_iSword;
if(Class ==Job_Mage) goto L_iMage;
if(Class ==Job_Archer) goto L_iArcher;
if(Class ==Job_Acolyte) goto L_iAcolyte;
if(Class ==Job_Merchant) goto L_iMerchant;
if(Class ==Job_Thief) goto L_iThief;
if(Class ==Job_Taekwon) goto L_iTaekwon;
if(checkfalcon(0) || checkcart(0) || checkriding(0)) goto L_remove;
if(lastJob ==Job_Knight) goto L_iKnight;
if(lastJob ==Job_Priest) goto L_iPriest;
if(lastJob ==Job_Wizard) goto L_iWizard;
if(lastJob ==Job_Blacksmith) goto L_iBlacksmith;
if(lastJob ==Job_Hunter) goto L_iHunter;
if(lastJob ==Job_Assassin) goto L_iAssassin;
if(lastJob ==Job_Crusader) goto L_iCrusader;
if(lastJob ==Job_Monk) goto L_iMonk;
if(lastJob ==Job_Sage) goto L_iSage;
if(lastJob ==Job_Rogue) goto L_iRogue;
if(lastJob ==Job_Alchem) goto L_iAlchemist;
if(lastJob ==Job_Bard) goto L_iBard;
if(lastJob ==Job_Dancer) goto L_iDancer;
if((Class >=Job_Knight) && (Class <=Job_Dancer)) goto L_rebirth;
close;
// Novice
L_novice:
skill 142,1,0;
skill 143,1,0;
if(JobLevel<10) goto L_notEn;
mes "^ff0000[Job Master]^000000";
mes "Welcome, please select the job you wish to change into";
menu "Swordsman",L_sword,"Mage",L_mage,"Archer",L_archer,"Acolyte",L_acolyte,"Merchant",L_merchant,"Thief",L_thief,"Super Novice",L_superN,"Taekwon",L_taekwon,"Gunslinger",L_gun,"Ninja",L_ninja;
// Change to Swordsman
L_sword:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Swordman;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Mage
L_mage:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Mage;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Archer
L_archer:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Archer;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Acolyte
L_acolyte:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Acolyte;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Merchant
L_merchant:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Merchant;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Thief
L_thief:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Thief;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Super Novice
L_superN:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
if(BaseLevel<@SupNovM) goto L_notSup;
jobchange Job_SuperNovice;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Taekwon
L_taekwon:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Taekwon;
callfunc "F_ClearJobVar";
close;
// Change to Gunslinger
L_gun:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Gunslinger;
callfunc "F_ClearJobVar";
close;
// Change to Ninja
L_ninja:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Ninja;
callfunc "F_ClearJobVar";
close;
// Change to Knight/Crusader
L_iSword:
mes "^ff0000[Job Master]^000000";
mes "Welcome, please select the job you wish to change into";
menu "Knight",L_knight,"Crusader",L_crusader;
L_knight:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Knight;
if(@GivePlat) goto L_GivePlat;
close;
L_crusader:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Crusader;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Wizard/Sage
L_iMage:
mes "^ff0000[Job Master]^000000";
mes "Welcome, please select the job you wish to change into";
menu "Wizard",L_wizard,"Sage",L_sage;
L_wizard:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Wizard;
if(@GivePlat) goto L_GivePlat;
close;
L_sage:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Sage;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Hunter/Bard/Dancer
L_iArcher:
mes "^ff0000[Job Master]^000000";
mes "Welcome, please select the job you wish to change into";
menu "Hunter",L_hunter,"Bard/Dancer",L_bandd;
L_hunter:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Hunter;
if(@GivePlat) goto L_GivePlat;
close;
L_bandd:
if(sex==0) goto L_dancer;
if(sex==1) goto L_bard;
L_bard:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Bard;
if(@GivePlat) goto L_GivePlat;
close;
L_dancer:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Dancer;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Priest/Monk
L_iAcolyte:
mes "^ff0000[Job Master]^000000";
mes "Welcome, please select the job you wish to change into";
menu "Priest",L_priest,"Monk",L_monk;
L_priest:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Priest;
if(@GivePlat) goto L_GivePlat;
close;
L_monk:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Monk;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Blacksmith/Alchemist
L_iMerchant:
mes "^ff0000[Job Master]^000000";
mes "Welcome, please select the job you wish to change into";
menu "Blacksmith",L_blacksmith,"Alchemist",L_alchemist;
L_blacksmith:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Blacksmith;
if(@GivePlat) goto L_GivePlat;
close;
L_alchemist:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Alchem;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Assassin/Rogue
L_iThief:
mes "^ff0000[Job Master]^000000";
mes "Welcome, please select the job you wish to change into";
menu "Assassin",L_assassin,"Rogue",L_rogue;
L_assassin:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Assassin;
if(@GivePlat) goto L_GivePlat;
close;
L_rogue:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Rogue;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Star Gladiator/Soul Linker
L_iTaekwon:
mes "^ff0000[Job Master]^000000";
mes "Welcome, please select the job you wish to change into";
menu "Star Gladiator",L_SG,"Soul Linker",L_SL;
L_SG:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Star_Gladiator;
callfunc "F_ClearJobVar";
close;
L_SL:
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
jobchange Job_Soul_Linker;
callfunc "F_ClearJobVar";
close;
// Rebirth
L_rebirth:
mes "^ff0000[Job Master]^000000";
mes "Do you want to reborn?";
next;
mes "Are you SURE?";
menu "No",L_quit,"Yes",-;
if ((BaseLevel < 99) || (JobLevel < 50)) goto L_cantCh;
set lastJob, readparam(19);
jobchange Job_Novice_High;
resetlvl(1);
skill 142,1,0;
skill 143,1,0;
mes "^ff0000[Job Master]^000000";
mes "You are now reborn.";
mes "Please come again soon.";
close;
L_cHsword:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a High Swordsman?";
next;
menu "No",L_quit,"Yes",-;
jobchange Job_Swordman_High;
mes "^ff0000[Job Master]^000000";
mes "Thank you, please come again soon!";
close;
L_cHmage:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a High Mage?";
next;
menu "No",L_quit,"Yes",-;
jobchange Job_Mage_High;
mes "^ff0000[Job Master]^000000";
mes "Thank you, please come again soon!";
close;
L_cHarcher:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a High Archer?";
next;
menu "No",L_quit,"Yes",-;
jobchange Job_Archer_High;
mes "^ff0000[Job Master]^000000";
mes "Thank you, please come again soon!";
close;
L_cHacolyte:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a High Acolyte?";
next;
menu "No",L_quit,"Yes",-;
jobchange Job_Acolyte_High;
mes "^ff0000[Job Master]^000000";
mes "Thank you, please come again soon!";
close;
L_cHmerchant:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a High Merchant?";
next;
menu "No",L_quit,"Yes",-;
jobchange Job_Merchant_High;
mes "^ff0000[Job Master]^000000";
mes "Thank you, please come again soon!";
close;
L_cHthief:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a High Thief?";
next;
menu "No",L_quit,"Yes",-;
jobchange Job_Thief_High;
mes "^ff0000[Job Master]^000000";
mes "Thank you, please come again soon!";
close;
// Change to Lord Knight
L_iKnight:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a Lord Knight?";
menu "No",L_quit,"Yes",-;
jobchange Job_Lord_Knight;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Paladin
L_iCrusader:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a Paladin?";
menu "No",L_quit,"Yes",-;
jobchange Job_Paladin;
if(@GivePlat) goto L_GivePlat;
close;
// Change to High Priest
L_iPriest:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a High Priest?";
menu "No",L_quit,"Yes",-;
jobchange Job_High_Priest;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Champion
L_iMonk:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a Champion?";
menu "No",L_quit,"Yes",-;
jobchange Job_Champion;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Whitesmith
L_iBlacksmith:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a Whitesmith?";
menu "No",L_quit,"Yes",-;
jobchange Job_Whitesmith;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Creator
L_iAlchemist:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a Creator?";
menu "No",L_quit,"Yes",-;
jobchange Job_Creator;
if(@GivePlat) goto L_GivePlat;
close;
// Change to High Wizard
L_iWizard:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a High Wizard?";
menu "No",L_quit,"Yes",-;
jobchange Job_High_Wizard;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Professor
L_iSage:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a Professor?";
menu "No",L_quit,"Yes",-;
jobchange Job_Professor;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Sniper
L_iHunter:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a Sniper?";
menu "No",L_quit,"Yes",-;
jobchange Job_Sniper;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Clown
L_iBard:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a Clown?";
menu "No",L_quit,"Yes",-;
jobchange Job_Clown;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Gypsy
L_iDancer:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a Gypsy?";
menu "No",L_quit,"Yes",-;
jobchange Job_Gypsy;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Assassin Cross
L_iAssassin:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into an Assassin Cross?";
menu "No",L_quit,"Yes",-;
jobchange Job_Assassin_Cross;
if(@GivePlat) goto L_GivePlat;
close;
// Change to Stalker
L_iRogue:
mes "^ff0000[Job Master]^000000";
mes "Do you want to change into a Stalker?";
menu "No",L_quit,"Yes",-;
jobchange Job_Stalker;
if(@GivePlat) goto L_GivePlat;
close;
// Giving Platinum Skills
L_GivePlat:
if (BaseClass==Job_SuperNovice) goto L_sSuperN;
if (BaseClass==Job_Swordman) goto L_sSword;
if (BaseClass==Job_Mage) goto L_sMage;
if (BaseClass==Job_Archer) goto L_sArcher;
if (BaseClass==Job_Acolyte) goto L_sAcolyte;
if (BaseClass==Job_Merchant) goto L_sMerchant;
if (BaseClass==Job_Thief) goto L_sThief;
close;
L_sSuperN:
skill 142,1,0;
close;
L_sSword:
skill 142,1,0;
skill 144,1,0;
skill 145,1,0;
skill 146,1,0;
L_sMage:
skill 142,1,0;
skill 157,1,0;
close;
L_sArcher:
skill 142,1,0;
skill 147,1,0;
skill 148,1,0;
close;
L_sAcolyte:
skill 142,1,0;
skill 156,1,0;
close;
L_sMerchant:
skill 142,1,0;
skill 153,1,0;
skill 154,1,0;
skill 155,1,0;
close;
L_sThief:
skill 142,1,0;
skill 149,1,0;
skill 150,1,0;
skill 151,1,0;
skill 152,1,0;
close;
L_quit:
close;
// Errors
L_cantCh:
mes "^ff0000[Job Master]^000000";
mes "I'm sorry, you do not meet the requirements to change";
mes "Please come again soon!";
close;
L_skillUsed:
mes "^ff0000[Job Master]^000000";
mes "I'm sorry, please use up all your skill points before changing jobs";
mes "Please come again soon!";
close;
L_notEn:
mes "^ff0000[Job Master]^000000";
mes "I'm sorry, you do not seem to have enough Job Levels";
mes "Please come again soon!";
close;
L_notSup:
mes "^ff0000[Job Master]^000000";
mes "I'm sorry, you do not seem to have enough Base Levels";
mes "Please come again soon!";
close;
L_remove:
mes "^ff0000[Job Master]^000000";
mes "Please remove your cart,falcon or peco";
mes "Please come again soon!";
close;
}
// ------------------------------ End -------------------
|