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!

(TitanMs)Impoved GM Skill Maxer

Status
Not open for further replies.
Junior Spellweaver
Joined
Jun 20, 2008
Messages
102
Reaction score
0
Here Is An Npc That Maxes All gm's Skills And Give The Gm Gm Cloths And 50m

Code:
#include "NPCs.h"
#include "NPCsScripts.h"
#include "Player.h"
#include "Skills.h"
#include "SkillsPacket.h"
#include "MySQLM.h"


//Credits to TerraEnvy
void NPCsScripts::npc_1061008(NPC *npc){
    Player* player = npc->getPlayer();
    int state = npc->getState();
	int map = npc->getPlayerMap();
	int SkillAdded = MySQL::getInt("characters", player->getPlayerid(), "skilladded");
    if(SkillAdded == 0){
    if(state ==0){
		if(player->isGM()){
                npc->addText("Hello Mighty GM, Do you want your powers now?");
                npc->sendYesNo();
            }else{
                npc->addText("You aren't A GM!.");
                npc->sendOK();
                npc->end();
            }
        }
    else if(state == 1){
        if(player->isGM())
            if(npc->getSelected() == YES){
                    player->setJob(510);
		player->skills->addSkillLevel(1000, 3);//Beginner
        SkillsPacket::addSkill(player, 1000, player->skills->getSkillLevel(5001000)); 
		player->skills->addSkillLevel(1001, 3); 
        SkillsPacket::addSkill(player, 1001, player->skills->getSkillLevel(5001000)); 
		player->skills->addSkillLevel(1002, 3); 
        SkillsPacket::addSkill(player, 1002, player->skills->getSkillLevel(5001000)); 
		player->skills->addSkillLevel(1003, 1); 
        SkillsPacket::addSkill(player, 1003, player->skills->getSkillLevel(5001000)); 
		player->skills->addSkillLevel(1004, 1); 
        SkillsPacket::addSkill(player, 1004, player->skills->getSkillLevel(5001000));
		player->skills->addSkillLevel(1005, 1); 
        SkillsPacket::addSkill(player, 1005, player->skills->getSkillLevel(5001000));       
        player->skills->addSkillLevel(5001000, 1);//GM   
        SkillsPacket::addSkill(player, 5001000, player->skills->getSkillLevel(5001000)); //Haste (Normal)
		player->skills->addSkillLevel(5001001, 1); 
        SkillsPacket::addSkill(player, 5001001, player->skills->getSkillLevel(5001001)); //Super Dragon Roar
        player->skills->addSkillLevel(5001002, 1); 
		SkillsPacket::addSkill(player, 5001002, player->skills->getSkillLevel(5001002)); //Teleport
		player->skills->addSkillLevel(5101003, 1);//Super GM    
        SkillsPacket::addSkill(player, 5101003, player->skills->getSkillLevel(5101003)); //Bless
		player->skills->addSkillLevel(5101001, 1); 
        SkillsPacket::addSkill(player, 5101001, player->skills->getSkillLevel(5101001)); //Haste (Super)
		player->skills->addSkillLevel(5101004, 1); 
        SkillsPacket::addSkill(player, 5101004, player->skills->getSkillLevel(5101004)); //Hide
		player->skills->addSkillLevel(5101002, 1); 
        SkillsPacket::addSkill(player, 5101002, player->skills->getSkillLevel(5101002)); //Holy Symbol
		player->skills->addSkillLevel(5101005, 1); 
        SkillsPacket::addSkill(player, 5101005, player->skills->getSkillLevel(5101005));  //Resurrection
		player->skills->addSkillLevel(5101000, 1); 
        SkillsPacket::addSkill(player, 5101000, player->skills->getSkillLevel(5101000)); //Heal + Dispel
		player->skills->addSkillLevel(1000002, 8);//Warrior (1st Job) 
        SkillsPacket::addSkill(player, 1000002, player->skills->getSkillLevel(1000002)); //Endure
		player->skills->addSkillLevel(1000000, 16); 
        SkillsPacket::addSkill(player, 1000000, player->skills->getSkillLevel(1000000)); //Improving HP Recovery
		player->skills->addSkillLevel(1000001, 10); 
        SkillsPacket::addSkill(player, 1000001, player->skills->getSkillLevel(1000001)); //Improving MaxHP Increase
		player->skills->addSkillLevel(1001003, 20); 
        SkillsPacket::addSkill(player, 1001003, player->skills->getSkillLevel(1001003)); //Iron Body
		player->skills->addSkillLevel(1001004, 20); 
        SkillsPacket::addSkill(player, 1001004, player->skills->getSkillLevel(1001004)); //Power Strike
		player->skills->addSkillLevel(1001005, 20); 
        SkillsPacket::addSkill(player, 1001005, player->skills->getSkillLevel(1001005)); //Slash Blast
		 player->skills->addSkillLevel(2001004, 20); //Magician (1st Job) 
        SkillsPacket::addSkill(player, 2001004, player->skills->getSkillLevel(2001004)); //Energy Bolt
		player->skills->addSkillLevel(2000001, 16); 
        SkillsPacket::addSkill(player, 2000001, player->skills->getSkillLevel(2000001)); //Improving Max MP Increase
		player->skills->addSkillLevel(2000000, 10); 
        SkillsPacket::addSkill(player, 2000000, player->skills->getSkillLevel(2000000)); //Improving MP recovery
		player->skills->addSkillLevel(2001003, 20); 
        SkillsPacket::addSkill(player, 2001003, player->skills->getSkillLevel(2001003)); //Magic Armor
		player->skills->addSkillLevel(2001005, 20); 
        SkillsPacket::addSkill(player, 2001005, player->skills->getSkillLevel(2001005)); //Magic Claw
		player->skills->addSkillLevel(2001002, 20); 
        SkillsPacket::addSkill(player, 2001002, player->skills->getSkillLevel(2001002)); //Magic Guard
		player->skills->addSkillLevel(3001004, 20);//Bowman (1st Job) 
        SkillsPacket::addSkill(player, 3001004, player->skills->getSkillLevel(3001004)); //Arrow Blow
		player->skills->addSkillLevel(3000001, 20); 
        SkillsPacket::addSkill(player, 3000001, player->skills->getSkillLevel(3000001)); //Critical Shot
		player->skills->addSkillLevel(3001005, 20); 
        SkillsPacket::addSkill(player, 3001005, player->skills->getSkillLevel(3001005)); //Double Shot
		player->skills->addSkillLevel(3001003, 20); 
        SkillsPacket::addSkill(player, 3001003, player->skills->getSkillLevel(3001003)); //Focus
		player->skills->addSkillLevel(3000000, 16); 
        SkillsPacket::addSkill(player, 3000000, player->skills->getSkillLevel(3000000)); //The Blessing of Amazon
		player->skills->addSkillLevel(3000002, 8); 
        SkillsPacket::addSkill(player, 3000002, player->skills->getSkillLevel(3000002)); //The Eye of Amazon
		player->skills->addSkillLevel(4001003, 19); //Thief (1st Job) 
        SkillsPacket::addSkill(player, 4001003, player->skills->getSkillLevel(4001003)); //Dark Sight
		player->skills->addSkillLevel(4001002, 20); 
        SkillsPacket::addSkill(player, 4001002, player->skills->getSkillLevel(4001002)); //Disorder
		player->skills->addSkillLevel(4001334, 20); 
        SkillsPacket::addSkill(player, 4001334, player->skills->getSkillLevel(4001334)); //Double Stab
		player->skills->addSkillLevel(4000001, 8); 
        SkillsPacket::addSkill(player, 4000001, player->skills->getSkillLevel(4000001)); //Keen Eyes
		player->skills->addSkillLevel(4001344, 20); 
        SkillsPacket::addSkill(player, 4001344, player->skills->getSkillLevel(4001344)); //Lucky Seven
		player->skills->addSkillLevel(4000000, 20); 
        SkillsPacket::addSkill(player, 4000000, player->skills->getSkillLevel(4000000)); //Nimble Body
		player->skills->addSkillLevel(1101005, 19);//Fighter (2nd Job)
        SkillsPacket::addSkill(player, 1101005, player->skills->getSkillLevel(1101005)); //Axe Booster
		player->skills->addSkillLevel(1100001, 20); 
        SkillsPacket::addSkill(player, 1100001, player->skills->getSkillLevel(1100001)); //Axe Mastery
		player->skills->addSkillLevel(1100003, 30); 
        SkillsPacket::addSkill(player, 1100003, player->skills->getSkillLevel(1100003)); //Final Attack : Axe
		player->skills->addSkillLevel(1100002, 30); 
        SkillsPacket::addSkill(player, 1100002, player->skills->getSkillLevel(1100002)); //Final Attack : Sword
		player->skills->addSkillLevel(1101007, 30); 
        SkillsPacket::addSkill(player, 1101007, player->skills->getSkillLevel(1101007));//Power Guard
		player->skills->addSkillLevel(1101006, 20); 
        SkillsPacket::addSkill(player, 1101006, player->skills->getSkillLevel(1101006)); //Rage
		player->skills->addSkillLevel(1101004, 19); 
        SkillsPacket::addSkill(player, 1101004, player->skills->getSkillLevel(1101004)); //Sword Booster
		player->skills->addSkillLevel(1100000, 20); 
        SkillsPacket::addSkill(player, 1100000, player->skills->getSkillLevel(1100000)); //Sword Mastery
		player->skills->addSkillLevel(1201005, 19); //Page (2nd Job) 
        SkillsPacket::addSkill(player, 1201005, player->skills->getSkillLevel(1201005)); //BW Booster
		player->skills->addSkillLevel(1200001, 20); 
        SkillsPacket::addSkill(player, 1200001, player->skills->getSkillLevel(1200001)); //BW Mastery
		player->skills->addSkillLevel(1200003, 30); 
        SkillsPacket::addSkill(player, 1200003, player->skills->getSkillLevel(1200003)); //Final Attack : BW
		player->skills->addSkillLevel(1200002, 30); 
        SkillsPacket::addSkill(player, 1200002, player->skills->getSkillLevel(1200002)); //Final Attack : Sword
		player->skills->addSkillLevel(1201007, 30); 
        SkillsPacket::addSkill(player, 1201007, player->skills->getSkillLevel(1201007)); //Power Guard
		player->skills->addSkillLevel(1201004, 19); 
        SkillsPacket::addSkill(player, 1201004, player->skills->getSkillLevel(1201004)); //Sword Booster
		player->skills->addSkillLevel(1200000, 20); 
        SkillsPacket::addSkill(player, 1200000, player->skills->getSkillLevel(1200000)); //Sword Mastery
		player->skills->addSkillLevel(1201006, 20); 
        SkillsPacket::addSkill(player, 1201006, player->skills->getSkillLevel(1201006)); //Threaten
		player->skills->addSkillLevel(1300003, 30); //Spearman (2nd Job)   
        SkillsPacket::addSkill(player, 1300003, player->skills->getSkillLevel(1300003)); //Final Attack : Pole Arm
		player->skills->addSkillLevel(1300002, 30); 
        SkillsPacket::addSkill(player, 1300002, player->skills->getSkillLevel(1300002)); //Final Attack : Spear
		player->skills->addSkillLevel(1301007, 30); 
        SkillsPacket::addSkill(player, 1301007, player->skills->getSkillLevel(1301007)); //Hyper Body
		player->skills->addSkillLevel(1301006, 20); 
        SkillsPacket::addSkill(player, 1301006, player->skills->getSkillLevel(1301006)); //Iron Will
		player->skills->addSkillLevel(1301005, 19); 
        SkillsPacket::addSkill(player, 1301005, player->skills->getSkillLevel(1301005)); //Pole Arm Booster
		player->skills->addSkillLevel(1300001, 20); 
        SkillsPacket::addSkill(player, 1300001, player->skills->getSkillLevel(1300001)); //Pole Arm Mastery
		player->skills->addSkillLevel(1301004, 19); 
        SkillsPacket::addSkill(player, 1301004, player->skills->getSkillLevel(1301004)); //Spear Booster
		player->skills->addSkillLevel(1300000, 20); 
        SkillsPacket::addSkill(player, 1300000, player->skills->getSkillLevel(1300000)); //Spear Mastery
		player->skills->addSkillLevel(2101004, 30); //Fire/Poison Wizard (2nd Job) 
        SkillsPacket::addSkill(player, 2101004, player->skills->getSkillLevel(2101004)); //Fire Arrow
		player->skills->addSkillLevel(2101001, 20); 
        SkillsPacket::addSkill(player, 2101001, player->skills->getSkillLevel(2101001)); //Meditation
		player->skills->addSkillLevel(2100000, 20); 
        SkillsPacket::addSkill(player, 2100000, player->skills->getSkillLevel(2100000)); //MP Eater
		player->skills->addSkillLevel(2101005, 30); 
        SkillsPacket::addSkill(player, 2101005, player->skills->getSkillLevel(2101005)); //Poison Brace
		player->skills->addSkillLevel(2101003, 20); 
        SkillsPacket::addSkill(player, 2101003, player->skills->getSkillLevel(2101003)); //Slow
		player->skills->addSkillLevel(2101002, 20); 
        SkillsPacket::addSkill(player, 2101002, player->skills->getSkillLevel(2101002)); //Teleport
		player->skills->addSkillLevel(2201004, 30); //Ice/Lightning Wizard (2nd Job)
        SkillsPacket::addSkill(player, 2201004, player->skills->getSkillLevel(2201004)); //Cold Beam
		player->skills->addSkillLevel(2201001, 20); 
        SkillsPacket::addSkill(player, 2201001, player->skills->getSkillLevel(2201001)); //Meditation
		player->skills->addSkillLevel(2200000, 20); 
        SkillsPacket::addSkill(player, 2200000, player->skills->getSkillLevel(2200000)); //MP Eater
		player->skills->addSkillLevel(2201003, 20); 
        SkillsPacket::addSkill(player, 2201003, player->skills->getSkillLevel(2201003)); //Slow
		player->skills->addSkillLevel(2201002, 20); 
        SkillsPacket::addSkill(player, 2201002, player->skills->getSkillLevel(2201002)); //Teleport
		player->skills->addSkillLevel(2201005, 30); 
        SkillsPacket::addSkill(player, 2201005, player->skills->getSkillLevel(2201005)); //Thunderbolt
		player->skills->addSkillLevel(2301004, 20); //Cleric (2nd Job)
        SkillsPacket::addSkill(player, 2301004, player->skills->getSkillLevel(2301004)); //Bless
		player->skills->addSkillLevel(2301002, 30); 
        SkillsPacket::addSkill(player, 2301002, player->skills->getSkillLevel(2301002)); //Heal
		player->skills->addSkillLevel(2301005, 30); 
        SkillsPacket::addSkill(player, 2301005, player->skills->getSkillLevel(2301005)); //Holy Arrow
		player->skills->addSkillLevel(2301003, 20); 
        SkillsPacket::addSkill(player, 2301003, player->skills->getSkillLevel(2301003)); //Invincible
		player->skills->addSkillLevel(2300000, 20); 
        SkillsPacket::addSkill(player, 2300000, player->skills->getSkillLevel(2300000)); //MP Eater
		player->skills->addSkillLevel(2301001, 20); 
        SkillsPacket::addSkill(player, 2301001, player->skills->getSkillLevel(2301001)); //Teleport
		player->skills->addSkillLevel(3101004, 20); //Hunter (2nd Job)   
        SkillsPacket::addSkill(player, 3101004, player->skills->getSkillLevel(3101004)); //Soul Arrow : Bow
		player->skills->addSkillLevel(3101002, 19); 
        SkillsPacket::addSkill(player, 3101002, player->skills->getSkillLevel(3101002));  //Bow Booster
		player->skills->addSkillLevel(3101005, 30); 
        SkillsPacket::addSkill(player, 3101005, player->skills->getSkillLevel(3101005)); //Arrow Bomb : Bow
		player->skills->addSkillLevel(3101003, 20); 
        SkillsPacket::addSkill(player, 3101003, player->skills->getSkillLevel(3101003)); //Power Knock-Back
		player->skills->addSkillLevel(3100000, 20); 
        SkillsPacket::addSkill(player, 3100000, player->skills->getSkillLevel(3100000)); //Bow Mastery
		player->skills->addSkillLevel(3100001, 30); 
        SkillsPacket::addSkill(player, 3100001, player->skills->getSkillLevel(3100001)); //Final Attack : Bow
		player->skills->addSkillLevel(3201004, 20); //Crossbowman (2nd Job)    
		SkillsPacket::addSkill(player, 3201004, player->skills->getSkillLevel(3201004)); //Soul Arrow : Crossbow
		player->skills->addSkillLevel(3201002, 19); 
        SkillsPacket::addSkill(player, 3201002, player->skills->getSkillLevel(3201002)); //Crossbow Booster
		player->skills->addSkillLevel(3201005, 30); 
        SkillsPacket::addSkill(player, 3201005, player->skills->getSkillLevel(3201005)); //Iron Arrow : Crossbow
		player->skills->addSkillLevel(3201003, 30); 
        SkillsPacket::addSkill(player, 3201003, player->skills->getSkillLevel(3201003));  //Power Knock-Back
		player->skills->addSkillLevel(3200000, 20); 
        SkillsPacket::addSkill(player, 3200000, player->skills->getSkillLevel(3200000)); //Crossbow Mastery
		player->skills->addSkillLevel(3200001, 30); 
        SkillsPacket::addSkill(player, 3200001, player->skills->getSkillLevel(3200001)); //Final Attack : Crossbow
		player->skills->addSkillLevel(4101004, 20); //Assassin (2nd Job) 
        SkillsPacket::addSkill(player, 4101004, player->skills->getSkillLevel(4101004)); //Haste
		player->skills->addSkillLevel(4100002, 20); 
        SkillsPacket::addSkill(player, 4100002, player->skills->getSkillLevel(4100002)); //Endure
		player->skills->addSkillLevel(4101005, 30); 
        SkillsPacket::addSkill(player, 4101005, player->skills->getSkillLevel(4101005)); //Drain
		player->skills->addSkillLevel(4101003, 19); 
        SkillsPacket::addSkill(player, 4101003, player->skills->getSkillLevel(4101003)); //Claw Booster
		player->skills->addSkillLevel(4100000, 20); 
        SkillsPacket::addSkill(player, 4100000, player->skills->getSkillLevel(4100000)); //Claw Mastery
		player->skills->addSkillLevel(4100001, 30); 
        SkillsPacket::addSkill(player, 4100001, player->skills->getSkillLevel(4100001)); //Critical Throw
		player->skills->addSkillLevel(4201004, 30); //Bandit (2nd Job)
        SkillsPacket::addSkill(player, 4201004, player->skills->getSkillLevel(4201004)); //Steal
		player->skills->addSkillLevel(4201002, 19); 
        SkillsPacket::addSkill(player, 4201002, player->skills->getSkillLevel(4201002)); //Dagger Booster
		player->skills->addSkillLevel(4201005, 30); 
        SkillsPacket::addSkill(player, 4201005, player->skills->getSkillLevel(4201005)); //Savage Blow
		player->skills->addSkillLevel(4201003, 20); 
        SkillsPacket::addSkill(player, 4201003, player->skills->getSkillLevel(4201003)); //Haste
		player->skills->addSkillLevel(4200000, 20); 
        SkillsPacket::addSkill(player, 4200000, player->skills->getSkillLevel(4200000)); //Dagger Mastery
		player->skills->addSkillLevel(4200001, 20); 
        SkillsPacket::addSkill(player, 4200001, player->skills->getSkillLevel(4200001)); //Endure
		 player->skills->addSkillLevel(1111007, 20);//Crusader (3rd Job)    
		SkillsPacket::addSkill(player, 1111007, player->skills->getSkillLevel(1111007)); //Armor Crash
		player->skills->addSkillLevel(1111006, 30); 
        SkillsPacket::addSkill(player, 1111006, player->skills->getSkillLevel(1111006)); //Coma: Axe
		player->skills->addSkillLevel(1111005, 30); 
        SkillsPacket::addSkill(player, 1111005, player->skills->getSkillLevel(1111005)); //Coma: Sword
		player->skills->addSkillLevel(1111002, 29); 
        SkillsPacket::addSkill(player, 1111002, player->skills->getSkillLevel(1111002)); //Combo Attack
		player->skills->addSkillLevel(1110000, 20); 
        SkillsPacket::addSkill(player, 1110000, player->skills->getSkillLevel(1110000)); //Improving MP recovery
		player->skills->addSkillLevel(1111004, 30); 
        SkillsPacket::addSkill(player, 1111004, player->skills->getSkillLevel(1111004)); //Panic: Axe
		player->skills->addSkillLevel(1111003, 30); 
        SkillsPacket::addSkill(player, 1111003, player->skills->getSkillLevel(1111003)); //Panic: Sword
		player->skills->addSkillLevel(1110001, 20); 
        SkillsPacket::addSkill(player, 1110001, player->skills->getSkillLevel(1110001)); //Shield Mastery
		player->skills->addSkillLevel(1111008, 30); 
        SkillsPacket::addSkill(player, 1111008, player->skills->getSkillLevel(1111008)); //Shout
player->skills->addSkillLevel(1211007, 30);//White Knight (3rd Job)   
        SkillsPacket::addSkill(player, 1211007, player->skills->getSkillLevel(1211007)); //Thunder Charge: Sword
		player->skills->addSkillLevel(1211006, 30); 
        SkillsPacket::addSkill(player, 1211006, player->skills->getSkillLevel(1211006)); //Blizzard Charge: BW
		player->skills->addSkillLevel(1211005, 30); 
        SkillsPacket::addSkill(player, 1211005, player->skills->getSkillLevel(1211005)); //Ice Charge: Sword
		player->skills->addSkillLevel(1211002, 30); 
        SkillsPacket::addSkill(player, 1211002, player->skills->getSkillLevel(1211002)); //Charged Blow
		player->skills->addSkillLevel(1210000, 20); 
        SkillsPacket::addSkill(player, 1210000, player->skills->getSkillLevel(1210000)); //Improving MP recovery
		player->skills->addSkillLevel(1211004, 30); 
        SkillsPacket::addSkill(player, 1211004, player->skills->getSkillLevel(1211004)); //Fire Charge: BW
		player->skills->addSkillLevel(1211003, 30); 
        SkillsPacket::addSkill(player, 1211003, player->skills->getSkillLevel(1211003)); //Fire Charge: Sword
		player->skills->addSkillLevel(1210001, 20); 
        SkillsPacket::addSkill(player, 1210001, player->skills->getSkillLevel(1210001)); //Shield Mastery
		player->skills->addSkillLevel(1211008, 30); 
        SkillsPacket::addSkill(player, 1211008, player->skills->getSkillLevel(1211008)); //Lightning Charge: BW
		player->skills->addSkillLevel(1211009, 20); 
        SkillsPacket::addSkill(player, 1211009, player->skills->getSkillLevel(1211009)); //Magic Crash
		player->skills->addSkillLevel(1311007, 20); //Dragon Knight (3rd Job)
        SkillsPacket::addSkill(player, 1311007, player->skills->getSkillLevel(1311007)); //Power Crash
		player->skills->addSkillLevel(1311006, 30); 
        SkillsPacket::addSkill(player, 1311006, player->skills->getSkillLevel(1311006)); //Dragon Roar
		player->skills->addSkillLevel(1311005, 30); 
        SkillsPacket::addSkill(player, 1311005, player->skills->getSkillLevel(1311005)); //Sacrifice
		player->skills->addSkillLevel(1311002, 30); 
        SkillsPacket::addSkill(player, 1311002, player->skills->getSkillLevel(1311002)); //Pole Arm Crusher
		player->skills->addSkillLevel(1310000, 20); 
        SkillsPacket::addSkill(player, 1310000, player->skills->getSkillLevel(1310000)); //Elemental Resistance
		player->skills->addSkillLevel(1311004, 30); 
        SkillsPacket::addSkill(player, 1311004, player->skills->getSkillLevel(1311004)); //Dragon Fury: Pole Arm
		player->skills->addSkillLevel(1311003, 30); 
        SkillsPacket::addSkill(player, 1311003, player->skills->getSkillLevel(1311003)); //Dragon Fury: Spear
		player->skills->addSkillLevel(1311001, 30); 
        SkillsPacket::addSkill(player, 1311001, player->skills->getSkillLevel(1311001)); //Spear Crusher
		player->skills->addSkillLevel(1311008, 19); 
        SkillsPacket::addSkill(player, 1311008, player->skills->getSkillLevel(1311008)); //Dragon Blood
		player->skills->addSkillLevel(2110000, 20); //Fire/Poison Mage (3rd Job) 
        SkillsPacket::addSkill(player, 2110000, player->skills->getSkillLevel(2110000)); //Partial Resistance
		player->skills->addSkillLevel(2111001, -0); 
        SkillsPacket::addSkill(player, 2111001, player->skills->getSkillLevel(2111001));//Element Amplification
		player->skills->addSkillLevel(2111002, 30); 
        SkillsPacket::addSkill(player, 2111002, player->skills->getSkillLevel(2111002)); //Explosion
		player->skills->addSkillLevel(2111003, 30); 
        SkillsPacket::addSkill(player, 2111003, player->skills->getSkillLevel(2111003)); //Poison Mist
		player->skills->addSkillLevel(2111004, 20); 
        SkillsPacket::addSkill(player, 2111004, player->skills->getSkillLevel(2111004)); //Seal
		player->skills->addSkillLevel(2111005, 19); 
        SkillsPacket::addSkill(player, 2111005, player->skills->getSkillLevel(2111005)); //Spell Booster
		player->skills->addSkillLevel(2111006, 30); 
        SkillsPacket::addSkill(player, 2111006, player->skills->getSkillLevel(2111006)); //Element Composition
		player->skills->addSkillLevel(2210000, 20); //Ice/Lightning Mage (3rd Job)   
        SkillsPacket::addSkill(player, 2210000, player->skills->getSkillLevel(2210000)); //Partial Resistance
		player->skills->addSkillLevel(2221001, -0); 
        SkillsPacket::addSkill(player, 2211001, player->skills->getSkillLevel(2221001)); //Element Amplification
		player->skills->addSkillLevel(2221002, 30); 
        SkillsPacket::addSkill(player, 2211002, player->skills->getSkillLevel(2221002)); //Ice Strike
		player->skills->addSkillLevel(2221003, 30); 
        SkillsPacket::addSkill(player, 2211003, player->skills->getSkillLevel(2221003)); //Thunder Spear
		player->skills->addSkillLevel(2221004, 20); 
        SkillsPacket::addSkill(player, 2211004, player->skills->getSkillLevel(2221004)); //Seal
		player->skills->addSkillLevel(2221005, 19); 
        SkillsPacket::addSkill(player, 2211005, player->skills->getSkillLevel(2221005)); //Spell Booster
		player->skills->addSkillLevel(2221006, 30); 
        SkillsPacket::addSkill(player, 2211006, player->skills->getSkillLevel(2221006)); //Element Composition
		player->skills->addSkillLevel(2310000, 20);//Priest (3rd Job) 
        SkillsPacket::addSkill(player, 2310000, player->skills->getSkillLevel(2310000)); //Elemental Resistance
		player->skills->addSkillLevel(2311001, 20); 
        SkillsPacket::addSkill(player, 2311001, player->skills->getSkillLevel(2311001)); //Dispel
		player->skills->addSkillLevel(2311002, 20); 
        SkillsPacket::addSkill(player, 2311002, player->skills->getSkillLevel(2311002)); //Mystic Door
		player->skills->addSkillLevel(2311003, 30); 
        SkillsPacket::addSkill(player, 2311003, player->skills->getSkillLevel(2311003)); //Holy Symbol
		player->skills->addSkillLevel(2311004, 30); 
        SkillsPacket::addSkill(player, 2311004, player->skills->getSkillLevel(2311004)); //Shining Ray
		player->skills->addSkillLevel(2311005, 30); 
        SkillsPacket::addSkill(player, 2311005, player->skills->getSkillLevel(2311005)); //Doom
		player->skills->addSkillLevel(2311006, 30); 
        SkillsPacket::addSkill(player, 2311006, player->skills->getSkillLevel(2311006)); //Summon Dragon
		player->skills->addSkillLevel(3110000, 20);//Ranger (3rd Job) 
        SkillsPacket::addSkill(player, 3110000, player->skills->getSkillLevel(3110000)); //Thrust
        player->skills->addSkillLevel(3110001, 20); 
        SkillsPacket::addSkill(player, 3110001, player->skills->getSkillLevel(3110001)); //Mortal Blow
		player->skills->addSkillLevel(3111002, 20); 
        SkillsPacket::addSkill(player, 3111002, player->skills->getSkillLevel(3111002)); //Puppet
		player->skills->addSkillLevel(3111003, 30); 
        SkillsPacket::addSkill(player, 3111003, player->skills->getSkillLevel(3111003)); //Inferno
		player->skills->addSkillLevel(3111004, 30); 
        SkillsPacket::addSkill(player, 3111004, player->skills->getSkillLevel(3111004)); //Arrow Rain
		player->skills->addSkillLevel(3111005, 30); 
        SkillsPacket::addSkill(player, 3111005, player->skills->getSkillLevel(3111005)); //Silver Hawk
		player->skills->addSkillLevel(3111006, 30); 
        SkillsPacket::addSkill(player, 3111006, player->skills->getSkillLevel(3111006)); //Strafe
		player->skills->addSkillLevel(3210000, 20); //Sniper (3rd Job)   
        SkillsPacket::addSkill(player, 3110000, player->skills->getSkillLevel(3110000)); //Thrust
		player->skills->addSkillLevel(3210001, 20); 
        SkillsPacket::addSkill(player, 3110001, player->skills->getSkillLevel(3110001)); //Mortal Blow
		player->skills->addSkillLevel(3221002, 20); 
        SkillsPacket::addSkill(player, 3221002, player->skills->getSkillLevel(3221002)); //Puppet
		player->skills->addSkillLevel(3221003, 30); 
        SkillsPacket::addSkill(player, 3221003, player->skills->getSkillLevel(3221003)); //Blizzard
		player->skills->addSkillLevel(3221004, 30); 
        SkillsPacket::addSkill(player, 3221004, player->skills->getSkillLevel(3221004)); //Arrow Eruption
		player->skills->addSkillLevel(3221005, 30); 
        SkillsPacket::addSkill(player, 3221005, player->skills->getSkillLevel(3221005)); //Golden Eagle
		player->skills->addSkillLevel(3221006, 30); 
        SkillsPacket::addSkill(player, 3221006, player->skills->getSkillLevel(3221006)); //Strafe
		player->skills->addSkillLevel(4111000, 20); //Hermit (3rd Job)
        SkillsPacket::addSkill(player, 3110000, player->skills->getSkillLevel(3110000)); //Alchemist
		player->skills->addSkillLevel(4110001, 20); 
        SkillsPacket::addSkill(player, 3110001, player->skills->getSkillLevel(3110001)); //Meso Up
		player->skills->addSkillLevel(4111002, 29); 
        SkillsPacket::addSkill(player, 4111002, player->skills->getSkillLevel(4111002)); //Shadow Partner
		player->skills->addSkillLevel(4111003, 30); 
        SkillsPacket::addSkill(player, 4111003, player->skills->getSkillLevel(4111003)); //Shadow Web
		player->skills->addSkillLevel(4111004, 30); 
        SkillsPacket::addSkill(player, 4111004, player->skills->getSkillLevel(4111004)); //Shadow Meso
		player->skills->addSkillLevel(4111005, 30); 
        SkillsPacket::addSkill(player, 4111005, player->skills->getSkillLevel(4111005)); //Avenger
		player->skills->addSkillLevel(4111006, 20); 
        SkillsPacket::addSkill(player, 4111006, player->skills->getSkillLevel(4111006)); //Flash Jump
		player->skills->addSkillLevel(4210000, 20);//Chief Bandit (3rd Job)   
        SkillsPacket::addSkill(player, 4210000, player->skills->getSkillLevel(4210000)); //Shield Mastery
		player->skills->addSkillLevel(4221001, 30); 
        SkillsPacket::addSkill(player, 4221001, player->skills->getSkillLevel(4221001)); //Chakra
        player->skills->addSkillLevel(4221002, 30); 
        SkillsPacket::addSkill(player, 4221002, player->skills->getSkillLevel(4221002)); //Assaulter
		player->skills->addSkillLevel(4221003, 20); 
        SkillsPacket::addSkill(player, 4221003, player->skills->getSkillLevel(4221003)); //Pickpocket
		player->skills->addSkillLevel(4221004, 30); 
        SkillsPacket::addSkill(player, 4221004, player->skills->getSkillLevel(4221004)); //Band of Thieves
		player->skills->addSkillLevel(4221005, 20); 
        SkillsPacket::addSkill(player, 4221005, player->skills->getSkillLevel(4221005)); //Meso Guard
		player->skills->addSkillLevel(4221006, 30); 
        SkillsPacket::addSkill(player, 4221006, player->skills->getSkillLevel(4221006)); //Meso Explosion
		player->skills->addSkillLevel(1121000, 20);//Hero
		SkillsPacket::addSkill(player, 1121000, player->skills->getSkillLevel(1121000));
		player->skills->addSkillLevel(1121001, 30); 
		SkillsPacket::addSkill(player, 1121001, player->skills->getSkillLevel(1121001));
		player->skills->addSkillLevel(1121002, 30); 
		SkillsPacket::addSkill(player, 1121002, player->skills->getSkillLevel(1121002));
		player->skills->addSkillLevel(1121003, 30); 
		SkillsPacket::addSkill(player, 1121003, player->skills->getSkillLevel(1121003));
		player->skills->addSkillLevel(1121004, 30); 
		SkillsPacket::addSkill(player, 1121004, player->skills->getSkillLevel(1121004));
		player->skills->addSkillLevel(1121005, 30); 
		SkillsPacket::addSkill(player, 1121005, player->skills->getSkillLevel(1121005));
		player->skills->addSkillLevel(1121006, 30); 
		SkillsPacket::addSkill(player, 1121006, player->skills->getSkillLevel(1121006));
		player->skills->addSkillLevel(1121008, 30); 
		SkillsPacket::addSkill(player, 1121008, player->skills->getSkillLevel(1121008));
		player->skills->addSkillLevel(11210010, 30); 
		SkillsPacket::addSkill(player, 11210010, player->skills->getSkillLevel(11210010));
		player->skills->addSkillLevel(11210011, 1); 
		SkillsPacket::addSkill(player, 11210011, player->skills->getSkillLevel(11210011));
		player->skills->addSkillLevel(1221000, 20);//Paladin
		SkillsPacket::addSkill(player, 1221000, player->skills->getSkillLevel(1221000));
		player->skills->addSkillLevel(1221001, 30); 
		SkillsPacket::addSkill(player, 1221001, player->skills->getSkillLevel(1221001));
		player->skills->addSkillLevel(1221002, 30); 
		SkillsPacket::addSkill(player, 1221002, player->skills->getSkillLevel(1221002));
		player->skills->addSkillLevel(1121003, 20); 
		SkillsPacket::addSkill(player, 1221003, player->skills->getSkillLevel(1221003));
		player->skills->addSkillLevel(1221004, 20); 
		SkillsPacket::addSkill(player, 1221004, player->skills->getSkillLevel(1221004));
		player->skills->addSkillLevel(1221005, 30); 
		SkillsPacket::addSkill(player, 1221005, player->skills->getSkillLevel(1221005));
		player->skills->addSkillLevel(1221006, 30); 
		SkillsPacket::addSkill(player, 1221006, player->skills->getSkillLevel(1221006));
		player->skills->addSkillLevel(1221007, 30); 
		SkillsPacket::addSkill(player, 1221007, player->skills->getSkillLevel(1221007));
		player->skills->addSkillLevel(1221009, 30); 
		SkillsPacket::addSkill(player, 1221009, player->skills->getSkillLevel(1221009));
		player->skills->addSkillLevel(1221010, 10); 
		SkillsPacket::addSkill(player, 1221010, player->skills->getSkillLevel(1221010));
		player->skills->addSkillLevel(1221011, 30); 
		SkillsPacket::addSkill(player, 1221011, player->skills->getSkillLevel(1221011));
		player->skills->addSkillLevel(1221012, 20); 
		SkillsPacket::addSkill(player, 1221012, player->skills->getSkillLevel(1221012));
		player->skills->addSkillLevel(1321000, 30); //Dark Knight
		SkillsPacket::addSkill(player, 1321000, player->skills->getSkillLevel(1321000));
		player->skills->addSkillLevel(1321001, 30); 
		SkillsPacket::addSkill(player, 1321001, player->skills->getSkillLevel(1321001));
		player->skills->addSkillLevel(1321002, 30); 
		SkillsPacket::addSkill(player, 1321002, player->skills->getSkillLevel(1321002));
		player->skills->addSkillLevel(1321003, 30); 
		SkillsPacket::addSkill(player, 1321003, player->skills->getSkillLevel(1321003));
		player->skills->addSkillLevel(1321005, 30); 
		SkillsPacket::addSkill(player, 1321005, player->skills->getSkillLevel(1321005));
		player->skills->addSkillLevel(1321006, 30); 
		SkillsPacket::addSkill(player, 1321006, player->skills->getSkillLevel(1321006));
		player->skills->addSkillLevel(1321007, 10); 
		SkillsPacket::addSkill(player, 1321007, player->skills->getSkillLevel(1321007));
		player->skills->addSkillLevel(1321008, 25); 
		SkillsPacket::addSkill(player, 1321008, player->skills->getSkillLevel(1321008));
		player->skills->addSkillLevel(1321009, 25); 
		SkillsPacket::addSkill(player, 1321009, player->skills->getSkillLevel(1321009));
		player->skills->addSkillLevel(1321010, 1); 
		SkillsPacket::addSkill(player, 1321010, player->skills->getSkillLevel(1321010));
		player->skills->addSkillLevel(2121000, 20);//Fire/Poison Arch Mage 
		SkillsPacket::addSkill(player, 2121000, player->skills->getSkillLevel(2121000));
		player->skills->addSkillLevel(2121001, 30); 
		SkillsPacket::addSkill(player, 2121001, player->skills->getSkillLevel(2121001));
		player->skills->addSkillLevel(2121002, 30); 
		SkillsPacket::addSkill(player, 2121002, player->skills->getSkillLevel(2121002));
		player->skills->addSkillLevel(2121003, 30); 
		SkillsPacket::addSkill(player, 2121003, player->skills->getSkillLevel(2121003));
		player->skills->addSkillLevel(2121004, 30); 
		SkillsPacket::addSkill(player, 2121004, player->skills->getSkillLevel(2121004));
		player->skills->addSkillLevel(2121005, 30); 
		SkillsPacket::addSkill(player, 2121005, player->skills->getSkillLevel(2121005));
		player->skills->addSkillLevel(2121006, 30); 
		SkillsPacket::addSkill(player, 2121006, player->skills->getSkillLevel(2121006));
		player->skills->addSkillLevel(2121007, 30); 
		SkillsPacket::addSkill(player, 2121007, player->skills->getSkillLevel(2121007));
		player->skills->addSkillLevel(2121008, 1); 
		SkillsPacket::addSkill(player, 2121008, player->skills->getSkillLevel(2121008));
		player->skills->addSkillLevel(1221000, 20); //Ice/Lightning Arch Mage
		SkillsPacket::addSkill(player, 1221000, player->skills->getSkillLevel(1221000));
		player->skills->addSkillLevel(2221001, 30); 
		SkillsPacket::addSkill(player, 2221001, player->skills->getSkillLevel(2221001));
		player->skills->addSkillLevel(2221002, 30); 
		SkillsPacket::addSkill(player, 2221002, player->skills->getSkillLevel(2221002));
		player->skills->addSkillLevel(2221003, 30); 
		SkillsPacket::addSkill(player, 2221003, player->skills->getSkillLevel(2221003));
		player->skills->addSkillLevel(2221004, 30); 
		SkillsPacket::addSkill(player, 2221004, player->skills->getSkillLevel(2221004));
		player->skills->addSkillLevel(2221005, 30); 
		SkillsPacket::addSkill(player, 2221005, player->skills->getSkillLevel(2221005));
		player->skills->addSkillLevel(2221006, 30); 
		SkillsPacket::addSkill(player, 2221006, player->skills->getSkillLevel(2221006));
		player->skills->addSkillLevel(2221007, 30); 
		SkillsPacket::addSkill(player, 2221007, player->skills->getSkillLevel(2221007));
		player->skills->addSkillLevel(2221008, 1); 
		SkillsPacket::addSkill(player, 2221008, player->skills->getSkillLevel(2221008));
		player->skills->addSkillLevel(2321000, 20);//Bishop
		SkillsPacket::addSkill(player, 2321000, player->skills->getSkillLevel(2321000));
		player->skills->addSkillLevel(2321001, 30); 
		SkillsPacket::addSkill(player, 2321001, player->skills->getSkillLevel(2321001));
		player->skills->addSkillLevel(2321002, 30); 
		SkillsPacket::addSkill(player, 2321002, player->skills->getSkillLevel(2321002));
		player->skills->addSkillLevel(2321003, 30); 
		SkillsPacket::addSkill(player, 2321003, player->skills->getSkillLevel(2321003));
		player->skills->addSkillLevel(2321004, 30); 
		SkillsPacket::addSkill(player, 2321004, player->skills->getSkillLevel(2321004));
		player->skills->addSkillLevel(2321005, 30); 
		SkillsPacket::addSkill(player, 2321005, player->skills->getSkillLevel(2321005));
		player->skills->addSkillLevel(2321006, 10); 
		SkillsPacket::addSkill(player, 2321006, player->skills->getSkillLevel(2321006));
		player->skills->addSkillLevel(2321007, 30); 
		SkillsPacket::addSkill(player, 2321007, player->skills->getSkillLevel(2321007));
		player->skills->addSkillLevel(2321008, 30); 
		SkillsPacket::addSkill(player, 2321008, player->skills->getSkillLevel(2321008));
		player->skills->addSkillLevel(2321009, 1); 
		SkillsPacket::addSkill(player, 2321009, player->skills->getSkillLevel(2321009));
		player->skills->addSkillLevel(3121000, 20);//BowMaster 
		SkillsPacket::addSkill(player, 3121000, player->skills->getSkillLevel(3121000));
		player->skills->addSkillLevel(3121002, 30); 
		SkillsPacket::addSkill(player, 3121002, player->skills->getSkillLevel(3121002));
		player->skills->addSkillLevel(3121003, 30); 
		SkillsPacket::addSkill(player, 3121003, player->skills->getSkillLevel(3121003));
		player->skills->addSkillLevel(3121004, 30); 
		SkillsPacket::addSkill(player, 3121004, player->skills->getSkillLevel(3121004));
		player->skills->addSkillLevel(3121005, 30); 
		SkillsPacket::addSkill(player, 3121005, player->skills->getSkillLevel(3121005));
		player->skills->addSkillLevel(3121006, 30); 
		SkillsPacket::addSkill(player, 3121006, player->skills->getSkillLevel(3121006));
		player->skills->addSkillLevel(3121007, 30); 
		SkillsPacket::addSkill(player, 3121007, player->skills->getSkillLevel(3121007));
		player->skills->addSkillLevel(3121008, 30);
		SkillsPacket::addSkill(player, 3121008, player->skills->getSkillLevel(3121008));
		player->skills->addSkillLevel(3121009, 1); 
		SkillsPacket::addSkill(player, 3121009, player->skills->getSkillLevel(3121009));
		player->skills->addSkillLevel(3221000, 20);//Marksman
		SkillsPacket::addSkill(player, 3221000, player->skills->getSkillLevel(3221000));
		player->skills->addSkillLevel(3221001, 30); 
		SkillsPacket::addSkill(player, 3221001, player->skills->getSkillLevel(3221001));
		player->skills->addSkillLevel(3221002, 30); 
		SkillsPacket::addSkill(player, 3221002, player->skills->getSkillLevel(3221002));
		player->skills->addSkillLevel(3221003, 30); 
		SkillsPacket::addSkill(player, 3221003, player->skills->getSkillLevel(3221003));
		player->skills->addSkillLevel(3221004, 30); 
		SkillsPacket::addSkill(player, 3221004, player->skills->getSkillLevel(3221004));
		player->skills->addSkillLevel(3221005, 30); 
		SkillsPacket::addSkill(player, 3221005, player->skills->getSkillLevel(3221005));
		player->skills->addSkillLevel(3221006, 30); 
		SkillsPacket::addSkill(player, 3221006, player->skills->getSkillLevel(3221006));
		player->skills->addSkillLevel(3221007, 30); 
		SkillsPacket::addSkill(player, 3221007, player->skills->getSkillLevel(3221007));
		player->skills->addSkillLevel(3221008, 1); 
		SkillsPacket::addSkill(player, 3221008, player->skills->getSkillLevel(3221008));
		player->skills->addSkillLevel(4121000, 20); //Night Lord
		SkillsPacket::addSkill(player, 4121000, player->skills->getSkillLevel(4121000));
		player->skills->addSkillLevel(4121002, 30); 
		SkillsPacket::addSkill(player, 4121002, player->skills->getSkillLevel(4121002));
		player->skills->addSkillLevel(4121003, 30); 
		SkillsPacket::addSkill(player, 4121003, player->skills->getSkillLevel(4121003));
		player->skills->addSkillLevel(4121004, 30); 
		SkillsPacket::addSkill(player, 4121004, player->skills->getSkillLevel(4121004));
		player->skills->addSkillLevel(4121005, 30); 
		SkillsPacket::addSkill(player, 4121005, player->skills->getSkillLevel(4121005));
		player->skills->addSkillLevel(4121006, 30); 
		SkillsPacket::addSkill(player, 4121006, player->skills->getSkillLevel(4121006));
		player->skills->addSkillLevel(4121007, 30); 
		SkillsPacket::addSkill(player, 4121007, player->skills->getSkillLevel(4121007));
		player->skills->addSkillLevel(4121008, 30); 
		SkillsPacket::addSkill(player, 4121008, player->skills->getSkillLevel(4121008));
		player->skills->addSkillLevel(4121009, 1); 
		SkillsPacket::addSkill(player, 4121009, player->skills->getSkillLevel(4121009));
		player->skills->addSkillLevel(4221000, 20); //Shadower
		SkillsPacket::addSkill(player, 4221000, player->skills->getSkillLevel(4221000));
		player->skills->addSkillLevel(4221001, 30); 
		SkillsPacket::addSkill(player, 4221001, player->skills->getSkillLevel(4221001));
		player->skills->addSkillLevel(4221002, 30); 
		SkillsPacket::addSkill(player, 4221002, player->skills->getSkillLevel(4221002));
		player->skills->addSkillLevel(4221003, 30); 
		SkillsPacket::addSkill(player, 4221003, player->skills->getSkillLevel(4221003));
		player->skills->addSkillLevel(4221004, 30); 
		SkillsPacket::addSkill(player, 4221004, player->skills->getSkillLevel(4221004));
		player->skills->addSkillLevel(4221005, 30); 
		SkillsPacket::addSkill(player, 4221005, player->skills->getSkillLevel(4221005));
		player->skills->addSkillLevel(4221006, 30); 
		SkillsPacket::addSkill(player, 4221006, player->skills->getSkillLevel(4221006));
		player->skills->addSkillLevel(4221007, 30); 
		SkillsPacket::addSkill(player, 4221007, player->skills->getSkillLevel(4221007));
		player->skills->addSkillLevel(4221008, 1); 
		SkillsPacket::addSkill(player, 4221008, player->skills->getSkillLevel(4221008));
        npc->giveItem(1002140, 1);
        npc->giveItem(1042003, 1);
        npc->giveItem(1062007, 1);
        npc->giveItem(1322013, 1);
        npc->giveItem(1072010, 1);
		npc->giveMesos(50000000);
		player->setJob(510);
		MySQL::setInt("characters", "skilladded", player->getPlayerid(), 1);
        npc->end();
        }else{
        npc->addText("Goodbye then.");
        npc->sendOK();
        npc->end();
}
}
}
}

add These Lines To NpcScripts.h
Code:
case 1061008: npc_1061008(npc); break; //GM's SkillAdder
static void npc_1061008(NPC* npc); //GM's SkillAdder

Also Add This Line in MySql/NaviCat
Code:
ALTER TABLE `maplestory`.`characters` ADD COLUMN `skilladded` INTEGER DEFAULT 0;

Compile Then Your Done
The Npc Is Mr.Oh From SleepyWood
Credits Go To Original Script Maker TerraEnvy
http://forum.ragezone.com/showthread.php?t=396828
And Me For improving It
 
Status
Not open for further replies.
Back
Top