/* _
* born996 |
* bubbletea |----- All are the same person, ME
* joel _|
*
* DeveloperBenny - Making it work on KryptoDev Source
*
* Job Names & Codes :
* BEGINNER(0),
* WARRIOR(100),
* FIGHTER(110),
* CRUSADER(111),
* HERO(112),
* PAGE(120),
* WHITEKNIGHT(121),
* PALADIN(122),
* SPEARMAN(130),
* DRAGONKNIGHT(131),
* DARKKNIGHT(132),
* MAGICIAN(200),
* FP_WIZARD(210),
* FP_MAGE(211),
* FP_ARCHMAGE(212),
* IL_WIZARD(220),
* IL_MAGE(221),
* IL_ARCHMAGE(222),
* CLERIC(230),
* PRIEST(231),
* BISHOP(232),
* BOWMAN(300),
* HUNTER(310),
* RANGER(311),
* BOWMASTER(312),
* CROSSBOWMAN(320),
* SNIPER(321),
* CROSSBOWMASTER(322),
* THIEF(400),
* ASSASSIN(410),
* HERMIT(411),
* NIGHTLORD(412),
* BANDIT(420),
* CHIEFBANDIT(421),
* SHADOWER(422),
* PIRATE(500),
* BRAWLER(510),
* MARAUDER(511),
* BUCCANEER(512),
* GUNSLINGER(520),
* OUTLAW(521),
* CORSAIR(522),
* MAPLELEAF_BRIGADIER(800),
* GM(900),
* SUPERGM(910),
* NOBLESSE(1000),
* DAWNWARRIOR1(1100),
* DAWNWARRIOR2(1110),
* DAWNWARRIOR3(1111),
* DAWNWARRIOR4(1112),
* BLAZEWIZARD1(1200),
* BLAZEWIZARD2(1210),
* BLAZEWIZARD3(1211),
* BLAZEWIZARD4(1212),
* WINDARCHER1(1300),
* WINDARCHER2(1310),
* WINDARCHER3(1311),
* WINDARCHER4(1312),
* NIGHTWALKER1(1400),
* NIGHTWALKER2(1410),
* NIGHTWALKER3(1411),
* NIGHTWALKER4(1412),
* THUNDERBREAKER1(1500),
* THUNDERBREAKER2(1510),
* THUNDERBREAKER3(1511),
* THUNDERBREAKER4(1512)
*
*/
importPackage(org.character);
var status = 0;
var jobName;
var job;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1) {
cm.sendOk("Well okay then. Come back if you change your mind.\r\n\r\nGood luck on your training.");
cm.dispose();
} else {
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendNext("Hello, I'm in charge of Job Advancing.");
} else if (status == 1) {
if (cm.getLevel() < 200 && cm.getJob().equals(MapleJob.BEGINNER)) {
if (cm.getLevel() <
{
cm.sendNext("Sorry, but you have to be at least level 8 to use my services.");
status = 98;
} else if (cm.getLevel() < 10) {
cm.sendYesNo("Congratulations of reaching such a high level. Would you like to make the #rFirst Job Advancement#k as a #rMagician#k?");
status = 150;
} else {
cm.sendYesNo("Congratulations on reaching such a high level. Would you like to make the #rFirst Job Advancement#k?");
status = 153;
}
} else if (cm.getLevel() < 30) {
cm.sendNext("Sorry, but you have to be at least level 30 to make the #rSecond Job Advancement#k.");
status = 98;
} else if (cm.getJob().equals(MapleJob.THIEF)) {
cm.sendSimple("Congratulations on reaching such a high level. Which would you like to be? #b\r\n#L0#Assassin#l\r\n#L1#Bandit#l#k");
} else if (cm.getJob().equals(MapleJob.WARRIOR)) {
cm.sendSimple("Congratulations on reaching such a high level. Which would you like to be? #b\r\n#L2#Fighter#l\r\n#L3#Page#l\r\n#L4#Spearman#l#k");
} else if (cm.getJob().equals(MapleJob.MAGICIAN)) {
cm.sendSimple("Congratulations on reaching such a high level. Which would you like to be? #b\r\n#L5#Ice Lightning Wizard#l\r\n#L6#Fire Poison Wizard#l\r\n#L7#Cleric#l#k");
} else if (cm.getJob().equals(MapleJob.BOWMAN)) {
cm.sendSimple("Congratulations on reaching such a high level. Which would you like to be? #b\r\n#L8#Hunter#l\r\n#L9#Crossbowman#l#k");
} else if (cm.getJob().equals(MapleJob.PIRATE)) {
cm.sendSimple("Congratulations on reaching such a high level. Which would you like to be? #b\r\n#L10#Brawler#l\r\n#L11#Gunslinger#l#k");
} else if (cm.getJob().equals(MapleJob.BLAZEWIZARD1)) {
cm.sendSimple("Congratulations on reaching such a high level. Do you want to job advance? #b\r\n#L12#Yes#l\r\n#L13#No#l#k");
} else if (cm.getJob().equals(MapleJob.DAWNWARRIOR1)) {
cm.sendSimple("Congratulations on reaching such a high level. Do you want to job advance? #b\r\n#L14#Yes#l\r\n#L15#No#l#k");
} else if (cm.getJob().equals(MapleJob.NIGHTWALKER1)) {
cm.sendSimple("Congratulations on reaching such a high level. Do you want to job advance? #b\r\n#L16#Yes#l\r\n#L17#No#l#k");
} else if (cm.getJob().equals(MapleJob.WINDARCHER1)) {
cm.sendSimple("Congratulations on reaching such a high level. Do you want to job advance? #b\r\n#L18#Yes#l\r\n#L19#No#l#k");
} else if (cm.getJob().equals(MapleJob.THUNDERBREAKER1)) {
cm.sendSimple("Congratulations on reaching such a high level. Do you want to job advance? #b\r\n#L20#Yes#l\r\n#L21#No#l#k");
} else if (cm.getLevel() < 70) {
cm.sendNext("Sorry, but you have to be at least level 70 to make the #rThird Job Advancement#k.");
status = 98;
} else if (cm.getJob().equals(MapleJob.ASSASSIN)) {
status = 63;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.BANDIT)) {
status = 66;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.HUNTER)) {
status = 69;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.CROSSBOWMAN)) {
status = 72;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.FP_WIZARD)) {
status = 75;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.IL_WIZARD)) {
status = 78;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.CLERIC)) {
status = 81;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.FIGHTER)) {
status = 84;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.PAGE)) {
status = 87;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.SPEARMAN)) {
status = 90;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.GUNSLINGER)) {
status = 95;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.BRAWLER)) {
status = 92;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getLevel() < 120) {
cm.sendNext("Sorry, but you have to be at least level 120 to make the #rForth Job Advancement#k.");
status = 98;
} else if (cm.getJob().equals(MapleJob.HERMIT)) {
status = 105;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.CHIEFBANDIT)) {
status = 108;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.RANGER)) {
status = 111;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.SNIPER)) {
status = 114;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.FP_MAGE)) {
status = 117;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.IL_MAGE)) {
status = 120;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.PRIEST)) {
status = 123;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.CRUSADER)) {
status = 126;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.WHITEKNIGHT)) {
status = 129;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.DRAGONKNIGHT)) {
status = 132;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.MARAUDER)) {
status = 133;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.OUTLAW)) {
status = 134;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getLevel() < 200) {
cm.sendNext("Sorry, but you have already attained the highest level of your job's mastery. \r\n\r\nHowever, you can #rrebirth#k when you are level 200.");
status = 98;
} else if (cm.getLevel() >= 200) {
cm.sendYesNo("Hello, its so good to see you again! Wow, you have already reached your maximum level. \r\n But, to continue to become stronger, you will have to reborn. \r\n This decision is crucial, do you want to do it?");
status = 160;
} else {
cm.dispose();
}
} else if (status == 2) {
if (selection == 0) {
jobName = "Assassin";
job = MapleJob.ASSASSIN;
}
if (selection == 1) {
jobName = "Bandit";
job = MapleJob.BANDIT;
}
if (selection == 2) {
jobName = "Fighter";
job = MapleJob.FIGHTER;
}
if (selection == 3) {
jobName = "Page";
job = MapleJob.PAGE;
}
if (selection == 4) {
jobName = "Spearman";
job = MapleJob.SPEARMAN;
}
if (selection == 5) {
jobName = "Ice Lightning Wizard";
job = MapleJob.IL_WIZARD;
}
if (selection == 6) {
jobName = "Fire Poison Wizard";
job = MapleJob.FP_WIZARD;
}
if (selection == 7) {
jobName = "Cleric";
job = MapleJob.CLERIC;
}
if (selection ==
{
jobName = "Hunter";
job = MapleJob.HUNTER;
}
if (selection == 9) {
jobName = "Crossbowman";
job = MapleJob.CROSSBOWMAN;
}
if (selection == 10) {
jobName = "Brawler";
job = MapleJob.BRAWLER;
}
if (selection == 11) {
jobName = "Gunslinger";
job = MapleJob.GUNSLINGER;
}
if (selection == 12) {
jobName = "Level 2 Blaze Wizard";
job = MapleJob.BLAZEWIZARD2;
}
if (selection == 13) {
cm.dispose();
}
if (selection == 14) {
jobName = "Level 2 Dawn Warrior";
job = MapleJob.DAWNWARRIOR2;
}
if (selection == 15) {
cm.dispose();
}
if (selection == 16) {
jobName = "Level 2 Night Walker";
job = MapleJob.NIGHTWALKER2;
}
if (selection == 17) {
cm.dispose();
}
if (selection == 18) {
jobName = "Level 2 Wind Archer";
job = MapleJob.WINDARCHER2;
}
if (selection == 19) {
jobName = "Level 2 Wind Archer";
job = MapleJob.THUNDERBREAKER2;
}
if (selection == 19) {
cm.dispose();
}
cm.sendYesNo("Do you want to become a #r" + jobName + "#k?");
} else if (status == 3) {
cm.changeJob(job);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 61) {
if (cm.getJob().equals(MapleJob.ASSASSIN)) {
status = 63;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.BANDIT)) {
status = 66;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.HUNTER)) {
status = 69;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.CROSSBOWMAN)) {
status = 72;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.FP_WIZARD)) {
status = 75;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.IL_WIZARD)) {
status = 78;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.CLERIC)) {
status = 81;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.FIGHTER)) {
status = 84;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.PAGE)) {
status = 87;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.SPEARMAN)) {
status = 90;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.GUNSLINGER)) {
status = 98;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.BRAWLER)) {
status = 93;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.BLAZEWIZARD2)) {
status = 170;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.DAWNWARRIOR2)) {
status = 173;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.NIGHTWALKER2)) {
status = 176;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.WINDARCHER2)) {
status = 179;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.THUNDERBREAKER2)) {
status = 182;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else {
cm.dispose();
}
} else if (status == 64) {
cm.changeJob(MapleJob.HERMIT);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 67) {
cm.changeJob(MapleJob.CHIEFBANDIT);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 70) {
cm.changeJob(MapleJob.RANGER);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 73) {
cm.changeJob(MapleJob.SNIPER);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 76) {
cm.changeJob(MapleJob.FP_MAGE);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 79) {
cm.changeJob(MapleJob.IL_MAGE);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 82) {
cm.changeJob(MapleJob.PRIEST);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 85) {
cm.changeJob(MapleJob.CRUSADER);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 88) {
cm.changeJob(MapleJob.WHITEKNIGHT);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 91) {
cm.changeJob(MapleJob.DRAGONKNIGHT);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 93) {
cm.changeJob(MapleJob.MARAUDER);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 96) {
cm.changeJob(MapleJob.OUTLAW);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 170) {
cm.changeJob(MapleJob.BLAZEWIZARD3);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 173) {
cm.changeJob(MapleJob.DAWNWARRIOR3);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 176) {
cm.changeJob(MapleJob.NIGHTWALKER3);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 179) {
cm.changeJob(MapleJob.WINDARCHER3);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 182) {
cm.changeJob(MapleJob.THUNDERBREAKER3);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
} else if (status == 99) {
cm.sendOk("Good luck on your training.");
cm.dispose();
} else if (status == 102) {
if (cm.getJob().equals(MapleJob.HERMIT)) {
status = 105;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.CHIEFBANDIT)) {
status = 108;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.RANGER)) {
status = 111;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.SNIPER)) {
status = 114;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.FP_MAGE)) {
status = 117;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.IL_MAGE)) {
status = 120;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.PRIEST)) {
status = 123;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.CRUSADER)) {
status = 126;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.WHITEKNIGHT)) {
status = 129;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.DRAGONKNIGHT)) {
status = 132;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.MARAUDER)) {
status = 134;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else if (cm.getJob().equals(MapleJob.OUTLAW)) {
status = 136;
cm.sendYesNo("Congratulations on reaching such a high level. Do you want to Job Advance now?");
} else {
cm.dispose();
}
} else if (status == 106) {
cm.changeJob(MapleJob.NIGHTLORD);
cm.sendOk("There you go. Hope you enjoy it.");
cm.dispose();
} else if (status == 109) {
cm.changeJob(MapleJob.SHADOWER);
cm.sendOk("There you go. Hope you enjoy it.");
cm.dispose();
} else if (status == 112) {
cm.changeJob(MapleJob.BOWMASTER);
cm.sendOk("There you go. Hope you enjoy it.");
cm.dispose();
} else if (status == 115) {
cm.changeJob(MapleJob.getById(322));
cm.sendOk("There you go. Hope you enjoy it.");
cm.dispose();
} else if (status == 118) {
cm.changeJob(MapleJob.FP_ARCHMAGE);
cm.sendOk("There you go. Hope you enjoy it.");
cm.dispose();
} else if (status == 121) {
cm.changeJob(MapleJob.IL_ARCHMAGE);
cm.sendOk("There you go. Hope you enjoy it.");
cm.dispose();
} else if (status == 124) {
cm.changeJob(MapleJob.BISHOP);
cm.sendOk("There you go. Hope you enjoy it.");
cm.dispose();
} else if (status == 127) {
cm.changeJob(MapleJob.HERO);
cm.sendOk("There you go. Hope you enjoy it.");
cm.dispose();
} else if (status == 130) {
cm.changeJob(MapleJob.PALADIN);
cm.sendOk("There you go. Hope you enjoy it.");
cm.dispose();
} else if (status == 133) {
cm.changeJob(MapleJob.DARKKNIGHT);
cm.sendOk("There you go. Hope you enjoy it.");
cm.dispose();
} else if (status == 134) {
cm.changeJob(MapleJob.BUCCANEER);
cm.sendOk("There you go. Hope you enjoy it.");
cm.dispose();
} else if (status == 135) {
cm.changeJob(MapleJob.CORSAIR);
cm.sendOk("There you go. Hope you enjoy it.");
cm.dispose();
} else if (status == 151) {
if ( cm.getChar().getInt() >= 20) {
cm.sendSimple("Which do you prefer? #b\r\n#L0#Magician#l\r\n#L1#Blaze Wizard#l#k");
status = 200;
} else {
cm.sendOk("You did not meet the requirement of #r20 INT#k.");
}
} else if (status == 154) {
cm.sendSimple("Which would you like to be? #b\r\n#L0#Warrior#l\r\n#L1#Magician#l\r\n#L2#Bowman#l\r\n#L3#Thief#l\r\n#L4#Pirate#l\r\n\r\nOr Do you prefer Knights Of Cygnus?\r\n#L5#Dawn Warrior#l\r\n#L6#Night Walker#l\r\n#L7#Blaze Wizard#l\r\n#L8#Wind Archer#l\r\n#L9#Thunder Breaker#l#k");
} else if (status == 155) {
if (selection == 0) {
jobName = "Warrior";
job = MapleJob.WARRIOR;
}
if (selection == 1) {
jobName = "Magician";
job = MapleJob.MAGICIAN;
}
if (selection == 2) {
jobName = "Bowman";
job = MapleJob.BOWMAN;
}
if (selection == 3) {
jobName = "Thief";
job = MapleJob.THIEF;
}
if (selection == 4) {
jobName = "Pirate";
job = MapleJob.PIRATE;
}
if (selection == 5) {
jobName = "Dawn Warrior";
job = MapleJob.DAWNWARRIOR1;
}
if (selection == 6) {
jobName = "Night Walker";
job = MapleJob.NIGHTWALKER1;
}
if (selection == 7) {
jobName = "Blaze Wizard";
job = MapleJob.BLAZEWIZARD1;
}
if (selection ==
{
jobName = "Wind Archer";
job = MapleJob.WINDARCHER1;
}
if (selection == 9) {
jobName = "Thunder Breaker";
job = MapleJob.THUNDERBREAKER1;
}
cm.sendYesNo("Do you want to become a #r" + jobName + "#k?");
} else if (status == 156) {
if (job == MapleJob.WARRIOR && cm.getChar().getStr() < 35) {
cm.sendOk("You did not meet the minimum requirement of #r35 STR#k.");
cm.dispose();
} else if (job == MapleJob.MAGICIAN && cm.getChar().getInt() < 20) {
cm.sendOk("You did not meet the minimum requirement of #r20 INT#k.");
cm.dispose();
} else if (job == MapleJob.BOWMAN && cm.getChar().getDex() < 25) {
cm.sendOk("You did not meet the minimum requirement of #r25 DEX#k.");
cm.dispose();
} else if (job == MapleJob.THIEF && cm.getChar().getDex() < 25) {
cm.sendOk("You did not meet the minimum requirement of #r25 DEX#k.");
cm.dispose();
} else if (job == MapleJob.PIRATE && cm.getChar().getDex() < 20) {
cm.sendOk("You did not meet the minimum requirement of #r20 DEX#k.");
cm.dispose();
} else if (job == MapleJob.DAWNWARRIOR1 && cm.getChar().getStr() < 35) {
cm.sendOk("You did not meet the minimum requirement of #r35 STR#k.");
cm.dispose();
} else if (job == MapleJob.NIGHTWALKER1 && cm.getChar().getDex() < 25) {
cm.sendOk("You did not meet the minimum requirement of #r25 DEX#k.");
cm.dispose();
} else if (job == MapleJob.BLAZEWIZARD1 && cm.getChar().getInt() < 20) {
cm.sendOk("You did not meet the minimum requirement of #r20 INT#k.");
cm.dispose();
} else if (job == MapleJob.WINDARCHER1 && cm.getChar().getDex() < 25) {
cm.sendOk("You did not meet the minimum requirement of #r25 DEX#k.");
cm.dispose();
} else if (job == MapleJob.THUNDERBREAKER1 && cm.getChar().getDex() < 20) {
cm.sendOk("You did not meet the minimum requirement of #r20 DEX#k.");
cm.dispose();
} else {
cm.changeJob(job);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
}
} else if (status == 161) {
cm.doReborn();
cm.sendOk("You have been reborn! Good luck on your next journey!");
cm.dispose();
} else if (status == 201) {
if (selection == 0) {
cm.changeJob(MapleJob.MAGICIAN);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
}
if (selection == 1) {
cm.changeJob(MapleJob.BLAZEWIZARD1);
cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe
");
cm.dispose();
}
} else {
cm.dispose();
}
}
}
Yeah, this for v75 job advance. But now i need is remove the fucking [Congrats]blabalbla. :] Hope you can help us with this.
Your APP is accepted.