Advertisement
Guest User

Untitled

a guest
Apr 8th, 2012
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.79 KB | None | 0 0
  1. prontera.gat,161,192,6 script JobMaster#jm1::job1 94,{
  2. callfunc "myjobchange";
  3. end;
  4. }
  5.  
  6. morocc.gat,169,85,6 script JobMaster#jm2::job2 94,{
  7. callfunc "myjobchange";
  8. end;
  9. }
  10.  
  11. geffen.gat,115,71,6 script JobMaster#jm3::job3 94,{
  12. callfunc "myjobchange";
  13. end;
  14. }
  15.  
  16. payon.gat,162,228,6 script JobMaster#jm4::job4 94,{
  17. callfunc "myjobchange";
  18. end;
  19. }
  20. ayothaya,160,150,3 script JobMaster#jm5::job5 94,{
  21. callfunc "myjobchange";
  22. end;
  23. }
  24. // ------------------------------ Start ------------------------------
  25. function script myjobchange {
  26. // Variable Setup
  27. cutin "kafra_01",2;
  28. set @MinimumJB, 40; //Minimum job level for changing between 2nd and advance Class (Default : 40)
  29. set @GivePlat, 1; //Give Platinum skills on Jobchange (Default : 1-yes)
  30. set @SupNovM, 45; //Base Level to change into Super Novice (Default : 45)
  31. set @babyNovM, 99;//base level to change to baby
  32. // Check Jobtype
  33. if(Upper == 1 && Class >= Job_Lord_Knight) goto L_cantCh;
  34. if(Class != Job_Novice_High && Class != Job_Swordman_High && Class != Job_Mage_High && Class != Job_Archer_High && Class != Job_Acolyte_High && Class != Job_Merchant_High && Class != Job_Thief_High && Class != Job_Taekwon && SkillPoint != 0) goto L_skillUsed;//nuhuh
  35. if(Class == Job_Novice) goto L_novice;
  36. if(JobLevel <10) goto L_notEn;
  37. if(Class == Job_Baby) goto L_baby;
  38. if((Class ==Job_Novice_High) && ((lastJob ==Job_Knight) || (lastJob ==Job_Crusader))) goto L_cHsword;
  39. if((Class ==Job_Novice_High) && ((lastJob ==Job_Wizard) || (lastJob ==Job_Sage))) goto L_cHmage;
  40. if((Class ==Job_Novice_High) && ((lastJob ==Job_Hunter) || (lastJob ==Job_Bard) || (lastJob ==Job_Dancer))) goto L_cHarcher;
  41. if((Class ==Job_Novice_High) && ((lastJob ==Job_Priest) || (lastJob ==Job_Monk))) goto L_cHacolyte;
  42. if((Class ==Job_Novice_High) && ((lastJob ==Job_Blacksmith) || (lastJob ==Job_Alchem))) goto L_cHmerchant;
  43. if((Class ==Job_Novice_High) && ((lastJob ==Job_Assassin) || (lastJob ==Job_Rogue))) goto L_cHthief;
  44. if(Class == Job_Novice_High && lastJob == Job_SuperNovice) goto L_taekwon;
  45. if(JobLevel <@MinimumJB) goto L_notEn;
  46. if(Class == Job_Baby_Swordman) goto L_ibSword;
  47. if(Class == Job_Baby_Mage) goto L_ibMage;
  48. if(Class == Job_Baby_Archer) goto L_ibArcher;
  49. if(Class == Job_Baby_Acolyte) goto L_ibAco;
  50. if(Class == Job_Baby_Merchant) goto L_ibMerc;
  51. if(Class == Job_Baby_Thief) goto L_ibThief;
  52. if(Class ==Job_Swordman) goto L_iSword;
  53. if(Class ==Job_Mage) goto L_iMage;
  54. if(Class ==Job_Archer) goto L_iArcher;
  55. if(Class ==Job_Acolyte) goto L_iAcolyte;
  56. if(Class ==Job_Merchant) goto L_iMerchant;
  57. if(Class ==Job_Thief) goto L_iThief;
  58. if(Class ==Job_Taekwon) goto L_iTaekwon;
  59. if(checkfalcon() || checkcart() || checkriding()) goto L_remove;
  60. if(lastJob ==Job_Knight) goto L_iKnight;
  61. if(lastJob ==Job_Priest) goto L_iPriest;
  62. if(lastJob ==Job_Wizard) goto L_iWizard;
  63. if(lastJob ==Job_Blacksmith) goto L_iBlacksmith;
  64. if(lastJob ==Job_Hunter && Class != Job_Gunslinger) goto L_iHunter;
  65. if(lastJob ==Job_Assassin && Class != Job_Ninja) goto L_iAssassin;
  66. if(lastJob ==Job_Crusader) goto L_iCrusader;
  67. if(lastJob ==Job_Monk) goto L_iMonk;
  68. if(lastJob ==Job_Sage) goto L_iSage;
  69. if(lastJob ==Job_Rogue && Class != Job_Ninja) goto L_iRogue;
  70. if(lastJob ==Job_Alchem) goto L_iAlchemist;
  71. if(lastJob ==Job_Bard && Class != Job_Gunslinger) goto L_iBard;
  72. if(lastJob ==Job_Dancer && Class != Job_Gunslinger) goto L_iDancer;
  73. if(Class == Job_SuperNovice) goto L_SNrebirth;
  74. if((Class >=Job_Knight) && (Class <=Job_Dancer)) goto L_rebirth;
  75. cutin "kafra_01",255;
  76. close;
  77.  
  78. L_baby:
  79. if(JobLevel<10) goto L_notEn;
  80. mes "^ff0000[Job Master]^000000";
  81. mes "Welcome, please select the job you wish to change into";
  82. menu "Baby Swordsman",L_bsword,"Baby Mage",L_bmage,"Baby Archer",L_barcher,"Baby Acolyte",L_bacolyte,"Baby Merchant",L_bmerchant,"Baby Thief",L_bthief,"Super Baby",L_bsuper;//nuhuh
  83.  
  84. // Change to baby Swordsman
  85. L_bsword:
  86. mes "Are you SURE?";
  87. menu "No",L_quit,"Yes",-;
  88. jobchange Job_Baby_Swordman;
  89. if(@GivePlat) goto L_GivePlat;
  90. cutin "kafra_01",255;
  91. close;
  92. // Change to baby Mage
  93. L_bmage:
  94. mes "Are you SURE?";
  95. menu "No",L_quit,"Yes",-;
  96. jobchange Job_Baby_Mage;
  97. if(@GivePlat) goto L_GivePlat;
  98. cutin "kafra_01",255;
  99. close;
  100. // Change to baby Archer
  101. L_barcher:
  102. mes "Are you SURE?";
  103. menu "No",L_quit,"Yes",-;
  104. jobchange Job_Baby_Archer;
  105. if(@GivePlat) goto L_GivePlat;
  106. cutin "kafra_01",255;
  107. close;
  108. // Change to baby Acolyte
  109. L_bacolyte:
  110. mes "Are you SURE?";
  111. menu "No",L_quit,"Yes",-;
  112. jobchange Job_Baby_Acolyte;
  113. if(@GivePlat) goto L_GivePlat;
  114. cutin "kafra_01",255;
  115. close;
  116. // Change to baby Merchant
  117. L_bmerchant:
  118. mes "Are you SURE?";
  119. menu "No",L_quit,"Yes",-;
  120. jobchange Job_Baby_Merchant;
  121. if(@GivePlat) goto L_GivePlat;
  122. cutin "kafra_01",255;
  123. close;
  124. // Change to baby Thief
  125. L_bthief:
  126. mes "Are you SURE?";
  127. menu "No",L_quit,"Yes",-;
  128. jobchange Job_Baby_Thief;
  129. if(@GivePlat) goto L_GivePlat;
  130. cutin "kafra_01",255;
  131. close;
  132. // Change to Super baby
  133. L_bsuper:
  134. mes "Are you SURE?";
  135. menu "No",L_quit,"Yes",-;
  136. if(BaseLevel<@SupNovM) goto L_notSup;
  137. jobchange Job_Super_Baby;
  138. if(@GivePlat) goto L_GivePlat;
  139. cutin "kafra_01",255;
  140. close;
  141.  
  142. // Novice
  143. L_novice:
  144. skill 142,1,0;
  145. skill 143,1,0;
  146. if(JobLevel<10) goto L_notEn;
  147. mes "^ff0000[Job Master]^000000";
  148. mes "Welcome, please select the job you wish to change into";
  149. menu "Swordsman",L_sword,"Mage",L_mage,"Archer",L_archer,"Acolyte",L_acolyte,"Merchant",L_merchant,"Thief",L_thief,"Super Novice",L_superN,"Baby Novice",L_babyNov;//nuhuh
  150. // Change to Swordsman
  151. L_sword:
  152. mes "Are you SURE?";
  153. menu "No",L_quit,"Yes",-;
  154. jobchange Job_Swordman;
  155. if(@GivePlat) goto L_GivePlat;
  156. cutin "kafra_01",255;
  157. close;
  158. // Change to Mage
  159. L_mage:
  160. mes "Are you SURE?";
  161. menu "No",L_quit,"Yes",-;
  162. jobchange Job_Mage;
  163. if(@GivePlat) goto L_GivePlat;
  164. cutin "kafra_01",255;
  165. close;
  166. // Change to Archer
  167. L_archer:
  168. mes "Are you SURE?";
  169. menu "No",L_quit,"Yes",-;
  170. jobchange Job_Archer;
  171. if(@GivePlat) goto L_GivePlat;
  172. cutin "kafra_01",255;
  173. close;
  174. // Change to Acolyte
  175. L_acolyte:
  176. mes "Are you SURE?";
  177. menu "No",L_quit,"Yes",-;
  178. jobchange Job_Acolyte;
  179. if(@GivePlat) goto L_GivePlat;
  180. cutin "kafra_01",255;
  181. close;
  182. // Change to Merchant
  183. L_merchant:
  184. mes "Are you SURE?";
  185. menu "No",L_quit,"Yes",-;
  186. jobchange Job_Merchant;
  187. if(@GivePlat) goto L_GivePlat;
  188. cutin "kafra_01",255;
  189. close;
  190. // Change to Thief
  191. L_thief:
  192. mes "Are you SURE?";
  193. menu "No",L_quit,"Yes",-;
  194. jobchange Job_Thief;
  195. if(@GivePlat) goto L_GivePlat;
  196. cutin "kafra_01",255;
  197. close;
  198. // Change to Super Novice
  199. L_superN:
  200. mes "To turn into a Super Novice you must be at least level " + @SupNovM + ".";
  201. mes "Are you SURE?";
  202. menu "No",L_quit,"Yes",-;
  203. if(BaseLevel<@SupNovM) goto L_notSup;
  204. jobchange Job_SuperNovice;
  205. if(@GivePlat) goto L_GivePlat;
  206. cutin "kafra_01",255;
  207. close;
  208. // Change to Taekwon
  209. L_taekwon:
  210. mes "Are you sure you want to turn into a Taekwon?";
  211. menu "No",L_quit,"Yes",-;
  212. jobchange Job_Taekwon;
  213. callfunc "F_ClearJobVar";
  214. cutin "kafra_01",255;
  215. close;
  216. // Change to Gunslinger
  217. L_gun:
  218. mes "Are you SURE?";
  219. menu "No",L_quit,"Yes",-;
  220. jobchange Job_Gunslinger;
  221. callfunc "F_ClearJobVar";
  222. cutin "kafra_01",255;
  223. close;
  224. // Change to Ninja
  225. L_ninja:
  226. mes "Are you SURE?";
  227. menu "No",L_quit,"Yes",-;
  228. jobchange Job_Ninja;
  229. callfunc "F_ClearJobVar";
  230. cutin "kafra_01",255;
  231. close;
  232. // change to baby novice
  233. L_babyNov:
  234. mes "You must be at least level " + @babyNovM + " to change into a Baby Novice.";
  235. mes "Are you SURE?";
  236. menu "No",L_quit,"Yes",-;
  237. if(BaseLevel<@babyNovM) goto L_notSup;
  238. jobchange Job_Baby;
  239. resetlvl(1);
  240. skill 142,1,0;
  241. skill 143,1,0;
  242. ResetStatus;
  243. cutin "kafra_01",255;
  244. close;
  245.  
  246.  
  247. // Change to Knight/Crusader
  248. L_ibSword:
  249. mes "^ff0000[Job Master]^000000";
  250. mes "Welcome, please select the job you wish to change into";
  251. menu "Baby Knight",L_bknight,"Baby Crusader",L_bcrusader;
  252. L_bknight:
  253. mes "Are you SURE?";
  254. menu "No",L_quit,"Yes",-;
  255. jobchange Job_Baby_Knight;
  256. if(@GivePlat) goto L_GivePlat;
  257. cutin "kafra_01",255;
  258. close;
  259. L_bcrusader:
  260. mes "Are you SURE?";
  261. menu "No",L_quit,"Yes",-;
  262. jobchange Job_Baby_Crusader;
  263. if(@GivePlat) goto L_GivePlat;
  264. cutin "kafra_01",255;
  265. close;
  266. // Change to baby Wizard/Sage
  267. L_ibMage:
  268. mes "^ff0000[Job Master]^000000";
  269. mes "Welcome, please select the job you wish to change into";
  270. menu "Baby Wizard",L_bwizard,"Baby Sage",L_bsage;
  271. L_bwizard:
  272. mes "Are you SURE?";
  273. menu "No",L_quit,"Yes",-;
  274. jobchange Job_Baby_Wizard;
  275. if(@GivePlat) goto L_GivePlat;
  276. cutin "kafra_01",255;
  277. close;
  278. L_bsage:
  279. mes "Are you SURE?";
  280. menu "No",L_quit,"Yes",-;
  281. jobchange Job_Baby_Sage;
  282. if(@GivePlat) goto L_GivePlat;
  283. cutin "kafra_01",255;
  284. close;
  285. // Change to baby Hunter/Bard/Dancer
  286. L_ibArcher:
  287. mes "^ff0000[Job Master]^000000";
  288. mes "Welcome, please select the job you wish to change into";
  289. menu "Baby Hunter",L_bhunter,"Baby Bard/Dancer",L_bbandd;
  290. L_bhunter:
  291. mes "Are you SURE?";
  292. menu "No",L_quit,"Yes",-;
  293. jobchange Job_Baby_Hunter;
  294. if(@GivePlat) goto L_GivePlat;
  295. cutin "kafra_01",255;
  296. close;
  297. L_bbandd:
  298. if(sex==0) goto L_bdancer;
  299. if(sex==1) goto L_bbard;
  300. L_bbard:
  301. mes "Are you SURE?";
  302. menu "No",L_quit,"Yes",-;
  303. jobchange Job_Baby_Bard;
  304. if(@GivePlat) goto L_GivePlat;
  305. cutin "kafra_01",255;
  306. close;
  307. L_bdancer:
  308. mes "Are you SURE?";
  309. menu "No",L_quit,"Yes",-;
  310. jobchange Job_Baby_Dancer;
  311. if(@GivePlat) goto L_GivePlat;
  312. cutin "kafra_01",255;
  313. close;
  314. // Change to baby Priest/Monk
  315. L_ibAco:
  316. mes "^ff0000[Job Master]^000000";
  317. mes "Welcome, please select the job you wish to change into";
  318. menu "Baby Priest",L_bpriest,"Baby Monk",L_bmonk;
  319. L_bpriest:
  320. mes "Are you SURE?";
  321. menu "No",L_quit,"Yes",-;
  322. jobchange Job_Baby_Priest;
  323. if(@GivePlat) goto L_GivePlat;
  324. cutin "kafra_01",255;
  325. close;
  326. L_bmonk:
  327. mes "Are you SURE?";
  328. menu "No",L_quit,"Yes",-;
  329. jobchange Job_Baby_Monk;
  330. if(@GivePlat) goto L_GivePlat;
  331. cutin "kafra_01",255;
  332. close;
  333. // Change to baby Blacksmith/Alchemist
  334. L_ibMerc:
  335. mes "^ff0000[Job Master]^000000";
  336. mes "Welcome, please select the job you wish to change into";
  337. menu "Baby Blacksmith",L_bblacksmith,"Baby Alchemist",L_balchemist;
  338. L_bblacksmith:
  339. mes "Are you SURE?";
  340. menu "No",L_quit,"Yes",-;
  341. jobchange Job_Baby_Blacksmith;
  342. if(@GivePlat) goto L_GivePlat;
  343. cutin "kafra_01",255;
  344. close;
  345. L_balchemist:
  346. mes "Are you SURE?";
  347. menu "No",L_quit,"Yes",-;
  348. jobchange Job_Baby_Alchem;
  349. if(@GivePlat) goto L_GivePlat;
  350. cutin "kafra_01",255;
  351. close;
  352. // Change to baby Assassin/Rogue
  353. L_ibThief:
  354. mes "^ff0000[Job Master]^000000";
  355. mes "Welcome, please select the job you wish to change into";
  356. menu "Baby Assassin",L_bassassin,"Baby Rogue",L_brogue;
  357. L_bassassin:
  358. mes "Are you SURE?";
  359. menu "No",L_quit,"Yes",-;
  360. jobchange Job_Baby_Assassin;
  361. if(@GivePlat) goto L_GivePlat;
  362. cutin "kafra_01",255;
  363. close;
  364. L_brogue:
  365. mes "Are you SURE?";
  366. menu "No",L_quit,"Yes",-;
  367. jobchange Job_Baby_Rogue;
  368. if(@GivePlat) goto L_GivePlat;
  369. cutin "kafra_01",255;
  370. close;
  371.  
  372. // Change to Knight/Crusader
  373. L_iSword:
  374. mes "^ff0000[Job Master]^000000";
  375. mes "Welcome, please select the job you wish to change into";
  376. menu "Knight",L_knight,"Crusader",L_crusader;
  377. L_knight:
  378. mes "Are you SURE?";
  379. menu "No",L_quit,"Yes",-;
  380. jobchange Job_Knight;
  381. if(@GivePlat) goto L_GivePlat;
  382. cutin "kafra_01",255;
  383. close;
  384. L_crusader:
  385. mes "Are you SURE?";
  386. menu "No",L_quit,"Yes",-;
  387. jobchange Job_Crusader;
  388. if(@GivePlat) goto L_GivePlat;
  389. cutin "kafra_01",255;
  390. close;
  391. // Change to Wizard/Sage
  392. L_iMage:
  393. mes "^ff0000[Job Master]^000000";
  394. mes "Welcome, please select the job you wish to change into";
  395. menu "Wizard",L_wizard,"Sage",L_sage;
  396. L_wizard:
  397. mes "Are you SURE?";
  398. menu "No",L_quit,"Yes",-;
  399. jobchange Job_Wizard;
  400. if(@GivePlat) goto L_GivePlat;
  401. cutin "kafra_01",255;
  402. close;
  403. L_sage:
  404. mes "Are you SURE?";
  405. menu "No",L_quit,"Yes",-;
  406. jobchange Job_Sage;
  407. if(@GivePlat) goto L_GivePlat;
  408. cutin "kafra_01",255;
  409. close;
  410. // Change to Hunter/Bard/Dancer
  411. L_iArcher:
  412. mes "^ff0000[Job Master]^000000";
  413. mes "Welcome, please select the job you wish to change into";
  414. menu "Hunter",L_hunter,"Bard/Dancer",L_bandd;
  415. L_hunter:
  416. mes "Are you SURE?";
  417. menu "No",L_quit,"Yes",-;
  418. jobchange Job_Hunter;
  419. if(@GivePlat) goto L_GivePlat;
  420. cutin "kafra_01",255;
  421. close;
  422. L_bandd:
  423. if(sex==0) goto L_dancer;
  424. if(sex==1) goto L_bard;
  425. L_bard:
  426. mes "Are you SURE?";
  427. menu "No",L_quit,"Yes",-;
  428. jobchange Job_Bard;
  429. if(@GivePlat) goto L_GivePlat;
  430. cutin "kafra_01",255;
  431. close;
  432. L_dancer:
  433. mes "Are you SURE?";
  434. menu "No",L_quit,"Yes",-;
  435. jobchange Job_Dancer;
  436. if(@GivePlat) goto L_GivePlat;
  437. cutin "kafra_01",255;
  438. close;
  439. // Change to Priest/Monk
  440. L_iAcolyte:
  441. mes "^ff0000[Job Master]^000000";
  442. mes "Welcome, please select the job you wish to change into";
  443. menu "Priest",L_priest,"Monk",L_monk;
  444. L_priest:
  445. mes "Are you SURE?";
  446. menu "No",L_quit,"Yes",-;
  447. jobchange Job_Priest;
  448. if(@GivePlat) goto L_GivePlat;
  449. cutin "kafra_01",255;
  450. close;
  451. L_monk:
  452. mes "Are you SURE?";
  453. menu "No",L_quit,"Yes",-;
  454. jobchange Job_Monk;
  455. if(@GivePlat) goto L_GivePlat;
  456. cutin "kafra_01",255;
  457. close;
  458. // Change to Blacksmith/Alchemist
  459. L_iMerchant:
  460. mes "^ff0000[Job Master]^000000";
  461. mes "Welcome, please select the job you wish to change into";
  462. menu "Blacksmith",L_blacksmith,"Alchemist",L_alchemist;
  463. L_blacksmith:
  464. mes "Are you SURE?";
  465. menu "No",L_quit,"Yes",-;
  466. jobchange Job_Blacksmith;
  467. if(@GivePlat) goto L_GivePlat;
  468. cutin "kafra_01",255;
  469. close;
  470. L_alchemist:
  471. mes "Are you SURE?";
  472. menu "No",L_quit,"Yes",-;
  473. jobchange Job_Alchem;
  474. if(@GivePlat) goto L_GivePlat;
  475. cutin "kafra_01",255;
  476. close;
  477. // Change to Assassin/Rogue
  478. L_iThief:
  479. mes "^ff0000[Job Master]^000000";
  480. mes "Welcome, please select the job you wish to change into";
  481. menu "Assassin",L_assassin,"Rogue",L_rogue;
  482. L_assassin:
  483. mes "Are you SURE?";
  484. menu "No",L_quit,"Yes",-;
  485. jobchange Job_Assassin;
  486. if(@GivePlat) goto L_GivePlat;
  487. cutin "kafra_01",255;
  488. close;
  489. L_rogue:
  490. mes "Are you SURE?";
  491. menu "No",L_quit,"Yes",-;
  492. jobchange Job_Rogue;
  493. if(@GivePlat) goto L_GivePlat;
  494. cutin "kafra_01",255;
  495. close;
  496. // Change to Star Gladiator/Soul Linker
  497. L_iTaekwon:
  498. mes "^ff0000[Job Master]^000000";
  499. mes "Welcome, please select the job you wish to change into";
  500. menu "Star Gladiator",L_SG,"Soul Linker",L_SL;
  501. L_SG:
  502. mes "Are you SURE?";
  503. menu "No",L_quit,"Yes",-;
  504. jobchange Job_Star_Gladiator;
  505. callfunc "F_ClearJobVar";
  506. cutin "kafra_01",255;
  507. close;
  508. L_SL:
  509. mes "Are you SURE?";
  510. menu "No",L_quit,"Yes",-;
  511. jobchange Job_Soul_Linker;
  512. callfunc "F_ClearJobVar";
  513. cutin "kafra_01",255;
  514. close;
  515. // Rebirth
  516. L_SNrebirth:
  517. mes "^ff0000[Job Master]^000000";
  518. mes "Do you want to start your path as a Taekwon?";
  519. next;
  520. mes "Are you SURE?";
  521. menu "No",L_quit,"Yes",-;
  522. if ((BaseLevel < 99) || (JobLevel < 50)) goto L_cantCh;
  523. set lastJob, readparam(19);
  524. jobchange Job_Novice_High;
  525. resetlvl(1);
  526. skill 142,1,0;
  527. skill 143,1,0;
  528. mes "^ff0000[Job Master]^000000";
  529. mes "You are now reborn.";
  530. mes "Please come again soon.";
  531. cutin "kafra_01",255;
  532. close;
  533. L_rebirth:
  534. mes "^ff0000[Job Master]^000000";
  535. mes "Do you want to reborn?";
  536. next;
  537. mes "Are you SURE?";
  538. menu "No",L_quit,"Yes",-;
  539. if ((BaseLevel < 99) || (JobLevel < 50)) goto L_cantCh;
  540. set lastJob, readparam(19);
  541. jobchange Job_Novice_High;
  542. resetlvl(1);
  543. skill 142,1,0;
  544. skill 143,1,0;
  545. mes "^ff0000[Job Master]^000000";
  546. mes "You are now reborn.";
  547. mes "Please come again soon.";
  548. cutin "kafra_01",255;
  549. close;
  550. L_cHsword:
  551. mes "^ff0000[Job Master]^000000";
  552. mes "Do you want to change into a High Swordsman?";
  553. next;
  554. menu "No",L_quit,"Yes",-;
  555. jobchange Job_Swordman_High;
  556. mes "^ff0000[Job Master]^000000";
  557. mes "Thank you, please come again soon!";
  558. cutin "kafra_01",255;
  559. close;
  560. L_cHmage:
  561. mes "^ff0000[Job Master]^000000";
  562. mes "Do you want to change into a High Mage?";
  563. next;
  564. menu "No",L_quit,"Yes",-;
  565. jobchange Job_Mage_High;
  566. mes "^ff0000[Job Master]^000000";
  567. mes "Thank you, please come again soon!";
  568. cutin "kafra_01",255;
  569. close;
  570. L_cHarcher:
  571. mes "^ff0000[Job Master]^000000";
  572. mes "Do you want to change into a High Archer or Gunslinger?";
  573. next;
  574. menu "Highe Archer",-,"Gunslinger",L_gun,"Cancel",L_quit;
  575. mes "Are you SURE?";
  576. menu "No",L_quit,"Yes",-;
  577. jobchange Job_Archer_High;
  578. mes "^ff0000[Job Master]^000000";
  579. mes "Thank you, please come again soon!";
  580. cutin "kafra_01",255;
  581. close;
  582. L_cHacolyte:
  583. mes "^ff0000[Job Master]^000000";
  584. mes "Do you want to change into a High Acolyte?";
  585. next;
  586. menu "No",L_quit,"Yes",-;
  587. jobchange Job_Acolyte_High;
  588. mes "^ff0000[Job Master]^000000";
  589. mes "Thank you, please come again soon!";
  590. cutin "kafra_01",255;
  591. close;
  592. L_cHmerchant:
  593. mes "^ff0000[Job Master]^000000";
  594. mes "Do you want to change into a High Merchant?";
  595. next;
  596. menu "No",L_quit,"Yes",-;
  597. jobchange Job_Merchant_High;
  598. mes "^ff0000[Job Master]^000000";
  599. mes "Thank you, please come again soon!";
  600. cutin "kafra_01",255;
  601. close;
  602. L_cHthief:
  603. mes "^ff0000[Job Master]^000000";
  604. mes "Do you want to change into a High Thief or Ninja?";
  605. next;
  606. menu "High Thief",-,"Ninja",L_ninja,"Cancel",L_quit;
  607. mes "Are you SURE?";
  608. menu "No",L_quit,"Yes",-;
  609. jobchange Job_Thief_High;
  610. mes "^ff0000[Job Master]^000000";
  611. mes "Thank you, please come again soon!";
  612. cutin "kafra_01",255;
  613. close;
  614. // Change to Lord Knight
  615. L_iKnight:
  616. mes "^ff0000[Job Master]^000000";
  617. mes "Do you want to change into a Lord Knight?";
  618. menu "No",L_quit,"Yes",-;
  619. jobchange Job_Lord_Knight;
  620. if(@GivePlat) goto L_GivePlat;
  621. cutin "kafra_01",255;
  622. close;
  623. // Change to Paladin
  624. L_iCrusader:
  625. mes "^ff0000[Job Master]^000000";
  626. mes "Do you want to change into a Paladin?";
  627. menu "No",L_quit,"Yes",-;
  628. jobchange Job_Paladin;
  629. if(@GivePlat) goto L_GivePlat;
  630. cutin "kafra_01",255;
  631. close;
  632. // Change to High Priest
  633. L_iPriest:
  634. mes "^ff0000[Job Master]^000000";
  635. mes "Do you want to change into a High Priest?";
  636. menu "No",L_quit,"Yes",-;
  637. jobchange Job_High_Priest;
  638. if(@GivePlat) goto L_GivePlat;
  639. cutin "kafra_01",255;
  640. close;
  641. // Change to Champion
  642. L_iMonk:
  643. mes "^ff0000[Job Master]^000000";
  644. mes "Do you want to change into a Champion?";
  645. menu "No",L_quit,"Yes",-;
  646. jobchange Job_Champion;
  647. if(@GivePlat) goto L_GivePlat;
  648. cutin "kafra_01",255;
  649. close;
  650. // Change to Whitesmith
  651. L_iBlacksmith:
  652. mes "^ff0000[Job Master]^000000";
  653. mes "Do you want to change into a Whitesmith?";
  654. menu "No",L_quit,"Yes",-;
  655. jobchange Job_Whitesmith;
  656. if(@GivePlat) goto L_GivePlat;
  657. cutin "kafra_01",255;
  658. close;
  659. // Change to Creator
  660. L_iAlchemist:
  661. mes "^ff0000[Job Master]^000000";
  662. mes "Do you want to change into a Creator?";
  663. menu "No",L_quit,"Yes",-;
  664. jobchange Job_Creator;
  665. if(@GivePlat) goto L_GivePlat;
  666. cutin "kafra_01",255;
  667. close;
  668. // Change to High Wizard
  669. L_iWizard:
  670. mes "^ff0000[Job Master]^000000";
  671. mes "Do you want to change into a High Wizard?";
  672. menu "No",L_quit,"Yes",-;
  673. jobchange Job_High_Wizard;
  674. if(@GivePlat) goto L_GivePlat;
  675. cutin "kafra_01",255;
  676. close;
  677. // Change to Professor
  678. L_iSage:
  679. mes "^ff0000[Job Master]^000000";
  680. mes "Do you want to change into a Professor?";
  681. menu "No",L_quit,"Yes",-;
  682. jobchange Job_Professor;
  683. if(@GivePlat) goto L_GivePlat;
  684. cutin "kafra_01",255;
  685. close;
  686. // Change to Sniper
  687. L_iHunter:
  688. mes "^ff0000[Job Master]^000000";
  689. mes "Do you want to change into a Sniper?";
  690. menu "No",L_quit,"Yes",-;
  691. jobchange Job_Sniper;
  692. if(@GivePlat) goto L_GivePlat;
  693. cutin "kafra_01",255;
  694. close;
  695. // Change to Clown
  696. L_iBard:
  697. mes "^ff0000[Job Master]^000000";
  698. mes "Do you want to change into a Clown?";
  699. menu "No",L_quit,"Yes",-;
  700. jobchange Job_Clown;
  701. if(@GivePlat) goto L_GivePlat;
  702. cutin "kafra_01",255;
  703. close;
  704. // Change to Gypsy
  705. L_iDancer:
  706. mes "^ff0000[Job Master]^000000";
  707. mes "Do you want to change into a Gypsy?";
  708. menu "No",L_quit,"Yes",-;
  709. jobchange Job_Gypsy;
  710. if(@GivePlat) goto L_GivePlat;
  711. cutin "kafra_01",255;
  712. close;
  713. // Change to Assassin Cross
  714. L_iAssassin:
  715. mes "^ff0000[Job Master]^000000";
  716. mes "Do you want to change into an Assassin Cross?";
  717. menu "No",L_quit,"Yes",-;
  718. jobchange Job_Assassin_Cross;
  719. if(@GivePlat) goto L_GivePlat;
  720. cutin "kafra_01",255;
  721. close;
  722. // Change to Stalker
  723. L_iRogue:
  724. mes "^ff0000[Job Master]^000000";
  725. mes "Do you want to change into a Stalker?";
  726. menu "No",L_quit,"Yes",-;
  727. jobchange Job_Stalker;
  728. if(@GivePlat) goto L_GivePlat;
  729. cutin "kafra_01",255;
  730. close;
  731. // Giving Platinum Skills
  732. L_GivePlat:
  733. if (BaseClass==Job_SuperNovice||Class==Job_Super_Baby) goto L_sSuperN;
  734. if (BaseClass==Job_Swordman) goto L_sSword;
  735. if (BaseClass==Job_Mage) goto L_sMage;
  736. if (BaseClass==Job_Archer) goto L_sArcher;
  737. if (BaseClass==Job_Acolyte) goto L_sAcolyte;
  738. if (BaseClass==Job_Merchant) goto L_sMerchant;
  739. if (BaseClass==Job_Thief) goto L_sThief;
  740. cutin "kafra_01",255;
  741. close;
  742. L_sSuperN:
  743. skill 142,1,0;
  744. cutin "kafra_01",255;
  745. close;
  746. L_sSword:
  747. skill 142,1,0;
  748. //skill 144,1,0;
  749. //skill 145,1,0;
  750. //skill 146,1,0;
  751. cutin "kafra_01",255;
  752. close;
  753. L_sMage:
  754. skill 142,1,0;
  755. //skill 157,1,0;
  756. cutin "kafra_01",255;
  757. close;
  758. L_sArcher:
  759. skill 142,1,0;
  760. //skill 147,1,0;
  761. //skill 148,1,0;
  762. cutin "kafra_01",255;
  763. close;
  764. L_sAcolyte:
  765. skill 142,1,0;
  766. //skill 156,1,0;
  767. cutin "kafra_01",255;
  768. close;
  769. L_sMerchant:
  770. skill 142,1,0;
  771. //skill 153,1,0;
  772. skill 154,1,0;
  773. //skill 155,1,0;
  774. cutin "kafra_01",255;
  775. close;
  776. L_sThief:
  777. skill 142,1,0;
  778. //skill 149,1,0;
  779. //skill 150,1,0;
  780. skill 151,1,0;
  781. skill 152,1,0;
  782. cutin "kafra_01",255;
  783. close;
  784. L_quit:
  785. cutin "kafra_01",255;
  786. close;
  787. // Errors
  788. L_cantCh:
  789. mes "^ff0000[Job Master]^000000";
  790. mes "I'm sorry, you do not meet the requirements to change";
  791. mes "Please come again soon!";
  792. cutin "kafra_01",255;
  793. close;
  794. L_skillUsed:
  795. mes "^ff0000[Job Master]^000000";
  796. mes "I'm sorry, please use up all your skill points before changing jobs";
  797. mes "Please come again soon!";
  798. cutin "kafra_01",255;
  799. close;
  800. L_notEn:
  801. mes "^ff0000[Job Master]^000000";
  802. mes "I'm sorry, you do not seem to have enough Job Levels";
  803. mes "Please come again soon!";
  804. cutin "kafra_01",255;
  805. close;
  806. L_notSup:
  807. mes "^ff0000[Job Master]^000000";
  808. mes "I'm sorry, you do not seem to have enough Base Levels";
  809. mes "Please come again soon!";
  810. cutin "kafra_01",255;
  811. close;
  812. L_remove:
  813. mes "^ff0000[Job Master]^000000";
  814. mes "Please remove your cart,falcon or peco";
  815. mes "Please come again soon!";
  816. cutin "kafra_01",255;
  817. close;
  818. }
  819. // ------------------------------ End -------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement