Code:
function Leveler_OnTalk(pUnit, event, player)
LevelerMenu(pUnit, player)
end
local npcid = 7
function LevelerMenu(pUnit, player)
pUnit:GossipCreateMenu(3544, player, 0)
pUnit:GossipMenuAddItem(4, "Level 255, Please!", 100, 0)
pUnit:GossipSendMenu(player)
end
function Leveler_OnSelect(pUnit, event, player, id, intid, code, pMisc)
if(intid == 100) then
pUnit:SendChatMessage(12, 0, "You have been granted level 255. Thanks for playing on GM-WoW!")
player:SetPlayerLevel(255)
player:Teleport(1, 16200,16207, 1)
end
Code:
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `killcredit1`, `killcredit2`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `leader`)
values ('7', "GM-WoW Starter Kit", "www.GM-WoW.com", '', '0', '10', '0', '0', '0', '0', '27475', '0', '0', '0', '1', '1', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `can_ranged`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `respawntime`, `armor`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`, `summonguard`)
values ('7', '255', '1', '35', '1337', '1337', '1337', '1', '1', '500', '0', '190', '99999', '0', '0', '0', '0', '60000', '111111', '99999999', '99999999', '99999999', '99999999', '99999999', '99999999', '0', '0', "0", '0', '0', '0', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0', '0');