Code:
local npcid = 99999
function Mega_Buff_NPC_Gossip(unit, event, player)
unit:GossipCreateMenu(100, player, 0)
unit:GossipMenuAddItem(6, "Morph Options", 77, 0)
unit:GossipMenuAddItem(6, "Heal Options", 88, 0)
unit:GossipMenuAddItem(5, "Buff Options", 99, 0)
unit:GossipMenuAddItem(5, "Remove Sickness's Options ", 100, 0)
unit:GossipMenuAddItem(4, "Mall Vendors ", 111, 0)
unit:GossipMenuAddItem(4, "Hearthstone Fix ", 122, 0)
unit:GossipSendMenu(player)
end
function Mega_Buff_NPC_Submenus(unit, event, player, id, intid, code, misc)
if(intid == 75) then
unit:GossipCreateMenu(78, player, 0)
unit:GossipMenuAddItem(6, "Morph Options", 77, 0)
unit:GossipMenuAddItem(6, "Heal Options", 88, 0)
unit:GossipMenuAddItem(5, "Buff Options", 99, 0)
unit:GossipMenuAddItem(5, "Remove Sickness's Options", 100, 0)
unit:GossipMenuAddItem(4, "Mall Vendors ", 111, 0)
unit:GossipMenuAddItem(4, "Hearthstone Fix ", 122, 0)
unit:GossipSendMenu(player)
end
if(intid == 4) then
unit:GossipCreateMenu(62, player, 0)
player:LearnSpell(15007)
player:UnlearnSpell(15007)
unit:GossipMenuAddItem(6, "[Main Menu]", 75, 0)
unit:GossipSendMenu(player)
end
if(intid == 5) then
unit:GossipCreateMenu(63, player, 0)
player:LearnSpell(26013)
player:UnlearnSpell(26013)
unit:GossipMenuAddItem(6, "[Main Menu]", 75, 0)
unit:GossipSendMenu(player)
end
if (intid == 122) then
if(misc:GetItemCount(6948) < 1) then
player:AddItem(6948, 1)
else
player:SendAreaTriggerMessage("You currently have a Hearthstone")
player:GossipComplete(player)
end
end
if(intid == 77) then
unit:GossipCreateMenu(65, player, 0)
unit:GossipMenuAddItem(3,"Scuba-Goblin", 6, 0)
unit:GossipMenuAddItem(3,"Wrapped Sentry", 7, 0)
unit:GossipMenuAddItem(3,"Warp Guard", 8, 0)
unit:GossipMenuAddItem(3,"Ghost Wolf", 9, 0)
unit:GossipMenuAddItem(3,"Black Flower", 10, 0)
unit:GossipMenuAddItem(3,"Blue Flower", 11, 0)
unit:GossipMenuAddItem(3,"Thrall", 12, 0)
unit:GossipMenuAddItem(3,"Sneeds Shreader", 13, 0)
unit:GossipMenuAddItem(3,"Mage in Pimp Hat", 14, 0)
unit:GossipMenuAddItem(3,"Shark", 15, 0)
unit:GossipMenuAddItem(3,"Hammerhead Shark", 16, 0)
unit:GossipMenuAddItem(3,"Ironforge Guard", 17, 0)
unit:GossipMenuAddItem(3,"Ironfroge Mage", 18, 0)
unit:GossipMenuAddItem(3,"Horde Sentry Warrior", 19, 0)
unit:GossipMenuAddItem(3,"Horde Sentry Shaman", 20, 0)
unit:GossipSendMenu(player)
end
if(intid == 88) then
unit:GossipCreateMenu(69, player, 0)
unit:GossipMenuAddItem(4, "Renew +1200 Heal over Time", 1, 0)
unit:GossipMenuAddItem(4, "Holy Light +47500 HP", 2, 0)
unit:GossipMenuAddItem(4, "Cleanse Spirit", 3, 0)
unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
unit:GossipSendMenu(player)
end
if(intid == 99) then
unit:GossipCreateMenu(61, player, 0)
unit:FullCastSpellOnTarget(33077, player)
unit:FullCastSpellOnTarget(33078, player)
unit:FullCastSpellOnTarget(33079, player)
unit:FullCastSpellOnTarget(33080, player)
unit:FullCastSpellOnTarget(33081, player)
unit:FullCastSpellOnTarget(33082, player)
unit:FullCastSpellOnTarget(42995, player)
unit:FullCastSpellOnTarget(48161, player)
unit:FullCastSpellOnTarget(25898, player)
unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
unit:GossipSendMenu(player)
end
if(intid == 100) then
unit:GossipCreateMenu(71, player, 0)
unit:GossipMenuAddItem(4, "Remove Ressurection Sickness", 4, 0)
unit:GossipMenuAddItem(4, "Remove Deserter Sickness", 5, 0)
unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
unit:GossipSendMenu(player)
end
if(intid == 111) then
unit:GossipCreateMenu(101, player, 0)
unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
unit:GossipMenuAddItem(8, "[Class Trainers]", 21, 0)
unit:GossipMenuAddItem(8, "[Tier 7]", 22, 0)
unit:GossipMenuAddItem(8, "[Weapons]", 23, 0)
unit:GossipMenuAddItem(8, "[Rings] [Necklace] [Shield] [Trinkets]", 24, 0)
unit:GossipMenuAddItem(8, "[Tabard] [Cloak]", 25, 0)
unit:GossipMenuAddItem(8, "[Season 5] [Relics] [Container]", 26, 0)
unit:GossipMenuAddItem(8, "[Glyph 1] [Glyph 2] [Wrist]", 27, 0)
unit:GossipMenuAddItem(8, "[Book A-Z] [Leather A-Z]", 28, 0)
unit:GossipMenuAddItem(8, "[Jewelcrafting A-Z] [Engineering/Enchanting A-Z]", 29, 0)
unit:GossipMenuAddItem(8, "[Alchemy/Blacksmithing/Tailoring]", 30, 0)
unit:GossipMenuAddItem(8, "[Waist] [Feet] [Heirloom]", 31, 0)
unit:GossipMenuAddItem(8, "[Ground Mounts] [Flying Mounts]", 32, 0)
unit:GossipMenuAddItem(8, "[Item Enhancement]", 33, 0)
unit:GossipMenuAddItem(8, "[Reagents 1]", 34, 0)
unit:GossipMenuAddItem(8, ">->Next Page>->", 500, 0)
unit:GossipSendMenu(player)
end
if(intid == 500) then
unit:GossipCreateMenu(102, player, 0)
unit:GossipMenuAddItem(8, "[Reagents 2]", 36, 0)
unit:GossipMenuAddItem(8, "[General Goods]", 37, 0)
unit:GossipMenuAddItem(8, "[Quiver, AmmoPouch, Projectile]", 38, 0)
unit:GossipMenuAddItem(8, "[Currency]", 39, 0)
unit:GossipMenuAddItem(8, "[Gemstones]", 40, 0)
unit:GossipMenuAddItem(8, "[Armor Tokens, Keys]", 41, 0)
unit:GossipMenuAddItem(8, "[Proffession Trainers]", 42, 0)
unit:GossipMenuAddItem(8, "[Riding Trainer]", 43, 0)
unit:GossipMenuAddItem(8, "[Weapons Trainer]", 44, 0)
unit:GossipMenuAddItem(0, "[Back]", 111, 0)
unit:GossipSendMenu(player)
end
if (intid == 21) then
unit:GossipCreateMenu(800, player, 0)
unit:GossipMenuAddItem(2, "Classtrainer Melee 1", 200, 0)
unit:GossipMenuAddItem(2, "Classtrainer Melee 2", 201, 0)
unit:GossipMenuAddItem(2, "Classtrainer Spell 1", 202, 0)
unit:GossipMenuAddItem(2, "Classtrainer Spell 2", 203, 0)
unit:GossipMenuAddItem(0, "[Back]", 111, 0)
unit:GossipSendMenu(player)
end
if (intid == 22) then
unit:GossipCreateMenu(501, player, 0)
unit:GossipMenuAddItem(2, "Tier7 1 Vendor", 204, 0)
unit:GossipMenuAddItem(2, "Tier7 2 Vendor", 205, 0)
unit:GossipMenuAddItem(0, "[Back]", 111, 0)
unit:GossipSendMenu(player)
end
if (intid == 23) then
unit:GossipCreateMenu(502, player, 0)
unit:GossipMenuAddItem(2, "Weapons 200+ Vendor", 206, 0)
unit:GossipMenuAddItem(0, "[Back]", 111, 0)
unit:GossipSendMenu(player)
end
if (intid == 24) then
unit:GossipCreateMenu(503, player, 0)
unit:GossipMenuAddItem(2, "Rings Vendor", 207, 0)
unit:GossipMenuAddItem(2, "Necklace Vendor", 208, 0)
unit:GossipMenuAddItem(2, "Shield Vendor", 208, 0)
unit:GossipMenuAddItem(2, "Trinkets Vendor", 248, 0)
unit:GossipMenuAddItem(0, "[Back]", 111, 0)
unit:GossipSendMenu(player)
end
if (intid == 25) then
unit:GossipCreateMenu(504, player, 0)
unit:GossipMenuAddItem(2, "Tabard Vendor", 210, 0)
unit:GossipMenuAddItem(2, "Cloak Vendor", 211, 0)
unit:GossipMenuAddItem(0, "[Back]", 111, 0)
unit:GossipSendMenu(player)
end
if (intid == 26) then
unit:GossipCreateMenu(505, player, 0)
unit:GossipMenuAddItem(2, "Season 5 Vendor", 212, 0)
unit:GossipMenuAddItem(2, "Relic Vendor", 213, 0)
unit:GossipMenuAddItem(2, "Container Vendor", 214, 0)
unit:GossipMenuAddItem(0, "[Back]", 111, 0)
unit:GossipSendMenu(player)
end
if (intid == 27) then
unit:GossipCreateMenu(506, player, 0)
unit:GossipMenuAddItem(2, "Glyph 1 Vendor", 215, 0)
unit:GossipMenuAddItem(2, "Glyph 2 Vendor", 216, 0)
unit:GossipMenuAddItem(2, "Wrist Vendor", 217, 0)
unit:GossipMenuAddItem(0, "[Back]", 111, 0)
unit:GossipSendMenu(player)
end
if (intid == 28) then
unit:GossipCreateMenu(507, player, 0)
unit:GossipMenuAddItem(2, "Book A-Z Vendor", 218, 0)
unit:GossipMenuAddItem(2, "Leather A-Z Vendor", 219, 0)
unit:GossipMenuAddItem(0, "[Back]", 111, 0)
unit:GossipSendMenu(player)
end
if (intid == 29) then
unit:GossipCreateMenu(508, player, 0)
unit:GossipMenuAddItem(2, "Jewelcrafting A-Z Vendor", 220, 0)
unit:GossipMenuAddItem(2, "Engineering/Enchanting A-Z Vendor", 221, 0)
unit:GossipMenuAddItem(0, "[Back]", 111, 0)
unit:GossipSendMenu(player)
end
if (intid == 30) then
unit:GossipCreateMenu(509, player, 0)
unit:GossipMenuAddItem(2, "Alchemy/Blacksmithing/Tailoring Vendor", 222, 0)
unit:GossipMenuAddItem(0, "[Back]", 111, 0)
unit:GossipSendMenu(player)
end
if (intid == 31) then
unit:GossipCreateMenu(510, player, 0)
unit:GossipMenuAddItem(2, "Waist Vendor", 223, 0)
unit:GossipMenuAddItem(2, "Feet Vendor", 224, 0)
unit:GossipMenuAddItem(2, "Heirloom Vendor", 225, 0)
unit:GossipMenuAddItem(0, "[Back]", 111, 0)
unit:GossipSendMenu(player)
end
if (intid == 32) then
unit:GossipCreateMenu(511, player, 0)
unit:GossipMenuAddItem(2, "Ground Mounts Vendor", 226, 0)
unit:GossipMenuAddItem(2, "Flying MOunts Vendor", 227, 0)
unit:GossipMenuAddItem(0, "[Back]", 111, 0)
unit:GossipSendMenu(player)
end
if (intid == 33) then
unit:GossipCreateMenu(512, player, 0)
unit:GossipMenuAddItem(2, "Item Enhancement (Permanent) Vendor", 228, 0)
unit:GossipMenuAddItem(2, "Item Enhancement (Temporary) Vendor", 229, 0)
unit:GossipMenuAddItem(0, "[Back]", 111, 0)
unit:GossipSendMenu(player)
end
if (intid == 34) then
unit:GossipCreateMenu(513, player, 0)
unit:GossipMenuAddItem(2, "Reagent ( Enchanting ) Vendor", 230, 0)
unit:GossipMenuAddItem(2, "Reagent ( Leatherworking ) Vendor", 231, 0)
unit:GossipMenuAddItem(2, "Reagent ( Blacksmithing ) Vendor", 232, 0)
unit:GossipMenuAddItem(0, "[Back]", 111, 0)
unit:GossipSendMenu(player)
end
if (intid == 36) then
unit:GossipCreateMenu(514, player, 0)
unit:GossipMenuAddItem(2, "Reagent ( Inscription ) Vendor", 233, 0)
unit:GossipMenuAddItem(2, "Reagent ( Engineering ) Vendor", 234, 0)
unit:GossipMenuAddItem(2, "Reagent ( Alchemy ) Vendor", 235, 0)
unit:GossipMenuAddItem(2, "Reagent ( Tailoring ) Vendor", 236, 0)
unit:GossipMenuAddItem(0, "[Back]", 500, 0)
unit:GossipSendMenu(player)
end
if (intid == 37) then
unit:GossipCreateMenu(515, player, 0)
unit:GossipMenuAddItem(2, "General Goods Vendor", 237, 0)
unit:GossipMenuAddItem(0, "[Back]", 500, 0)
unit:GossipSendMenu(player)
end
if (intid == 38) then
unit:GossipCreateMenu(516, player, 0)
unit:GossipMenuAddItem(2, "Quiver, AmmoPouch, Projectile Vendor", 238, 0)
unit:GossipMenuAddItem(0, "[Back]", 500, 0)
unit:GossipSendMenu(player)
end
if (intid == 39) then
unit:GossipCreateMenu(517, player, 0)
unit:GossipMenuAddItem(2, "Currency Vendor", 239, 0)
unit:GossipMenuAddItem(0, "[Back]", 500, 0)
unit:GossipSendMenu(player)
end
if (intid == 40) then
unit:GossipCreateMenu(518, player, 0)
unit:GossipMenuAddItem(2, "Gemstone I Vendor", 240, 0)
unit:GossipMenuAddItem(2, "Gemstone II Vendor", 241, 0)
unit:GossipMenuAddItem(2, "Gemstone III", 242, 0)
unit:GossipMenuAddItem(0, "[Back]", 500, 0)
unit:GossipSendMenu(player)
end
if (intid == 41) then
unit:GossipCreateMenu(519, player, 0)
unit:GossipMenuAddItem(2, "Armor Tokens Vendor", 243, 0)
unit:GossipMenuAddItem(2, "Keys Vendor", 244, 0)
unit:GossipMenuAddItem(0, "[Back]", 500, 0)
unit:GossipSendMenu(player)
end
if (intid == 42) then
unit:GossipCreateMenu(520, player, 0)
unit:GossipMenuAddItem(2, "Proffession Trainer I", 245, 0)
unit:GossipMenuAddItem(2, "Proffession Trainer II", 249, 0)
unit:GossipMenuAddItem(0, "[Back]", 500, 0)
unit:GossipSendMenu(player)
end
if (intid == 43) then
unit:GossipCreateMenu(521, player, 0)
unit:GossipMenuAddItem(2, "Riding Trainer", 246, 0)
unit:GossipMenuAddItem(0, "[Back]", 500, 0)
unit:GossipSendMenu(player)
end
if (intid == 44) then
unit:GossipCreateMenu(522, player, 0)
unit:GossipMenuAddItem(2, "Weapons Trainer", 247, 0)
unit:GossipMenuAddItem(0, "[Back]", 500, 0)
unit:GossipSendMenu(player)
end
if (intid == 200) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (300030, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 201) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (300040, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 202) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (300050, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 203) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (300060, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 204) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900005, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 205) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900006, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 206) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900007, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 207) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900009, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 208) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900010, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 209) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900011, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 210) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900008, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 211) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900015, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 212) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900013, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 213) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900014, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 214) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900016, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 215) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900017, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 216) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900018, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 217) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900019, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 218) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900020, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 219) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900021, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 220) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900022, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 221) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900023, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 222) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900024, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 223) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900025, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 224) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900026, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 225) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900027, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 226) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900028, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 227) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900029, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 228) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900030, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 229) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900031, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 230) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900032, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 231) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900033, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 232) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900034, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 233) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900035, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 234) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900036, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 235) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900037, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 236) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900038, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 237) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900039, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 238) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900041, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 239) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900043, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 240) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900044, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 241) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900045, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 242) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900046, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 243) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900047, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 244) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (900048, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 245) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (70006, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 246) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (7953, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 247) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (70002, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if (intid == 249) then
local x =player:GetX ()
local y =player:GetY ()
local z =player:GetZ ()
local o =player:GetO ()
player:SpawnCreature (70007, x, y, z, o, 35, 70000)
player:GossipComplete()
end
if(intid == 1) then
unit:FullCastSpellOnTarget(57777, player)
end
if(intid == 2) then
unit:FullCastSpellOnTarget(58053, player)
end
if(intid == 3) then
unit:FullCastSpellOnTarget(51886, player)
end
if(intid == 6) then
player:SetModel(19076)
end
if(intid == 7) then
player:SetModel(19072)
end
if(intid == 8) then
player:SetModel(19061)
end
if(intid == 9) then
player:SetModel(19042)
end
if(intid == 10) then
player:SetModel(19034)
end
if(intid == 11) then
player:SetModel(19031)
end
if(intid == 12) then
player:SetModel(19015)
end
if(intid == 13) then
player:SetModel(19013)
end
if(intid == 14) then
player:SetModel(19005)
end
if(intid == 15) then
player:SetModel(12200)
end
if(intid == 16) then
player:SetModel(12204)
end
if(intid == 17) then
player:SetModel(21816)
end
if(intid == 18) then
player:SetModel(21835)
end
if(intid == 19) then
player:SetModel(23121)
end
if(intid == 20) then
player:SetModel(23183)
end
end
RegisterUnitGossipEvent(99999, 1, "Mega_Buff_NPC_Gossip")
RegisterUnitGossipEvent(99999, 2, "Mega_Buff_NPC_Submenus")
Theres the script ty so much for even just looking at it if you can help me or even have a suggestion or a theory just post it. Thank you and +Rep wil be giving out