stoneharry

Untitled

Jun 29th, 2011
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 25.24 KB | None | 0 0
  1. function On_Gossip(unit, event, player)
  2.     unit:GossipCreateMenu(3000, player, 0)
  3.     local race=player:GetPlayerRace()
  4.     if race==1 or race==3 or race==4 or race==7 or race==11 then
  5.         unit:GossipMenuAddItem(3, "Alliance Cities", 1, 0)
  6.     end
  7.     local race=player:GetPlayerRace()
  8.     if race==2 or race==5 or race==6 or race==8 or race==10 then
  9.         unit:GossipMenuAddItem(3, "Horde Cities", 2, 0)
  10.     end
  11.     unit:GossipMenuAddItem(2, "level zone", 20, 0)
  12.     unit:GossipMenuAddItem(3, "Eastern Kingdom Locations", 3, 0)
  13.     unit:GossipMenuAddItem(3, "Kalimdor Locations", 4, 0)
  14.     unit:GossipMenuAddItem(3, "Outland Locations", 5, 0)
  15.     unit:GossipMenuAddItem(3, "Azeroth Instances", 6, 0)
  16.     unit:GossipMenuAddItem(3, "Outland Instances", 7, 0)
  17.     unit:GossipMenuAddItem(1, "Gurubashi Arena", 420, 0)
  18.     unit:GossipMenuAddItem(3, "WOTLK Locations", 8, 0)
  19.     unit:GossipMenuAddItem(3, "WOTLK Instances", 9, 0)
  20.     unit:GossipMenuAddItem(4, "Remove Resurrection Sickness", 998, 0)
  21.     unit:GossipSendMenu(player)
  22. end
  23.  
  24.  
  25. function Gossip_Submenus(unit, event, player, id, intid, code)
  26. if(intid == 999) then
  27. unit:GossipCreateMenu(99, player, 0)
  28. local race=player:GetPlayerRace()
  29. if race==1 or race==3 or race==4 or race==7 or race==11 then
  30. unit:GossipMenuAddItem(3, "Alliance Cities", 1, 0)
  31. end
  32. local race=player:GetPlayerRace()
  33. if race==2 or race==5 or race==6 or race==8 or race==10 then
  34. unit:GossipMenuAddItem(3, "Horde Cities", 2, 0)
  35. end
  36. unit:GossipMenuAddItem(2, "level zone", 20, 0)
  37. unit:GossipMenuAddItem(3, "Eastern Kingdom Locations", 3, 0)
  38. unit:GossipMenuAddItem(3, "Kalimdor Locations", 4, 0)
  39. unit:GossipMenuAddItem(3, "Outland Locations", 5, 0)
  40. unit:GossipMenuAddItem(3, "Azeroth Instances", 6, 0)
  41. unit:GossipMenuAddItem(3, "Outland Instances", 7, 0)
  42. unit:GossipMenuAddItem(1, "Gurubashi Arena", 420, 0)
  43. unit:GossipMenuAddItem(3, "WOTLK Locations", 8, 0)
  44. unit:GossipMenuAddItem(3, "WOTLK Instances", 9, 0)
  45. unit:GossipMenuAddItem(4, "Remove Resurrection Sickness", 10, 0)
  46. unit:GossipSendMenu(player)
  47. end
  48.  
  49. if(intid == 1) then
  50. unit:GossipCreateMenu(99, player, 0)
  51. unit:GossipMenuAddItem(1, "Stormwind", 300, 0)
  52. unit:GossipMenuAddItem(1, "Ironforge", 301, 0)
  53. unit:GossipMenuAddItem(1, "Darnassus", 302, 0)
  54. unit:GossipMenuAddItem(1, "Exodar", 303, 0)
  55. unit:GossipMenuAddItem(0, "[Back]", 999, 0)
  56. unit:GossipSendMenu(player)
  57. end
  58.  
  59. if(intid == 2) then
  60. unit:GossipCreateMenu(99, player, 0)
  61. unit:GossipMenuAddItem(1, "Orgrimmar", 304, 0)
  62. unit:GossipMenuAddItem(1, "Thunder Bluff", 305, 0)
  63. unit:GossipMenuAddItem(1, "Undercity", 306, 0)
  64. unit:GossipMenuAddItem(1, "Silvermoon", 307, 0)
  65. unit:GossipMenuAddItem(0, "[Back]", 999, 0)
  66. unit:GossipSendMenu(player)
  67. end
  68.  
  69. if(intid == 3) then
  70. unit:GossipCreateMenu(99, player, 0)
  71. unit:GossipMenuAddItem(1, "Alterac Mountains", 308, 0)
  72. unit:GossipMenuAddItem(1, "Arathi Highlands", 309, 0)
  73. unit:GossipMenuAddItem(1, "Badlands", 310, 0)
  74. unit:GossipMenuAddItem(1, "Burning Steppes", 311, 0)
  75. unit:GossipMenuAddItem(1, "Deadwind Pass", 312, 0)
  76. unit:GossipMenuAddItem(1, "Dun Morogh", 313, 0)
  77. unit:GossipMenuAddItem(1, "Duskwood", 314, 0)
  78. unit:GossipMenuAddItem(1, "Eastern Plaguelands", 315, 0)
  79. unit:GossipMenuAddItem(1, "Elwynn Forest", 316, 0)
  80. unit:GossipMenuAddItem(1, "Eversong Woods", 317, 0)
  81. unit:GossipMenuAddItem(1, "Ghostlands", 318, 0)
  82. unit:GossipMenuAddItem(1, "Hillsbrad Foothills", 319, 0)
  83. unit:GossipMenuAddItem(1, "Hinterlands", 320, 0)
  84. unit:GossipMenuAddItem(1, "Loch Modan", 321, 0)
  85. unit:GossipMenuAddItem(0, "--> Page 2 -->", 10, 0)
  86. unit:GossipMenuAddItem(0, "[Back]", 999, 0)
  87. unit:GossipSendMenu(player)
  88. end
  89.  
  90. if(intid == 4) then
  91. unit:GossipCreateMenu(99, player, 0)
  92. unit:GossipMenuAddItem(1, "Ashenvale", 331, 0)
  93. unit:GossipMenuAddItem(1, "Azshara", 332, 0)
  94. unit:GossipMenuAddItem(1, "Azuremyst Isle", 333, 0)
  95. unit:GossipMenuAddItem(1, "Bloodmyst Isle", 334, 0)
  96. unit:GossipMenuAddItem(1, "Darkshore", 335, 0)
  97. unit:GossipMenuAddItem(1, "Durotar", 336, 0)
  98. unit:GossipMenuAddItem(1, "Desolace", 337, 0)
  99. unit:GossipMenuAddItem(1, "Dustwallow Marsh", 338, 0)
  100. unit:GossipMenuAddItem(1, "Felwood", 339, 0)
  101. unit:GossipMenuAddItem(1, "Feralas", 340, 0)
  102. unit:GossipMenuAddItem(1, "Moonglade", 341, 0)
  103. unit:GossipMenuAddItem(1, "Mulgore", 342, 0)
  104. unit:GossipMenuAddItem(1, "Silithus", 343, 0)
  105. unit:GossipMenuAddItem(1, "Stonetalon Mountains", 344, 0)
  106. unit:GossipMenuAddItem(0, "--> Page 2 -->", 11, 0)
  107. unit:GossipMenuAddItem(0, "[Back]", 999, 0)
  108. unit:GossipSendMenu(player)
  109. end
  110.  
  111. if(intid == 5) then
  112. unit:GossipCreateMenu(99, player, 0)
  113. unit:GossipMenuAddItem(1, "Blade's Edge Mountains", 351, 0)
  114. unit:GossipMenuAddItem(1, "Hellfire Peninsula", 352, 0)
  115. unit:GossipMenuAddItem(1, "Nagrand", 353, 0)
  116. unit:GossipMenuAddItem(1, "Netherstorm", 354, 0)
  117. unit:GossipMenuAddItem(1, "Shadowmoon Valley", 355, 0)
  118. unit:GossipMenuAddItem(1, "Terokkar Forest", 356, 0)
  119. unit:GossipMenuAddItem(1, "Zangarmarsh", 357, 0)
  120. unit:GossipMenuAddItem(0, "[Back]", 999, 0)
  121. unit:GossipSendMenu(player)
  122. end
  123.  
  124. if(intid == 6) then
  125. unit:GossipCreateMenu(99, player, 0)
  126. unit:GossipMenuAddItem(1, "Ahn'Qiraj", 358, 0)
  127. unit:GossipMenuAddItem(1, "Blackfathom Depths", 359, 0)
  128. unit:GossipMenuAddItem(1, "Blackrock Depths", 360, 0)
  129. unit:GossipMenuAddItem(1, "Blackrock Spire", 361, 0)
  130. unit:GossipMenuAddItem(1, "Blackwing Lair", 362, 0)
  131. unit:GossipMenuAddItem(1, "Caverns of Time", 363, 0)
  132. unit:GossipMenuAddItem(1, "Deadmines", 364, 0)
  133. unit:GossipMenuAddItem(1, "Dire Maul", 365, 0)
  134. unit:GossipMenuAddItem(1, "Gnomeregan", 366, 0)
  135. unit:GossipMenuAddItem(1, "Maraudon", 367, 0)
  136. unit:GossipMenuAddItem(1, "Molten Core", 368, 0)
  137. unit:GossipMenuAddItem(1, "Onyxia's Lair", 369, 0)
  138. unit:GossipMenuAddItem(1, "Ragefire Chasm", 370, 0)
  139. unit:GossipMenuAddItem(0, "--> Page 2 -->", 12, 0)
  140. unit:GossipMenuAddItem(0, "[Back]", 999, 0)
  141. unit:GossipSendMenu(player)
  142. end
  143.  
  144. if(intid == 7) then
  145. unit:GossipCreateMenu(99, player, 0)
  146. unit:GossipMenuAddItem(0, "Outland Raids", 13, 0)
  147. unit:GossipMenuAddItem(1, "Auchenai Crypts", 383, 0)
  148. unit:GossipMenuAddItem(1, "Coilfang Reservoir", 385, 0)
  149. unit:GossipMenuAddItem(1, "Hellfire Ramparts", 387, 0)
  150. unit:GossipMenuAddItem(1, "Mana Tombs", 388, 0)
  151. unit:GossipMenuAddItem(1, "Pheonix Hall", 389, 0)
  152. unit:GossipMenuAddItem(1, "Sethekk Halls", 390, 0)
  153. unit:GossipMenuAddItem(1, "Shadow Labyrinth", 391, 0)
  154. unit:GossipMenuAddItem(1, "The Blood Furnace", 423, 0)
  155. unit:GossipMenuAddItem(1, "The Botanica", 392, 0)
  156. unit:GossipMenuAddItem(1, "The Mechanar", 393, 0)
  157. unit:GossipMenuAddItem(1, "The Shattered Halls", 425, 0)
  158. unit:GossipMenuAddItem(1, "The Slave Pens", 426, 0)
  159. unit:GossipMenuAddItem(1, "The Steamvault", 427, 0)
  160. unit:GossipMenuAddItem(1, "The Underbog", 428, 0)
  161. unit:GossipMenuAddItem(0, "[Back]", 999, 0)
  162. unit:GossipSendMenu(player)
  163. end
  164.  
  165. if(intid == 8) then
  166. unit:GossipCreateMenu(99, player, 0)
  167. unit:GossipMenuAddItem(1, "Dalaran", 403, 0)
  168. unit:GossipMenuAddItem(1, "DK Start Zone", 405, 0)
  169. unit:GossipMenuAddItem(1, "Borean Tundra", 394, 0)
  170. unit:GossipMenuAddItem(1, "Crystalsong Forest", 404, 0)
  171. unit:GossipMenuAddItem(1, "Dragonblight", 395, 0)
  172. unit:GossipMenuAddItem(1, "Grizzly Hills", 396, 0)
  173. unit:GossipMenuAddItem(1, "Howling Fjord", 397, 0)
  174. unit:GossipMenuAddItem(1, "Icecrown", 398, 0)
  175. unit:GossipMenuAddItem(1, "Sholazar Basin", 399, 0)
  176. unit:GossipMenuAddItem(1, "Storm Peaks", 400, 0)
  177. unit:GossipMenuAddItem(1, "Wintergrasp", 401, 0)
  178. unit:GossipMenuAddItem(1, "Zul'Drak", 402, 0)
  179. unit:GossipMenuAddItem(0, "[Back]", 999, 0)
  180. unit:GossipSendMenu(player)
  181. end
  182.  
  183. if(intid == 9) then
  184. unit:GossipCreateMenu(99, player, 0)
  185. unit:GossipMenuAddItem(1, "Azjol'Nerub", 406, 0)
  186. unit:GossipMenuAddItem(1, "Drak'Tharon", 407, 0)
  187. unit:GossipMenuAddItem(1, "Gun'Drak", 408, 0)
  188. unit:GossipMenuAddItem(1, "Icecrown Citadel", 409, 0)
  189. unit:GossipMenuAddItem(1, "Naxxaramas", 410, 0)
  190. unit:GossipMenuAddItem(1, "Obsidian Sanctum", 411, 0)
  191. unit:GossipMenuAddItem(1, "The Nexus/Occulus/Eye of Eternity", 412, 0)
  192. unit:GossipMenuAddItem(1, "Halls of Stone/Halls of Lightning", 413, 0)
  193. unit:GossipMenuAddItem(1, "Utgarde Keep", 414, 0)
  194. unit:GossipMenuAddItem(1, "Utgarde Pinnacle", 415, 0)
  195. unit:GossipMenuAddItem(1, "Vault of Archevon", 416, 0)
  196. unit:GossipMenuAddItem(1, "Violet Hold", 417, 0)
  197. unit:GossipMenuAddItem(0, "[Back]", 999, 0)
  198. unit:GossipSendMenu(player)
  199. end
  200.  
  201. if(intid == 10) then
  202. unit:GossipCreateMenu(99, player, 0)
  203. unit:GossipMenuAddItem(1, "Searing Gorge", 322, 0)
  204. unit:GossipMenuAddItem(1, "Silverpine Forest", 323, 0)
  205. unit:GossipMenuAddItem(1, "Stranglethorn Vale", 324, 0)
  206. unit:GossipMenuAddItem(1, "Swamp of Sorrows", 325, 0)
  207. unit:GossipMenuAddItem(1, "The Blasted Lands", 326, 0)
  208. unit:GossipMenuAddItem(1, "Trisfal Glades", 327, 0)
  209. unit:GossipMenuAddItem(1, "Western Plaguelands", 328, 0)
  210. unit:GossipMenuAddItem(1, "Westfall", 329, 0)
  211. unit:GossipMenuAddItem(1, "Wetlands", 330, 0)
  212. unit:GossipMenuAddItem(0, "<-- Page 1 <--", 3, 0)
  213. unit:GossipMenuAddItem(0, "[Back]", 999, 0)
  214. unit:GossipSendMenu(player)
  215. end
  216.  
  217. if(intid == 11) then
  218. unit:GossipCreateMenu(99, player, 0)
  219. unit:GossipMenuAddItem(1, "Tanaris", 345, 0)
  220. unit:GossipMenuAddItem(1, "Teldrassil", 346, 0)
  221. unit:GossipMenuAddItem(1, "The Barrens", 347, 0)
  222. unit:GossipMenuAddItem(1, "Thousand Needles", 348, 0)
  223. unit:GossipMenuAddItem(1, "Un Goro Crater", 349, 0)
  224. unit:GossipMenuAddItem(1, "Winterspring", 350, 0)
  225. unit:GossipMenuAddItem(0, "<-- Page 1 <--", 4, 0)
  226. unit:GossipMenuAddItem(0, "[Back]", 999, 0)
  227. unit:GossipSendMenu(player)
  228. end
  229.  
  230. if(intid == 12) then
  231. unit:GossipCreateMenu(99, player, 0)
  232. unit:GossipMenuAddItem(1, "Razorfen Downs", 371, 0)
  233. unit:GossipMenuAddItem(1, "Razorfen Kraul", 372, 0)
  234. unit:GossipMenuAddItem(1, "Scarlet Monestary", 373, 0)
  235. unit:GossipMenuAddItem(1, "Scholomance", 374, 0)
  236. unit:GossipMenuAddItem(1, "Shadowfang Keep", 375, 0)
  237. unit:GossipMenuAddItem(1, "Stratholme", 376, 0)
  238. unit:GossipMenuAddItem(1, "Sunken Temple", 377, 0)
  239. unit:GossipMenuAddItem(1, "Uldaman", 378, 0)
  240. unit:GossipMenuAddItem(1, "Wailing Caverns", 379, 0)
  241. unit:GossipMenuAddItem(1, "Zul'Aman", 380, 0)
  242. unit:GossipMenuAddItem(1, "Zul'Farrak", 381, 0)
  243. unit:GossipMenuAddItem(1, "Zul'Gurub", 382, 0)
  244. unit:GossipMenuAddItem(0, "<-- Page 1 <--", 6, 0)
  245. unit:GossipMenuAddItem(0, "[Back]", 999, 0)
  246. unit:GossipSendMenu(player)
  247. end
  248.  
  249. if(intid == 13) then
  250. unit:GossipCreateMenu(99, player, 0)
  251. unit:GossipMenuAddItem(1, "Magtheridon's Lair", 421, 0)
  252. unit:GossipMenuAddItem(1, "Sepentshrine Cavern", 422, 0)
  253. unit:GossipMenuAddItem(1, "Gruul's Lair", 386, 0)
  254. unit:GossipMenuAddItem(1, "The Eye", 424, 0)
  255. unit:GossipMenuAddItem(1, "Black Temple", 384, 0)
  256. unit:GossipMenuAddItem(0, "[Back]", 999, 0)
  257. unit:GossipSendMenu(player)
  258. end
  259.  
  260. if(intid == 998) then
  261. if(player:HasAura(15007) == true) then
  262. player:RemoveAura(15007)
  263. player:SendBroadcastMessage("You have been cured of Resurrection Sickness!")
  264. else
  265. player:SendBroadcastMessage("You dont have Resurrection Sickness!")
  266. player:GossipComplete(player)
  267. end
  268. end
  269.  
  270. if(intid == 300) then --Stormwind
  271. player:Teleport(0, -8928, 540, 95)
  272. unit:GossipComplete(player)
  273. end
  274.  
  275. if(intid == 301) then --Ironforge
  276. player:Teleport(0, -4981, -881, 502)
  277. unit:GossipComplete(player)
  278. end
  279.  
  280. if(intid == 302) then --Darnassus
  281. player:Teleport(1, 9978, 2033, 1328.5)
  282. unit:GossipComplete(player)
  283. end
  284.  
  285. if(intid == 303) then --Exodar
  286. player:Teleport(530, -4014, -11895, -1.5)
  287. unit:GossipComplete(player)
  288. end
  289.  
  290. if(intid == 304) then --Orgrimmar
  291. player:Teleport(1, 1502, -4415, 22)
  292. unit:GossipComplete(player)
  293. end
  294.  
  295. if(intid == 305) then --Thunder Bluff
  296. player:Teleport(1, -1283, 158, 130)
  297. unit:GossipComplete(player)
  298. end
  299.  
  300. if(intid == 306) then --Undercity
  301. player:Teleport(0, 1752, 239, 61.5)
  302. unit:GossipComplete(player)
  303. end
  304.  
  305. if(intid == 307) then --Silvermoon
  306. player:Teleport(530, 9392, -7277, 14.5)
  307. unit:GossipComplete(player)
  308. end
  309.  
  310. if(intid == 308) then --Alterac Mountains
  311. player:Teleport(0, 237, -652, 119)
  312. unit:GossipComplete(player)
  313. end
  314.  
  315. if(intid == 309) then --Arathi Highlands
  316. player:Teleport(0, -1550, -2495, 55)
  317. unit:GossipComplete(player)
  318. end
  319.  
  320. if(intid == 310) then --Badlands
  321. player:Teleport(0, -6775, -3286, 242)
  322. unit:GossipComplete(player)
  323. end
  324.  
  325. if(intid == 311) then --Burning Steppes
  326. player:Teleport(0, -7975, -1786, 133.5)
  327. unit:GossipComplete(player)
  328. end
  329.  
  330. if(intid == 312) then --Deadwind Pass
  331. player:Teleport(0, -10447, -1872, 105)
  332. unit:GossipComplete(player)
  333. end
  334.  
  335. if(intid == 313) then --Dun Morogh
  336. player:Teleport(0, -5709, -1339, 395)
  337. unit:GossipComplete(player)
  338. end
  339.  
  340. if(intid == 314) then --Duskwood
  341. player:Teleport(0, -10914, -528, 54)
  342. unit:GossipComplete(player)
  343. end
  344.  
  345. if(intid == 315) then --Eastern Plaguelands
  346. player:Teleport(0, 1739, -3623, 120)
  347. unit:GossipComplete(player)
  348. end
  349.  
  350. if(intid == 316) then --Elwynn Forest
  351. player:Teleport(0, -9591, -463, 58)
  352. unit:GossipComplete(player)
  353. end
  354.  
  355. if(intid == 317) then --Eversong Woods
  356. player:Teleport(530, 8250, -7214, 140)
  357. unit:GossipComplete(player)
  358. end
  359.  
  360. if(intid == 318) then --Ghostlands
  361. player:Teleport(530, 6396, -6848, 101)
  362. unit:GossipComplete(player)
  363. end
  364.  
  365. if(intid == 319) then --Hillsbrad Foothills
  366. player:Teleport(0, -440, -582, 54)
  367. unit:GossipComplete(player)
  368. end
  369.  
  370. if(intid == 320) then --Hinterlands
  371. player:Teleport(0, 235, -3298, 110)
  372. unit:GossipComplete(player)
  373. end
  374.  
  375. if(intid == 321) then --Loch Modan
  376. player:Teleport(0, -5853, -3251, 303)
  377. unit:GossipComplete(player)
  378. end
  379.  
  380. if(intid == 322) then --Searing Gorge
  381. player:Teleport(0, -6645, -1918, 245)
  382. unit:GossipComplete(player)
  383. end
  384.  
  385. if(intid == 323) then --Silverpine Forest
  386. player:Teleport(0, 628, 1291, 87)
  387. unit:GossipComplete(player)
  388. end
  389.  
  390. if(intid == 324) then --Stranglethorn Vale
  391. player:Teleport(0, -14246, 301, 28)
  392. unit:GossipComplete(player)
  393. end
  394.  
  395. if(intid == 325) then --Swamp of Sorrows
  396. player:Teleport(0, -10476, -2408, 74)
  397. unit:GossipComplete(player)
  398. end
  399.  
  400. if(intid == 326) then --The Blasted Lands
  401. player:Teleport(0, -11189, -3023, 8)
  402. unit:GossipComplete(player)
  403. end
  404.  
  405. if(intid == 327) then --Tirisfal Glades
  406. player:Teleport(0, 1599, 569, 38)
  407. unit:GossipComplete(player)
  408. end
  409.  
  410. if(intid == 328) then --Western Plaguelands
  411. player:Teleport(0, 1676, -1366, 70)
  412. unit:GossipComplete(player)
  413. end
  414.  
  415. if(intid == 329) then --Westfall
  416. player:Teleport(0, -10922, 998, 36)
  417. unit:GossipComplete(player)
  418. end
  419.  
  420. if(intid == 330) then --Wetlands
  421. player:Teleport(0, -3604, -2711, 20)
  422. unit:GossipComplete(player)
  423. end
  424.  
  425. if(intid == 331) then --Ashenvale
  426. player:Teleport(1, 2319, -1672, 124)
  427. unit:GossipComplete(player)
  428. end
  429.  
  430. if(intid == 332) then --Azshara
  431. player:Teleport(1, 3336, -4599, 93)
  432. unit:GossipComplete(player)
  433. end
  434.  
  435. if(intid == 333) then --Azuremyst Isle
  436. player:Teleport(530, -4540, -11933, 28)
  437. unit:GossipComplete(player)
  438. end
  439.  
  440. if(intid == 334) then --Bloodmyst Isle
  441. player:Teleport(530, -2721, -12206, 10)
  442. unit:GossipComplete(player)
  443. end
  444.  
  445. if(intid == 335) then --Darkshore
  446. player:Teleport(1, 5084, 242, 29)
  447. unit:GossipComplete(player)
  448. end
  449.  
  450. if(intid == 336) then --Desolace
  451. player:Teleport(1, -548, 1276, 90)
  452. unit:GossipComplete(player)
  453. end
  454.  
  455. if(intid == 337) then --Durotar
  456. player:Teleport(1, 301, -4184, 28)
  457. unit:GossipComplete(player)
  458. end
  459.  
  460. if(intid == 338) then --Dustwallow Marsh
  461. player:Teleport(1, -3345, -3078, 33)
  462. unit:GossipComplete(player)
  463. end
  464.  
  465. if(intid == 339) then --Felwood
  466. player:Teleport(1, 5537, -585, 359)
  467. unit:GossipComplete(player)
  468. end
  469.  
  470. if(intid == 340) then --Feralas
  471. player:Teleport(1, -4811, 1037, 105)
  472. unit:GossipComplete(player)
  473. end
  474.  
  475. if(intid == 341) then --Moonglade
  476. player:Teleport(1, 7931, -2616, 493)
  477. unit:GossipComplete(player)
  478. end
  479.  
  480. if(intid == 342) then --Mulgore
  481. player:Teleport(1, -2372, -893, -9)
  482. unit:GossipComplete(player)
  483. end
  484.  
  485. if(intid == 343) then --Silithus
  486. player:Teleport(1, -6839, 763, 43)
  487. unit:GossipComplete(player)
  488. end
  489.  
  490. if(intid == 344) then --Stonetalon Mountains
  491. player:Teleport(1, 588, 330, 48)
  492. unit:GossipComplete(player)
  493. end
  494.  
  495. if(intid == 345) then --Tanaris
  496. player:Teleport(1, -7149, -3746, 9)
  497. unit:GossipComplete(player)
  498. end
  499.  
  500. if(intid == 346) then --Teldrassil
  501. player:Teleport(1, 9947, 649, 1310)
  502. unit:GossipComplete(player)
  503. end
  504.  
  505. if(intid == 347) then --The Barrens
  506. player:Teleport(1, 567, -2573, 96)
  507. unit:GossipComplete(player)
  508. end
  509.  
  510. if(intid == 348) then --Thousand Needles
  511. player:Teleport(1, -4969, -1723, -61)
  512. unit:GossipComplete(player)
  513. end
  514.  
  515. if(intid == 349) then --Un Goro Crater
  516. player:Teleport(1, -7932, -2139, -230)
  517. unit:GossipComplete(player)
  518. end
  519.  
  520. if(intid == 350) then --Winterspring
  521. player:Teleport(1, 6719, -4646, 722)
  522. unit:GossipComplete(player)
  523. end
  524.  
  525. if(intid == 351) then --Blade's Edge Mountains
  526. player:Teleport(530, 2924, 5982, -1)
  527. unit:GossipComplete(player)
  528. end
  529.  
  530. if(intid == 352) then --Hellfire Peninsula
  531. player:Teleport(530, -220, 2217, 86)
  532. unit:GossipComplete(player)
  533. end
  534.  
  535. if(intid == 353) then --Nagrand
  536. player:Teleport(530, -1525, 6571, 21)
  537. unit:GossipComplete(player)
  538. end
  539.  
  540. if(intid == 354) then --Netherstorm
  541. player:Teleport(530, 3052, 3670, 143)
  542. unit:GossipComplete(player)
  543. end
  544.  
  545. if(intid == 355) then --Shadowmoon Valley
  546. player:Teleport(530, -3693, 2344, 77)
  547. unit:GossipComplete(player)
  548. end
  549.  
  550. if(intid == 356) then --Terokkar Forest
  551. player:Teleport(530, -1975, 4516, 13)
  552. unit:GossipComplete(player)
  553. end
  554.  
  555. if(intid == 357) then --Zangarmarsh
  556. player:Teleport(530, -205, 5545, 24)
  557. unit:GossipComplete(player)
  558. end
  559.  
  560. if(intid == 358) then --Ahn'Qiraj
  561. player:Teleport(1, -8187, 1539, 5)
  562. unit:GossipComplete(player)
  563. end
  564.  
  565. if(intid == 359) then --Blackfathom Depths
  566. player:Teleport(1, 4248, 736, -26)
  567. unit:GossipComplete(player)
  568. end
  569.  
  570. if(intid == 360) then --Blackrock Depths
  571. player:Teleport(0, -7187, -914, 166)
  572. unit:GossipComplete(player)
  573. end
  574.  
  575. if(intid == 361) then --Blackrock Spire
  576. player:Teleport(0, -7532, -1221, 286)
  577. unit:GossipComplete(player)
  578. end
  579.  
  580. if(intid == 362) then --Blackwing Lair
  581. player:Teleport(229, 137, -474, 117)
  582. unit:GossipComplete(player)
  583. end
  584.  
  585. if(intid == 363) then --Caverns of Time
  586. player:Teleport(1, -8568, -4260, -213)
  587. unit:GossipComplete(player)
  588. end
  589.  
  590. if(intid == 364) then --Deadmines
  591. player:Teleport(0, 11209, 1664, 25)
  592. unit:GossipComplete(player)
  593. end
  594.  
  595. if(intid == 365) then --Dire Maul
  596. player:Teleport(1, -3524, 1124, 162)
  597. unit:GossipComplete(player)
  598. end
  599.  
  600. if(intid == 366) then --Gnomeregan
  601. player:Teleport(0, -5164, 918,258)
  602. unit:GossipComplete(player)
  603. end
  604.  
  605. if(intid == 367) then --Maraudon
  606. player:Teleport(1, -1458, 2606, 76)
  607. unit:GossipComplete(player)
  608. end
  609.  
  610. if(intid == 368) then --Molten Core
  611. player:Teleport(230, 1123, -455, -101)
  612. unit:GossipComplete(player)
  613. end
  614.  
  615. if(intid == 369) then --Onyxia's Lair
  616. player:Teleport(1, -4709, -3729, 55)
  617. unit:GossipComplete(player)
  618. end
  619.  
  620. if(intid == 370) then --Ragefire Chasm
  621. player:Teleport(1, 1805, -4404, -18)
  622. unit:GossipComplete(player)
  623. end
  624.  
  625. if(intid == 371) then --Razorfen Downs
  626. player:Teleport(1, -4661, -2511, 81)
  627. unit:GossipComplete(player)
  628. end
  629.  
  630. if(intid == 372) then --Razorfen Kraul
  631. player:Teleport(1, -4473, -1690, 82)
  632. unit:GossipComplete(player)
  633. end
  634.  
  635. if(intid == 373) then --Scarlet Monestary
  636. player:Teleport(0, 2841, -692, 140)
  637. unit:GossipComplete(player)
  638. end
  639.  
  640. if(intid == 374) then --Scholomance
  641. player:Teleport(0, 1265, -2560, 95)
  642. unit:GossipComplete(player)
  643. end
  644.  
  645. if(intid == 375) then --Shadowfang Keep
  646. player:Teleport(0, -241, 1545, 77)
  647. unit:GossipComplete(player)
  648. end
  649.  
  650. if(intid == 376) then --Stratholme
  651. player:Teleport(0, 3345, -3380, 145)
  652. unit:GossipComplete(player)
  653. end
  654.  
  655. if(intid == 377) then --Sunken Temple
  656. player:Teleport(0, -10457, -3828, 19)
  657. unit:GossipComplete(player)
  658. end
  659.  
  660. if(intid == 378) then --Uldaman
  661. player:Teleport(0, -6704, -2955, 209)
  662. unit:GossipComplete(player)
  663. end
  664.  
  665. if(intid == 379) then --Wailing Caverns
  666. player:Teleport(1, -737, -2219, 17)
  667. unit:GossipComplete(player)end
  668.  
  669. if(intid == 380) then --Zul'Aman
  670. player:Teleport(530, 6850, -7950, 171)
  671. unit:GossipComplete(player)
  672. end
  673.  
  674. if(intid == 381) then --Zul'Farrak
  675. player:Teleport(1, -6821, -2890, 9)
  676. unit:GossipComplete(player)
  677. end
  678.  
  679. if(intid == 382) then --Zul'Gurub
  680. player:Teleport(0, -11916, -1204, 93)
  681. unit:GossipComplete(player)
  682. end
  683.  
  684. if(intid == 383) then --Auchenai Crypts
  685. player:Teleport(530, -3367, 5216, -101)
  686. unit:GossipComplete(player)
  687. end
  688.  
  689. if(intid == 384) then --Black Temple
  690. player:Teleport(530, -3614, 310, 40)
  691. unit:GossipComplete(player)
  692. end
  693.  
  694. if(intid == 385) then --Coilfang Reservoir
  695. player:Teleport(530, 792, 6863, -64)
  696. unit:GossipComplete(player)
  697. end
  698.  
  699. if(intid == 386) then --Gruul's Lair
  700. player:Teleport(530, 3529, 5096, 3)
  701. unit:GossipComplete(player)
  702. end
  703.  
  704. if(intid == 387) then --Hellfire Ramparts
  705. player:Teleport(530, -360, 3071, -16)
  706. unit:GossipComplete(player)
  707. end
  708.  
  709. if(intid == 388) then --Mana Tombs
  710. player:Teleport(530, -3100, 4950, -100)
  711. unit:GossipComplete(player)
  712. end
  713.  
  714. if(intid == 389) then --Pheonix Hall
  715. player:Teleport(530, 3084, 1385, 185)
  716. unit:GossipComplete(player)
  717. end
  718.  
  719. if(intid == 390) then --Sethekk Halls
  720. player:Teleport(530, -3364, 4675, -101)
  721. unit:GossipComplete(player)
  722. end
  723.  
  724. if(intid == 391) then --Shadow Labyrinth
  725. player:Teleport(530, -3630, 4941, -101)
  726. unit:GossipComplete(player)
  727. end
  728.  
  729. if(intid == 392) then --The Botanica
  730. player:Teleport(530, 3404, 1488, 183)
  731. unit:GossipComplete(player)
  732. end
  733.  
  734. if(intid == 393) then --The Mechanar
  735. player:Teleport(530, 2870, 1557, 252)
  736. unit:GossipComplete(player)
  737. end
  738.  
  739. if(intid == 394) then --Borean Tundra
  740. player:Teleport(571, 3008, 5290, 60)
  741. unit:GossipComplete(player)
  742. end
  743.  
  744. if(intid == 395) then --Dragonblight
  745. player:Teleport(571, 3118, 107, 72)
  746. unit:GossipComplete(player)
  747. end
  748.  
  749. if(intid == 396) then --Grizzly Hills
  750. player:Teleport(571, 3681, -3472, 243)
  751. unit:GossipComplete(player)
  752. end
  753.  
  754. if(intid == 397) then --Howling Fjord
  755. player:Teleport(571, 1267, -4062, 143)
  756. unit:GossipComplete(player)
  757. end
  758.  
  759. if(intid == 398) then --Icecrown
  760. player:Teleport(571, 7514, 2091, 623)
  761. unit:GossipComplete(player)
  762. end
  763.  
  764. if(intid == 399) then --Sholazar Basin
  765. player:Teleport(571, 5501, 4879, -198)
  766. unit:GossipComplete(player)
  767. end
  768.  
  769. if(intid == 400) then --Storm Peaks
  770. player:Teleport(571, 7514, -1037, 467)
  771. unit:GossipComplete(player)
  772. end
  773.  
  774. if(intid == 401) then --Wintergrasp
  775. player:Teleport(571, 4611, 2848, 3397)
  776. unit:GossipComplete(player)
  777. end
  778.  
  779. if(intid == 402) then --Zul'Drak
  780. player:Teleport(571, 5441, -2304, 298)
  781. unit:GossipComplete(player)
  782. end
  783.  
  784. if(intid == 403) then --Dalaran
  785. player:Teleport(571, 5797, 629, 648)
  786. unit:GossipComplete(player)
  787. end
  788.  
  789. if(intid == 404) then --Crystalsong Forest
  790. player:Teleport(571, 5402, 72, 151)
  791. unit:GossipComplete(player)
  792. end
  793.  
  794. if(intid == 405) then --DK Start Zone
  795. player:Teleport(609, 2353, -5666, 427)
  796. unit:GossipComplete(player)
  797. end
  798.  
  799. if(intid == 406) then --Azjol'Nerub
  800. player:Teleport(571, 3721, 2155, 37)
  801. unit:GossipComplete(player)
  802. end
  803.  
  804. if(intid == 407) then --Drak'Tharon
  805. player:Teleport(571, 4897, 2046, 249)
  806. unit:GossipComplete(player)
  807. end
  808.  
  809. if(intid == 408) then --Gun'Drak
  810. player:Teleport(571, 6925, 4447, 451)
  811. unit:GossipComplete(player)
  812. end
  813.  
  814. if(intid == 409) then --Icecrown Citadel
  815. player:Teleport(571, 6151, 2244, 508)
  816. unit:GossipComplete(player)
  817. end
  818.  
  819. if(intid == 410) then --Naxxaramas
  820. player:Teleport(571, 3668, -1049, 131)
  821. unit:GossipComplete(player)
  822. end
  823.  
  824. if(intid == 411) then --Obsidian Sanctum
  825. player:Teleport(571, 3561, 275, -115)
  826. unit:GossipComplete(player)
  827. end
  828.  
  829. if(intid == 412) then --The Nexus/Occulus/Eye of Eternity
  830. player:Teleport(571, 3783, 6942, 105)
  831. unit:GossipComplete(player)
  832. end
  833.  
  834. if(intid == 413) then --Halls of Stone/Halls of Lightning
  835. player:Teleport(571, 8937, 1266, 1026)
  836. unit:GossipComplete(player)
  837. end
  838.  
  839. if(intid == 414) then --Utgarde Keep
  840. player:Teleport(571, 1228, -4943, 36)
  841. unit:GossipComplete(player)
  842. end
  843.  
  844. if(intid == 415) then --Utgarde Pinnacle
  845. player:Teleport(571, 1274, -4857, 216)
  846. unit:GossipComplete(player)
  847. end
  848.  
  849. if(intid == 416) then --Vault of Archevon
  850. player:Teleport(571, 5440, 2840, 421)
  851. unit:GossipComplete(player)
  852. end
  853.  
  854. if(intid == 417) then --Violet Hold
  855. player:Teleport(571, 5708, 521, 650)
  856. unit:GossipComplete(player)
  857. end
  858.  
  859. if(intid == 418) then --Alliance Mall
  860. player:Teleport(0, 53.706242, -1503.903809, 175)
  861. unit:GossipComplete(player)
  862. end
  863.  
  864. if(intid == 419) then --Horde Mall
  865. player:Teleport(1, 7367.160156, -1559.839966, 163.546997)
  866. unit:GossipComplete(player)
  867. end
  868.  
  869. if(intid == 420) then --Gurubashi Arena
  870. player:Teleport(0, -13282, 117, 25)
  871. unit:GossipComplete(player)
  872. end
  873.  
  874. if(intid == 421) then --Magtheridon's Lair
  875. player:Teleport(530, -313, 3088, -116)
  876. unit:GossipComplete(player)
  877. end
  878.  
  879. if(intid == 422) then --Serpentshrine Cavern
  880. player:Teleport(530, 830, 6865, -63)
  881. unit:GossipComplete(player)
  882. end
  883.  
  884. if(intid == 423) then --The Blood Furnace
  885. player:Teleport(530, -303, 3164, 32)
  886. unit:GossipComplete(player)
  887. end
  888.  
  889. if(intid == 424) then --The Eye
  890. player:Teleport(530, 3087, 1373, 185)
  891. unit:GossipComplete(player)
  892. end
  893.  
  894. if(intid == 425) then --The Shattered Halls
  895. player:Teleport(530, -311, 3083, -3)
  896. unit:GossipComplete(player)
  897. end
  898.  
  899. if(intid == 426) then --The Slave Pens
  900. player:Teleport(530, 719, 6999, -73)
  901. unit:GossipComplete(player)
  902. end
  903.  
  904. if(intid == 427) then --The Steamvault
  905. player:Teleport(530, 816, 6934, -80)
  906. unit:GossipComplete(player)
  907. end
  908.  
  909. if(intid == 428) then --The Underbog
  910. player:Teleport(530, 777, 6763, -72)
  911. unit:GossipComplete(player)
  912. end
  913. if(intid == 429) then
  914. player:Teleport(1, 4641.479980, -3828.770020, 944.098999)
  915. unit:GossipComplete(player)
  916. end
  917. end
  918.  
  919. RegisterUnitGossipEvent(450055, 1, "On_Gossip")
  920. RegisterUnitGossipEvent(450055, 2, "Gossip_Submenus")
Advertisement
Add Comment
Please, Sign In to add comment