- local creature_id = 2870;
- local locations = {
- ['Alliance Cities'] = {
- ['Stormwind City'] = function(player)
- player:Teleport(0, -8826.4091680, 629.565002, 94.078217, 3.954481);
- end,
- ['Darnassus'] = function(player)
- player:Teleport(1, 9951.950195, 2280.438965, 1341.394409, 1.577327);
- end,
- ['The Exondar'] = function(player)
- player:Teleport(530, -3938.156006, -11628.313477, -136.930893, 2.247025);
- end,
- ['Ironforge'] = function(player)
- player:Teleport(0, -4982.692871, -881.012756, 501.659668, 2.268230);
- end,
- -- Alliance only.
- ['check'] = function(player)
- return player:GetTeam() == 0;
- end
- },
- ['Horde Cities'] = {
- ['Orgrimmar'] = function(player)
- player:Teleport(1, 1556.017578, -4419.726563, 8.626983, 0.984890);
- end,
- ['Silvermoon City'] = function(player)
- player:Teleport(530, 10021.248047, -7014.779785, 49.717529, 3.998464);
- end,
- ['Undercity'] = function(player)
- player:Teleport(0, 1641.999146, 239.874191, 62.592777, 6.265121);
- end,
- ['Thunder Bluff'] = function(player)
- player:Teleport(1, -1231.227539, 99.556236, 130.041687, 2.370332);
- end,
- -- Horde only.
- ['check'] = function(player)
- return player:GetTeam() == 1;
- end
- },
- ['Azeroth'] = {
- ['Raids'] = {
- ['Blackwing Lair'] = function(player)
- player:Teleport(229, 173.802139, -474.786469, 116.839996, 0.000000);
- end,
- ['Molten Core'] = function(player)
- player:Teleport(230, 1115.349976, -457.350006, -102.699997, 3.515929);
- end,
- ['Ruins of Ahn\'Qiraj'] = function(player)
- player:Teleport(1, -8414.201172, 1501.348877, 29.995377, 2.576105);
- end,
- ['Temple of Ahn\'Qiraj'] = function(player)
- player:Teleport(1, -8240.357422, 1989.666138, 129.071793, 0.966038);
- end,
- -- Level 60 and higher only
- ['check'] = function(player)
- return player:GetLevel() >= 60;
- end
- },
- ['Dungeons'] = {
- ['Blackfathom Deeps'] = function(player)
- player:Teleport(48, -150.187103, 106.073769, -39.878681, 1.498540);
- end,
- ['Blackrock Depths'] = function(player)
- player:Teleport(230, 457.348969, 30.987259, -70.156662, 5.019115);
- end,
- ['Blackrock Spire'] = function(player)
- player:Teleport(229, 79.964035, -253.307556, 60.671982, 4.763849);
- end,
- ['Dire Maul'] = function(player)
- player:Teleport(429, 266.495850, -26.668299, -2.559584, 6.258052);
- end,
- ['Gnomeregan'] = function(player)
- player:Teleport(90, -761.111572, 24.409264, -252.862335, 1.591195);
- end,
- ['Maraudon'] = function(player)
- player:Teleport(349, 1043.808350, -451.087402, -42.885582, 0.268374);
- end,
- ['Ragefire Chasm'] = function(player)
- player:Teleport(389, 1.942479, -13.733954, -17.362961, 4.376239);
- end,
- ['Razorfen Downs'] = function(player)
- player:Teleport(129, 2592.642822, 1099.762207, 51.995701, 4.731369);
- end,
- ['Razorfen Kraul'] = function(player)
- player:Teleport(47, 1957.648193, 1598.480225, 81.604507, 0.135929);
- end,
- ['Shadowfang Keep'] = function(player)
- player:Teleport(33, -229.134995, 2109.179932, 76.889801, 1.267000);
- end,
- ['Stratholme'] = function(player)
- player:Teleport(329, 3625.765381, -3641.556885, 138.503723, 0.471527);
- end,
- ['Sunken Temple'] = function(player)
- player:Teleport(109, -325.581116, 100.868469, -131.850006, 3.120885);
- end,
- ['The Deadmines'] = function(player)
- player:Teleport(36, -15.935436, -377.485992, 60.626122, 3.017677);
- end,
- ['The Stockade'] = function(player)
- player:Teleport(34, 58.277203, 0.870144, -19.894732, 0.000000);
- end,
- ['Uldaman'] = function(player)
- player:Teleport(70, -227.953156, 43.184261, -46.019787, 1.570796);
- end,
- ['Wailing Caverns'] = function(player)
- player:Teleport(43, -140.366730, 126.054642, -77.849762, 6.159073);
- end,
- ['Zul\'Farrak'] = function(player)
- player:Teleport(209, 1213.945679, 842.133484, 8.954958, 6.094690);
- end
- },
- ['Locations'] = {
- ['Kalimdor'] = {
- ['Ashenvale'] = function(player)
- player:Teleport(1, 2762.595459, -348.210602, 107.576553, 1.584934);
- end,
- ['Azshara'] = function(player)
- player:Teleport(1, 2717.161621, -5968.820801, 106.390968, 0.967611);
- end,
- ['Azuremyst Isle'] = function(player)
- player:Teleport(530, -4247.345703, -13699.031250, 56.528660, 1.412932);
- end,
- ['Bloodmyst Isle'] = function(player)
- player:Teleport(530, -2392.843506, -11590.024414, 23.680330, 2.205399, 2.205399);
- end,
- ['Darkshore'] = function(player)
- player:Teleport(1, 6234.828125, 322.773315, 27.317997, 6.217212);
- end,
- ['Desolace'] = function(player)
- player:Teleport(1, -350.602386, 1484.880249, 91.352882, 3.035569);
- end,
- ['Durotar'] = function(player)
- player:Teleport(1, 888.461975, -4507.018555, 6.126934, 0.413905);
- end,
- ['Dustwallow Marsh'] = function(player)
- player:Teleport(1, -2910.613525, -3674.944580, 33.499104, 1.501682);
- end,
- ['Felwood'] = function(player)
- player:Teleport(1, 5074.151367, -619.094482, 296.126770, 4.168893);
- end,
- ['Feralas'] = function(player)
- player:Teleport(1, -4628.514648, 527.475159, 36.994503, 1.965067);
- end,
- ['Moonglade'] = function(player)
- player:Teleport(1, 7564.304688, -2950.671631, 466.682739, 4.651127);
- end,
- ['Mulgore'] = function(player)
- player:Teleport(1, -1803.718872, -477.751984, -0.444334, 2.897334);
- end,
- ['Silithus'] = function(player)
- player:Teleport(1, -6835.853027, 577.234375, -1.443718, 2.799158);
- end,
- ['Stonelaton Mountains'] = function(player)
- player:Teleport(1, 1595.890259, 1025.697144, 136.668213, 2.846283);
- end,
- ['Tanaris'] = function(player)
- player:Teleport(1, -7124.333984, -3817.009521, 8.409784, 3.143950);
- end,
- ['Teldrassil'] = function(player)
- player:Teleport(1, 9852.306641, 585.676392, 1302.201416, 0.395060);
- end,
- ['The Barrens'] = function(player)
- player:Teleport(1, 31.878681, -1841.274414, 95.601563, 4.675476);
- end,
- ['Thousand Needles'] = function(player)
- player:Teleport(1, -5557.254395, -2503.090332, -50.073147, 1.968208);
- end,
- ['Un/Goro Crater'] = function(player)
- player:Teleport(1, -7883.625488, -2123.600830, -265.031464, 0.978606);
- end,
- ['Winterspring'] = function(player)
- player:Teleport(1, 7572.633789, -4611.682617, 640.777832, 3.731426);
- end
- },
- ['Eastern Kingdoms'] = {
- ['Alterac Mountains'] = function(player)
- player:Teleport(0, 272.704, -654.514, 129.609);
- end,
- ['Arathi Highlands'] = function (player, object)
- object:SendUnitSay("Teleporting " .. player:GetName() .. " to Arathi Highlands.", 0);
- end,
- ['Badlands'] = function(player)
- player:Teleport(0, -6018.138184, -3311.517822, 261.744324);
- end,
- ['Blasted Lands'] = function(player)
- player:Teleport(0, -11204.5, -2730.61, 15.8972);
- end,
- ['Burning Steppes'] = function(player)
- player:Teleport(0, -7907.41, -1128.66, 192.056);
- end,
- ['Deadwind Pass'] = function(player)
- player:Teleport(0, -10435.4, -1809.28, 101);
- end,
- ['Dun Morogh'] = function(player)
- player:Teleport(0, -5425.924316, -224.271957, 404.984344);
- end,
- ['Duskwood'] = function(player)
- player:Teleport(0, -11224.254883, -378.471802, 52.764240);
- end,
- ['Eastern Plaguelands'] = function(player)
- player:Teleport(0, 1919.44, -4306.23, 77.838);
- end,
- ['Elwynn Forest'] = function(player)
- player:Teleport(0, 511.536, 1638.63, 121.417);
- end,
- ['Eversong Woods'] = function(player)
- player:Teleport(530, 9449.15, -6782.61, 16.6167);
- end,
- ['Ghostlands'] = function(player)
- player:Teleport(530, 7880, -6193, 22);
- end,
- ['Hillsbrad Foothills'] = function(player)
- player:Teleport(0, -852.854, -576.712, 21.0293);
- end,
- ['Isle of Quel\'Danas'] = function(player)
- player:Teleport(530, 12956.072266, -6943.814453, 9.968110);
- end,
- ['Loch Modan'] = function(player)
- player:Teleport(0, -4939.1, -3423.74, 306.595);
- end,
- ['Redridge Mountains'] = function(player)
- player:Teleport(0, -9219.37, -2149.94, 71.606);
- end,
- ['Searing Gorge'] = function(player)
- player:Teleport(0, -7176.63, -937.667, 171.206);
- end,
- ['Silverpine Forest'] = function(player)
- player:Teleport(0, 511.536, 1638.63, 121.417);
- end,
- ['Stranglethorn Vale'] = function(player)
- player:Teleport(0, -11634.8, -54.0697, 14.4439);
- end,
- ['Swamp of Sorrows'] = function(player)
- player:Teleport(0, -10264.6, -3059.9, 19.9356);
- end,
- ['The Hinterlands'] = function(player)
- player:Teleport(0, 139.375, -1982.79, 134.043);
- end,
- ['Tirisfal Glades'] = function(player)
- player:Teleport(0, 2019.35, 1904.36, 106.144);
- end,
- ['Western Plaguelands'] = function(player)
- player:Teleport(0, 1224.36, -1151.97, 61.7327);
- end,
- ['Wetlands'] = function(player)
- player:Teleport(0, -4086.36, -2610.95, 47.0143);
- end
- }
- }
- },
- ['Outlands'] = {
- ['Raids'] = {
- ['The Black Temple'] = function(player)
- player:Teleport(530, -3645.900146, 315.935852, 35.254723, 2.846283);
- end,
- ['Hyjal Summit'] = function(player)
- player:Teleport(1, -8171.590820, -4170.021973, -165.514221, 0.958639);
- end,
- ['Serpentshrine Cavern'] = function(player)
- player:Teleport(530, 791.368774, 6865.851563, -64.991562, 0.034219);
- end,
- ['Gruul\'s Lair'] = function(player)
- player:Teleport(530, 3530.934570, 5119.366699, 4.377350, 5.256669);
- end,
- ['Magtheridon\'s Lair'] = function(player)
- player:Teleport(530, -313.678986, 3088.350098, -116.501999, 5.185237);
- end,
- ['Karazhan'] = function(player)
- player:Teleport(0, -11112.900391, -2005.890015, 49.330700, 0.679364);
- end,
- ['Sunwell Plateau'] = function(player)
- player:Teleport(530, 12560.799805, -6774.589844, 150.080000, 3.130399);
- end,
- ['Tempest Keep'] = function(player)
- player:Teleport(530, 3087.523926, 1375.640503, 184.757706, 4.633849);
- end,
- ['check'] = function(player)
- return player:GetLevel() >= 70;
- end
- },
- ['Dungeons'] = {
- ['Auchenai Crypts'] = function(player)
- player:Teleport(558, -20.043657, 0.225544, -0.120600, 0.035341);
- end,
- ['Mana-Tombs'] = function(player)
- player:Teleport(557, 0.019100, 0.947800, -0.954310, 3.132171);
- end,
- ['Sethekk Halls'] = function(player)
- player:Teleport(556, -4.681100, -0.093080, 0.006200, 0.035342);
- end,
- ['Shadow Labyrinth'] = function(player)
- player:Teleport(555, 0.488033, -0.215935, -1.127919, 3.158880);
- end,
- ['Old Hillsbrad Foothills'] = function(player)
- player:Teleport(560, 2713.892334, 1320.112671, 14.052801, 3.808390);
- end,
- ['The Black Morass'] = function(player)
- player:Teleport(269, -1542.645386, 7111.906738, 32.521183, 2.770154);
- end,
- ['The Slave Pens'] = function(player)
- player:Teleport(547, 128.535583, -113.279655, -1.590555, 2.498329);
- end,
- ['The Steamvault'] = function(player)
- player:Teleport(545, -5.341632, -10.671141, -4.598904, 4.750874);
- end,
- ['The Underbog'] = function(player)
- player:Teleport(546, 23.071058, -20.403160, -2.757266, 5.529979);
- end,
- ['Hellfire Ramparts'] = function(player)
- player:Teleport(543, -1355.046753, 1642.031494, 68.306107, 0.761045);
- end,
- ['The Blood Furnace'] = function(player)
- player:Teleport(542, -0.072848, -6.470712, -43.152233, 4.760245);
- end,
- ['The Shattered Halls'] = function(player)
- player:Teleport(540, -21.699003, 0.010598, -13.145328, 0.062823);
- end,
- ['Magisters\' Terrace'] = function(player)
- player:Teleport(585, 43.472740, -0.021902, -2.816848, 0.030630);
- end,
- ['The Arcatraz'] = function(player)
- player:Teleport(552, 35.456886, 0.219578, -0.211911, 0.015712);
- end,
- ['The Botanica'] = function(player)
- player:Teleport(553, -1.693330, 3.466565, -1.497565, 1.569235);
- end,
- ['The Mechanar'] = function(player)
- player:Teleport(554, -28.906000, 0.680314, -1.812820, 0.034551);
- end
- },
- ['Locations'] = {
- ['Blade\'s Egde Mountains'] = function(player)
- player:Teleport(530, 3493.652588, 5542.755859, 7.520812, 0.843515);
- end,
- ['Hellfire Peninsula'] = function(player)
- player:Teleport(530, -248.554733, 939.717957, 84.379768, 1.573938);
- end,
- ['Nagrand'] = function(player)
- player:Teleport(530, -1587.556641, 8045.174805, -22.364342, 4.559238);
- end,
- ['Netherstorm'] = function(player)
- player:Teleport(530, 4405.355469, 2358.775635, 119.204147, 3.632467);
- end,
- ['Shadowmoon Valley'] = function(player)
- player:Teleport(530, -3227.614502, 2285.095703, 59.650650, 4.750874);
- end,
- ['Terokkar Forest'] = function(player)
- player:Teleport(530, -2250.217285, 3864.554443, 3.052516, 4.642490);
- end,
- ['Zangarmarsh'] = function(player)
- player:Teleport(530, 829.714844, 7229.596680, 20.962160, 3.716506);
- end
- },
- ['check'] = function(player)
- return player:GetLevel() >= 60;
- end
- },
- ['Northrend'] = {
- ['Raids'] = {
- ['Trial of the Crusader'] = function(player)
- player:Teleport(571, 8515.206055, 735.681152, 558.566101, 1.520922);
- end,
- ['Icecrown Citadel'] = function(player)
- player:Teleport(571, 5794.529785, 2073.879883, 636.059998, 3.610000);
- end,
- ['Naxxramas'] = function(player)
- player:Teleport(571, 3670.637939, -1273.004150, 243.507172, 0.840376);
- end,
- ['The Eye of Eternity'] = function(player)
- player:Teleport(571, 3826.965820, 6976.193359, 94.430435, 0.168077);
- end,
- ['Ulduar'] = function(player)
- player:Teleport(571, 9046.473633, -1109.824341, 1165.279907, 6.267487);
- end,
- ['Vault of Archavon'] = function(player)
- player:Teleport(571, 4736.33, 2840.310059, 420.399689, 0.000000);
- end,
- ['The Obsidian Sanctum'] = function(player)
- player:Teleport(571, 3455.973145, 262.434418, -113.759789, 3.246835);
- end,
- ['The Ruby Sanctum'] = function(player)
- player:Teleport(571, 3601.251953, 196.595764, -113.760010, 5.333894);
- end,
- ['check'] = function(player)
- return player:GetLevel() >= 80;
- end
- },
- ['Dungeons'] = {
- ['Ahn\'kahet: The Old Kingdom'] = function(player)
- player:Teleport(619, 377.994995, -1081.739990, 47.720882, 0.554500);
- end,
- ['Azjol-Nerub'] = function(player)
- player:Teleport(601, 501.083893, 754.109497, 811.634033, 6.032841);
- end,
- ['The Culling of Stratholme'] = function(player)
- player:Teleport(595, 1460.397461, 519.514832, 33.420513, 5.867711);
- end,
- ['Trial of the Champion'] = function(player)
- player:Teleport(650, 805.226990, 618.038025, 412.393005, 3.145600);
- end,
- ['Drak\'Tharon Keep'] = function(player)
- player:Teleport(600, -506.351105, -514.184448, 11.041132, 3.905784);
- end,
- ['Gundrak'] = function(player)
- player:Teleport(571, 6725.912109, -4637.730957, 450.668274, 3.930918);
- end,
- ['Forge of Souls'] = function(player)
- player:Teleport(632, 4913.022461, 2195.105469, 638.734009, 1.992136);
- end,
- ['Pit of Saron'] = function(player)
- player:Teleport(658, 429.645874, 212.575089, 528.700012, 0.23451);
- end,
- ['Halls of Reflection'] = function(player)
- player:Teleport(668, 5258.381348, 1952.857666, 707.690552, 0.790000);
- end,
- ['The Nexus'] = function(player)
- player:Teleport(576, 168.120895, -5.473920, -16.636700, 0.00000);
- end,
- ['The Oculus'] = function(player)
- player:Teleport(578, 1048.819946, 1108.540039, 361.070282, 0.477522);
- end,
- ['Halls of Lightning'] = function(player)
- player:Teleport(602, 1331.439941, 234.219025, 52.504734, 4.700000);
- end,
- ['Halls of Stone'] = function(player)
- player:Teleport(599, 1153.197876, 785.646729, 195.044571, 4.700000);
- end,
- ['Utgarde Keep'] = function(player)
- player:Teleport(574, 156.792572, -87.778931, 12.551690, 0.361283);
- end,
- ['Utgarde Pinnacle'] = function(player)
- player:Teleport(575, 569.445129, -327.677246, 110.138466, 3.119602);
- end
- },
- ['Locations'] = {
- ['Borean Tundra'] = function(player)
- player:Teleport(571, 3619.069580, 5921.716797, 137.528061, 2.010619);
- end,
- ['Crystalsong Forest'] = function(player)
- player:Teleport(571, 5489.319824, 446.886475, 164.181854, 5.171846);
- end,
- ['Dragonblight'] = function(player)
- player:Teleport(571, 3608.873535, 1399.043579, 92.152153, 0.376990);
- end,
- ['Grizzly Hills'] = function(player)
- player:Teleport(571, 4320.912109, -3607.699463, 247.999969, 0.219911);
- end,
- ['Howling Fjord'] = function(player)
- player:Teleport(571, 683.168640, -3976.332031, 230.408386, 4.505828);
- end,
- ['Hrothgar\'s Landing'] = function(player)
- player:Teleport(571, 10409.391602, 942.199341, 127.082535, 3.802111);
- end,
- ['Icecrown'] = function(player)
- player:Teleport(571, 8119.075195, 779.141357, 481.829254, 4.352682);
- end,
- ['Sholazar Basin'] = function(player)
- player:Teleport(571, 6120.295898, 4335.301270, -74.193039, 0.787760);
- end,
- ['The Storm Peaks'] = function(player)
- player:Teleport(571, 8419.461914, -1003.256836, 904.274780, 0.032201);
- end,
- ['Wintergrasp'] = function(player)
- player:Teleport(571, 4844.255859, 3581.082031, 354.519501, 3.921494);
- end,
- ['Zul\'Drak'] = function(player)
- player:Teleport(571, 5448.356445, -2173.203369, 248.309402, 4.711604);
- end
- },
- ['check'] = function(player)
- return player:GetLevel() >= 70;
- end
- },
- ['Arena\'s'] = {
- ['Gurubashi Arena'] = function(player)
- player:Teleport(0, -13262.516602, 161.138275, 36.428162, 1.117621);
- end,
- ['Dalaran Arena'] = function(player)
- player:Teleport(571, 5777.953125, 607.687683, 565.304260, 4.017313);
- end,
- ['The Maul'] = function(player)
- player:Teleport(1, -3754.202881, 1095.136230, 131.969131, 0.000000);
- end,
- ['Circle of Blood'] = function(player)
- player:Teleport(530, 2842.087158, 5927.591309, 0.891570, 2.901261);
- end,
- ['Ring of Trials'] = function(player)
- player:Teleport(530, -2043.349976, 6654.839844, 13.053447, 0.000000);
- end,
- ['Amphitheater of Anguish'] = function(player)
- player:Teleport(571, 5779.125488, -2986.801270, 273.010162, 5.137288);
- end
- },
- ['Remove resurrection sickness'] = {
- function(player)
- player:RemoveAura(15007);
- end,
- ['check'] = function(player)
- return player:HasAura(15007);
- end
- },
- _next = 13
- };
- RegisterDynamicCreatureGossipEvent(creature_id, locations);