Advertisement
Guest User

Untitled

a guest
May 28th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 22.57 KB | None | 0 0
  1. --[[All-in-One NPC]]--
  2. --[[Made by Singoe]]--
  3.  
  4. local npcid = 200003
  5.  
  6. function Creature_OnGossip(Unit, Event, Player)
  7.     Unit:GossipCreateMenu(1000, Player, 0)
  8.     local race = Player:GetPlayerRace()
  9.     if race == 1 or race == 3 or race == 4 or race == 7 or race == 11 then
  10.     Unit:GossipMenuAddItem(2, "|cff0000ffAlliance Shopping Mall", 1, 0)
  11.     Unit:GossipMenuAddItem(3, "Alliance Cities", 3, 0)
  12. end
  13.     local race = Player:GetPlayerRace()
  14.     if race == 2 or race == 5 or race == 6 or race == 8 or race == 10 then
  15.     Unit:GossipMenuAddItem(2, "|cffff0000Horde Shopping Mall", 2, 0)
  16.     Unit:GossipMenuAddItem(3, "Horde Cities", 4, 0)
  17. end
  18.     Unit:GossipMenuAddItem(2, "Leveling Road", 120, 0)
  19.     Unit:GossipMenuAddItem(2, "V.I.P. Lounge", 122, 0)
  20.     Unit:GossipMenuAddItem(3, "Teleport Locations", 5, 0)
  21.     Unit:GossipMenuAddItem(4, "Buff Me", 6, 0)
  22.     Unit:GossipMenuAddItem(4, "Change the Weather", 114, 0)
  23.     Unit:GossipMenuAddItem(4, "Max Out All Skills", 105, 0)
  24.     Unit:GossipMenuAddItem(4, "Reset Talent Points", 106, 0)
  25.     Unit:GossipMenuAddItem(4, "|cff00ff00Remove Resurrection Sickness", 7, 0)
  26.     Unit:GossipMenuAddItem(7, "|cffff0000[Nevermind]", 8, 0)
  27.     Unit:GossipSendMenu(Player)
  28. end
  29.  
  30. function Creature_OnSelect(Unit, Event, Player, id, intid, code, pMisc)
  31.  
  32. if(intid == 999) then
  33.     Unit:GossipCreateMenu(999, Player, 0)
  34.     local race = Player:GetPlayerRace()
  35.     if race == 1 or race == 3 or race == 4 or race == 7 or race == 11 then
  36.     Unit:GossipMenuAddItem(2, "|cff0000ffAlliance Shopping Mall", 1, 0)
  37.     Unit:GossipMenuAddItem(3, "Alliance Cities", 3, 0)
  38. end
  39.     local race = Player:GetPlayerRace()
  40.     if race== 2 or race== 5 or race == 6 or race == 8 or race == 10 then
  41.     Unit:GossipMenuAddItem(2, "|cffff0000Horde Shopping Mall", 2, 0)
  42.     Unit:GossipMenuAddItem(3, "Horde Cities", 4, 0)
  43. end
  44.     Unit:GossipMenuAddItem(2, "Leveling Road", 120, 0)
  45.     Unit:GossipMenuAddItem(2, "V.I.P. Lounge", 122, 0)
  46.     Unit:GossipMenuAddItem(3, "Teleport Locations", 5, 0)
  47.     Unit:GossipMenuAddItem(4, "Buff Me", 6, 0)
  48.     Unit:GossipMenuAddItem(4, "Change the Weather", 114, 0)
  49.     Unit:GossipMenuAddItem(4, "Max Out All Skills", 105, 0)
  50.     Unit:GossipMenuAddItem(4, "Reset Talent Points", 106, 0)
  51.     Unit:GossipMenuAddItem(4, "|cff00ff00Remove Resurrection Sickness", 7, 0)
  52.     Unit:GossipMenuAddItem(7, "|cffff0000[Nevermind]", 8, 0)
  53.     Unit:GossipSendMenu(Player)
  54. end
  55.  
  56. if(intid == 8) then
  57.     Player:GossipComplete()
  58. end
  59.  
  60. if(intid == 3) then
  61.     Unit:GossipCreateMenu(99, Player, 0)
  62.     Unit:GossipMenuAddItem(2, "Stormwind", 9, 0)
  63.     Unit:GossipMenuAddItem(2, "Ironforge", 10, 0)
  64.     Unit:GossipMenuAddItem(2, "Darnassus", 11, 0)
  65.     Unit:GossipMenuAddItem(2, "The Exodar", 12, 0)
  66.     Unit:GossipMenuAddItem(7, "[Main Menu]", 999, 0)
  67.     Unit:GossipSendMenu(Player)
  68. end
  69.  
  70. if(intid == 4) then
  71.     Unit:GossipCreateMenu(99, Player, 0)
  72.     Unit:GossipMenuAddItem(2, "Orgrimmar", 13, 0)
  73.     Unit:GossipMenuAddItem(2, "Undercity", 14, 0)
  74.     Unit:GossipMenuAddItem(2, "Thunderbluff", 15, 0)
  75.     Unit:GossipMenuAddItem(2, "Silvermoon", 16, 0)
  76.     Unit:GossipMenuAddItem(7, "[Main Menu]", 999, 0)
  77.     Unit:GossipSendMenu(Player)
  78. end
  79.  
  80. if(intid == 5) then
  81.     Unit:GossipCreateMenu(99, Player, 0)
  82.     Unit:GossipMenuAddItem(2, "Classic Instances", 17, 0)
  83.     Unit:GossipMenuAddItem(2, "Outland Instances", 18, 0)
  84.     Unit:GossipMenuAddItem(2, "Northrend Instances", 19, 0)
  85.     Unit:GossipMenuAddItem(2, "Shattrath City", 20, 0)
  86.     Unit:GossipMenuAddItem(2, "Dalaran", 21, 0)
  87.     Unit:GossipMenuAddItem(2, "PvP Arena", 22, 0)
  88.     Unit:GossipMenuAddItem(7, "[Main Menu]", 999, 0)
  89.     Unit:GossipSendMenu(Player)
  90. end
  91.  
  92. if(intid == 17) then
  93.     Unit:GossipCreateMenu(99, Player, 0)
  94.     Unit:GossipMenuAddItem(2, "Ragefire Chasm (13-20)", 23, 0)
  95.     Unit:GossipMenuAddItem(2, "Deadmines (17-23)", 24, 0)
  96.     Unit:GossipMenuAddItem(2, "Wailing Caverns (17-23)", 25, 0)
  97.     Unit:GossipMenuAddItem(2, "Shadowfang Keep (18-23)", 26, 0)
  98.     Unit:GossipMenuAddItem(2, "Blackfathom Deeps (22-27)", 27, 0)
  99.     Unit:GossipMenuAddItem(2, "The Stockade (23-27)", 28, 0)
  100.     Unit:GossipMenuAddItem(2, "Razorfen Kraul (22-31)", 29, 0)
  101.     Unit:GossipMenuAddItem(2, "Gnomeregan (25-32)", 30, 0)
  102.     Unit:GossipMenuAddItem(2, "Razorfen Downs (33-37)", 31, 0)
  103.     Unit:GossipMenuAddItem(2, "Scarlet Monestary (29-44)", 32, 0)
  104.     Unit:GossipMenuAddItem(2, "Uldaman (37-44)", 33, 0)
  105.     Unit:GossipMenuAddItem(2, "[Next]->", 34, 0)
  106.     Unit:GossipSendMenu(Player)
  107. end
  108.  
  109. if(intid == 34) then
  110.     Unit:GossipCreateMenu(99, Player, 0)
  111.     Unit:GossipMenuAddItem(2, "Zul'Farak (42-46)", 35, 0)
  112.     Unit:GossipMenuAddItem(2, "Mauradon (42-52)", 36, 0)
  113.     Unit:GossipMenuAddItem(2, "Temple of Atal'Hakkar (47-52)", 37, 0)
  114.     Unit:GossipMenuAddItem(2, "Blackrock Depths (48-60)", 38, 0)
  115.     Unit:GossipMenuAddItem(2, "Dire Maul (55-60)", 39, 0)
  116.     Unit:GossipMenuAddItem(2, "Scholomance (56-60)", 40, 0)
  117.     Unit:GossipMenuAddItem(2, "Stratholme (56-60)", 41, 0)
  118.     Unit:GossipMenuAddItem(2, "Lower Blackrock Spire (54-60)", 42, 0)
  119.     Unit:GossipMenuAddItem(2, "Upper Blackrock Spire (56-60)", 43, 0)
  120.     Unit:GossipMenuAddItem(2, "[Next]->", 44, 0)
  121.     Unit:GossipSendMenu(Player)
  122. end
  123.  
  124. if(intid == 44) then
  125.     Unit:GossipCreateMenu(99, Player, 0)
  126.     Unit:GossipMenuAddItem(2, "Zul'Gurub (60+)", 45, 0)
  127.     Unit:GossipMenuAddItem(2, "Molten Core (60+)", 46, 0)
  128.     Unit:GossipMenuAddItem(2, "Blackwing Lair (60++)", 47, 0)
  129.     Unit:GossipMenuAddItem(2, "Ruins of Ahn'Qiraj (60++)", 48, 0)
  130.     Unit:GossipMenuAddItem(2, "Temple of Ahn'Qiraj (60+++)", 49, 0)
  131.     Unit:GossipMenuAddItem(7, "[Back]", 999, 0)
  132.     Unit:GossipSendMenu(Player)
  133. end
  134.  
  135. if(intid == 18) then
  136.     Unit:GossipCreateMenu(99, Player, 0)
  137.     Unit:GossipMenuAddItem(2, "Hellfire Citadel", 51, 0)
  138.     Unit:GossipMenuAddItem(2, "Coilfang Reservoir", 52, 0)
  139.     Unit:GossipMenuAddItem(2, "Auchindoun", 53, 0)
  140.     Unit:GossipMenuAddItem(2, "Caverns of Time", 54, 0)
  141.     Unit:GossipMenuAddItem(2, "Tempest Keep", 55, 0)
  142.     Unit:GossipMenuAddItem(2, "Magisters' Terrace (70)", 56, 0)
  143.     Unit:GossipMenuAddItem(2, "Karazhan (70+)", 57, 0)
  144.     Unit:GossipMenuAddItem(2, "Gruul's Lair (70+)", 58, 0)
  145.     Unit:GossipMenuAddItem(2, "Zul'Aman (70++)", 59, 0)
  146.     Unit:GossipMenuAddItem(2, "Black Temple (70+++)", 60, 0)
  147.     Unit:GossipMenuAddItem(2, "Sunwell Plateau (70++++)", 61, 0)
  148.     Unit:GossipMenuAddItem(7, "[Back]", 999, 0)
  149.     Unit:GossipSendMenu(Player)
  150. end
  151.  
  152. if(intid == 51) then
  153.     Unit:GossipCreateMenu(99, Player, 0)
  154.     Unit:GossipMenuAddItem(2, "Hellfire Ramparts (60-62)", 62, 0)
  155.     Unit:GossipMenuAddItem(2, "The Blood Furnace (61-63)", 63, 0)
  156.     Unit:GossipMenuAddItem(2, "The Shattered Halls (69-70)", 64, 0)
  157.     Unit:GossipMenuAddItem(2, "Magtheridon's Lair (70+)", 65, 0)
  158.     Unit:GossipMenuAddItem(7, "[Back]", 999, 0)
  159.     Unit:GossipSendMenu(Player)
  160. end
  161.  
  162. if(intid == 52) then
  163.     Unit:GossipCreateMenu(99, Player, 0)
  164.     Unit:GossipMenuAddItem(2, "The Slave Pens (62-64)", 66, 0)
  165.     Unit:GossipMenuAddItem(2, "The Underbog (63-65)", 67, 0)
  166.     Unit:GossipMenuAddItem(2, "The Steamvault (68-70)", 68, 0)
  167.     Unit:GossipMenuAddItem(2, "Serpentshine Cavern (70++)", 69, 0)
  168.     Unit:GossipMenuAddItem(7, "[Back]", 999, 0)
  169.     Unit:GossipSendMenu(Player)
  170. end
  171.  
  172. if(intid == 53) then
  173.     Unit:GossipCreateMenu(99, Player, 0)
  174.     Unit:GossipMenuAddItem(2, "Mana-Tombs (64-66)", 70, 0)
  175.     Unit:GossipMenuAddItem(2, "Auchenai Crypts (65-67)", 71, 0)
  176.     Unit:GossipMenuAddItem(2, "Sethekk Halls (67-69)", 72, 0)
  177.     Unit:GossipMenuAddItem(2, "Shadow Labyrinth (69-70)", 73, 0)
  178.     Unit:GossipMenuAddItem(7, "[Back]", 999, 0)
  179.     Unit:GossipSendMenu(Player)
  180. end
  181.  
  182. if(intid == 54) then
  183.     Unit:GossipCreateMenu(99, Player, 0)
  184.     Unit:GossipMenuAddItem(2, "Old Hillsbrad Foothills (66-68)", 74, 0)
  185.     Unit:GossipMenuAddItem(2, "The Black Morass (70)", 75, 0)
  186.     Unit:GossipMenuAddItem(2, "Hyjal Summit (70+++)", 76, 0)
  187.     Unit:GossipMenuAddItem(7, "[Back]", 999, 0)
  188.     Unit:GossipSendMenu(Player)
  189. end
  190.  
  191. if(intid == 55) then
  192.     Unit:GossipCreateMenu(99, Player, 0)
  193.     Unit:GossipMenuAddItem(2, "The Mechanar (70)", 77, 0)
  194.     Unit:GossipMenuAddItem(2, "The Botanica (70)", 78, 0)
  195.     Unit:GossipMenuAddItem(2, "The Arcatraz (70)", 79, 0)
  196.     Unit:GossipMenuAddItem(2, "The Eye (70++)", 80, 0)
  197.     Unit:GossipMenuAddItem(7, "[Back]", 999, 0)
  198.     Unit:GossipSendMenu(Player)
  199. end
  200.  
  201. if(intid == 19) then
  202.     Unit:GossipCreateMenu(99, Player, 0)
  203.     Unit:GossipMenuAddItem(2, "Utgarde Keep (70-72)", 81, 0)
  204.     Unit:GossipMenuAddItem(2, "The Nexus (71-73)", 82, 0)
  205.     Unit:GossipMenuAddItem(2, "Azjol-Nerub (72-74)", 83, 0)
  206.     Unit:GossipMenuAddItem(2, "Ahn'kahet: The Old Kingdom (73-75)", 84, 0)
  207.     Unit:GossipMenuAddItem(2, "Drak'Tharon Keep (74-76)", 85, 0)
  208.     Unit:GossipMenuAddItem(2, "The Violet Hold (75-77)", 86, 0)
  209.     Unit:GossipMenuAddItem(2, "Gundrak (76-78)", 87, 0)
  210.     Unit:GossipMenuAddItem(2, "Halls of Stone (77-79)", 88, 0)
  211.     Unit:GossipMenuAddItem(2, "Halls of Lightning (80)", 89, 0)
  212.     Unit:GossipMenuAddItem(2, "The Oculus (80)", 90, 0)
  213.     Unit:GossipMenuAddItem(2, "Culling of Stratholme (80)", 91, 0)
  214.     Unit:GossipMenuAddItem(7, "[Next]->", 92, 0)
  215.     Unit:GossipSendMenu(Player)
  216. end
  217.  
  218. if(intid == 92) then
  219.     Unit:GossipCreateMenu(99, Player, 0)
  220.     Unit:GossipMenuAddItem(2, "Utgarde Pinnacle (80)", 93, 0)
  221.     Unit:GossipMenuAddItem(2, "Trial of the Champion (80+)", 94, 0)
  222.     Unit:GossipMenuAddItem(2, "Vault of Archavon (80+)", 95, 0)
  223.     Unit:GossipMenuAddItem(2, "Naxxramas (80+)", 96, 0)
  224.     Unit:GossipMenuAddItem(2, "Obsidian Sanctum (80+)", 97, 0)
  225.     Unit:GossipMenuAddItem(2, "Eye of Eternity (80++)", 98, 0)
  226.     Unit:GossipMenuAddItem(2, "Ulduar (80++)", 99, 0)
  227.     Unit:GossipMenuAddItem(2, "Trial of the Crusader (80+++)", 101, 0)
  228.     Unit:GossipMenuAddItem(2, "Onyxia's Lair (80+++)", 102, 0)
  229.     Unit:GossipMenuAddItem(2, "Icecrown Citadel (80++++)", 103, 0)
  230.     Unit:GossipMenuAddItem(7, "[Back]", 999, 0)
  231.     Unit:GossipSendMenu(Player)
  232. end
  233.  
  234. if (intid == 114) then
  235.     Unit:GossipCreateMenu(99, Player, 0)
  236.     Unit:GossipMenuAddItem(4, "Sunny", 115, 0)
  237.     Unit:GossipMenuAddItem(4, "Foggy", 116, 0)
  238.     Unit:GossipMenuAddItem(4, "Rainy", 117, 0)
  239.     Unit:GossipMenuAddItem(4, "Snowy", 118, 0)
  240.     Unit:GossipMenuAddItem(7, "[Back]", 999, 0)
  241.     Unit:GossipSendMenu(Player)
  242. end
  243.  
  244. if (intid == 115) then
  245.         Player:SetPlayerWeather(0, 2.0)
  246.         Player:SendBroadcastMessage("Its sunny! Might be a good idea to put on some sunscreen!")
  247.         Player:GossipComplete()
  248. end
  249. if (intid == 116) then
  250.         Player:SetPlayerWeather(1, 2.0)
  251.         Player:SendBroadcastMessage("Its foggy! You should try to get a flashlight!")
  252.         Player:GossipComplete()
  253. end
  254. if (intid == 117) then
  255.         Player:SetPlayerWeather(2, 2.0)
  256.         Player:SendBroadcastMessage("Its raining! Quick, get your rain coat!")
  257.         Player:GossipComplete()
  258. end
  259. if (intid == 118) then
  260.         Player:SetPlayerWeather(8, 2.0)
  261.         Player:SendBroadcastMessage("Its snowing! Better bundle up!")
  262.         Player:GossipComplete()
  263. end
  264.  
  265. if(intid == 105) then
  266.     Player:AdvanceSkill(43, 399)
  267.     Player:AdvanceSkill(44, 399)
  268.     Player:AdvanceSkill(45, 399)
  269.     Player:AdvanceSkill(46, 399)
  270.     Player:AdvanceSkill(54, 399)
  271.     Player:AdvanceSkill(55, 399)
  272.     Player:AdvanceSkill(95, 399)
  273.     Player:AdvanceSkill(136, 399)
  274.     Player:AdvanceSkill(160, 399)
  275.     Player:AdvanceSkill(162, 399)
  276.     Player:AdvanceSkill(172, 399)
  277.     Player:AdvanceSkill(173, 399)
  278.     Player:AdvanceSkill(176, 399)
  279.     Player:AdvanceSkill(226, 399)
  280.     Player:AdvanceSkill(228, 399)
  281.     Player:AdvanceSkill(229, 399)
  282.     Player:AdvanceSkill(473, 399)  
  283.     Player:AdvanceSkill(164, 449)
  284.     Player:AdvanceSkill(165, 449)
  285.     Player:AdvanceSkill(171, 449)
  286.     Player:AdvanceSkill(182, 449)
  287.     Player:AdvanceSkill(186, 449)
  288.     Player:AdvanceSkill(197, 449)
  289.     Player:AdvanceSkill(202, 449)
  290.     Player:AdvanceSkill(333, 449)
  291.     Player:AdvanceSkill(393, 449)
  292.     Player:AdvanceSkill(755, 449)
  293.     Player:AdvanceSkill(773, 449)
  294.     Player:AdvanceSkill(129, 449)
  295.     Player:AdvanceSkill(185, 449)
  296.     Player:AdvanceSkill(356, 449)
  297.     Player:SendBroadcastMessage("You have maxed out all skills!")
  298.     intid=999
  299.     Unit:GossipSendMenu(Player)
  300. end
  301.  
  302. if (intid == 106) then
  303.     Player:ResetTalents()
  304.     Player:SendBroadcastMessage("All talents have been reset!")
  305.     intid=999
  306.     Unit:GossipSendMenu(Player)
  307. end
  308.  
  309. if(intid == 6) then
  310.     Player:CastSpell(25898)
  311.     Player:CastSpell(48162)
  312.     Player:CastSpell(61024)
  313.     Player:CastSpell(48074)
  314.     Player:CastSpell(48470)
  315.     Player:SendBroadcastMessage("You have been buffed!")
  316.     intid=999
  317.     Unit:GossipSendMenu(Player)
  318. end
  319.  
  320. if(intid == 7) then
  321.     if (Player:HasAura(15007) == true) then
  322.         Player:SendBroadcastMessage("Your Resurrection Sickness has been Removed!")
  323.         Player:RemoveAura(15007)
  324.         intid = 999
  325.         Unit:GossipSendMenu(Player)
  326.     else
  327.         Player:SendBroadcastMessage("Stop lying! You don't have resurrection sickness!")
  328.         intid = 999
  329.         Unit:GossipSendMenu(Player)
  330.     end
  331. end
  332.  
  333. if (intid == 122) then
  334.     if (Player:HasItem(70016) == true) then
  335.         local race = Player:GetPlayerRace()
  336.         if race == 1 or race == 3 or race == 4 or race == 7 or race == 11 then
  337.             Player:Teleport(1, -3849.965, 845.635, 111.905)
  338.             Unit:GossipComplete(Player)
  339.         end
  340.         local race = Player:GetPlayerRace()
  341.         if race == 2 or race == 5 or race == 6 or race == 8 or race == 10 then
  342.             Player:Teleport(1, 7372.595, -1499.7132, 158.026)
  343.             Unit:GossipComplete(Player)
  344.         end
  345.     else
  346.         Player:SendAreaTriggerMessage("To go to the V.I.P. Lounge you must have the key.")
  347.         Player:GossipComplete()
  348.     end
  349. end
  350.  
  351. if (intid == 120) then --leveling road
  352. Player:Teleport(1, 4611.157, -3865.612, 944.185)
  353. Unit:GossipComplete(Player)
  354. end
  355.  
  356. if(intid == 1) then --alliance mall
  357. Player:Teleport(1, -3691.93, 815.66, 108.12)
  358. Unit:GossipComplete(Player)
  359. end
  360.  
  361. if(intid == 2) then --horde mall
  362. Player:Teleport(1, 7117.4, -1694.06, 194.91)
  363. Unit:GossipComplete(Player)
  364. end
  365.  
  366. if(intid == 9) then --stormwind
  367. Player:Teleport(0, -8928, 540, 95)
  368. Unit:GossipComplete(Player)
  369. end
  370.  
  371. if(intid == 10) then --ironforge
  372. Player:Teleport(0, -4981, -881, 502)
  373. Unit:GossipComplete(Player)
  374. end
  375.  
  376. if(intid == 11) then --darnassus
  377. Player:Teleport(1, 9978, 2033, 1328.5)
  378. Unit:GossipComplete(Player)
  379. end
  380.  
  381. if(intid == 12) then --the exodar
  382. Player:Teleport(530, -4014, -11895, -1.5)
  383. Unit:GossipComplete(Player)
  384. end
  385.  
  386. if(intid == 13) then --orgrimmar
  387. Player:Teleport(1, 1502, -4415, 22)
  388. Unit:GossipComplete(Player)
  389. end
  390.  
  391. if(intid == 14) then --undercity
  392. Player:Teleport(0, 1752, 239, 61.5)
  393. Unit:GossipComplete(Player)
  394. end
  395.  
  396. if(intid == 15) then --thunderbluff
  397. Player:Teleport(1, -1283, 158, 130)
  398. Unit:GossipComplete(Player)
  399. end
  400.  
  401. if(intid == 16) then --silvermoon
  402. Player:Teleport(530, 9392, -7277, 14.5)
  403. Unit:GossipComplete(Player)
  404. end
  405.  
  406. if(intid == 20) then --shattrath
  407. Player:Teleport(530, -1877.57, 5457.82, -12.42)
  408. Unit:GossipComplete(Player)
  409. end
  410.  
  411. if(intid == 21) then --dalaran
  412. Player:Teleport(571, 5797, 629, 648)
  413. Unit:GossipComplete(Player)
  414. end
  415.  
  416. if(intid == 22) then --gurubashi arena
  417. Player:Teleport(0, -13282, 117, 25)
  418. Unit:GossipComplete(Player)
  419. end
  420.  
  421. if(intid == 23) then --ragefire chasm
  422. Player:Teleport(1, 1805, -4404, -18)
  423. Unit:GossipComplete(Player)
  424. end
  425.  
  426. if(intid == 24) then --deadmines
  427. Player:Teleport(36, -16.4, 383.07, 61.77)
  428. Unit:GossipComplete(Player)
  429. end
  430.  
  431. if(intid == 25) then --wailing caverns
  432. Player:Teleport(1, -737, -2219, 17)
  433. Unit:GossipComplete(Player)
  434. end
  435.  
  436. if(intid == 26) then --shadowfang keep
  437. Player:Teleport(0, -241, 1545, 77)
  438. Unit:GossipComplete(Player)
  439. end
  440.  
  441. if(intid == 27) then --blackfathom deeps
  442. Player:Teleport(48, -151.76, 105.14, -40.23)
  443. Unit:GossipComplete(Player)
  444. end
  445.  
  446. if(intid == 28) then --the stockade
  447. Player:Teleport(34, 49.8, 0.87, -16.7)
  448. Unit:GossipComplete(Player)
  449. end
  450.  
  451. if(intid == 29) then --razorfen kraul
  452. Player:Teleport(1, -4473, -1690, 82)
  453. Unit:GossipComplete(Player)
  454. end
  455.  
  456. if(intid == 30) then --gnomeregan
  457. Player:Teleport(0, -5164, 918,258)
  458. Unit:GossipComplete(Player)
  459. end
  460.  
  461. if(intid == 31) then --razorfen downs
  462. Player:Teleport(1, -4661, -2511, 81)
  463. Unit:GossipComplete(Player)
  464. end
  465.  
  466. if(intid == 32) then --scarlet monestary
  467. Player:Teleport(0, 2841, -692, 140)
  468. Unit:GossipComplete(Player)
  469. end
  470.  
  471. if(intid == 33) then --uldaman
  472. Player:Teleport(0, -6704, -2955, 209)
  473. Unit:GossipComplete(Player)
  474. end
  475.  
  476. if(intid == 35) then --zulfarak
  477. Player:Teleport(1, -6821, -2890, 9)
  478. Unit:GossipComplete(Player)
  479. end
  480.  
  481. if(intid == 36) then --maraudon
  482. Player:Teleport(349, 1019.7, -458.3, -43.43)
  483. Unit:GossipComplete(Player)
  484. end
  485.  
  486. if(intid == 37) then --atalhakkar
  487. Player:Teleport(0, -10457, -3828, 19)
  488. Unit:GossipComplete(Player)
  489. end
  490.  
  491. if(intid == 38) then --blackrock depths
  492. Player:Teleport(0, -7187, -914, 166)
  493. Unit:GossipComplete(Player)
  494. end
  495.  
  496. if(intid == 39) then --dire maul
  497. Player:Teleport(1, -4435.65, 1324.18, 126)
  498. Unit:GossipComplete(Player)
  499. end
  500.  
  501. if(intid == 40) then --scholomance
  502. Player:Teleport(0, 1265, -2560, 95)
  503. Unit:GossipComplete(Player)
  504. end
  505.  
  506. if(intid == 41) then --stratholme
  507. Player:Teleport(0, 3345, -3380, 145)
  508. Unit:GossipComplete(Player)
  509. end
  510.  
  511. if(intid == 42) then --LBRS
  512. Player:Teleport(0, -7527.17, -1225, 285.7)
  513. Unit:GossipComplete(Player)
  514. end
  515.  
  516. if(intid == 43) then --UBRS
  517. Player:Teleport(0, -7527.17, -1225, 285.7)
  518. Unit:GossipComplete(Player)
  519. end
  520.  
  521. if(intid == 45) then --Zulgurub
  522. Player:Teleport(0, -11916.16, -1183.62, 85.14)
  523. Unit:GossipComplete(Player)
  524. end
  525.  
  526. if(intid == 46) then --molten core
  527. Player:Teleport(409, 1078.92, -480.9, -108.2)
  528. Unit:GossipComplete(Player)
  529. end
  530.  
  531. if(intid == 47) then --blackwing lair
  532. Player:Teleport(469, -7672.12, -1107.14, 396.65)
  533. Unit:GossipComplete(Player)
  534. end
  535.  
  536. if(intid == 48) then --ruins of aq
  537. Player:Teleport(509, -8438.7, 1516.18, 31.9)
  538. Unit:GossipComplete(Player)
  539. end
  540.  
  541. if(intid == 49) then --temple of aq
  542. Player:Teleport(531, -8229.14, 2014, 129.1)
  543. Unit:GossipComplete(Player)
  544. end
  545.  
  546. if(intid == 56) then --Magisters terrace
  547. Player:Teleport(1, 12884.38, -7307.2, 65.5)
  548. Unit:GossipComplete(Player)
  549. end
  550.  
  551. if(intid == 57) then --karazhan
  552. Player:Teleport(532, -11105, 2000.38, 49.9)
  553. Unit:GossipComplete(Player)
  554. end
  555.  
  556. if(intid == 58) then --gruuls lair
  557. Player:Teleport(530, 3529, 5096, 3)
  558. Unit:GossipComplete(Player)
  559. end
  560.  
  561. if(intid == 59) then --zulaman
  562. Player:Teleport(530, 6850, -7950, 171)
  563. Unit:GossipComplete(Player)
  564. end
  565.  
  566. if(intid == 60) then --black temple
  567. Player:Teleport(530, -3614, 310, 40)
  568. Unit:GossipComplete(Player)
  569. end
  570.  
  571. if(intid == 61) then --sunwell plateau
  572. Player:Teleport(1, 1766.78, 906.08, 14.62)
  573. Unit:GossipComplete(Player)
  574. end
  575.  
  576. if(intid == 62) then --hellfire ramparts
  577. Player:Teleport(530, -360.67, 3071.9, -15.1)
  578. Unit:GossipComplete(Player)
  579. end
  580.  
  581. if(intid == 63) then --blood furnace
  582. Player:Teleport(530, -303, 3164, 32)
  583. Unit:GossipComplete(Player)
  584. end
  585.  
  586. if(intid == 64) then --shattered halls
  587. Player:Teleport(530, -311, 3083, -3)
  588. Unit:GossipComplete(Player)
  589. end
  590.  
  591. if(intid == 65) then --magtheridons lair
  592. Player:Teleport(530, -313, 3088, -116)
  593. Unit:GossipComplete(Player)
  594. end
  595.  
  596. if(intid == 66) then --slave pens
  597. Player:Teleport(547, 123, -126.6, -0.86)
  598. Unit:GossipComplete(Player)
  599. end
  600.  
  601. if(intid == 67) then --underbog
  602. Player:Teleport(546, 35.22, -29.64, -2.75)
  603. Unit:GossipComplete(Player)
  604. end
  605.  
  606. if(intid == 68) then --steamvault
  607. Player:Teleport(545, -13.8, 6.75, -4.25)
  608. Unit:GossipComplete(Player)
  609. end
  610.  
  611. if(intid == 69) then --serpentshrine cavern
  612. Player:Teleport(548, 10.29, 0.01, 822.35)
  613. Unit:GossipComplete(Player)
  614. end
  615.  
  616. if(intid == 70) then --mana-tombs
  617. Player:Teleport(530, -3100, 4950, -100)
  618. Unit:GossipComplete(Player)
  619. end
  620.  
  621. if(intid == 71) then --auchenai crypts
  622. Player:Teleport(530, -3367, 5216, -101)
  623. Unit:GossipComplete(Player)
  624. end
  625.  
  626. if(intid == 72) then --sethekk halls
  627. Player:Teleport(530, -3364, 4675, -101)
  628. Unit:GossipComplete(Player)
  629. end
  630.  
  631. if(intid == 73) then --shadow labryinth
  632. Player:Teleport(530, -3630, 4941, -101)
  633. Unit:GossipComplete(Player)
  634. end
  635.  
  636. if(intid == 74) then --Old hillsbrad foothills
  637. Player:Teleport(560, 2387.58, 1192.94, 67.47)
  638. Unit:GossipComplete(Player)
  639. end
  640.  
  641. if(intid == 75) then --black morass
  642. Player:Teleport(269, -1492.27, 7046.35, 32.24)
  643. Unit:GossipComplete(Player)
  644. end
  645.  
  646. if(intid == 76) then --hyjal summit
  647. Player:Teleport(534, 4244.5, -4219.56, 868.4)
  648. Unit:GossipComplete(Player)
  649. end
  650.  
  651. if(intid == 77) then --mechanar
  652. Player:Teleport(530, 2870, 1557, 252)
  653. Unit:GossipComplete(Player)
  654. end
  655.  
  656. if(intid == 78) then --botanica
  657. Player:Teleport(530, 3404, 1488, 183)
  658. Unit:GossipComplete(Player)
  659. end
  660.  
  661. if(intid == 79) then --arcatraz
  662. Player:Teleport(1, 5.48, 0, -0.2)
  663. Unit:GossipComplete(Player)
  664. end
  665.  
  666. if(intid == 80) then --the eye
  667. Player:Teleport(530, 3088, 1384, 185)
  668. Unit:GossipComplete(Player)
  669. end
  670.  
  671. if(intid == 81) then --utgarde keep
  672. Player:Teleport(574, 159.2, -84.64, 12.55)
  673. Unit:GossipComplete(Player)
  674. end
  675.  
  676. if(intid == 82) then --the nexus
  677. Player:Teleport(571, 3783, 6942, 105)
  678. Unit:GossipComplete(Player)
  679. end
  680.  
  681. if(intid == 83) then --azjolnerub
  682. Player:Teleport(571, 3721, 2155, 37)
  683. Unit:GossipComplete(Player)
  684. end
  685.  
  686. if(intid == 84) then --ahn'kahet
  687. Player:Teleport(619, 344, -1103, 60.3)
  688. Unit:GossipComplete(Player)
  689. end
  690.  
  691. if(intid == 85) then --drak'tharon keep
  692. Player:Teleport(571, 4897, 2046, 249)
  693. Unit:GossipComplete(Player)
  694. end
  695.  
  696. if(intid == 86) then --violet hold
  697. Player:Teleport(608, 1305, 358.6, 1)
  698. Unit:GossipComplete(Player)
  699. end
  700.  
  701. if(intid == 87) then --gundrak
  702. Player:Teleport(604, 2031, 805, 246)
  703. Unit:GossipComplete(Player)
  704. end
  705.  
  706. if(intid == 88) then --hall of stone
  707. Player:Teleport(599, 1153, 811, 196)
  708. Unit:GossipComplete(Player)
  709. end
  710.  
  711. if(intid == 89) then --hall of lightning
  712. Player:Teleport(602, 1333, -237, 41)
  713. Unit:GossipComplete(Player)
  714. end
  715.  
  716. if(intid == 90) then --the oculus
  717. Player:Teleport(571, 3783, 6942, 105)
  718. Unit:GossipComplete(Player)
  719. end
  720.  
  721. if(intid == 91) then --culling of stratholme
  722. Player:Teleport(1, -8638, -4382, -207)
  723. Unit:GossipComplete(Player)
  724. end
  725.  
  726. if(intid == 93) then --utgarde pinnacle
  727. Player:Teleport(575, 570, -327, 111)
  728. Unit:GossipComplete(Player)
  729. end
  730.  
  731. if(intid == 94) then --trial of the champion
  732. Player:Teleport(1, -3345, -3078, 33)
  733. Unit:GossipComplete(Player)
  734. end
  735.  
  736.  
  737. if(intid == 95) then --vault of archavon
  738. Player:Teleport(624, -358.56, -103.28, 104.66)
  739. Unit:GossipComplete(Player)
  740. end
  741.  
  742.  
  743. if(intid == 96) then --naxxramas
  744. Player:Teleport(571, 3561, 275, -115)
  745. Unit:GossipComplete(Player)
  746. end
  747.  
  748.  
  749. if(intid == 97) then --obisidian sanctum
  750. Player:Teleport(571, 3516.1, 270, -114)
  751. Unit:GossipComplete(Player)
  752. end
  753.  
  754.  
  755. if(intid == 98) then --eye of eternity
  756. Player:Teleport(571, 3783, 6942, 105)
  757. Unit:GossipComplete(Player)
  758. end
  759.  
  760.  
  761. if(intid == 99) then --ulduar
  762. Player:Teleport(571, 9013, 1114.4, 1165.3)
  763. Unit:GossipComplete(Player)
  764. end
  765.  
  766. if(intid == 101) then --trial of the crusader
  767. Player:Teleport(1, -3345, -3078, 33)
  768. Unit:GossipComplete(Player)
  769. end
  770.  
  771. if(intid == 102) then --onyxia's lair
  772. Player:Teleport(249, 29.4, -69.8, -7.3)
  773. Unit:GossipComplete(Player)
  774. end
  775.  
  776. if(intid == 103) then --Icecrown Citadel
  777. Player:Teleport(571, 6151, 2244, 508)
  778. Unit:GossipComplete(Player)
  779. end
  780. end
  781.  
  782. RegisterUnitGossipEvent(200003, 1, "Creature_OnGossip")
  783. RegisterUnitGossipEvent(200003, 2, "Creature_OnSelect")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement