addskill command

Page 1 of 2 12 LastLast
Results 1 to 25 of 29
  1. #1
    Apprentice doublea2k7 is offline
    MemberRank
    Feb 2008 Join Date
    21Posts

    addskill command

    since i quit codin here is a command i had

    here is how u use it !addskill 10 Maple Warrior will add 10 to maple warrior

    Code:
    }   else if (splitted[0].equals("!addskill")){
                                int spup;
                                spup = Integer.parseInt(splitted[1]);
                                int remainingSp = player.getRemainingSp();
                                if ( remainingSp < spup ||  player.getRemainingSp() < 0) {
                                mc.dropMessage("Insufficient SP");
                         } else if ( remainingSp > 0 && spup > 0) {
                    int skillID = 0;                
                    String type = StringUtil.joinStringFrom(splitted, 2);                             
                    if (player.getJob().equals(MapleJob.FIGHTER))  {
                    
                        if(type.equals("Axe Booster"))
                        skillID = 1101005;
                    
                    else if(type.equals("Axe Mastery"))
                        skillID = 1100001;
                                   
                    else if(type.equals("Final Attack : Axe"))
                        skillID = 1100003;                                                           
                    
                    else if(type.equals("Final Attack : Sword"))
                        skillID = 1100002;     
    
                    else if(type.equals("Power Guard"))
                        skillID = 1101007; 
    
                    else if(type.equals("Rage"))
                        skillID = 1101006;          
                                   
                    else if(type.equals("Sword Booster"))
                        skillID =1101004 ;
                                   
                    else if(type.equals("Sword Mastery"))
                        skillID = 1100000;
                    } else  if (player.getJob().equals(MapleJob.CRUSADER))  {
                    
                        if(type.equals("Armor Crash"))
    skillID = 1111007;
    
    else if(type.equals("Coma: Axe"))
    skillID = 1111006;
    
    else if(type.equals("Coma: Sword"))
    skillID = 1111005;
    
    else if(type.equals("Combo Attack"))
    skillID = 1111002;
    
    else if(type.equals("Improving MP recovery"))
    skillID = 1110000;
    
    else if(type.equals("Panic: Axe"))
    skillID = 1111004;
    
    else if(type.equals("Panic: Sword"))
    skillID = 1111003;
    
    
    else if(type.equals("Shield Mastery"))
    skillID = 1110001;
    
    
    else if(type.equals("Shout"))
    skillID = 1111008; 
    
    else if(type.equals("Axe Booster"))
                        skillID = 1101005;
                    
                    else if(type.equals("Axe Mastery"))
                        skillID = 1100001;
                                   
                    else if(type.equals("Final Attack : Axe"))
                        skillID = 1100003;                                                           
                    
                    else if(type.equals("Final Attack : Sword"))
                        skillID = 1100002;     
    
                    else if(type.equals("Power Guard"))
                        skillID = 1101007; 
    
                    else if(type.equals("Rage"))
                        skillID = 1101006;          
                                   
                    else if(type.equals("Sword Booster"))
                        skillID =1101004 ;
                                   
                    else if(type.equals("Sword Mastery"))
                        skillID = 1100000;
                        
                    } else  if (player.getJob().equals(MapleJob.HERO))  {
                        
                        if(type.equals("Achilles"))
    skillID = 1120004;
    
    else if(type.equals("Awakening"))
    skillID = 1121011;
    
    else if(type.equals("Advanced Combo"))
    skillID = 1120003;
    
    else if(type.equals("Brandish"))
    skillID = 1121008;
    
    else if(type.equals("Enrage"))
    skillID = 1121010;
    
    else if(type.equals("Maple Warrior"))
    skillID = 1121000;
    
    else if(type.equals("Monster Magnet"))
    skillID = 1121001;
    
    else if(type.equals("Stance"))
    skillID = 1121002;
    
    else if(type.equals("Rush"))
    skillID = 1121006;
                        
    else  if(type.equals("Armor Crash"))
    skillID = 1111007;
    
    else if(type.equals("Coma: Axe"))
    skillID = 1111006;
    
    else if(type.equals("Coma: Sword"))
    skillID = 1111005;
    
    else if(type.equals("Combo Attack"))
    skillID = 1111002;
    
    else if(type.equals("Improving MP recovery"))
    skillID = 1110000;
    
    else if(type.equals("Panic: Axe"))
    skillID = 1111004;
    
    else if(type.equals("Panic: Sword"))
    skillID = 1111003;
    
    
    else if(type.equals("Shield Mastery"))
    skillID = 1110001;
    
    
    else if(type.equals("Shout"))
    skillID = 1111008; 
    
    else if(type.equals("Axe Booster"))
                        skillID = 1101005;
                    
                    else if(type.equals("Axe Mastery"))
                        skillID = 1100001;
                                   
                    else if(type.equals("Final Attack : Axe"))
                        skillID = 1100003;                                                           
                    
                    else if(type.equals("Final Attack : Sword"))
                        skillID = 1100002;     
    
                    else if(type.equals("Power Guard"))
                        skillID = 1101007; 
    
                    else if(type.equals("Rage"))
                        skillID = 1101006;          
                                   
                    else if(type.equals("Sword Booster"))
                        skillID =1101004 ;
                                   
                    else if(type.equals("Sword Mastery"))
                        skillID = 1100000;
                    } else  if (player.getJob().equals(MapleJob.PAGE))  {
                        
                     if(type.equals("BW Booster"))
    skillID = 1201005;
    
    
    else if(type.equals("BW Mastery"))
    skillID = 1200001;
    
    else if(type.equals("Final Attack : BW"))
    skillID = 1200003;
    
    else if(type.equals("Final Attack : Sword"))
    skillID = 1200002;
    
    else if(type.equals("Power Guard"))
    skillID = 1201007;
    
    else if(type.equals("Sword Booster"))
    skillID = 1201004;
    
    else if(type.equals("Sword Mastery"))
    skillID = 1200000;
    
    else if(type.equals("Threaten"))
    skillID = 1201006;
                    } else  if (player.getJob().equals(MapleJob.WHITEKNIGHT))  {
                        
                     if(type.equals("Blizzard Charge: BW"))
    skillID = 1211006;
    
    else if(type.equals("Charged Blow"))
    skillID = 1211002;
    
    else if(type.equals("Fire Charge: BW"))
    skillID = 1211004;
    
    else if(type.equals("Fire Charge: Sword"))
    skillID = 1211003;
    
    else if(type.equals("Ice Charge: Sword"))
    skillID = 1211005;
    
    else if(type.equals("Improving MP recovery"))
    skillID = 1210000;
    
    else if(type.equals("Lightning Charge: BW"))
    skillID = 1211008;
    
    else if(type.equals("Magic Crash"))
    skillID = 1211009;
    
    else if(type.equals("Shield Mastery"))
    skillID = 1210001;
    
    else if(type.equals("Thunder Charge: Sword "))
    skillID = 1211007;   
                     
    else if(type.equals("BW Booster"))
    skillID = 1201005;
    
    
    else if(type.equals("BW Mastery"))
    skillID = 1200001;
    
    else if(type.equals("Final Attack : BW"))
    skillID = 1200003;
    
    else if(type.equals("Final Attack : Sword"))
    skillID = 1200002;
    
    else if(type.equals("Power Guard"))
    skillID = 1201007;
    
    else if(type.equals("Sword Booster"))
    skillID = 1201004;
    
    else if(type.equals("Sword Mastery"))
    skillID = 1200000;
    
    else if(type.equals("Threaten"))
    skillID = 1201006;
                    } else  if (player.getJob().equals(MapleJob.PALADIN))  {
                        
                     if(type.equals("Achilles"))
    skillID = 1220005;
    
    else if(type.equals("Awakening"))
    skillID = 1221012;
    
    else if(type.equals("Advanced Charge"))
    skillID = 1220010;
    
    else if(type.equals("Blast"))
    skillID = 1221009;
    
    else if(type.equals("Diving Charge: Mace"))
    skillID = 1221004;
    
    else if(type.equals("Holy Charge: Sword"))
    skillID = 1221003;
    
    else if(type.equals("Maple Warrior"))
    skillID = 1221000;
    
    else if(type.equals("Monster Magnet"))
    skillID = 1221001;
    
    else if(type.equals("Stance"))
    skillID = 1221002;
    
    else if(type.equals("Rush"))
    skillID = 1221007;
    
    else if(type.equals("Heaven's Hammer"))
    skillID = 1221011;  
                     
    else if(type.equals("Blizzard Charge: BW"))
    skillID = 1211006;
    
    else if(type.equals("Charged Blow"))
    skillID = 1211002;
    
    else if(type.equals("Fire Charge: BW"))
    skillID = 1211004;
    
    else if(type.equals("Fire Charge: Sword"))
    skillID = 1211003;
    
    else if(type.equals("Ice Charge: Sword"))
    skillID = 1211005;
    
    else if(type.equals("Improving MP recovery"))
    skillID = 1210000;
    
    else if(type.equals("Lightning Charge: BW"))
    skillID = 1211008;
    
    else if(type.equals("Magic Crash"))
    skillID = 1211009;
    
    else if(type.equals("Shield Mastery"))
    skillID = 1210001;
    
    else if(type.equals("Thunder Charge: Sword "))
    skillID = 1211007;   
                     
    else if(type.equals("BW Booster"))
    skillID = 1201005;
    
    
    else if(type.equals("BW Mastery"))
    skillID = 1200001;
    
    else if(type.equals("Final Attack : BW"))
    skillID = 1200003;
    
    else if(type.equals("Final Attack : Sword"))
    skillID = 1200002;
    
    else if(type.equals("Power Guard"))
    skillID = 1201007;
    
    else if(type.equals("Sword Booster"))
    skillID = 1201004;
    
    else if(type.equals("Sword Mastery"))
    skillID = 1200000;
    
    else if(type.equals("Threaten"))
    skillID = 1201006;
                    } else  if (player.getJob().equals(MapleJob.SPEARMAN))  {
                    if(type.equals("Final Attack : Pole Arm"))
    skillID = 1300003;
    
    else if(type.equals("Final Attack : Spear"))
    skillID = 1300002;
    
    else if(type.equals("Hyper Body"))
    skillID = 1301007;
    
    else if(type.equals("Iron Will"))
    skillID = 1301006;
    
    else if(type.equals("Pole Arm Booster"))
    skillID = 1301005;
    
    else if(type.equals("Pole Arm Mastery"))
    skillID = 1300001;
    
    else if(type.equals("Spear Booster"))
    skillID = 1301004;
    
    else if(type.equals("Spear Mastery"))
    skillID = 1300000; 
                        
                    } else  if (player.getJob().equals(MapleJob.DRAGONKNIGHT))  {
                        
                    if(type.equals("Dragon Blood"))
    skillID =1311008;
    
    else if(type.equals("Dragon Fury: Pole Arm"))
    skillID = 1311004;
    
    else if(type.equals("Dragon Fury: Spear"))
    skillID = 1311003;
    
    else if(type.equals("Dragon Roar"))
    skillID = 1311006;
    
    else if(type.equals("Elemental Resistance"))
    skillID = 1310000;
    
    else if(type.equals("Pole Arm Crusher"))
    skillID = 1311002;
    
    else if(type.equals("Power Crash"))
    skillID = 1311007;
    
    else if(type.equals("Sacrifice"))
    skillID = 1311005;
    
    else if(type.equals("Spear Crusher"))
    skillID = 1311001;  
                    
    else if(type.equals("Final Attack : Pole Arm"))
    skillID = 1300003;
    
    else if(type.equals("Final Attack : Spear"))
    skillID = 1300002;
    
    else if(type.equals("Hyper Body"))
    skillID = 1301007;
    
    else if(type.equals("Iron Will"))
    skillID = 1301006;
    
    else if(type.equals("Pole Arm Booster"))
    skillID = 1301005;
    
    else if(type.equals("Pole Arm Mastery"))
    skillID = 1300001;
    
    else if(type.equals("Spear Booster"))
    skillID = 1301004;
    
    else if(type.equals("Spear Mastery"))
    skillID = 1300000; 
                    } else  if (player.getJob().equals(MapleJob.DARKKNIGHT))  {
                        
                     if(type.equals("Achilles"))
    skillID = 1320005;
    
    else if(type.equals("Awakening"))
    skillID = 1321010;
    
    else if(type.equals("Beholder"))
    skillID = 1321007;
    
    else if(type.equals("Hex of the Beholder"))
    skillID = 1320009;
    
    else if(type.equals("Aura of the Beholder"))
    skillID = 1320008;
    
    else if(type.equals("Berserk"))
    skillID = 1320006;
    
    else if(type.equals("Maple Warrior"))
    skillID = 1321000;
    
    else if(type.equals("Monster Magnet"))
    skillID = 1321001;
    
    else if(type.equals("Rush"))
    skillID = 1321003;
    
    else if(type.equals("Stance"))
    skillID = 1321002;
                     
    else if(type.equals("Dragon Blood"))
    skillID =1311008;
    
    else if(type.equals("Dragon Fury: Pole Arm"))
    skillID = 1311004;
    
    else if(type.equals("Dragon Fury: Spear"))
    skillID = 1311003;
    
    else if(type.equals("Dragon Roar"))
    skillID = 1311006;
    
    else if(type.equals("Elemental Resistance"))
    skillID = 1310000;
    
    else if(type.equals("Pole Arm Crusher"))
    skillID = 1311002;
    
    else if(type.equals("Power Crash"))
    skillID = 1311007;
    
    else if(type.equals("Sacrifice"))
    skillID = 1311005;
    
    else if(type.equals("Spear Crusher"))
    skillID = 1311001;  
                    
    else if(type.equals("Final Attack : Pole Arm"))
    skillID = 1300003;
    
    else if(type.equals("Final Attack : Spear"))
    skillID = 1300002;
    
    else if(type.equals("Hyper Body"))
    skillID = 1301007;
    
    else if(type.equals("Iron Will"))
    skillID = 1301006;
    
    else if(type.equals("Pole Arm Booster"))
    skillID = 1301005;
    
    else if(type.equals("Pole Arm Mastery"))
    skillID = 1300001;
    
    else if(type.equals("Spear Booster"))
    skillID = 1301004;
    
    else if(type.equals("Spear Mastery"))
    skillID = 1300000; 
                    } else  if (player.getJob().equals(MapleJob.FP_WIZARD))  {
                        
                   if(type.equals("Fire Arrow"))
    skillID = 2101004;
    
    else if(type.equals("Meditation"))
    skillID = 2101001;
    
    else if(type.equals("MP Eater"))
    skillID = 2100000;
    
    else if(type.equals("Poison Brace"))
    skillID = 2101005;
    
    else if(type.equals("Slow"))
    skillID = 2101003;
    
    else if(type.equals("Teleport"))
    skillID = 2101002;   
                    } else  if (player.getJob().equals(MapleJob.FP_MAGE))  {
                        
                     if(type.equals("Element Amplification"))
    skillID = 2110001;
    
    else if(type.equals("Element Composition"))
    skillID = 2111006;
    
    else if(type.equals("Explosion"))
    skillID = 2111002;
    
    else if(type.equals("Partial Resistance"))
    skillID = 2110000;
    
    else if(type.equals("Poison Mist"))
    skillID = 2111003;
    
    else if(type.equals("Seal"))
    skillID = 2111004;
    
    else if(type.equals("Spell Booster"))
    skillID = 2111005; 
                     
    else if(type.equals("Fire Arrow"))
    skillID = 2101004;
    
    else if(type.equals("Meditation"))
    skillID = 2101001;
    
    else if(type.equals("MP Eater"))
    skillID = 2100000;
    
    else if(type.equals("Poison Brace"))
    skillID = 2101005;
    
    else if(type.equals("Slow"))
    skillID = 2101003;
    
    else if(type.equals("Teleport"))
    skillID = 2101002;   
                    } else  if (player.getJob().equals(MapleJob.FP_ARCHMAGE))  {
                        
                    if(type.equals("Awakening"))
    skillID = 2121008;
    
    else if(type.equals("Big Bang"))
    skillID = 2121001;
    
    else if(type.equals("Elquines"))
    skillID = 2121005;
    
    else if(type.equals("Fire Demon"))
    skillID = 2121003;
    
    else if(type.equals("Meteor Shower"))
    skillID = 2121007;
    
    else if(type.equals("Ifrit"))
    skillID = 2221005;
    
    else if(type.equals("Infinity"))
    skillID = 2121004;
    
    
    else if(type.equals("Maple Warrior"))
    skillID = 2121000;
    
    else if(type.equals("Paralyze"))
    skillID = 2121006;  
                    
    else if(type.equals("Element Amplification"))
    skillID = 2110001;
    
    else if(type.equals("Element Composition"))
    skillID = 2111006;
    
    else if(type.equals("Explosion"))
    skillID = 2111002;
    
    else if(type.equals("Partial Resistance"))
    skillID = 2110000;
    
    else if(type.equals("Poison Mist"))
    skillID = 2111003;
    
    else if(type.equals("Seal"))
    skillID = 2111004;
    
    else if(type.equals("Spell Booster"))
    skillID = 2111005; 
                     
    else if(type.equals("Fire Arrow"))
    skillID = 2101004;
    
    else if(type.equals("Meditation"))
    skillID = 2101001;
    
    else if(type.equals("MP Eater"))
    skillID = 2100000;
    
    else if(type.equals("Poison Brace"))
    skillID = 2101005;
    
    else if(type.equals("Slow"))
    skillID = 2101003;
    
    else if(type.equals("Teleport"))
    skillID = 2101002;   
                    } else  if (player.getJob().equals(MapleJob.IL_WIZARD))  {
                     
                    if(type.equals("Cold Beam"))
    skillID = 2201004;
    
    else if(type.equals("Meditation"))
    skillID = 2201001;
    
    else if(type.equals("MP Eater"))
    skillID = 2200000;
    
    else if(type.equals("Slow"))
    skillID = 2201003;
    
    else if(type.equals("Teleport"))
    skillID = 2201002;
    
    else if(type.equals("Thunderbolt"))
    skillID = 2201005;
                    } else  if (player.getJob().equals(MapleJob.IL_MAGE)) {
                        
                    if(type.equals("Element Amplification"))
    skillID = 2210001;
    
    else if(type.equals("Element Composition"))
    skillID = 2211006;
    
    else if(type.equals("Ice Strike"))
    skillID = 2211002;
    
    else if(type.equals("Partial Resistance"))
    skillID = 2210000;
    
    else if(type.equals("Seal"))
    skillID = 2211004;
    
    else if(type.equals("Spell Booster"))
    skillID = 2211005;
    
    else if(type.equals("Thunder Spear"))
    skillID = 2211003;   
                    
    else  if(type.equals("Cold Beam"))
    skillID = 2201004;
    
    else if(type.equals("Meditation"))
    skillID = 2201001;
    
    else if(type.equals("MP Eater"))
    skillID = 2200000;
    
    else if(type.equals("Slow"))
    skillID = 2201003;
    
    else if(type.equals("Teleport"))
    skillID = 2201002;
    
    else if(type.equals("Thunderbolt"))
    skillID = 2201005;
                    } else  if (player.getJob().equals(MapleJob.IL_ARCHMAGE)) {
                        
                     if(type.equals("Awakening"))
    skillID = 2221008;
    
    else if(type.equals("Big Bang"))
    skillID = 2221001;
    
    else if(type.equals("Blizzard"))
    skillID = 2221007;
    
    else if(type.equals("Chain Lightning"))
    skillID = 2221006;
    
    else if(type.equals("Ice Demon"))
    skillID = 2221003;
    
    else if(type.equals("Ifrit"))
    skillID = 2221005;
    
    else if(type.equals("Infinity"))
    skillID = 2221004;
    
    
    else if(type.equals("Maple Warrior"))
    skillID = 2221000;   
                     
    else if(type.equals("Element Amplification"))
    skillID = 2210001;
    
    else if(type.equals("Element Composition"))
    skillID = 2211006;
    
    else if(type.equals("Ice Strike"))
    skillID = 2211002;
    
    else if(type.equals("Partial Resistance"))
    skillID = 2210000;
    
    else if(type.equals("Seal"))
    skillID = 2211004;
    
    else if(type.equals("Spell Booster"))
    skillID = 2211005;
    
    else if(type.equals("Thunder Spear"))
    skillID = 2211003;   
                    
    else  if(type.equals("Cold Beam"))
    skillID = 2201004;
    
    else if(type.equals("Meditation"))
    skillID = 2201001;
    
    else if(type.equals("MP Eater"))
    skillID = 2200000;
    
    else if(type.equals("Slow"))
    skillID = 2201003;
    
    else if(type.equals("Teleport"))
    skillID = 2201002;
    
    else if(type.equals("Thunderbolt"))
    skillID = 2201005;
                    } else  if (player.getJob().equals(MapleJob.CLERIC)) {
                                        
                    if(type.equals("Bless"))
    skillID = 2301004;
    
    
    else if(type.equals("Heal"))
    skillID = 2301002;
    
    else if(type.equals("Holy Arrow"))
    skillID = 2301005;
    
    else if(type.equals("Invincible"))
    skillID = 2301003;
    
    else if(type.equals("MP Eater"))
    skillID = 2300000;
    
    else if(type.equals("Teleport"))
    skillID = 2301001;  
                        
                    } else  if (player.getJob().equals(MapleJob.PRIEST)) {
                       
                     if(type.equals("Dispel"))
    skillID = 2311001;
    
    else if(type.equals("Doom"))
    skillID = 2311005;
    
    else if(type.equals("Elemental Resistance"))
    skillID = 2310000;
    
    else if(type.equals("Holy Symbol"))
    skillID = 2311003;
    
    else if(type.equals("Mystic Door"))
    skillID = 2311002;
    
    else if(type.equals("Shining Ray"))
    skillID = 2311004;
    
    else if(type.equals("Summon Dragon"))
    skillID = 2311006;
                        
    else if(type.equals("Bless"))
    skillID = 2301004;
    
    
    else if(type.equals("Heal"))
    skillID = 2301002;
    
    else if(type.equals("Holy Arrow"))
    skillID = 2301005;
    
    else if(type.equals("Invincible"))
    skillID = 2301003;
    
    else if(type.equals("MP Eater"))
    skillID = 2300000;
    
    else if(type.equals("Teleport"))
    skillID = 2301001;  
                    } else  if (player.getJob().equals(MapleJob.BISHOP)) {
                      
                   if(type.equals("Angel Ray"))
    skillID = 2321007;
    
    else if(type.equals("Awakening"))
    skillID = 2321009;
    
    else if(type.equals("Bahamut"))
    skillID = 2321003;
    
    else if(type.equals("Maple Warrior"))
    skillID = 2321000;
    
    else if(type.equals("Big Bang"))
    skillID = 2321001;
    
    else if(type.equals("Genesis"))
    skillID = 2321008;
    
    else if(type.equals("Infinity"))
    skillID = 2321004;
    
    else if(type.equals("Resurrection"))
    skillID = 2321006;
    
    else if(type.equals("Dispel"))
    skillID = 2311001;
    
    else if(type.equals("Doom"))
    skillID = 2311005;
    
    else if(type.equals("Elemental Resistance"))
    skillID = 2310000;
    
    else if(type.equals("Holy Symbol"))
    skillID = 2311003;
    
    else if(type.equals("Mystic Door"))
    skillID = 2311002;
    
    else if(type.equals("Shining Ray"))
    skillID = 2311004;
    
    else if(type.equals("Summon Dragon"))
    skillID = 2311006;
                        
    else if(type.equals("Bless"))
    skillID = 2301004;
    
    
    else if(type.equals("Heal"))
    skillID = 2301002;
    
    else if(type.equals("Holy Arrow"))
    skillID = 2301005;
    
    else if(type.equals("Invincible"))
    skillID = 2301003;
    
    else if(type.equals("MP Eater"))
    skillID = 2300000;
    
    else if(type.equals("Teleport"))
    skillID = 2301001;  
                        
                    } else  if (player.getJob().equals(MapleJob.HUNTER)) {
                        
                   if(type.equals("Arrow Bomb : Bow"))
    skillID = 3101005;
    
    
    else if(type.equals("Bow Booster"))
    skillID = 3101002;
    
    else if(type.equals("Bow Mastery"))
    skillID = 3100000;
    
    else if(type.equals("Final Attack : Bow"))
    skillID = 3100001;
    
    else if(type.equals("Power Knock-Back"))
    skillID = 3101003;
    
    else if(type.equals("Soul Arrow : Bow"))
    skillID = 3101004;  
                    } else  if (player.getJob().equals(MapleJob.RANGER)) {
                       
                      if(type.equals("Arrow Rain"))
    skillID = 3111004;
    
    else if(type.equals("Inferno"))
    skillID = 3111003;
    
    else if(type.equals("Mortal Blow"))
    skillID = 3110001;
    
    else if(type.equals("Puppet"))
    skillID = 3111002;
    
    else if(type.equals("Silver Hawk"))
    skillID = 3111005;
    
    else if(type.equals("Strafe"))
    skillID = 3111006;
    
    else if(type.equals("Thrust"))
    skillID = 3110000;
                      
    else if(type.equals("Arrow Bomb : Bow"))
    skillID = 3101005;
    
    
    else if(type.equals("Bow Booster"))
    skillID = 3101002;
    
    else if(type.equals("Bow Mastery"))
    skillID = 3100000;
    
    else if(type.equals("Final Attack : Bow"))
    skillID = 3100001;
    
    else if(type.equals("Power Knock-Back"))
    skillID = 3101003;
    
    else if(type.equals("Soul Arrow : Bow"))
    skillID = 3101004;  
                        
                    } else  if (player.getJob().equals(MapleJob.BOWMASTER)) {
                        
                   if(type.equals("Awakening"))
    skillID = 3121009;
    
    else if(type.equals("Bow Expert"))
    skillID = 3120005;
    
    else if(type.equals("Concentrate"))
    skillID = 3121008;
    
    else if(type.equals("Dragon's Breath"))
    skillID = 3121003;
    
    else if(type.equals("Hamstring"))
    skillID = 3121007;
    
    else if(type.equals("Maple Warrior"))
    skillID = 3121000;
    
    else if(type.equals("Phoenix"))
    skillID = 3121006;
    
    else if(type.equals("Sharp Eyes"))
    skillID = 3121002;
    
    else if(type.equals("Hurricane"))
    skillID = 3121004; 
                   
    else if(type.equals("Arrow Rain"))
    skillID = 3111004;
    
    else if(type.equals("Inferno"))
    skillID = 3111003;
    
    else if(type.equals("Mortal Blow"))
    skillID = 3110001;
    
    else if(type.equals("Puppet"))
    skillID = 3111002;
    
    else if(type.equals("Silver Hawk"))
    skillID = 3111005;
    
    else if(type.equals("Strafe"))
    skillID = 3111006;
    
    else if(type.equals("Thrust"))
    skillID = 3110000;
                      
    else if(type.equals("Arrow Bomb : Bow"))
    skillID = 3101005;
    
    
    else if(type.equals("Bow Booster"))
    skillID = 3101002;
    
    else if(type.equals("Bow Mastery"))
    skillID = 3100000;
    
    else if(type.equals("Final Attack : Bow"))
    skillID = 3100001;
    
    else if(type.equals("Power Knock-Back"))
    skillID = 3101003;
    
    else if(type.equals("Soul Arrow : Bow"))
    skillID = 3101004; 
                    } else  if (player.getJob().equals(MapleJob.CROSSBOWMAN)) {
                        
                     if(type.equals("Crossbow Booster"))
    skillID = 3201002;
    
    else if(type.equals("Crossbow Mastery"))
    skillID = 3200000;
    
    else if(type.equals("Final Attack : Crossbow"))
    skillID = 3200001;
    
    else if(type.equals("Iron Arrow : Crossbow"))
    skillID = 3201005;
    
    else if(type.equals("Power Knock-Back"))
    skillID = 3201003;
    
    else if(type.equals("Soul Arrow : Crossbow"))
    
    skillID = 3201004;
                    } else  if (player.getJob().equals(MapleJob.SNIPER)) {
                        
                    if(type.equals("Arrow Eruption"))
    skillID = 3211004;
    
    else if(type.equals("Blizzard"))
    skillID = 3211003;
    
    else if(type.equals("Golden Eagle"))
    skillID = 3211005;
    
    else if(type.equals("Mortal Blow"))
    skillID = 3210001;
    
    else if(type.equals("Puppet"))
    skillID = 3211002;
    
    else if(type.equals("Strafe"))
    skillID = 3211006;
    
    else if(type.equals("Thrust"))
    skillID = 3210000;   
                    
    else if(type.equals("Crossbow Booster"))
    skillID = 3201002;
    
    else if(type.equals("Crossbow Mastery"))
    skillID = 3200000;
    
    else if(type.equals("Final Attack : Crossbow"))
    skillID = 3200001;
    
    else if(type.equals("Iron Arrow : Crossbow"))
    skillID = 3201005;
    
    else if(type.equals("Power Knock-Back"))
    skillID = 3201003;
    
    else if(type.equals("Soul Arrow : Crossbow"))
    
    skillID = 3201004;
                    } else  if (player.getJob().equals(MapleJob.CROSSBOWMASTER)) {
                        
                    if(type.equals("Blind"))
    skillID = 3221006;
    
    else if(type.equals("Awakening"))
    skillID = 3221008;
    
    else if(type.equals("Crossbow Expert"))
    skillID = 3220004;
    
    else if(type.equals("Dragon's Breath"))
    skillID = 3221003;
    
    else if(type.equals("Maple Warrior"))
    skillID = 3221000;
    
    else if(type.equals("Frostprey"))
    skillID = 3221005;
    
    else if(type.equals("Piercing Arrow"))
    skillID = 3221001;
    
    else if(type.equals("Sharp Eyes"))
    skillID = 3221002;
    
    else if(type.equals("Snipe"))
    skillID = 3221007;
                        
    else if(type.equals("Arrow Eruption"))
    skillID = 3211004;
    
    else if(type.equals("Blizzard"))
    skillID = 3211003;
    
    else if(type.equals("Golden Eagle"))
    skillID = 3211005;
    
    else if(type.equals("Mortal Blow"))
    skillID = 3210001;
    
    else if(type.equals("Puppet"))
    skillID = 3211002;
    
    else if(type.equals("Strafe"))
    skillID = 3211006;
    
    else if(type.equals("Thrust"))
    skillID = 3210000;   
                    
    else if(type.equals("Crossbow Booster"))
    skillID = 3201002;
    
    else if(type.equals("Crossbow Mastery"))
    skillID = 3200000;
    
    else if(type.equals("Final Attack : Crossbow"))
    skillID = 3200001;
    
    else if(type.equals("Iron Arrow : Crossbow"))
    skillID = 3201005;
    
    else if(type.equals("Power Knock-Back"))
    skillID = 3201003;
    
    else if(type.equals("Soul Arrow : Crossbow"))
    
    skillID = 3201004;
                    
                    } else  if (player.getJob().equals(MapleJob.ASSASSIN)) {
                        
                    if(type.equals("Claw Mastery"))
    skillID = 4100000;
    
    else if(type.equals("Critical Throw"))
    skillID = 4100001;
    
    else if(type.equals("Endure"))
    skillID = 4100002;
    
    else if(type.equals("Claw Booster"))
    skillID = 4101003;
    
    else if(type.equals("Haste"))
    skillID = 4101004;
    
    else if(type.equals("Drain"))
    skillID = 4101005;
                    } else  if (player.getJob().equals(MapleJob.HERMIT)) {
                        
                  if(type.equals("Alchemist"))
    skillID = 4110000;
    
    else if(type.equals("Avenger"))
    skillID = 4111005;
    
    else if(type.equals("Flash Jump"))
    skillID = 4111006;
    
    else if(type.equals("Meso Up"))
    skillID = 4111001;
    
    else if(type.equals("Shadow Meso"))
    skillID = 4111004;
    
    else if(type.equals("Shadow Partner"))
    skillID = 4111002;
    
    else if(type.equals("Shadow Web"))
    skillID = 4111003;
                  
    else if(type.equals("Claw Mastery"))
    skillID = 4100000;
    
    else if(type.equals("Critical Throw"))
    skillID = 4100001;
    
    else if(type.equals("Endure"))
    skillID = 4100002;
    
    else if(type.equals("Claw Booster"))
    skillID = 4101003;
    
    else if(type.equals("Haste"))
    skillID = 4101004;
    
    else if(type.equals("Drain"))
    skillID = 4101005;
                    } else  if (player.getJob().equals(MapleJob.NIGHTLORD)) {
                        
                     if(type.equals("Awakening"))
    skillID = 4121009;
    
    else if(type.equals("Maple Warrior"))
    skillID = 4121000;
    
    else if(type.equals("Ninja Ambush"))
    skillID = 4121004;
    
    else if(type.equals("Ninja Storm"))
    skillID = 4121008;
    
    else if(type.equals("Taunt"))
    skillID = 4121003;
    
    else if(type.equals("Shadow Claw"))
    skillID = 4121006 ;
    
    else if(type.equals("Triple Throw"))
    skillID = 4121007;
    
    else if(type.equals("Venomous Star"))
    skillID = 4120005;
                     
    else if(type.equals("Alchemist"))
    skillID = 4110000;
    
    else if(type.equals("Avenger"))
    skillID = 4111005;
    
    else if(type.equals("Flash Jump"))
    skillID = 4111006;
    
    else if(type.equals("Meso Up"))
    skillID = 4111001;
    
    else if(type.equals("Shadow Meso"))
    skillID = 4111004;
    
    else if(type.equals("Shadow Partner"))
    skillID = 4111002;
    
    else if(type.equals("Shadow Web"))
    skillID = 4111003;
                  
    else if(type.equals("Claw Mastery"))
    skillID = 4100000;
    
    else if(type.equals("Critical Throw"))
    skillID = 4100001;
    
    else if(type.equals("Endure"))
    skillID = 4100002;
    
    else if(type.equals("Claw Booster"))
    skillID = 4101003;
    
    else if(type.equals("Haste"))
    skillID = 4101004;
    
    else if(type.equals("Drain"))
    skillID = 4101005;
                    } else  if (player.getJob().equals(MapleJob.BANDIT)) {
                        
                     if(type.equals("Dagger Booster"))
    skillID = 4201002;
    
    else if(type.equals("Dagger Mastery"))
    skillID = 4200000;
    
    else if(type.equals("Endure"))
    skillID = 4200001;
    
    else if(type.equals("Haste"))
    skillID = 4201003;
    
    else if(type.equals("Savage Blow"))
    skillID = 4201005;
    
    else if(type.equals("Steal"))
    skillID = 4201004;
                    } else  if (player.getJob().equals(MapleJob.CHIEFBANDIT)) {
                        
                    if(type.equals("Assaulter"))
    skillID = 4211002;
    
    else if(type.equals("Band of Thieves"))
    skillID = 4211004;
    
    else if(type.equals("Chakra"))
    skillID = 4211001;
    
    else if(type.equals("Meso Explosion"))
    skillID = 4211006;
    
    else if(type.equals("Meso Guard"))
    skillID = 4211005;
    
    else if(type.equals("Pickpocket"))
    skillID = 4211003;
    
    else if(type.equals("Shield Mastery"))
    skillID = 4210000;  
                    
    else if(type.equals("Dagger Booster"))
    skillID = 4201002;
    
    else if(type.equals("Dagger Mastery"))
    skillID = 4200000;
    
    else if(type.equals("Endure"))
    skillID = 4200001;
    
    else if(type.equals("Haste"))
    skillID = 4201003;
    
    else if(type.equals("Savage Blow"))
    skillID = 4201005;
    
    else if(type.equals("Steal"))
    skillID = 4201004;
                    } else if (player.getJob().equals(MapleJob.SHADOWER)) {
                        
                    if(type.equals("Assassinate"))
    skillID = 4221001;
    
    else if(type.equals("Awakening"))
    skillID = 4221008;
    
    else if(type.equals("Boomerang Step"))
    skillID = 4221007;
    
    
    else if(type.equals("Maple Warrior"))
    skillID = 4221000;
    
    else if(type.equals("Ninja Ambush"))
    skillID = 4221004;
    
    else if(type.equals("Taunt"))
    skillID = 4221003;
    
    else if(type.equals("Smokescreen"))
    skillID = 4221006;
    
    else if(type.equals("Venomous Stab"))
    skillID = 4120005;  
                    
    else if(type.equals("Assaulter"))
    skillID = 4211002;
    
    else if(type.equals("Band of Thieves"))
    skillID = 4211004;
    
    else if(type.equals("Chakra"))
    skillID = 4211001;
    
    else if(type.equals("Meso Explosion"))
    skillID = 4211006;
    
    else if(type.equals("Meso Guard"))
    skillID = 4211005;
    
    else if(type.equals("Pickpocket"))
    skillID = 4211003;
    
    else if(type.equals("Shield Mastery"))
    skillID = 4210000;  
                    
    else if(type.equals("Dagger Booster"))
    skillID = 4201002;
    
    else if(type.equals("Dagger Mastery"))
    skillID = 4200000;
    
    else if(type.equals("Endure"))
    skillID = 4200001;
    
    else if(type.equals("Haste"))
    skillID = 4201003;
    
    else if(type.equals("Savage Blow"))
    skillID = 4201005;
    
    else if(type.equals("Steal"))
    skillID = 4201004;
                    }        
                        ISkill skill = SkillFactory.getSkill(skillID);
                        int curLevel = player.getSkillLevel(skill);
                        int maxlevel = skill.getMaxLevel();
                    if (curLevel + spup > maxlevel) {
                        mc.dropMessage("Cannot go past masterlevel");
                        return;
                        } else if (curLevel + spup <= maxlevel && skill.canBeLearnedBy(player.getJob())) {
                        player.setRemainingSp(player.getRemainingSp() - spup);
                        player.updateSingleStat(MapleStat.AVAILABLESP, player.getRemainingSp());
                        player.changeSkillLevel(skill, curLevel + spup, player.getMasterLevel(skill));
                    }
                   }
    i forgot to mention to add import ISkill credits to megoesrawr for noticing

    some credits to sathon from his Avatar Smega Command (Let's you make other people smega!)
    Last edited by doublea2k7; 16-08-08 at 12:13 AM.


  2. #2
    Account Upgraded | Title Enabled! Azora is offline
    MemberRank
    Jun 2008 Join Date
    SwedenLocation
    466Posts

    Re: [RELEASE] !addskill command

    Awesome ^^ but you missspelled Odin

  3. #3
    Apprentice doublea2k7 is offline
    MemberRank
    Feb 2008 Join Date
    21Posts

    Re: [RELEASE] !addskill command

    no i meant coding not odin

  4. #4
    Account Upgraded | Title Enabled! megoesrawr is offline
    MemberRank
    May 2008 Join Date
    CaliforniaLocation
    873Posts

    Re: [RELEASE] !addskill command

    Erm... this is case sensitive is it not?

  5. #5
    Apprentice doublea2k7 is offline
    MemberRank
    Feb 2008 Join Date
    21Posts

    Re: [RELEASE] !addskill command

    yea its case sensitive the name is the same as you see it in your skillbook is a player command that i made for players that had trouble adding skills after rebirth cause they got the lacking skill message

  6. #6
    Alpha Member Moogra is offline
    MemberRank
    Jul 2008 Join Date
    1,804Posts

    Re: [RELEASE] !addskill command

    Code:
     if (curLevel + spup > maxlevel) {
                        mc.dropMessage("Cannot go past masterlevel");
                        return;
    whats being returned? I just took that part out (the return part)

  7. #7
    mikethemak is offline
    MemberRank
    Apr 2008 Join Date
    Ragezone Spam SectionLocation
    1,019Posts

    Re: [RELEASE] !addskill command

    This is a nice release and all, but:

    1. People forget caps, 90% of the time.
    2. This takes up a hella lot of room
    3. !skill ???

  8. #8
    Account Upgraded | Title Enabled! candyman3435 is offline
    MemberRank
    May 2008 Join Date
    1,081Posts

    Re: [RELEASE] !addskill command

    yea there is an !skill

  9. #9
    Account Upgraded | Title Enabled! megoesrawr is offline
    MemberRank
    May 2008 Join Date
    CaliforniaLocation
    873Posts

    Re: [RELEASE] !addskill command

    But this makes it so you don't have to memorize a bungle of numbers :)

  10. #10
    Apprentice doublea2k7 is offline
    MemberRank
    Feb 2008 Join Date
    21Posts

    Re: [RELEASE] !addskill command

    hmm u can rename the command to wtv u want and u can remove the caps if u want and takin alot of room? i dont c any problem with that

  11. #11
    Account Upgraded | Title Enabled! megoesrawr is offline
    MemberRank
    May 2008 Join Date
    CaliforniaLocation
    873Posts

    Re: [RELEASE] !addskill command

    btw remember to add an import for ISkill

  12. #12
    Account Upgraded | Title Enabled! megoesrawr is offline
    MemberRank
    May 2008 Join Date
    CaliforniaLocation
    873Posts

    Re: [RELEASE] !addskill command

    Quote Originally Posted by doublea2k7 View Post
    hmm u can rename the command to wtv u want and u can remove the caps if u want and takin alot of room? I dont c any problem with that
    lol?

  13. #13
    mikethemak is offline
    MemberRank
    Apr 2008 Join Date
    Ragezone Spam SectionLocation
    1,019Posts

    Re: [RELEASE] !addskill command

    Quote Originally Posted by megoesrawr View Post
    But this makes it so you don't have to memorize a bungle of numbers :)
    This also takes up a lot of space. Oh, and btw...just in case you DONT wanna memorize those numbers...-cough- !search [skillname] -cough-

  14. #14
    Apprentice doublea2k7 is offline
    MemberRank
    Feb 2008 Join Date
    21Posts

    Re: [RELEASE] !addskill command

    i made this for players not for gms so usually players are 2 lazy to look it up and some servers dont have !search command so i think usin the name is better

  15. #15
    mikethemak is offline
    MemberRank
    Apr 2008 Join Date
    Ragezone Spam SectionLocation
    1,019Posts

    Re: [RELEASE] !addskill command

    else if (splitted[0].equals("!addskill")){ <--- Is a player command....?



    80-90% of servers currently run of PCMaple, or another repack that is PCMaple with 1 thing changed, claiming it is theirs. PCMaple includes !search. Therefor, any GOOD server out there, has !search installed.

  16. #16
    Valued Member xaodx is offline
    MemberRank
    Jun 2008 Join Date
    VegasLocation
    148Posts

    Re: [RELEASE] !addskill command

    lol nice I guess it doesn't take alot of work to get this stuff I agree but still people should not flame you for at least trying to be helpful o.O
    :zoo_donat

  17. #17
    Apprentice doublea2k7 is offline
    MemberRank
    Feb 2008 Join Date
    21Posts

    Re: [RELEASE] !addskill command

    yes is a player command i use it with my gm rank system i just release http://forum.ragezone.com/showthread.php?t=453021
    normal players can use commands that are set to gm level 0 and u can always remove the skillname part and make it work with the skillid that u type if u know how to

  18. #18
    mikethemak is offline
    MemberRank
    Apr 2008 Join Date
    Ragezone Spam SectionLocation
    1,019Posts

    Re: [RELEASE] !addskill command

    Still, !search = more efficient.


    But i wont flame anymore. Ty for contributing.

  19. #19
    Apprentice doublea2k7 is offline
    MemberRank
    Feb 2008 Join Date
    21Posts

    Re: [RELEASE] !addskill command

    huh? the !search command doesnt do the same thing as !addskill how is it more efficient.. !search searches for the id
    !addskill adds the amount u type to the skills and takes away sp. so !addskill 9 Maple Warrior will give u 9 on maple warrior and and take away 9 sp but wtv

  20. #20
    Account Upgraded | Title Enabled! megoesrawr is offline
    MemberRank
    May 2008 Join Date
    CaliforniaLocation
    873Posts

    Re: [RELEASE] !addskill command

    Who cares if it takes up a lot of space...

  21. #21
    mikethemak is offline
    MemberRank
    Apr 2008 Join Date
    Ragezone Spam SectionLocation
    1,019Posts

    Re: [RELEASE] !addskill command

    Quote Originally Posted by doublea2k7 View Post
    huh? the !search command doesnt do the same thing as !addskill how is it more efficient.. !search searches for the id
    !addskill adds the amount u type to the skills and takes away sp. so !addskill 9 Maple Warrior will give u 9 on maple warrior and and take away 9 sp but wtv
    Who is so lazy that they cant click that much, its 30 clicks MAX. I can see with ap, if u have like 100+, but this is just lazyness. Also, most servers have skill maxers, so this is COMPLETELY useless on those.

    In about 80-90% of all maplestory servers out there, this would just be wasted space in the hard drive.

  22. #22
    Account Upgraded | Title Enabled! megoesrawr is offline
    MemberRank
    May 2008 Join Date
    CaliforniaLocation
    873Posts

    Re: [RELEASE] !addskill command

    I have a skill maxer according to class...

  23. #23
    mikethemak is offline
    MemberRank
    Apr 2008 Join Date
    Ragezone Spam SectionLocation
    1,019Posts

    Re: [RELEASE] !addskill command

    Quote Originally Posted by megoesrawr View Post
    I have a skill maxer according to class...
    Err....congratz? My sera maxes skills...and duey does also in case something went wrong with sera.

  24. #24
    Account Upgraded | Title Enabled! candyman3435 is offline
    MemberRank
    May 2008 Join Date
    1,081Posts

    Re: [RELEASE] !addskill command

    lolz, megoes thats not hard 2 make

  25. #25
    Account Upgraded | Title Enabled! megoesrawr is offline
    MemberRank
    May 2008 Join Date
    CaliforniaLocation
    873Posts

    Re: [RELEASE] !addskill command

    I know it isn't but it prevents less packet editors >_>



Page 1 of 2 12 LastLast

Advertisement