Code:
local npcid = 24775
function On_GossipMenu(unit, event, player)
if (player:IsInCombat() == true) then
unit:SendChatMessage(12, 0, "I'm afraid I can't help you.")
else
unit:GossipCreateMenu(100, player, 0)
unit:GossipMenuAddItem(4,"Morphs", 1, 0)
unit:GossipSendMenu(player)
end
end
function On_GossipSelect(unit, event, player, id, intid, code)
if (intid == 1) then
unit:GossipCreateMenu(100, player, 0)
unit:GossipMenuAddItem(5,"Human", 2, 0)
unit:GossipMenuAddItem(5,"Murloc", 3, 0)
unit:GossipMenuAddItem(5,"Hogger", 4, 0)
unit:GossipMenuAddItem(5,"Robot", 5, 0)
unit:GossipMenuAddItem(5,"Goblin", 6, 0)
unit:GossipMenuAddItem(5,"Wisp", 7, 0)
unit:GossipMenuAddItem(5,"Dragon", 8, 0)
unit:GossipMenuAddItem(5,"Lumberjack", 9, 0)
unit:GossipMenuAddItem(5,"Tauren", 10, 0)
unit:GossipMenuAddItem(5,"Worm", 11, 0)
unit:GossipMenuAddItem(5,"Hydra", 12, 0)
unit:GossipMenuAddItem(4,"[Next]", 990, 0)
unit:GossipMenuAddItem(4,"[Demorph]", 980, 0)
unit:GossipMenuAddItem(4,"[Back to Main Menu]", 1000, 0)
unit:GossipSendMenu(player)
end
if (intid == 2) then
player:SetModel(6074)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 3) then
player:SetModel(15395)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 4) then
player:SetModel(384)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 5) then
player:SetModel(6889)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 6) then
player:SetModel(18290)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 7) then
player:SetModel(17607)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 8) then
player:SetModel(308)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 9) then
player:SetModel(741)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 10) then
player:SetModel(20618)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 11) then
player:SetModel(13009)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 12) then
player:SetModel(6737)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 990) then
unit:GossipCreateMenu(100, player, 0)
unit:GossipMenuAddItem(5,"Defias Bandit", 13, 0)
unit:GossipMenuAddItem(5,"VanCleef", 14, 0)
unit:GossipMenuAddItem(5,"Ooze", 15, 0)
unit:GossipMenuAddItem(5,"Santa!", 16, 0)
unit:GossipMenuAddItem(5,"Santa's Lil'Helper!", 17, 0)
unit:GossipMenuAddItem(5,"Dark Iron", 18, 0)
unit:GossipMenuAddItem(5,"Infernal", 19, 0)
unit:GossipMenuAddItem(5,"Cow", 20, 0)
unit:GossipMenuAddItem(4,"[Next]", 991, 0)
unit:GossipMenuAddItem(4,"[Demorph]", 980, 0)
unit:GossipMenuAddItem(4,"[Back to Main Menu]", 1000, 0)
unit:GossipSendMenu(player)
end
if (intid == 13) then
player:SetModel(116)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 14) then
player:SetModel(2029)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 15) then
player:SetModel(4393)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 16) then
player:SetModel(13369)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 17) then
player:SetModel(15698)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 18) then
player:SetModel(7797)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 19) then
player:SetModel(10905)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 20) then
player:SetModel(2442)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 991) then
unit:GossipCreateMenu(100, player, 0)
unit:GossipMenuAddItem(5,"Thrall", 21, 0)
unit:GossipMenuAddItem(5,"Lady Sylvanas", 22, 0)
unit:GossipMenuAddItem(5,"Cairne Bloodhoof", 23, 0)
unit:GossipMenuAddItem(5,"Lor´themar Theron", 24, 0)
unit:GossipMenuAddItem(5,"King Magni Bronzebeard", 25, 0)
unit:GossipMenuAddItem(5,"Highlord Bolvar Fordragon", 26, 0)
unit:GossipMenuAddItem(5,"High Tinker Mekkatorque", 27, 0)
unit:GossipMenuAddItem(5,"Tyrande Whisperwind", 28, 0)
unit:GossipMenuAddItem(4,"[Next]", 992, 0)
unit:GossipMenuAddItem(4,"[Demorph]", 980, 0)
unit:GossipMenuAddItem(4,"[Back to Main Menu]", 1000, 0)
unit:GossipSendMenu(player)
end
if (intid == 21) then
player:SetModel(4527)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 22) then
player:SetModel(11657)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 23) then
player:SetModel(4307)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 24) then
player:SetModel(17112)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 25) then
player:SetModel(3597)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 26) then
player:SetModel(5566)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 27) then
player:SetModel(7006)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 28) then
player:SetModel(7274)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 992) then
unit:GossipCreateMenu(100, player, 0)
unit:GossipMenuAddItem(5,"O´ros", 29, 0)
unit:GossipMenuAddItem(5,"Gazelle", 30, 0)
unit:GossipMenuAddItem(5,"Cat", 31, 0)
unit:GossipMenuAddItem(5,"Goat", 32, 0)
unit:GossipMenuAddItem(5,"Snake", 33, 0)
unit:GossipMenuAddItem(5,"Dragon", 34, 0)
unit:GossipMenuAddItem(5,"Cockroach", 35, 0)
unit:GossipMenuAddItem(5,"Rat", 36, 0)
unit:GossipMenuAddItem(4,"[Next]", 993, 0)
unit:GossipMenuAddItem(4,"[Demorph]", 980, 0)
unit:GossipMenuAddItem(4,"[Back to Main Menu]", 1000, 0)
unit:GossipSendMenu(player)
end
if (intid == 29) then
player:SetModel(18154)
player:SetScale (.2)
player:GossipComplete()
end
if (intid == 30) then
player:SetModel(1547)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 31) then
player:SetModel(5555)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 32) then
player:SetModel(10000)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 33) then
player:SetModel(17000)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 34) then
player:SetModel(17093)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 35) then
player:SetModel(2177)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 36) then
player:SetModel(1141)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 993) then
unit:GossipCreateMenu(100, player, 0)
unit:GossipMenuAddItem(5,"Blood Parrot", 37, 0)
unit:GossipMenuAddItem(5,"Shark", 38, 0)
unit:GossipMenuAddItem(5,"Worm", 39, 0)
unit:GossipMenuAddItem(5,"Bear", 40, 0)
unit:GossipMenuAddItem(5,"Wolf", 41, 0)
unit:GossipMenuAddItem(5,"Fel Reaver", 42, 0)
unit:GossipMenuAddItem(5,"Water elemental", 43, 0)
unit:GossipMenuAddItem(5,"Fire elemental", 44, 0)
unit:GossipMenuAddItem(4,"[Next]", 994, 0)
unit:GossipMenuAddItem(4,"[Demorph]", 980, 0)
unit:GossipMenuAddItem(4,"[Back to Main Menu]", 1000, 0)
unit:GossipSendMenu(player)
end
if (intid == 37) then
player:SetModel(9554)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 38) then
player:SetModel(12210)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 39) then
player:SetModel(7900)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 40) then
player:SetModel(3200)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 41) then
player:SetModel(19422)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 42) then
player:SetModel(21435)
player:SetScale (.2)
player:GossipComplete()
end
if (intid == 43) then
player:SetModel(525)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 44) then
player:SetModel(12129)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 994) then
unit:GossipCreateMenu(100, player, 0)
unit:GossipMenuAddItem(5,"Kael'thas", 45, 0)
unit:GossipMenuAddItem(5,"Maiev Shadowsong", 46, 0)
unit:GossipMenuAddItem(5,"Archmonde", 47, 0)
unit:GossipMenuAddItem(5,"Illidan Stormrage", 48, 0)
unit:GossipMenuAddItem(5,"Akama", 49, 0)
unit:GossipMenuAddItem(5,"Al'ar", 50, 0)
unit:GossipMenuAddItem(5,"Lady Vashj", 51, 0)
unit:GossipMenuAddItem(5,"Lady Sinestra", 52, 0)
unit:GossipMenuAddItem(5,"Champion Sunstrike", 53, 0)
unit:GossipMenuAddItem(4,"[Next]", 995, 0)
unit:GossipMenuAddItem(4,"[Demorph]", 980, 0)
unit:GossipMenuAddItem(4,"[Back to Main Menu]", 1000, 0)
unit:GossipSendMenu(player)
end
if (intid == 45) then
player:SetModel(20023)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 46) then
player:SetModel(20628)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 47) then
player:SetModel(18292)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 48) then
player:SetModel(21135)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 49) then
player:SetModel(20681)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 50) then
player:SetModel(18945)
player:SetScale (.2)
player:GossipComplete()
end
if (intid == 51) then
player:SetModel(20748)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 52) then
player:SetModel(21401)
player:SetScale (.2)
player:GossipComplete()
end
if (intid == 53) then
player:SetModel(17261)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 995) then
unit:GossipCreateMenu(100, player, 0)
unit:GossipMenuAddItem(5,"High Warlord Naj'entus", 54, 0)
unit:GossipMenuAddItem(5,"Supremus", 55, 0)
unit:GossipMenuAddItem(5,"Shade of Akama", 56, 0)
unit:GossipMenuAddItem(5,"Teron Gorefiend", 57, 0)
unit:GossipMenuAddItem(5,"Gurtogg Bloodboil", 58, 0)
unit:GossipMenuAddItem(5,"Essence of Suffering", 59, 0)
unit:GossipMenuAddItem(5,"Mother Shahraz", 60, 0)
unit:GossipMenuAddItem(5,"Veras Darkshadow", 61, 0)
unit:GossipMenuAddItem(5,"Gathios the Shatterer", 62, 0)
unit:GossipMenuAddItem(4,"[Next]", 996, 0)
unit:GossipMenuAddItem(4,"[Demorph]", 980, 0)
unit:GossipMenuAddItem(4,"[Back to Main Menu]", 1000, 0)
unit:GossipSendMenu(player)
end
if (intid == 54) then
player:SetModel(21174)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 55) then
player:SetModel(21145)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 56) then
player:SetModel(21357)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 57) then
player:SetModel(21254)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 58) then
player:SetModel(21443)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 59) then
player:SetModel(21483)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 60) then
player:SetModel(21252)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 61) then
player:SetModel(21418)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 62) then
player:SetModel(21416)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 996) then
unit:GossipCreateMenu(100, player, 0)
unit:GossipMenuAddItem(5,"High Nethermancer Zerevor", 63, 0)
unit:GossipMenuAddItem(5,"Lady Malande", 64, 0)
unit:GossipMenuAddItem(5,"Rage Winterchill", 65, 0)
unit:GossipMenuAddItem(5,"Anetheron", 66, 0)
unit:GossipMenuAddItem(5,"Kaz'rogal", 67, 0)
unit:GossipMenuAddItem(5,"Azgalor", 68, 0)
unit:GossipMenuAddItem(5,"Hydross the Unstable", 69, 0)
unit:GossipMenuAddItem(5,"Lurker Below", 70, 0)
unit:GossipMenuAddItem(5,"Leotharas the Blind", 71, 0)
unit:GossipMenuAddItem(4,"[Next]", 997, 0)
unit:GossipMenuAddItem(4,"[Demorph]", 980, 0)
unit:GossipMenuAddItem(4,"[Back to Main Menu]", 1000, 0)
unit:GossipSendMenu(player)
end
if (intid == 63) then
player:SetModel(21417)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 64) then
player:SetModel(21419)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 65) then
player:SetModel(17444)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 66) then
player:SetModel(21069)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 67) then
player:SetModel(17886)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 68) then
player:SetModel(18526)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 69) then
player:SetModel(20162)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 70) then
player:SetModel(20216)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 71) then
player:SetModel(20514)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 997) then
unit:GossipCreateMenu(100, player, 0)
unit:GossipMenuAddItem(5,"Fathom-Lord Karathress", 72, 0)
unit:GossipMenuAddItem(5,"Fathom-Guard Sharkkis", 73, 0)
unit:GossipMenuAddItem(5,"Fathom-Guard Tidalvess", 74, 0)
unit:GossipMenuAddItem(5,"Fathom-Guard Caribdis", 75, 0)
unit:GossipMenuAddItem(5,"Morogrim Tidewalker", 76, 0)
unit:GossipMenuAddItem(5,"Void Reaver", 77, 0)
unit:GossipMenuAddItem(5,"High Astromancer Solarian", 78, 0)
unit:GossipMenuAddItem(4,"[Demorph]", 980, 0)
unit:GossipMenuAddItem(4,"[Back to Main Menu]", 1000, 0)
unit:GossipSendMenu(player)
end
if (intid == 72) then
player:SetModel(20662)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 73) then
player:SetModel(20671)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 74) then
player:SetModel(20670)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 75) then
player:SetModel(20672)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 76) then
player:SetModel(20739)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 77) then
player:SetModel(18951)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 78) then
player:SetModel(18239)
player:SetScale(1)
player:GossipComplete()
end
if (intid == 980) then
unit:SendChatMessage(12, 0, "You must relog to demorph!")
player:SetModel(0)
player:GossipComplete()
end
end
RegisterUnitGossipEvent(24775, 1, "On_GossipMenu")
RegisterUnitGossipEvent(24775, 2, "On_GossipSelect")
Some display ID's are wrong I will fix them in a bit