Code:
function talk(Unit, event, player)
Unit:GossipCreateMenu(5192, player, 0)
Unit:GossipMenuAddItem(0, "Instant Become Level 80", 1,0)
Unit:GossipMenuAddItem(0, "Choose to Take a Leveling Road Where Great Treasure Awaits!", 2,0)
Unit:GossipSendMenu(player)
end
function select(Unit, event, player, id, intid, code)
if(intid == 1) then
Unit:GossipCreateMenu(5193, player, 0)
Unit:GossipMenuAddItem(0, "If your Choose The Path of Instant 80, i will use my magic to give you enough experience to level to 80 and teleport you to the mall. Although you will never be able to return to me to change your mind.", 1,0)
Unit:GossipMenuAddItem(0, "I Have Made my Decision! Level Me!!", 4,4)
Unit:GossipSendMenu(player)
end
if(intid == 3) then
Unit:GossipCreateMenu(5194, player, 0)
Unit:GossipMenuAddItem(0, "If your Choose The Path of Leveling, i will use my magic to teleport you to a leveling road, i will also give you an Focusing Stone Which will allow you freely travel back and fourth between the leveling road and the rest of the world! Upon reaching 80 you will be given a choice of a many great objects, Although you will be Permitted to change your mind if you choose to have my magic boost you then your soul will be forever tainted and you will never recieve the weapon i speak of", 75,4)
Unit:GossipMenuAddItem(0, "I Have Made my Decision! Teleport Me!!", 5,4)
Unit:GossipMenuAddItem(0, "I am unsure show me my other options again", 75,4)
Unit:GossipSendMenu(player)
end
if(intid == 4) then
Unit:GossipCreateMenu(5195, player, 0)
player:SetPlayerLevel(80)
Unit:SendChatMessage(0,0, "Ahhhh, My Power is Not Strong Enough, i cannot teleport you! Lucky were still in development lol xD Ill fix it before release we just need a mall first")
Unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
Unit:GossipSendMenu(player)
end
if(intid == 5) then
Unit:GossipCreateMenu(5196, player, 0)
Unit:SendChatMessage(0,0, "Ahhhh, My Power is Not Strong Enough, i cannot teleport you! Lucky were still in development lol xD Ill fix it before release we just need a mall first")
Unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
Unit:GossipSendMenu(player)
end
if(intid == 75) then
Unit:GossipCreateMenu(5197, player, 0)
Unit:GossipMenuAddItem(0, "Instant Become Level 80", 1,0)
Unit:GossipMenuAddItem(0, "Choose to Take a Leveling Road Where Great Treasure Awaits!", 2,0)
Unit:GossipSendMenu(player)
end
end
RegisterUnitGossipEvent(55192, 1, "talk")
RegisterUnitGossipEvent(55192 ,2, "select")