Advertisement
Guest User

Teleporter NPC - Singoe

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