Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Duey + Cody in one NPC :D

Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Made a script that advances your guy ANDDDD gives him skills for his specific job :)
For all the non-working skills I set the mastery level to 0
As well as final attack for bows and crossbows
Code:
/* 1st to 4th Job overlevel + Skill maxer
Edited by Rawr of SpinMs... Please give credits if you are going to use this!
My scripts have been stolen many times and not much gave credits!*/

function start() {
	if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER) && cm.getLevel() >= 10) {
	cm.sendSimple("Ah, hello there fellow beginner! Wow! Congrats on reaching level 10!\r\nPlease pick a job you would like to advance to!  \r\n\r\n#b#L0#Thief#l\r\n#L1#Mage#l\r\n#L2#Bowman#l\r\n#L3#Warrior#l#k");
		} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.THIEF) && cm.getLevel() >= 30) {
			cm.sendSimple("Bandit or Assassin?\r\n\r\n#b#L4#Bandit#l\r\n#L5#Assassin#l#k");
				} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.MAGICIAN) && cm.getLevel() >= 30) {
			cm.sendSimple("F/P, Cleric, I/l?\r\n\r\n#b#L6#Cleric#l\r\n#L7#Fire/Poison#l\r\n#L8#Ice/Lightning#l#k");
						} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BOWMAN) && cm.getLevel() >= 30) {
			cm.sendSimple("Crossbowman, or Hunter?\r\n\r\n#b#L9#Crossbowman#l\r\n#L10#Bowman#l#k");
								} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.WARRIOR) && cm.getLevel() >= 30) {
			cm.sendSimple("Page, Fighter, or Spearman?\r\n\r\n#b#L11#Page#l\r\n#L12#Fighter#l\r\n#L13#Spearman#l#k");
			//3rd
										} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BANDIT) && cm.getLevel() >= 70) {
			cm.sendOk("Grats, you're now a Chief Bandit and I have maxed your skill!");
			cm.changeJob(net.sf.odinms.client.MapleJob.CHIEFBANDIT);
			cm.teachSkill(4211002, 30, 30);
			cm.teachSkill(4211004, 30, 30);
			cm.teachSkill(4211001, 30, 30);
			cm.teachSkill(4211006, 30, 30);
			cm.teachSkill(4211005, 20, 20);
			cm.teachSkill(4211003, 20, 20);
			cm.teachSkill(4210000, 20, 20);
										} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.ASSASSIN) && cm.getLevel() >= 70) {
			cm.sendOk("Grats, you're now a Hermit and I also maxed your skills!");
			cm.teachSkill(4110000, 20, 20);
			cm.teachSkill(4111005, 30, 30);
			cm.teachSkill(4111006, 20, 20);
			cm.teachSkill(4111001, 20, 20);
			cm.teachSkill(4111004, 30, 30);
			cm.teachSkill(4111002, 30, 30);
			cm.teachSkill(4111003, 20, 20);
			cm.changeJob(net.sf.odinms.client.MapleJob.HERMIT);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.CLERIC) && cm.getLevel() >= 70) {
			cm.sendOk("Grats, you're now a Priest and I also maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.PRIEST);
			cm.teachSkill(2311001, 20, 20);
			cm.teachSkill(2311005, 30, 30);
			cm.teachSkill(2310000, 20, 20);
			cm.teachSkill(2311003, 30, 30);
			cm.teachSkill(2311002, 20, 20);
			cm.teachSkill(2311004, 30, 30);
			cm.teachSkill(2311006, 30, 30);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.FP_WIZARD) && cm.getLevel() >= 70) {
			cm.sendOk("Grats, you're now a FP Mage and I have maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.FP_MAGE);
			cm.teachSkill(2110001, 30, 30);
			cm.teachSkill(2111006, 30, 30);
			cm.teachSkill(2111002, 30, 30);
			cm.teachSkill(2110000, 20, 20);
			cm.teachSkill(2111003, 30, 30);
			cm.teachSkill(2111004, 20, 20);
			cm.teachSkill(2111005, 20, 20);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.IL_WIZARD) && cm.getLevel() >= 70) {
			cm.sendOk("Grats, you're now a IL Mage and I have maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.IL_MAGE);
			cm.teachSkill(2210001, 30, 30);
			cm.teachSkill(2211006, 30, 30);
			cm.teachSkill(2211002, 30, 30);
			cm.teachSkill(2210000, 20, 20);
			cm.teachSkill(2211004, 20, 20);
			cm.teachSkill(2211005, 20, 20);
			cm.teachSkill(2211003, 30, 30);			
														} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.CROSSBOWMAN) && cm.getLevel() >= 70) {
			cm.sendOk("Grats, you're now a Sniper and I maxed your skills too!");
			cm.changeJob(net.sf.odinms.client.MapleJob.SNIPER);
			cm.teachSkill(3211004, 30, 30);
			cm.teachSkill(3211003, 30, 30);
			cm.teachSkill(3211005, 30, 30);
			cm.teachSkill(3210001, 20, 20);
			cm.teachSkill(3211002, 20, 20);
			cm.teachSkill(3211006, 30, 30);
			cm.teachSkill(3210000, 20, 20);
														} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.HUNTER) && cm.getLevel() >= 70) {
			cm.sendOk("Grats, you're now a Ranger and I also maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.RANGER);	
			cm.teachSkill(3111004, 30, 30);
			cm.teachSkill(3111003, 30, 30);
			cm.teachSkill(3110001, 20, 20);
			cm.teachSkill(3111002, 20, 20);
			cm.teachSkill(3111005, 30, 30);
			cm.teachSkill(3111006, 30, 30);
			cm.teachSkill(3110000, 20, 20);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.PAGE) && cm.getLevel() >= 70) {
			cm.sendOk("Grats, you're now a WhiteKnight and I maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.WHITEKNIGHT);
			cm.teachSkill(1211006, 30, 30);
			cm.teachSkill(1211002, 30, 30);
			cm.teachSkill(1211003, 30, 30);
			cm.teachSkill(1211004, 30, 30);
			cm.teachSkill(1211005, 30, 30);
			cm.teachSkill(1210000, 20, 20);
			cm.teachSkill(1211008, 30, 30);
			cm.teachSkill(1211009, 20, 20);
			cm.teachSkill(1210001, 20, 20);
			cm.teachSkill(1211007, 30, 30);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.FIGHTER) && cm.getLevel() >= 70) {
			cm.sendOk("Grats, you're now a Crusader and I maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.CRUSADER);
			cm.teachSkill(1111007, 20, 20);
			cm.teachSkill(1111006, 30, 30);
			cm.teachSkill(1111005, 30, 30);
			cm.teachSkill(1111002, 30, 30);
			cm.teachSkill(1110000, 20, 20);
			cm.teachSkill(1111004, 30, 30);
			cm.teachSkill(1111003, 30, 30);
			cm.teachSkill(1110001, 20, 20);
			cm.teachSkill(1111008, 30, 30);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.SPEARMAN) && cm.getLevel() >= 70) {
			cm.sendOk("Grats, you're now a Dragon Knight and I have maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.DRAGONKNIGHT);	
			cm.teachSkill(1311008, 20, 20);
			cm.teachSkill(1311004, 30, 30);
			cm.teachSkill(1311003, 30, 30);
			cm.teachSkill(1311006, 30, 30);
			cm.teachSkill(1310000, 20, 20);
			cm.teachSkill(1311002, 30, 30);
			cm.teachSkill(1311007, 20, 20);
			cm.teachSkill(1311005, 30, 30);
			cm.teachSkill(1311001, 30, 30);
		//4th
										} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.CHIEFBANDIT) && cm.getLevel() >= 120) {
			cm.sendOk("Grats, you're now a Shadower and I maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.SHADOWER);
			cm.teachSkill(4221001, 30, 30);
			cm.teachSkill(4221007, 30, 30);
			cm.teachSkill(4221008, 1, 1);
			cm.teachSkill(4221000, 20, 20);
			cm.teachSkill(4221004, 30, 30);
			cm.teachSkill(4220002, 30, 30);
			cm.teachSkill(4221006, 0, 0); //smokescreen
			cm.teachSkill(4221003, 30, 30);
			cm.teachSkill(4220005, 0, 0); //venom stab
										} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.HERMIT) && cm.getLevel() >= 120) {
			cm.sendOk("Grats, you're now a NightLord and I maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.NIGHTLORD);
			cm.teachSkill(4121009, 1, 1);
			cm.teachSkill(4121000, 20, 20);
			cm.teachSkill(4121004, 30, 30);
			cm.teachSkill(4121008, 30, 30);
			cm.teachSkill(4121006, 30, 30);
			cm.teachSkill(4120002, 30, 30);
			cm.teachSkill(4121003, 30, 30);
			cm.teachSkill(4121007, 30, 30);
			cm.teachSkill(4120005, 0, 0); //venom star
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.PRIEST) && cm.getLevel() >= 120) {
			cm.sendOk("Grats, you're now a Bishop and I also maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.BISHOP);
			cm.teachSkill(2321007, 30, 30);
			cm.teachSkill(2321003, 30, 30);
			cm.teachSkill(2321001, 30, 30);
			cm.teachSkill(2321008, 30, 30);
			cm.teachSkill(2321009, 1, 1);
			cm.teachSkill(2321005, 0, 0); //holy shield
			cm.teachSkill(2321004, 30, 30); 
			cm.teachSkill(2321002, 0, 0); //mana reflection
			cm.teachSkill(2321000, 20, 20);
			cm.teachSkill(2321006, 10, 10);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.FP_MAGE) && cm.getLevel() >= 120) {
			cm.sendOk("Grats, you're now a FP Arch Mage and I have maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.FP_ARCHMAGE);
			cm.teachSkill(2121001, 30, 30);
			cm.teachSkill(2121005, 30, 30);
			cm.teachSkill(2121003, 30, 30);
			cm.teachSkill(2121008, 1, 1);
			cm.teachSkill(2121004, 30, 30);
			cm.teachSkill(2121002, 0, 0); //mana reflection
			cm.teachSkill(2121000, 20, 20);
			cm.teachSkill(2121007, 30, 30);
			cm.teachSkill(2121006, 30, 30);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.IL_MAGE) && cm.getLevel() >= 120) {
			cm.sendOk("Grats, you're now a IL Arch Mage and I maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.IL_ARCHMAGE);
			cm.teachSkill(2221001, 30, 30);
			cm.teachSkill(2221007, 30, 30);
			cm.teachSkill(2221006, 30, 30);
			cm.teachSkill(2221008, 1, 1);
			cm.teachSkill(2221003, 30, 30);
			cm.teachSkill(2221005, 30, 30);
			cm.teachSkill(2221004, 30, 30);
			cm.teachSkill(2221002, 0, 0); //mana reflection
			cm.teachSkill(2221000, 20, 20);
														} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.SNIPER) && cm.getLevel() >= 120) {
			cm.sendOk("Grats, you're now a Crossbow Master and I have maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.CROSSBOWMASTER);
			cm.teachSkill(3221006, 30, 30);
			cm.teachSkill(3221003, 30, 30);
			cm.teachSkill(3221005, 30, 30);
			cm.teachSkill(3221008, 1, 1);
			cm.teachSkill(3221000, 20, 20);
			cm.teachSkill(3220004, 30, 30);
			cm.teachSkill(3221001, 30, 30);
			cm.teachSkill(3221002, 30, 30);
														} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.RANGER) && cm.getLevel() >= 120) {
			cm.sendOk("Grats, you're now a Bow Master and I have maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.BOWMASTER);	
			cm.teachSkill(3120005, 30, 30);
			cm.teachSkill(3121008, 30, 30);
			cm.teachSkill(3121003, 30, 30);
			cm.teachSkill(3121007, 30, 30);
			cm.teachSkill(3121009, 1, 1);
			cm.teachSkill(3121004, 30, 30);
			cm.teachSkill(3121000, 20, 20);
			cm.teachSkill(3121006, 30, 30);
            cm.teachSkill(3121002, 30, 30);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.WHITEKNIGHT) && cm.getLevel() >= 120) {
			cm.sendOk("Grats, you're now a Paladin and I maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.PALADIN);
			cm.teachSkill(1220005, 30, 30);
			cm.teachSkill(1220010, 10, 10);
			cm.teachSkill(1221009, 30, 30);
			cm.teachSkill(1221004, 0, 0); //holy charge
			cm.teachSkill(1220006, 30, 30);
			cm.teachSkill(1220005, 0, 0); //heaven's hammer
			cm.teachSkill(1221012, 1, 1);
			cm.teachSkill(1221003, 0, 0); //holy charge
			cm.teachSkill(1221000, 20, 20);
			cm.teachSkill(1221001, 30, 30);
			cm.teachSkill(1221002, 30, 30);
			cm.teachSkill(1221007, 30, 30);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.CRUSADER) && cm.getLevel() >= 120) {
			cm.sendOk("Grats, you're now a Hero and I maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.HERO);
			cm.teachSkill(1120004, 30, 30);
			cm.teachSkill(1120003, 30, 30);
			cm.teachSkill(1121008, 30, 30);
			cm.teachSkill(1121010, 30, 30);
			cm.teachSkill(1120005, 30, 30);
			cm.teachSkill(1121011, 1, 1);
			cm.teachSkill(1121000, 20, 20);
			cm.teachSkill(1121001, 30, 30);
			cm.teachSkill(1121002, 30, 30);
			cm.teachSkill(1121006, 30, 30);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.DRAGONKNIGHT) && cm.getLevel() >= 120) {
			cm.sendOk("Grats, you're now a Dark Knight and I have maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.DARKKNIGHT);		
			cm.teachSkill(1320005, 30, 30);
			cm.teachSkill(1320008, 25, 25);
			cm.teachSkill(1321007, 10, 10);
			cm.teachSkill(1320006, 30, 30);
			cm.teachSkill(1321010, 1, 1);
			cm.teachSkill(1320009, 25, 25);
			cm.teachSkill(1321000, 20, 20);
			cm.teachSkill(1321001, 30, 30);
			cm.teachSkill(1321002, 30, 30);
			cm.teachSkill(1321003, 30, 30);
			
			
		
		
		} else {
		cm.sendOk("You aren't ready for a job advance.");
		}
			
		
		
		
		}}}}}}}}}}}}}}}}}}}}}}}}}

function action(mode, type, selection) {

//Beginner Advances
	cm.dispose();
	if (selection == 0) {
		cm.changeJob(net.sf.odinms.client.MapleJob.THIEF);
		cm.teachSkill(1003, 1, 1);
		cm.teachSkill(1004, 1, 1);
		cm.teachSkill(1002, 3, 3);
		cm.teachSkill(1000, 3, 3);
		cm.teachSkill(1001, 3, 3);
		cm.teachSkill(4001003, 20, 20);
		cm.teachSkill(4001002, 20, 20);
		cm.teachSkill(4001334, 20, 20);
		cm.teachSkill(4000001, 8, 8);
		cm.teachSkill(4001003, 20, 20);
		cm.teachSkill(4001344, 20, 20);
		cm.teachSkill(4000000, 20, 20);
	cm.sendOk("You are now a thief and I even maxed your skills out for you!");
		}
		
			cm.dispose();
	if (selection == 1) {
		cm.changeJob(net.sf.odinms.client.MapleJob.MAGICIAN);
	cm.sendOk("You are now a magician and I have maxed your skills!");
	cm.teachSkill(2001004, 20, 20);
	cm.teachSkill(2000001, 10, 10);
	cm.teachSkill(2000000, 16, 16);
	cm.teachSkill(2001003, 20, 20);
	cm.teachSkill(2001005, 20, 20);
	cm.teachSkill(2001002, 20, 20);
	cm.teachSkill(1003, 1, 1);
	cm.teachSkill(1004, 1, 1);
	cm.teachSkill(1002, 3, 3);
	cm.teachSkill(1000, 3, 3);
	cm.teachSkill(1001, 3, 3);
		}
		
			cm.dispose();
	if (selection == 2) {
		cm.changeJob(net.sf.odinms.client.MapleJob.BOWMAN);
	cm.sendOk("You are now a Bowman and I even maxed your skills!");
	cm.teachSkill(3001004, 20, 20);
	cm.teachSkill(3000001, 20, 20);
	cm.teachSkill(3001005, 20, 20);
	cm.teachSkill(3001003, 20, 20);
	cm.teachSkill(3000000, 16, 16);
	cm.teachSkill(3000002, 8, 8);
	cm.teachSkill(1003, 1, 1);
	cm.teachSkill(1004, 1, 1);
	cm.teachSkill(1002, 3, 3);
	cm.teachSkill(1000, 3, 3);
	cm.teachSkill(1001, 3, 3);
		}
		
			cm.dispose();
	if (selection == 3) {
		cm.changeJob(net.sf.odinms.client.MapleJob.WARRIOR);
	cm.sendOk("You are now a warrior and I maxed your skills!");
	cm.teachSkill(1000002, 8, 8);
	cm.teachSkill(1000000, 16, 16);
	cm.teachSkill(1000001, 10, 10);
	cm.teachSkill(1001003, 20, 20);
	cm.teachSkill(1001004, 20, 20);
	cm.teachSkill(1001005, 20, 20);
	cm.teachSkill(1003, 1, 1);
	cm.teachSkill(1004, 1, 1);
	cm.teachSkill(1002, 3, 3);
	cm.teachSkill(1000, 3, 3);
	cm.teachSkill(1001, 3, 3);
		}
		//Thief Advances
					cm.dispose();
	if (selection == 4) {
		cm.changeJob(net.sf.odinms.client.MapleJob.BANDIT);
		cm.teachSkill(4201002, 20, 20);
		cm.teachSkill(4200000, 20, 20);
		cm.teachSkill(4200001, 20, 20);
		cm.teachSkill(4201003, 20, 20);
		cm.teachSkill(4201005, 30, 30);
		cm.teachSkill(4201004, 30, 30);

	cm.sendOk("You are now a bandit and I have maxed your skills!");
		}
		
					cm.dispose();
	if (selection == 5) {
		cm.changeJob(net.sf.odinms.client.MapleJob.ASSASSIN);
		cm.teachSkill(4101003, 20, 20);
		cm.teachSkill(4100000, 20, 20);
		cm.teachSkill(4100001, 30, 30);
		cm.teachSkill(4101005, 30, 30);
		cm.teachSkill(4100002, 20, 20);
		cm.teachSkill(4101004, 20, 20);
	cm.sendOk("You are now an assassin and I even maxed your skills out!");
		}
		//Magician advances
		
		
					cm.dispose();
	if (selection == 6) {
		cm.changeJob(net.sf.odinms.client.MapleJob.CLERIC);
	cm.sendOk("You are now a Cleric and I maxed your skills!");
	cm.teachSkill(2301004, 20, 20);
	cm.teachSkill(2301002, 30, 30);
	cm.teachSkill(2301005, 30, 30);
	cm.teachSkill(2301003, 20, 20);
	cm.teachSkill(2300000, 20, 20);
	cm.teachSkill(2301001, 20, 20);
		}		
					cm.dispose();
	if (selection == 7) {
		cm.changeJob(net.sf.odinms.client.MapleJob.FP_WIZARD);
	cm.sendOk("You are now a Fire Mage and I have maxed your skills!");
		cm.teachSkill(2101004, 30, 30);
		cm.teachSkill(2101001, 20, 20);
		cm.teachSkill(2100000, 20, 20);
		cm.teachSkill(2101005, 30, 30);
		cm.teachSkill(2101003, 20, 20);
		cm.teachSkill(2101002, 20, 20);
		}		
					cm.dispose();
	if (selection == 8) {
		cm.changeJob(net.sf.odinms.client.MapleJob.IL_WIZARD);
	cm.sendOk("You are now an IL Wizard and I have maxed your skills!");
	cm.teachSkill(2201004, 30, 30);
	cm.teachSkill(2201001, 20, 20);
	cm.teachSkill(2200000, 20, 20);
	cm.teachSkill(2201003, 20, 20);
	cm.teachSkill(2201002, 20, 20);
	cm.teachSkill(2201005, 30, 30);
		}
		//Bowman advances
		
							cm.dispose();
	if (selection == 9) {
		cm.changeJob(net.sf.odinms.client.MapleJob.CROSSBOWMAN);
	cm.sendOk("You are now a Crossbowman and I have maxed your skills!");
	cm.teachSkill(3201002, 20, 20);
	cm.teachSkill(3200000, 20, 20);
	cm.teachSkill(3200001, 0, 30);
	cm.teachSkill(3201005, 30, 30);
	cm.teachSkill(3201003, 20, 20);
	cm.teachSkill(3201004, 20, 20);
		}		
					cm.dispose();
	if (selection == 10) {
		cm.changeJob(net.sf.odinms.client.MapleJob.HUNTER);
		cm.teachSkill(3101005, 30, 30);
		cm.teachSkill(3101002, 20, 20);
		cm.teachSkill(3100000, 20, 20);
		cm.teachSkill(3100001, 0, 30); //Final attack 
		cm.teachSkill(3101003, 20, 20);
		cm.teachSkill(3101004, 20, 20);

	cm.sendOk("You are now a Hunter and I also maxed your skills!");
		}		
		//Warrior advances
		
							cm.dispose();
	if (selection == 11) {
		cm.changeJob(net.sf.odinms.client.MapleJob.PAGE);
		cm.sendOk("You are now a Page and I maxed your skills!");
		cm.teachSkill(1201005, 20, 20);
		cm.teachSkill(1200001, 20, 20);
		cm.teachSkill(1200003, 30, 30);
		cm.teachSkill(1200002, 30, 30);
		cm.teachSkill(1201007, 30, 30);
		cm.teachSkill(1201004, 20, 20);
		cm.teachSkill(1200000, 20, 20);
		cm.teachSkill(1201006, 20, 20);
		}		
					cm.dispose();
	if (selection == 12) {
		cm.changeJob(net.sf.odinms.client.MapleJob.FIGHTER);
		cm.sendOk("You are now a Fighter and I have maxed your skills!");
		cm.teachSkill(1101005, 20, 20);
		cm.teachSkill(1100001, 20, 20);
		cm.teachSkill(1100003, 30, 30);
		cm.teachSkill(1100002, 30, 30);
		cm.teachSkill(1101007, 30, 30);
		cm.teachSkill(1101006, 20, 20);
		cm.teachSkill(1101004, 20, 20);
		cm.teachSkill(1100000, 20, 20);
		}		
					cm.dispose();
	if (selection == 13) {
		cm.changeJob(net.sf.odinms.client.MapleJob.SPEARMAN);
	cm.sendOk("You are now a Spearman and I maxed your skills");
	cm.teachSkill(1300003, 30, 30);
	cm.teachSkill(1300002, 30, 30);
	cm.teachSkill(1301007, 30, 30);
	cm.teachSkill(1301006, 20, 20);
	cm.teachSkill(1301005, 20, 20);
	cm.teachSkill(1300001, 20, 20);
	cm.teachSkill(1301004, 20, 20);
	cm.teachSkill(1300000, 20, 20);
		}
		}
Some credits to the guy who gave me the cody script (Nana Ms dev?)
EDIT: FIXED THE SCRIPT!
 
Last edited:
Newbie Spellweaver
Joined
Jun 22, 2008
Messages
10
Reaction score
0
Re: [Release] Duey + Cody in one NPC :D

Made a script that advances your guy ANDDDD gives him skills for his specific job :)
For all the non-working skills I set the mastery level to 0
As well as final attack for bows and crossbows
Code:
/* 1st to 4th Job overlevel + Skill maxer
Edited by Rawr of SpinMs... Please give credits if you are going to use this!
My scripts have been stolen many times and not much gave credits!*/

function start() {
	if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
	cm.sendSimple("Ah, hello there fellow beginner! Wow! Congrats on reaching level 10!\r\nPlease pick a job you would like to advance to!  \r\n\r\n#b#L0#Thief#l\r\n#L1#Mage#l\r\n#L2#Bowman#l\r\n#L3#Warrior#l#k");
		} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.THIEF) && cm.getLevel() >= 30) {
			cm.sendSimple("Bandit or Assassin?\r\n\r\n#b#L4#Bandit#l\r\n#L5#Assassin#l#k");
				} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.MAGICIAN) && cm.getLevel() >= 30) {
			cm.sendSimple("F/P, Cleric, I/l?\r\n\r\n#b#L6#Cleric#l\r\n#L7#Fire/Poison#l\r\n#L8#Ice/Lightning#l#k");
						} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BOWMAN) && cm.getLevel() >= 30) {
			cm.sendSimple("Crossbowman, or Bowman?\r\n\r\n#b#L9#Crossbowman#l\r\n#L10#Bowman#l#k");
								} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.WARRIOR) && cm.getLevel() >= 30) {
			cm.sendSimple("Page, Fighter, or Spearman?\r\n\r\n#b#L11#Page#l\r\n#L12#Fighter#l\r\n#L13#Spearman#l#k");
			//3rd
										} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BANDIT) && cm.getLevel() >= 70) {
			cm.sendSimple("Grats, you're now a Chief Bandit and I have maxed your skill!");
			cm.changeJob(net.sf.odinms.client.MapleJob.CHIEFBANDIT);
			cm.teachSkill(4211002, 30, 30);
			cm.teachSkill(4211004, 30, 30);
			cm.teachSkill(4211001, 30, 30);
			cm.teachSkill(4211006, 30, 30);
			cm.teachSkill(4211005, 20, 20);
			cm.teachSkill(4211003, 20, 20);
			cm.teachSkill(4210000, 30, 30);
										} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.ASSASSIN) && cm.getLevel() >= 70) {
			cm.sendSimple("Grats, you're now a Hermit and I also maxed your skills!");
			cm.teachSkill(4110000, 20, 20);
			cm.teachSkill(4111005, 30, 30);
			cm.teachSkill(4111006, 20, 20);
			cm.teachSkill(4111001, 20, 20);
			cm.teachSkill(4111004, 30, 30);
			cm.teachSkill(4111002, 30, 30);
			cm.teachSkill(4111003, 20, 20);
			cm.changeJob(net.sf.odinms.client.MapleJob.HERMIT);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.CLERIC) && cm.getLevel() >= 70) {
			cm.sendSimple("Grats, you're now a Priest and I also maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.PRIEST);
			cm.teachSkill(2311001, 20, 20);
			cm.teachSkill(2311005, 30, 30);
			cm.teachSkill(2310000, 20, 20);
			cm.teachSkill(2311003, 30, 30);
			cm.teachSkill(2311002, 20, 20);
			cm.teachSkill(2311004, 30, 30);
			cm.teachSkill(2311006, 30, 30);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.FP_WIZARD) && cm.getLevel() >= 70) {
			cm.sendSimple("Grats, you're now a FP Mage and I have maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.FP_MAGE);
			cm.teachSkill(2110001, 30, 30);
			cm.teachSkill(2111006, 30, 30);
			cm.teachSkill(2111002, 30, 30);
			cm.teachSkill(2110000, 20, 20);
			cm.teachSkill(2111003, 30, 30);
			cm.teachSkill(2111004, 20, 20);
			cm.teachSkill(2111005, 20, 20);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.IL_WIZARD) && cm.getLevel() >= 70) {
			cm.sendSimple("Grats, you're now a IL Mage and I have maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.IL_MAGE);
			cm.teachSkill(2210001, 30, 30);
			cm.teachSkill(2211006, 30, 30);
			cm.teachSkill(2211002, 30, 30);
			cm.teachSkill(2210000, 20, 20);
			cm.teachSkill(2211004, 20, 20);
			cm.teachSkill(2211005, 20, 20);
			cm.teachSkill(2211003, 30, 30);			
														} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.CROSSBOWMAN) && cm.getLevel() >= 70) {
			cm.sendSimple("Grats, you're now a Sniper and I maxed your skills too!");
			cm.changeJob(net.sf.odinms.client.MapleJob.SNIPER);
			cm.teachSkill(3211004, 30, 30);
			cm.teachSkill(3211003, 30, 30);
			cm.teachSkill(3211005, 30, 30);
			cm.teachSkill(3210001, 20, 20);
			cm.teachSkill(3211002, 20, 20);
			cm.teachSkill(3211006, 30, 30);
			cm.teachSkill(3210000, 20, 20);
														} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.HUNTER) && cm.getLevel() >= 70) {
			cm.sendSimple("Grats, you're now a Ranger and I also maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.RANGER);	
			cm.teachSkill(3111004, 30, 30);
			cm.teachSkill(3111003, 30, 30);
			cm.teachSkill(3110001, 20, 20);
			cm.teachSkill(3111002, 20, 20);
			cm.teachSkill(3111005, 30, 30);
			cm.teachSkill(3111006, 30, 30);
			cm.teachSkill(3111004, 20, 20);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.PAGE) && cm.getLevel() >= 70) {
			cm.sendSimple("Grats, you're now a WhiteKnight and I maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.WHITEKNIGHT);
			cm.teachSkill(1211006, 30, 30);
			cm.teachSkill(1211002, 30, 30);
			cm.teachSkill(1211003, 30, 30);
			cm.teachSkill(1211004, 30, 30);
			cm.teachSkill(1211005, 30, 30);
			cm.teachSkill(1210000, 20, 20);
			cm.teachSkill(1211008, 30, 30);
			cm.teachSkill(1211009, 20, 20);
			cm.teachSkill(1210001, 20, 20);
			cm.teachSkill(1211007, 30, 30);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.FIGHTER) && cm.getLevel() >= 70) {
			cm.sendSimple("Grats, you're now a Crusader and I maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.CRUSADER);
			cm.teachSkill(1111007, 20, 20);
			cm.teachSkill(1111006, 30, 30);
			cm.teachSkill(1111005, 30, 30);
			cm.teachSkill(1111002, 30, 30);
			cm.teachSkill(1110000, 20, 20);
			cm.teachSkill(1111004, 30, 30);
			cm.teachSkill(1111003, 30, 30);
			cm.teachSkill(1110001, 30, 30);
			cm.teachSkill(1111008, 30, 30);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.SPEARMAN) && cm.getLevel() >= 70) {
			cm.sendSimple("Grats, you're now a Dragon Knight and I have maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.DRAGONKNIGHT);	
			cm.teachSkill(1311008, 20, 20);
			cm.teachSkill(1311004, 30, 30);
			cm.teachSkill(1311003, 30, 30);
			cm.teachSkill(1311006, 30, 30);
			cm.teachSkill(1310000, 20, 20);
			cm.teachSkill(1311002, 30, 30);
			cm.teachSkill(1311007, 20, 20);
			cm.teachSkill(1311005, 30, 30);
			cm.teachSkill(1311001, 30, 30);
		//4th
										} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.CHIEFBANDIT) && cm.getLevel() >= 120) {
			cm.sendSimple("Grats, you're now a Shadower and I maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.SHADOWER);
			cm.teachSkill(4221001, 30, 30);
			cm.teachSkill(4221007, 30, 30);
			cm.teachSkill(4221008, 1, 1);
			cm.teachSkill(4221000, 20, 20);
			cm.teachSkill(4221004, 30, 30);
			cm.teachSkill(4220002, 30, 30);
			cm.teachSkill(4221006, 0, 0); //smokescreen
			cm.teachSkill(4221003, 30, 30);
			cm.teachSkill(4220005, 0, 0); //venom stab
										} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.HERMIT) && cm.getLevel() >= 120) {
			cm.sendSimple("Grats, you're now a NightLord and I maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.NIGHTLORD);
			cm.teachSkill(4121009, 1, 1);
			cm.teachSkill(4121000, 20, 20);
			cm.teachSkill(4121004, 30, 30);
			cm.teachSkill(4121008, 30, 30);
			cm.teachSkill(4121006, 30, 30);
			cm.teachSkill(4120002, 30, 30);
			cm.teachSkill(4121003, 30, 30);
			cm.teachSkill(4120007, 30, 30);
			cm.teachSkill(4120005, 0, 0); //venom star
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.PRIEST) && cm.getLevel() >= 120) {
			cm.sendSimple("Grats, you're now a Bishop and I also maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.BISHOP);
			cm.teachSkill(2321007, 30, 30);
			cm.teachSkill(2321003, 30, 30);
			cm.teachSkill(2321001, 30, 30);
			cm.teachSkill(2321008, 30, 30);
			cm.teachSkill(2321009, 1, 1);
			cm.teachSkill(2321005, 0, 0); //holy shield
			cm.teachSkill(2321004, 30, 30); 
			cm.teachSkill(2321002, 0, 0); //mana reflection
			cm.teachSkill(2321000, 20, 20);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.FP_MAGE) && cm.getLevel() >= 120) {
			cm.sendSimple("Grats, you're now a FP Arch Mage and I have maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.FP_ARCHMAGE);
			cm.teachSkill(2121001, 30, 30);
			cm.teachSkill(2121005, 30, 30);
			cm.teachSkill(2121003, 30, 30);
			cm.teachSkill(2121008, 1, 1);
			cm.teachSkill(2121004, 30, 30);
			cm.teachSkill(2121001, 0, 0); //mana reflection
			cm.teachSkill(2121000, 20, 20);
			cm.teachSkill(2121007, 30, 30);
			cm.teachSkill(2121001, 30, 30);
			cm.teachSkill(2121006, 30, 30);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.IL_MAGE) && cm.getLevel() >= 120) {
			cm.sendSimple("Grats, you're now a IL Arch Mage and I maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.IL_ARCHMAGE);
			cm.teachSkill(2221001, 30, 30);
			cm.teachSkill(2221007, 30, 30);
			cm.teachSkill(2221006, 30, 30);
			cm.teachSkill(2221008, 1, 1);
			cm.teachSkill(2221003, 30, 30);
			cm.teachSkill(2221005, 30, 30);
			cm.teachSkill(2221004, 30, 30);
			cm.teachSkill(2221002, 0, 0); //mana reflection
			cm.teachSkill(2221000, 20, 20);
														} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.SNIPER) && cm.getLevel() >= 120) {
			cm.sendSimple("Grats, you're now a Crossbow Master and I have maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.CROSSBOWMASTER);
			cm.teachSkill(3221006, 30, 30);
			cm.teachSkill(3221003, 30, 30);
			cm.teachSkill(3221005, 30, 30);
			cm.teachSkill(3221008, 1, 1);
			cm.teachSkill(3221000, 20, 20);
			cm.teachSkill(3220004, 30, 30);
			cm.teachSkill(3221001, 30, 30);
			cm.teachSkill(3221002, 30, 30);
														} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.RANGER) && cm.getLevel() >= 120) {
			cm.sendSimple("Grats, you're now a Bow Master and I have maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.BOWMASTER);	
			cm.teachSkill(3120005, 30, 30);
			cm.teachSkill(3121008, 30, 30);
			cm.teachSkill(3121003, 30, 30);
			cm.teachSkill(3121007, 30, 30);
			cm.teachSkill(3121009, 1, 1);
			cm.teachSkill(3121004, 30, 30);
			cm.teachSkill(3121000, 20, 20);
			cm.teachSkill(3121006, 30, 30);
            cm.teachSkill(3121002, 30, 30);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.WHITEKNIGHT) && cm.getLevel() >= 120) {
			cm.sendSimple("Grats, you're now a Paladin and I maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.PALADIN);
			cm.teachSkill(1220005, 30, 30);
			cm.teachSkill(1220010, 10, 10);
			cm.teachSkill(1221009, 30, 30);
			cm.teachSkill(1221004, 0, 0); //holy charge
			cm.teachSkill(1220006, 30, 30);
			cm.teachSkill(1220005, 0, 0); //heaven's hammer
			cm.teachSkill(1221012, 1, 1);
			cm.teachSkill(1221003, 0, 0); //holy charge
			cm.teachSkill(1221000, 20, 20);
			cm.teachSkill(1221001, 30, 30);
			cm.teachSkill(1221002, 30, 30);
			cm.teachSkill(1221007, 30, 30);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.CRUSADER) && cm.getLevel() >= 120) {
			cm.sendSimple("Grats, you're now a Hero and I maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.HERO);
			cm.teachSkill(1120004, 30, 30);
			cm.teachSkill(1120003, 30, 30);
			cm.teachSkill(1121008, 30, 30);
			cm.teachSkill(1121010, 30, 30);
			cm.teachSkill(1120005, 30, 30);
			cm.teachSkill(1121011, 1, 1);
			cm.teachSkill(1121000, 20, 20);
			cm.teachSkill(1121001, 30, 30);
			cm.teachSkill(1121002, 30, 30);
			cm.teachSkill(1121006, 30, 30);
													} else {
		if (cm.getJob().equals(net.sf.odinms.client.MapleJob.DRAGONKNIGHT) && cm.getLevel() >= 120) {
			cm.sendSimple("Grats, you're now a Dark Knight and I have maxed your skills!");
			cm.changeJob(net.sf.odinms.client.MapleJob.DARKKNIGHT);		
			cm.teachSkill(1320005, 30, 30);
			cm.teachSkill(1320008, 25, 25);
			cm.teachSkill(1321007, 10, 10);
			cm.teachSkill(1320006, 30, 30);
			cm.teachSkill(1321010, 1, 1);
			cm.teachSkill(1320009, 25, 25);
			cm.teachSkill(1321000, 20, 20);
			cm.teachSkill(1321001, 30, 30);
			cm.teachSkill(1321002, 30, 30);
			cm.teachSkill(1321003, 30, 30);
			
			
		
		
		} else {
		cm.sendSimple("You aren't ready for a job advance.");
		}
			
		
		
		
		}}}}}}}}}}}}}}}}}}}}}}}}}

function action(mode, type, selection) {

//Beginner Advances
	cm.dispose();
	if (selection == 0) {
		cm.changeJob(net.sf.odinms.client.MapleJob.THIEF);
		cm.teachSkill(1003, 1, 1);
		cm.teachSkill(1004, 1, 1);
		cm.teachSkill(1002, 3, 3);
		cm.teachSkill(1000, 3, 3);
		cm.teachSkill(1001, 3, 3);
		cm.teachSkill(4001003, 20, 20);
		cm.teachSkill(4001002, 20, 20);
		cm.teachSkill(4001334, 20, 20);
		cm.teachSkill(4000001, 8, 8);
		cm.teachSkill(4001003, 20, 20);
		cm.teachSkill(4001344, 20, 20);
		cm.teachSkill(4000000, 20, 20);
	cm.sendSimple("You are now a thief and I even maxed your skills out for you!");
		}
		
			cm.dispose();
	if (selection == 1) {
		cm.changeJob(net.sf.odinms.client.MapleJob.MAGICIAN);
	cm.sendSimple("You are now a magician and I have maxed your skills!");
	cm.teachSkill(2001004, 20, 20);
	cm.teachSkill(2000001, 10, 10);
	cm.teachSkill(2000000, 16, 16);
	cm.teachSkill(2001003, 20, 20);
	cm.teachSkill(2001005, 20, 20);
	cm.teachSkill(2001002, 20, 20);
	cm.teachSkill(1003, 1, 1);
	cm.teachSkill(1004, 1, 1);
	cm.teachSkill(1002, 3, 3);
	cm.teachSkill(1000, 3, 3);
	cm.teachSkill(1001, 3, 3);
		}
		
			cm.dispose();
	if (selection == 2) {
		cm.changeJob(net.sf.odinms.client.MapleJob.BOWMAN);
	cm.sendSimple("You are now a Bowman and I even maxed your skills!");
	cm.teachSkill(3001004, 20, 20);
	cm.teachSkill(3000001, 20, 20);
	cm.teachSkill(3001005, 20, 20);
	cm.teachSkill(3001003, 20, 20);
	cm.teachSkill(3000000, 16, 16);
	cm.teachSkill(3000002, 8, 8);
	cm.teachSkill(1003, 1, 1);
	cm.teachSkill(1004, 1, 1);
	cm.teachSkill(1002, 3, 3);
	cm.teachSkill(1000, 3, 3);
	cm.teachSkill(1001, 3, 3);
		}
		
			cm.dispose();
	if (selection == 3) {
		cm.changeJob(net.sf.odinms.client.MapleJob.WARRIOR);
	cm.sendSimple("You are now a warrior and I maxed your skills!");
	cm.teachSkill(1000002, 8, 8);
	cm.teachSkill(1000000, 16, 16);
	cm.teachSkill(1000001, 10, 10);
	cm.teachSkill(1001003, 20, 20);
	cm.teachSkill(1001004, 20, 20);
	cm.teachSkill(1001005, 20, 20);
	cm.teachSkill(1003, 1, 1);
	cm.teachSkill(1004, 1, 1);
	cm.teachSkill(1002, 3, 3);
	cm.teachSkill(1000, 3, 3);
	cm.teachSkill(1001, 3, 3);
		}
		//Thief Advances
					cm.dispose();
	if (selection == 4) {
		cm.changeJob(net.sf.odinms.client.MapleJob.BANDIT);
		cm.teachSkill(4201002, 20, 20);
		cm.teachSkill(4200000, 20, 20);
		cm.teachSkill(4200001, 20, 20);
		cm.teachSkill(4201003, 20, 20);
		cm.teachSkill(4201005, 30, 30);
		cm.teachSkill(4201004, 30, 30);

	cm.sendSimple("You are now a bandit and I have maxed your skills!");
		}
		
					cm.dispose();
	if (selection == 5) {
		cm.changeJob(net.sf.odinms.client.MapleJob.ASSASSIN);
		cm.teachSkill(4101003, 20, 20);
		cm.teachSkill(4100000, 20, 20);
		cm.teachSkill(4100001, 30, 30);
		cm.teachSkill(4101005, 30, 30);
		cm.teachSkill(4100002, 20, 20);
		cm.teachSkill(4101004, 20, 20);
	cm.sendSimple("You are now an assassin and I even maxed your skills out!");
		}
		//Magician advances
		
		
					cm.dispose();
	if (selection == 6) {
		cm.changeJob(net.sf.odinms.client.MapleJob.CLERIC);
	cm.sendSimple("You are now a Cleric and I maxed your skills!");
	cm.teachSkill(2301004, 20, 20);
	cm.teachSkill(2301002, 30, 30);
	cm.teachSkill(2301005, 30, 30);
	cm.teachSkill(2301003, 20, 20);
	cm.teachSkill(2300000, 20, 20);
	cm.teachSkill(2301001, 20, 20);
		}		
					cm.dispose();
	if (selection == 7) {
		cm.changeJob(net.sf.odinms.client.MapleJob.FP_WIZARD);
	cm.sendSimple("You are now a Fire Mage and I have maxed your skills!");
		cm.teachSkill(2101004, 30, 30);
		cm.teachSkill(2101001, 20, 20);
		cm.teachSkill(2100000, 20, 20);
		cm.teachSkill(2101005, 30, 30);
		cm.teachSkill(2101003, 20, 20);
		cm.teachSkill(2101002, 20, 20);
		}		
					cm.dispose();
	if (selection == 8) {
		cm.changeJob(net.sf.odinms.client.MapleJob.IL_WIZARD);
	cm.sendSimple("You are now an IL Wizard and I ");
	cm.teachSkill(2201004, 30, 30);
	cm.teachSkill(2201001, 20, 20);
	cm.teachSkill(2200000, 20, 20);
	cm.teachSkill(2201003, 20, 20);
	cm.teachSkill(2201002, 20, 20);
	cm.teachSkill(2201005, 30, 30);
		}
		//Bowman advances
		
							cm.dispose();
	if (selection == 9) {
		cm.changeJob(net.sf.odinms.client.MapleJob.CROSSBOWMAN);
	cm.sendSimple("You are now a Crossbowman and I have maxed your skills!");
	cm.teachSkill(3201002, 20, 20);
	cm.teachSkill(3200000, 20, 20);
	cm.teachSkill(3200001, 0, 30);
	cm.teachSkill(3201005, 30, 30);
	cm.teachSkill(3201003, 20, 20);
	cm.teachSkill(3201004, 20, 20);
		}		
					cm.dispose();
	if (selection == 10) {
		cm.changeJob(net.sf.odinms.client.MapleJob.HUNTER);
		cm.teachSkill(3101005, 30, 30);
		cm.teachSkill(3101002, 20, 20);
		cm.teachSkill(3100000, 20, 20);
		cm.teachSkill(3101001, 0, 30); //Final attack 
		cm.teachSkill(3101003, 20, 20);
		cm.teachSkill(3101004, 20, 20);

	cm.sendSimple("You are now a Hunter and I also maxed your skills!");
		}		
		//Warrior advances
		
							cm.dispose();
	if (selection == 11) {
		cm.changeJob(net.sf.odinms.client.MapleJob.PAGE);
		cm.sendSimple("You are now a Page and I maxed your skills!");
		cm.teachSkill(1201005, 20, 20);
		cm.teachSkill(1200001, 20, 20);
		cm.teachSkill(1200003, 30, 30);
		cm.teachSkill(1200002, 30, 30);
		cm.teachSkill(1201007, 30, 30);
		cm.teachSkill(1201004, 20, 20);
		cm.teachSkill(1200000, 20, 20);
		cm.teachSkill(1201006, 20, 20);
		}		
					cm.dispose();
	if (selection == 12) {
		cm.changeJob(net.sf.odinms.client.MapleJob.FIGHTER);
		cm.sendSimple("You are now a Fighter and I have maxed your skills!");
		cm.teachSkill(1101005, 20, 20);
		cm.teachSkill(1100001, 20, 20);
		cm.teachSkill(1100003, 30, 30);
		cm.teachSkill(1101002, 30, 30);
		cm.teachSkill(1101007, 30, 30);
		cm.teachSkill(1101006, 20, 20);
		cm.teachSkill(1101004, 20, 20);
		cm.teachSkill(1100000, 20, 20);
		}		
					cm.dispose();
	if (selection == 13) {
		cm.changeJob(net.sf.odinms.client.MapleJob.SPEARMAN);
	cm.sendSimple("You are now a Spearman and I maxed your skills");
	cm.teachSkill(1300003, 30, 30);
	cm.teachSkill(1300002, 30, 30);
	cm.teachSkill(1301007, 30, 30);
	cm.teachSkill(1301006, 20, 20);
	cm.teachSkill(1301005, 20, 20);
	cm.teachSkill(1300001, 20, 20);
	cm.teachSkill(1301004, 20, 20);
	cm.teachSkill(1300000, 20, 20);
		}
		}
Some credits to the guy who gave me the cody script (Nana Ms dev?)

Looks very nice =D
Good job!
ima test it later :jester:
 
Banned
Banned
Joined
Apr 6, 2008
Messages
120
Reaction score
0
Re: [Release] Duey + Cody in one NPC :D

hey does this bug or does it have repellant?
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [Release] Duey + Cody in one NPC :D

Too tired right now... I just tried it in my server.. Talking and everything works.. But if i messed up on a skill id please post here. Night.
 
Experienced Elementalist
Joined
Jul 18, 2008
Messages
232
Reaction score
0
Re: [Release] Duey + Cody in one NPC :D

Pretty cool another free NPC to use :)
 
Newbie Spellweaver
Joined
Jun 22, 2008
Messages
36
Reaction score
0
Re: [Release] Duey + Cody in one NPC :D

Haha, Thanks, someone suggested this on my thread but I was too lazy to do it =P
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [Release] Duey + Cody in one NPC :D

Vitrify you fucked up saving jobs >_>
Now people rollback when they go to 4th job...
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [Release] Duey + Cody in one NPC :D

w/e i'll release my cody later
 
Initiate Mage
Joined
Aug 5, 2007
Messages
3
Reaction score
0
Re: [Release] Duey + Cody in one NPC :D

Noob Guide Please?
 
Master Summoner
Joined
Apr 29, 2008
Messages
534
Reaction score
3
Re: [Release] Duey + Cody in one NPC :D

Nice one. One NPC can do two jobs at the same time.
 
Newbie Spellweaver
Joined
Jul 15, 2008
Messages
16
Reaction score
0
Re: [Release] Duey + Cody in one NPC :D

Is it possible to have a conversion Made that will work for Titan 2.0.0 ? Please...
 
Newbie Spellweaver
Joined
Dec 2, 2006
Messages
74
Reaction score
0
Re: [Release] Duey + Cody in one NPC :D

nice release, some ppl in my server says it dont max all their skills tho
 
Initiate Mage
Joined
Jul 27, 2008
Messages
4
Reaction score
0
Re: [Release] Duey + Cody in one NPC :D

This causes roll backs because I think i missed a skill id or something...

It causes rollback because wrong master skill level/skill id.
some fixes...
Chiefbandit: cm.teachSkill(4210000,30,30); should have 20,20
Priest: cm.teachSkill(2310000,20,20); should have 30,30
Ranger: cm.teachSkill(3111004, 20, 20); is 2 times, bottom should be: cm.teachSkill(3111000, 20, 20);
Crusader: cm.teachSkill(1110001, 30, 30); should have 20,20
Nightlord:cm.teachSkill(4120007, 30, 30); should be cm.teachSkill(4121007,30,30);
Bishop: Missing rez? cm.teachSkill(2321006,30,30);
FP archmage:cm.teachSkill(2121001, 30, 30); is 2 times

Instead of 0/0 at 4th job skills, just leave out?
I searched&fixed bugs from 3rd job to 4th job bowmaster in same order than script lists them. btw didnt check shadower.

Its your script fix rest -___-
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [Release] Duey + Cody in one NPC :D

I left it as 0/0 so people aren't able to max it >_>
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [Release] Duey + Cody in one NPC :D

Anyways... I fixed it... I'm gonna edit first post now
 
Elite Diviner
Joined
Apr 24, 2008
Messages
416
Reaction score
2
Re: [Release] Duey + Cody in one NPC :D

n1 dude i <3 should be workin that would make my duey a free npc xD
 
Elite Diviner
Joined
Jun 19, 2008
Messages
463
Reaction score
1
Re: [Release] Duey + Cody in one NPC :D

lol, great Job.
 
Experienced Elementalist
Joined
May 19, 2008
Messages
281
Reaction score
0
Re: [Release] Duey + Cody in one NPC :D

Is it updated already? :D
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [Release] Duey + Cody in one NPC :D

lol sorry didnt update yet... fell asleep
 
Back
Top