Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- All-in-One NPC v2
- Scripted by: Hiro (Arumai if on WoW-V)
- Release Date: 3/12/10
- ]]
- --[[
- Please remember to plug in the coordinates of the server's mall
- and the NPC ID of the NPC that you will be using.
- Enjoy!
- ]]
- --------------------------------------------------------Main Variables----------------------------------------------
- AIO = {}
- local NPC_ID = 100003
- local allyandhordemalls = 0 --Set this to 1 if you have alliance and horde malls
- local instancetele = 1 --Set this to 0 only if you dont want players to have access to instances.
- --Mall Coordinates (If you only have one mall, please change these coordinates.):
- local map_id = 1
- local x = -9101.980469
- local y = 1612.902832
- local z = 21
- --If you have more than one mall (Alliance and Horde), please change:
- --Alliance Mall Coordinates
- local allymap_id = 1
- local ally_x = -9101.980469
- local ally_y = 1612.902832
- local ally_z = 21
- --Horde Mall Coordinates
- local hordemap_id = 1
- local horde_x = -9101.980469
- local horde_y = 1612.902832
- local horde_z = 21
- -----------------------------------------------------End Of Main Varaibles--------------------------------------
- function AIO.OnTalk(Unit, Event, player)
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(2, "Teleport me to the mall.", 1, 0)
- Unit:GossipMenuAddItem(4, "Remove Resurrection Sickness.", 2, 0)
- Unit:GossipMenuAddItem(3, "Max out all skills.", 3, 0)
- Unit:GossipMenuAddItem(3, "Teach me my class spells.", 4, 0)
- Unit:GossipMenuAddItem(4, "Reset Talents.", 5, 0)
- Unit:GossipMenuAddItem(4, "Buff me.", 6, 0)
- Unit:GossipMenuAddItem(4, "Heal me.", 7, 0)
- Unit:GossipMenuAddItem(7, "More Options.", 8, 0)
- Unit:GossipMenuAddItem(7, "Never mind.", 999, 0)
- Unit:GossipSendMenu(player)
- end
- function AIO.OnSelect(Unit, Event, player, id, intid, code, pMisc)
- if (intid == 1) then
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(2, "Alliance Locations", 101, 0)
- Unit:GossipMenuAddItem(2, "Horde Locations", 102, 0)
- if (morethan1mall ~= 1) then
- Unit:GossipMenuAddItem(2, "Mall", 77, 0)
- end
- if (instancetele == 1) then
- Unit:GossipMenuAddItem(2, "Instances", 103, 0)
- end
- Unit:GossipMenuAddItem(7, "Main Menu", 777, 0)
- Unit:GossipSendMenu(player)
- end
- if (intid == 2) then
- if (player:HasAura(15007) == true) then
- player:SendBroadcastMessage("Resurrection Sickness has been removed. Enjoy!")
- player:RemoveAura(15007)
- player:GossipComplete()
- else
- player:SendBroadcastMessage("You do not have Resurrection Sickness!")
- player:GossipComplete()
- end
- end
- if (intid == 3) then
- player:AdvanceSkill(43, 399) --Maxes out the skills
- player:AdvanceSkill(44, 399)
- player:AdvanceSkill(45, 399)
- player:AdvanceSkill(46, 399)
- player:AdvanceSkill(54, 399)
- player:AdvanceSkill(55, 399)
- player:AdvanceSkill(95, 399)
- player:AdvanceSkill(136, 399)
- player:AdvanceSkill(160, 399)
- player:AdvanceSkill(162, 399)
- player:AdvanceSkill(172, 399)
- player:AdvanceSkill(173, 399)
- player:AdvanceSkill(176, 399)
- player:AdvanceSkill(226, 399)
- player:AdvanceSkill(228, 399)
- player:AdvanceSkill(229, 399)
- player:AdvanceSkill(473, 399)
- player:AdvanceSkill(164, 449)
- player:AdvanceSkill(165, 449)
- player:AdvanceSkill(171, 449)
- player:AdvanceSkill(182, 449)
- player:AdvanceSkill(186, 449)
- player:AdvanceSkill(197, 449)
- player:AdvanceSkill(202, 449)
- player:AdvanceSkill(333, 449)
- player:AdvanceSkill(393, 449)
- player:AdvanceSkill(755, 449)
- player:AdvanceSkill(773, 449)
- player:AdvanceSkill(129, 449)
- player:AdvanceSkill(185, 449)
- player:AdvanceSkill(356, 449)
- player:SendBroadcastMessage("You have maxed out all skills!")
- player:GossipComplete()
- end
- if (intid == 4) then --Learn class spells
- local warrior = {47436, 18499, 2458, 1161, 11578, 47520, 47440, 47437, 676, 55694, 47471, 1715, 47450, 20252, 57755, 3411, 5246, 694, 7384, 6552, 1719, 47471, 20230, 57823, 64382, 72, 2565, 47488, 871, 47475, 23920, 12678, 355, 47502, 34428, 1680}
- local paladin = {31884, 20217, 48936, 4987, 19746, 48810, 32223, 48942, 19752, 54428, 498, 642, 48801, 48947, 48785, 48945, 25898, 48934, 25899, 48938, 10308, 48806, 1044, 10278, 62124, 6940, 1038, 48782, 48817, 53407, 20271, 53408, 48788, 1152, 48950, 31789, 25780, 53601, 20164, 20165, 21084, 20166, 48943, 5502, 61411, 10326}
- local hunter = {49045, 13161, 5118, 61847, 27044, 13163, 13159, 34074, 49071, 883, 5116, 19263, 781, 2641, 20736, 6197, 49067, 1002, 6991, 5384, 1543, 14311, 13809, 53338, 49056, 34026, 61006, 53271, 48990, 34477, 53339, 49048, 3045, 48996, 982, 14327, 3043, 49001, 49052, 1515, 1494, 19878, 19879, 19880, 19882, 19885, 19883, 19884, 19801, 3034, 58434, 2974}
- local rogue = {48691, 48657, 2094, 1833, 31224, 48674, 2836, 1842, 51722, 1725, 57993, 26669, 48668, 8647, 51723, 48659, 48676, 1776, 1766, 8643, 1804, 921, 48672, 1860, 51724, 5938, 48638, 6774, 11305, 1787, 57934, 26889}
- local priest = {528, 48120, 528, 48300, 988, 64843, 48073, 586, 6346, 48071, 48063, 6064, 48135, 48078, 64901, 48168, 2053, 1706, 8129, 32375, 48127, 605, 53023, 453, 10909, 48161, 48066, 48162, 48072, 48113, 48170, 48074, 10890, 48068, 48171, 10955, 48169, 48158, 48125, 34433, 48123}
- local Death_Knight = {48707, 49941, 49930, 45529, 45524, 56222, 49938, 62904, 50977, 48743, 49924, 47568, 48263, 57623, 48792, 49909, 47528, 51425, 3714, 50842, 49221, 61999, 46584, 56815, 53428, 47476, 48265}
- local shaman = {49277, 556, 66843, 66842, 66844, 55459, 49271, 8170, 526, 2062, 49231, 2484, 51994, 6196, 2894, 61657, 58739, 49223, 58656, 58790, 58745, 49236, 58796, 2645, 8177, 58757, 49273, 51514, 60043, 49276, 49238, 49281, 58734, 58774, 58749, 8012, 20608, 10399, 58704, 6495, 58582, 58753, 58643, 8143, 131, 57960, 546, 57994, 8512, 58804}
- local mage = {43017, 42897, 43002, 42921, 42995, 42846, 1953, 42940, 42931, 33717, 42985, 42956, 27090, 2139, 61316, 61024, 43015, 12051, 42873, 43010, 42833, 42926, 7301, 42917, 43012, 42842, 47610, 43008, 42914, 66, 43024, 43020, 55342, 43046, 12826, 61305, 28272, 61721, 61780, 28271, 53142, 475, 58659, 42859, 130, 30449, 53140}
- local warlock = {60220, 47884, 47888, 18647, 47813, 47878, 47864, 47867, 11719, 50511, 47865, 47860, 47889, 696, 48018, 48020, 132, 47857, 5138, 47855, 61191, 126, 6215, 47893, 47856, 47823, 17928, 47811, 47838, 57946, 6219, 47820, 18540, 58887, 698, 47815, 47836, 5500, 47809, 47891, 61290, 47825, 29858, 691, 698, 712, 697, 5697}
- local druid = {2893, 1066, 22812, 8983, 768, 5209, 48570, 48575, 8946, 33786, 33357, 48560, 9634, 5229, 53308, 770, 16857, 20719, 16979, 49376, 48577, 33943, 22842, 48470, 6795, 48378, 18658, 48467, 29166, 48568, 48451, 49802, 48564, 48566, 48469, 48480, 48463, 53312, 50464, 49803, 9913, 48574, 48579, 48477, 48443, 48441, 2782, 50763, 49800, 62600, 52610, 48572, 26995, 48465, 40120, 48562, 62078, 18960, 53307, 50213, 5225, 48447, 783, 48461}
- local class = player:GetPlayerClass()
- local race = player:GetPlayerRace()
- if (class == "Warrior") then
- player:LearnSpells(warrior)
- elseif (class == "Paladin") then
- player:LearnSpells(paladin)
- elseif (class == "Hunter") then
- player:LearnSpells(hunter)
- elseif (class == "Rogue") then
- player:LearnSpells(rogue)
- elseif (class == "Priest") then
- player:LearnSpells(priest)
- elseif (class == "Death Knight") then
- player:LearnSpells(Death_Knight)
- elseif (class == "Shaman") then
- player:LearnSpells(shaman)
- if (race == 2 or race == 6 or race == 8) then
- player:LearnSpell(2825)
- elseif (race == 11) then
- player:LearnSpell(32182)
- end
- elseif (class == "Mage") then
- player:LearnSpells(mage)
- if (race == 1 or race == 3 or race == 4 or race == 7 or race == 11) then
- player:LearnSpell(3565)
- player:LearnSpell(32271)
- player:LearnSpell(3562)
- player:LearnSpell(33690)
- player:LearnSpell(3561)
- player:LearnSpell(49359)
- elseif (race == 2 or race == 5 or race == 6 or race == 8 or race == 10) then
- player:LearnSpell(3567)
- player:LearnSpell(35715)
- player:LearnSpell(32272)
- player:LearnSpell(49358)
- player:LearnSpell(3566)
- player:LearnSpell(3563)
- end
- elseif (class == "Warlock") then
- player:LearnSpells(warlock)
- elseif (class == "Druid") then
- player:LearnSpells(druid)
- end
- player:SendBroadcastMessage("All class spells taught!")
- player:GossipComplete()
- end
- if (intid == 5) then
- player:ResetTalents()
- player:SendBroadcastMessage("All talents have been reset!")
- player:GossipComplete()
- end
- if (intid == 6) then
- Unit:FullCastSpellOnTarget(48102, player)
- Unit:FullCastSpellOnTarget(58449, player)
- Unit:FullCastSpellOnTarget(48104, player)
- Unit:FullCastSpellOnTarget(58451, player)
- Unit:FullCastSpellOnTarget(48100, player)
- player:SendBroadcastMessage("Enjoy your buffs!")
- player:GossipComplete()
- end
- if (intid == 7) then
- if (player:GetHealthPct() < 100) then
- player:SetHealthPct(100)
- player:GossipComplete()
- else
- player:SendBroadcastMessage("You are already at full health!")
- player:GossipComplete()
- end
- end
- if (intid == 8) then
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(3, "Teach me how to ride mounts.", 9, 0)
- Unit:GossipMenuAddItem(3, "Exalt me with all factions.", 10, 0)
- Unit:GossipMenuAddItem(5, "Change my weather.", 11, 0)
- Unit:GossipMenuAddItem(4, "I want to hear some music.", 12, 1)
- Unit:GossipMenuAddItem(3, "Teach me all professions.", 35, 0)
- Unit:GossipMenuAddItem(4, "Bind me to this location", 80, 0)
- Unit:GossipMenuAddItem(4, "Morph me!", 81, 0)
- Unit:GossipMenuAddItem(7, "Main Menu", 777, 0)
- Unit:GossipSendMenu(player)
- end
- if (intid == 9) then
- local mounts_A_G = {48778, 60025, 43688, 16056, 66906, 63844, 67466, 66907, 61230, 60114, 60116, 61229, 59567, 40192, 41514, 51412, 58983, 71342, 22719, 59650, 35022, 16055, 59976, 26656, 17461, 64977, 470, 60118, 48027, 22718, 59785, 22720, 22721, 22717, 22723, 22724, 64658, 72808, 61996, 59568, 35020, 10969, 59996, 25953, 39803, 17463, 64656, 32244, 50869, 43899, 59569, 34406, 458, 18990, 6899, 17464, 6654, 58615, 43927, 23214, 6648, 41515, 39315, 34896, 73313, 68188, 68187, 39316, 34790, 63635, 63637, 64927, 6653, 23161, 32239, 8395, 63639, 5784, 36702, 61451, 44153, 63643, 17460, 23509, 65439, 63638, 32235, 61465, 61469, 35710, 18989, 6777, 35713, 49379, 23249, 65641}
- local mounts_G_S = {23248, 35712, 35714, 563723247, 18991, 17453, 61294, 26056, 39798, 17465, 32245, 48025, 59797, 72807, 17459, 72286, 63956, 63636, 17450, 65917, 61309, 60424, 44744, 63796, 16084, 66846, 41513, 69395, 63640, 16082, 32345, 472, 60021, 35711, 35018, 41516, 39801, 23246, 66090, 41252, 61997, 59570, 34795, 10873, 59961, 26054, 39800, 17462, 22722, 16080, 67336, 30174, 17481, 63963, 64731, 66087, 39802, 39317, 34898, 63642, 32240, 42276, 10789, 23510, 63232, 66847, 8394, 10793, 34769, 66088, 66091, 68057, 32242, 23241, 43900, 23238, 23229, 23250, 65646,23221, 23239, 65640, 23252, 32290, 35025, 23225, 32295, 68056, 23219, 65638, 37015, 23242, 23243, 23227}
- local mounts_S_Y = {33660, 32292, 35027, 65644, 32297, 24242, 32289, 65639, 32246, 42777, 23338, 23251, 65643, 35028, 46628, 23223, 23240, 23228, 23222, 32296, 49322, 24252, 39318, 34899, 32243, 18992, 63641, 580, 60002, 61425, 44151, 65642, 10796, 59571, 17454, 49153, 64659, 41517, 41518, 17454, 49193, 64659, 41517, 41518, 60024, 10799, 64657, 15779, 54753, 6898, 39319, 65645, 16083, 34897, 54729, 16081, 17229, 59791, 71810, 46197, 46199, 26055}
- player:CastSpell(34093)
- player:CastSpell(54198)
- player:LearnSpells(mounts_A_G)
- player:LearnSpells(mounts_G_S)
- player:LearnSpells(mounts_S_Y)
- player:SendBroadcastMessage("All mounts and mount riding skills obtained!")
- player:GossipComplete()
- end
- if (intid == 10) then
- local allyreps = {69, 930, 54, 47, 890, 730, 72, 509, 589, 1037, 1068, 1126, 1094, 1050}
- local hordereps = {76, 530, 911, 729, 510, 947, 81, 576, 922, 68, 889, 1052, 1067, 1124, 1064, 1085, 729}
- local neutralreps = {529, 1012, 87, 21, 910, 609, 942, 909, 577, 369, 92, 989, 978, 1011, 93, 1015, 1038, 470, 349, 1031, 809, 970, 70, 932, 933, 941, 990, 934, 935, 967, 59, 576, 270, 1077, 1106, 1104, 1090, 1098, 1156, 1073, 1105, 1119, 1091}
- if (race == 1 or race == 3 or race == 4 or race == 7 or race == 11) then
- for k, v in pairs(allyreps) do
- player:SetStanding(v, 999999)
- end
- elseif (race == 2 or race == 5 or race == 6 or race == 8 or race == 10) then
- for k, v in pairs(hordereps) do
- player:SetStanding(v, 999999)
- end
- end
- for k, v in pairs (neutralreps) do
- player:SetStanding(v, 999999)
- end
- player:SendBroadcastMessage("Exalted with all factions!")
- player:GossipComplete()
- end
- if (intid == 11) then
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(4, "Sunny", 13, 0)
- Unit:GossipMenuAddItem(4, "Foggy", 14, 0)
- Unit:GossipMenuAddItem(4, "Rainy", 15, 0)
- Unit:GossipMenuAddItem(4, "Snowy", 16, 0)
- Unit:GossipMenuAddItem(7, "Back.", 8, 0)
- Unit:GossipSendMenu(player)
- end
- if (intid == 12) then
- if (code ~= nil) then
- player:PlaySoundToPlayer(code) --Plays the sound, if something correct was entered.
- player:SendBroadcastMessage("You should be hearing the sound you requested.")
- player:SendBroadcastMessage("If you are not, please check the ID for the sound you are trying to hear.")
- player:GossipComplete()
- else --If nothing was entered, this will tell the user.
- player:SendBroadcastMessage("You did not enter anything. Please try again!")
- player:GossipComplete()
- end
- end
- if (intid == 13) then
- player:SetPlayerWeather(0, 1.5) --Sunny
- player:SendBroadcastMessage("Its sunny now! Time to head to the beach!")
- player:GossipComplete()
- end
- if (intid == 14) then
- player:SetPlayerWeather(1, 1.5) --Foggy
- player:SendBroadcastMessage("Its foggy now! You should try to get a flashlight!")
- player:GossipComplete()
- end
- if (intid == 15) then
- player:SetPlayerWeather(2, 1.5) --Rainy
- player:SendBroadcastMessage("Its raining now! Quick, get an umbrella!")
- player:GossipComplete()
- end
- if (intid == 16) then
- player:SetPlayerWeather(8, 2.0) --Snowy
- player:SendBroadcastMessage("Its snowing now! Get a coat before you freeze to death!")
- player:GossipComplete()
- end
- if (intid == 35) then
- local profs = {51313, 51304, 51300, 51306, 45363, 51311, 5102, 51310, 0305, 51309}
- player:LearnSpells(profs)
- player:GossipComplete()
- end
- if (intid == 77) then
- player:Teleport(map_id, x, y, z)
- player:GossipComplete()
- end
- if (intid == 80) then
- local x = player:GetX()
- local y = player:GetY()
- local z = player:GetZ()
- local map_id1 = player:GetMapId()
- local zone_id = player:GetZoneId()
- player:SetBindPoint(x, y-1.5, z, map_id1, zone_id)
- player:SendBroadcastMessage("Bind location changed successfully!")
- player:GossipComplete()
- end
- if (intid == 81) then
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(4, "Morph me into a murloc!", 90, 0)
- Unit:GossipMenuAddItem(4, "Morph me into Illidan", 91, 0)
- Unit:GossipMenuAddItem(4, "Morph me into the Lich King!", 92, 0)
- Unit:GossipMenuAddItem(4, "Morph me into Thrall!", 93, 0)
- Unit:GossipMenuAddItem(4, "Morph me into Varian Wrynn!", 94, 0)
- Unit:GossipMenuAddItem(4, "Morph me into a skeleton!", 95, 0)
- Unit:GossipMenuAddItem(4, "Morph me into a dragon!", 96, 0)
- Unit:GossipSendMenu(player)
- end
- if (intid == 90) then
- player:SetModel(617)
- player:GossipComplete()
- end
- if (intid == 91) then
- player:SetModel(21135)
- player:GossipComplete()
- end
- if (intid == 92) then
- player:SetModel(24191)
- player:GossipComplete()
- end
- if (intid == 93) then
- player:SetModel(4527)
- player:GossipComplete()
- end
- if (intid == 94) then
- player:SetModel(28127)
- player:GossipComplete()
- end
- if (intid == 95) then
- player:SetModel(9786)
- player:GossipComplete()
- end
- if (intid == 96) then
- player:SetModel(1267)
- player:GossipComplete()
- end
- if (intid == 101) then
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(2, "Alliance Cities", 111, 0)
- if (morethan1mall == 1) then
- Unit:GossipMenuAddItem(2, "Alliance Mall", 112, 0)
- end
- Unit:GossipMenuAddItem(7, "Back.", 1, 0)
- Unit:GossipSendMenu(player)
- end
- if (intid == 102) then
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(2, "Horde Cities", 121, 0)
- if (morethan1mall == 1) then
- Unit:GossipMenuAddItem(2, "Horde Mall", 122, 0)
- end
- Unit:GossipMenuAddItem(7, "Back.", 1, 0)
- Unit:GossipSendMenu(player)
- end
- if (intid == 103) then
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(2, "Azeroth Instances", 150, 0)
- Unit:GossipMenuAddItem(2, "Outland Instances", 151, 0)
- Unit:GossipMenuAddItem(2, "Northrend Instances", 152, 0)
- Unit:GossipMenuAddItem(7, "Back.", 1, 0)
- Unit:GossipSendMenu(player)
- end
- if (intid == 111) then
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(2, "Stormwind City", 131, 0)
- Unit:GossipMenuAddItem(2, "Darnassus", 132, 0)
- Unit:GossipMenuAddItem(2, "Ironforge", 133, 0)
- Unit:GossipMenuAddItem(2, "The Exodar", 134, 0)
- Unit:GossipMenuAddItem(7, "Back.", 101, 0)
- Unit:GossipSendMenu(player)
- end
- if (intid == 112) then
- player:Teleport(allymap_id, ally_x, ally_y, ally_z)
- player:GossipComplete()
- end
- if (intid == 121) then
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(2, "Orgrimmar", 141, 0)
- Unit:GossipMenuAddItem(2, "Thunderbluff", 142 ,0)
- Unit:GossipMenuAddItem(2, "Silvermoon City", 143, 0)
- Unit:GossipMenuAddItem(2, "Undercity", 144, 0)
- Unit:GossipMenuAddItem(7, "Back.", 102, 0)
- Unit:GossipSendMenu(player)
- end
- if (intid == 122) then
- player:Teleport(hordemap_id, horde_x, horde_y, horde_z)
- player:GossipComplete()
- end
- if (intid == 131) then
- player:Teleport(0, -8924.706055, 545.626953, 96.633163)
- player:GossipComplete()
- end
- if (intid == 132) then
- player:Teleport(1, 9951.519531, 2280.320068, 1341.390015)
- player:GossipComplete()
- end
- if (intid == 133) then
- player:Teleport(0, -4977.095215, -888.452942, 501.621216)
- player:GossipComplete()
- end
- if (intid == 134) then
- player:Teleport(530, -3987.566895, -11847.509766, -1.572268)
- player:GossipComplete()
- end
- if (intid == 141) then
- player:Teleport(1, 1500.200684, -4414.373047, 21.898052)
- player:GossipComplete()
- end
- if (intid == 142) then
- player:Teleport(1, -1196.219971, 29.094101, 176.949005)
- player:GossipComplete()
- end
- if (intid == 143) then
- player:Teleport(530, 9473.030273, -7279.669922, 14.228500)
- player:GossipComplete()
- end
- if (intid == 144) then
- player:Teleport(0, 1586.479980, 239.561996, -52.148998)
- player:GossipComplete()
- end
- if (intid == 150) then
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(2, "Dire Maul", 160, 0)
- Unit:GossipMenuAddItem(2, "Deadmines", 161, 0)
- Unit:GossipMenuAddItem(2, "LBRS", 162, 0)
- Unit:GossipMenuAddItem(2, "Uldaman", 163, 0)
- Unit:GossipMenuAddItem(2, "Scarlet Monastery", 164, 0)
- Unit:GossipMenuAddItem(2, "Scholomance", 165, 0)
- Unit:GossipMenuAddItem(2, "Shadowfang Keep", 166, 0)
- Unit:GossipMenuAddItem(2, "Sunken Temple", 167, 0)
- Unit:GossipMenuAddItem(2, "Zul'Farrak", 168, 0)
- Unit:GossipMenuAddItem(2, "BRD", 200, 0)
- Unit:GossipMenuAddItem(2, "Stratholme", 201, 0)
- Unit:GossipMenuAddItem(2, "Magister's Terrace", 202, 0)
- Unit:GossipMenuAddItem(2, "Azeroth Raids", 700, 0)
- Unit:GossipMenuAddItem(7, "Back.", 103, 0)
- Unit:GossipSendMenu(player)
- end
- if (intid == 151) then
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(2, "Tempest Keep: The Arcatraz", 171, 0)
- Unit:GossipMenuAddItem(2, "Hellfire Citadel: The Blood Furnace", 172, 0)
- Unit:GossipMenuAddItem(2, "Hellfire Citadel: Hellfire Ramparts", 173, 0)
- Unit:GossipMenuAddItem(2, "Auchindoun: Mana-Tombs", 174, 0)
- Unit:GossipMenuAddItem(2, "Tempest Keep: The Mechanar", 175, 0)
- Unit:GossipMenuAddItem(2, "Auchindoun: Sethekk Halls", 176, 0)
- Unit:GossipMenuAddItem(2, "Auchindoun: Shadow Labyrinth", 177, 0)
- Unit:GossipMenuAddItem(2, "Hellfire Citadel: Shattered Halls", 178, 0)
- Unit:GossipMenuAddItem(2, "Hellfire Citadel: The Slave Pens", 179, 0)
- Unit:GossipMenuAddItem(2, "Hellfire Citadel: Underbog", 180, 0)
- Unit:GossipMenuAddItem(2, "Outland Raids", 800, 0)
- Unit:GossipMenuAddItem(7, "Back.", 103, 0)
- player:GossipSendMenu(player)
- end
- if (intid == 152) then
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(2, "Azjol-Nerub", 181, 0)
- Unit:GossipMenuAddItem(2, "Drak'tharon Keep", 182, 0)
- Unit:GossipMenuAddItem(2, "Halls of Lightning", 183, 0)
- Unit:GossipMenuAddItem(2, "Halls of Stone", 184, 0)
- Unit:GossipMenuAddItem(2, "The Nexus", 185, 0)
- Unit:GossipMenuAddItem(2, "The Oculus", 186, 0)
- Unit:GossipMenuAddItem(2, "Utgarde Pinnacle", 187, 0)
- Unit:GossipMenuAddItem(2, "The Violet Hold", 204, 0)
- Unit:GossipMenuAddItem(2, "Northrend Raids", 900, 0)
- Unit:GossipMenuAddItem(7, "Back.", 103, 0)
- Unit:GossipSendMenu(player)
- end
- if (intid == 160) then
- player:Teleport(429, 254.588, -24.7395, -1.56062)
- player:GossipComplete()
- end
- if (intid == 161) then
- player:Teleport(0, -11079.8, 1506.98, 42.9594)
- player:GossipComplete()
- end
- if (intid == 162) then
- player:Teleport(0, -7192.703125, -909.826538, 165.490250)
- player:GossipComplete()
- end
- if (intid == 163) then
- player:Teleport(70, -228.193, 46.1602, -45.0186)
- player:GossipComplete()
- end
- if (intid == 164) then
- player:Teleport(0, 2870.442627, -819.985229, 160.331085)
- player:GossipComplete()
- end
- if (intid == 165) then
- player:Teleport(0, 1267.468628, -2556.651367, 94.127983)
- player:GossipComplete()
- end
- if (intid == 166) then
- player:Teleport(0, -234.495087, 1561.946411, 76.892143)
- player:GossipComplete()
- end
- if (intid == 167) then
- player:Teleport(0, -10349.1, -3849.67, -24.6078)
- player:GossipComplete()
- end
- if (intid == 168) then
- player:Teleport(1, -6797.278809, -2903.917969, 9.953360)
- player:GossipComplete()
- end
- if (intid == 171) then
- player:Teleport(530, 3311.598145, 1332.745117, 505.557251)
- player:GossipComplete()
- end
- if (intid == 172) then
- player:Teleport(530, -303.506012, 3164.820068, 31.742500)
- player:GossipComplete()
- end
- if (intid == 173) then
- player:Teleport(530, -360.670990, 3071.899902, -15.097700)
- player:GossipComplete()
- end
- if (intid == 174) then
- player:Teleport(530, -3079.810059, 4943.040039, -101.046997)
- player:GossipComplete()
- end
- if (intid == 175) then
- player:Teleport(530, 2862.409912, 1546.089966, 252.158691)
- player:GossipComplete()
- end
- if (intid == 176) then
- player:Teleport(530, -3362.219971, 4660.410156, -101.049004)
- player:GossipComplete()
- end
- if (intid == 177) then
- player:Teleport(530, -3645.060059, 4943.620117, -101.047997)
- player:GossipComplete()
- end
- if (intid == 178) then
- player:Teleport(530, -311.083527, 3083.291748, -3.745923)
- end
- if (intid == 179) then
- player:Teleport(530, 719.507996, 6999.339844, -73.074303)
- player:GossipComplete()
- end
- if (intid == 180) then
- player:Teleport(530, 777.088989, 6763.450195, -72.062561)
- player:GossipComplete()
- end
- if (intid == 181) then
- player:Teleport(571, 3701.362305, 2153.350830, 36.178722)
- player:GossipComplete()
- end
- if (intid == 182) then
- player:Teleport(1, -8669.609375, -4396.958984, -207.080170)
- player:GossipComplete()
- end
- if (intid == 183) then
- player:Teleport(571, 9129.422852, -1337.422852, 1061.373635)
- player:GossipComplete()
- end
- if (intid == 184) then
- player:Teleport(571, 8922.276367, -978.684509, 1039.279663)
- player:GossipComplete()
- end
- if (intid == 185) then
- player:Teleport(571, 3869.806641, 6983.833984, 79.450546)
- player:GossipComplete()
- end
- if (intid == 186) then
- player:Teleport(571, 3880.103516, 6984.548828, 106.320435)
- player:GossipComplete()
- end
- if (intid == 187) then
- player:Teleport(571, 1251.779175, -4853.859375, 215.808105)
- player:GossipComplete()
- end
- if (intid == 200) then
- player:Teleport(230, 596.432, -188.498, -49)
- player:GossipComplete()
- end
- if (intid == 201) then
- player:Teleport(0, 3176.63, -4039.28, 106.464)
- player:GossipComplete()
- end
- if (intid == 202) then
- player:Teleport(585, 2.19347, -0.123698, -2.8025)
- player:GossipComplete()
- end
- if (intid == 203) then
- player:Teleport(530, 3606.85, 5260.49, 4.1724)
- player:GossipComplete()
- end
- if (intid == 204) then
- player:Teleport(571, 5691.224609, 499.975372, 652.684326)
- player:GossipComplete()
- end
- if (intid == 700) then
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(2, "Blackwing Lair", 701, 0)
- Unit:GossipMenuAddItem(2, "Caverns of Time: Battle for Mount Hyjal", 702, 0)
- Unit:GossipMenuAddItem(2, "Isle of Quel'Danas", 703, 0)
- Unit:GossipMenuAddItem(2, "Karazhan", 704, 0)
- Unit:GossipMenuAddItem(2, "Molten Core", 705, 0)
- Unit:GossipMenuAddItem(2, "Onyxias Lair", 706, 0)
- Unit:GossipMenuAddItem(2, "Ruins of Ahn'Qiraj", 707, 0)
- Unit:GossipMenuAddItem(2, "Temple of Ahn'Qiraj", 708, 0)
- Unit:GossipMenuAddItem(2, "Zul'Aman", 709, 0)
- Unit:GossipMenuAddItem(2, "UBRS", 710, 0)
- Unit:GossipMenuAddItem(7, "Back.", 150, 0)
- Unit:GossipSendMenu(player)
- end
- if (intid == 701) then
- player:Teleport(469, -7665.55, -1102.49, 400.679)
- player:GossipComplete()
- end
- if (intid == 702) then
- player:Teleport(1, -8177.5273, -4186.070801, -168.643433)
- player:GossipComplete()
- end
- if (intid == 703) then
- player:Teleport(530, 12956.072266, -6943.814453, 9.968110)
- player:GossipComplete()
- end
- if (intid == 704) then
- player:Teleport(0, -11127.669922, -2000.085083, 47.492638)
- player:GossipComplete()
- end
- if (intid == 705) then
- player:Teleport(409, 1089.6, -470.19, -106.41)
- player:GossipComplete()
- end
- if (intid == 706) then
- player:Teleport(1, -4706.542480, -3727.514648, 54.730026)
- player:GossipComplete()
- end
- if (intid == 707) then
- player:Teleport(1, -8394.730469, 1485.658447, 21.038563)
- player:GossipComplete()
- end
- if (intid == 708) then
- player:Teleport(1, -8247.316406, 1970.156860, 129.071472)
- player:GossipComplete()
- end
- if (intid == 709) then
- player:Teleport(530, 6850, -7950, 170)
- player:GossipComplete()
- end
- if (intid == 777) then
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(2, "Teleport me to the mall.", 1, 0)
- Unit:GossipMenuAddItem(4, "Remove Resurrection Sickness.", 2, 0)
- Unit:GossipMenuAddItem(3, "Max out all skills.", 3, 0)
- Unit:GossipMenuAddItem(3, "Learn my class spells.", 4, 0)
- Unit:GossipMenuAddItem(4, "Reset Talents.", 5, 0)
- Unit:GossipMenuAddItem(4, "Buff me.", 6, 0)
- Unit:GossipMenuAddItem(4, "Heal me.", 7, 0)
- Unit:GossipMenuAddItem(7, "More Options.", 8, 0)
- Unit:GossipMenuAddItem(7, "Never mind.", 999, 0)
- Unit:GossipSendMenu(player)
- end
- if (intid == 800) then
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(2, "Black Temple", 801, 0)
- Unit:GossipMenuAddItem(2, "Tempest Keep: Maghteridons Lair", 802, 0)
- Unit:GossipMenuAddItem(2, "Tempest Keep: The Eye", 803, 0)
- Unit:GossipMenuAddItem(2, "Grull's Lair", 203, 0)
- Unit:GossipMenuAddItem(2, "Coilfang Resevoir: Serpentshrine Caverns", 880, 0)
- Unit:GossipMenuAddItem(7, "Back.", 151, 0)
- Unit:GossipSendMenu(player)
- end
- if (intid == 801) then
- player:Teleport(530, -3609.739990, 328.252014, 37.307701)
- player:GossipComplete()
- end
- if (intid == 802) then
- player:Teleport(530, -313.678986, 3088.350098, -116.501999)
- player:GossipComplete()
- end
- if (intid == 803) then
- player:Teleport(530, 3087.310059, 1373.790039, 184.643005)
- player:GossipComplete()
- end
- if (intid == 880) then
- player:Teleport(530, 830.542908, 6865.445801, -63.785503)
- player:GossipComplete()
- end
- if (intid == 900) then
- Unit:GossipCreateMenu(100, player, 0)
- Unit:GossipMenuAddItem(2, "Naxxramas", 901, 0)
- Unit:GossipMenuAddItem(2, "Obsidian Sanctum", 902, 0)
- Unit:GossipMenuAddItem(2, "The Eye of Eternity", 903, 0)
- Unit:GossipMenuAddItem(2, "Ulduar", 904, 0)
- Unit:GossipMenuAddItem(7, "Back.", 152, 0)
- Unit:GossipSendMenu(player)
- end
- if (intid == 901) then
- player:Teleport(571, 3666.149902, -1268.829956, 243.509003)
- player:GossipComplete()
- end
- if (intid == 902) then
- player:Teleport(571, 3456.954590, 262.589355, -113.760834)
- player:GossipComplete()
- end
- if (intid == 903) then
- player:Teleport(571, 3860.425537, 6989.365234, 152.042938)
- player:GossipComplete()
- end
- if (intid == 904) then
- player:Teleport(603, -856.725037, -145.991074, 461.702576)
- player:GossipComplete()
- end
- end
- RegisterUnitGossipEvent(NPC_ID, 1, "AIO.OnTalk")
- RegisterUnitGossipEvent(NPC_ID, 2, "AIO.OnSelect")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement