Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2011
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 57.35 KB | None | 0 0
  1. -- -------------------------------------------------------------------------
  2. -- ---- IMPORTANT: ONLY SET THESE VARIABLES, DO NOT TOUCH THE REST!!!! -----
  3. -- -------------------------------------------------------------------------
  4. -- Set all the important variables for the database
  5. -- Replace xxx with a value (number)
  6. -- NPC
  7. SET @Entry := xxx; -- Creature Entry (need 1)
  8. SET @Text := xxx; -- Gossip Texts (need 6)
  9. -- Gossip
  10. SET @Main := xxx; -- Main gossip entry on creature (need 13)
  11. -- Smart_script
  12. SET @Script := xxx ; -- scriptid iterator (need 84)
  13. -- Conditional values
  14. SET @Money_C := xxx ; -- How much users have to pay to travel to MAIN CITIES (in copper, set 0 for free usage)
  15. SET @Money_T1 := xxx ; -- How much users have to pay to travel to TOWNS_TBC (in copper, set 0 for free usage)
  16. SET @Money_T2 := xxx ; -- How much users have to pay to travel to TOWNS_WOTLK (in copper, set 0 for free usage)
  17. SET @Money_A := xxx ; -- How much users have to pay to travel to ARENAS (in copper, set 0 for free usage)
  18. SET @Money_I1 := xxx ; -- How much users have to pay to travel to DUNGEONS<60 (in copper, set 0 for free usage)
  19. SET @Money_I2 := xxx ; -- How much users have to pay to travel to DUNGEONS_TBC (in copper, set 0 for free usage)
  20. SET @Money_I3 := xxx ; -- How much users have to pay to travel to DUNGEONS_WOLTK (in copper, set 0 for free usage)
  21. SET @Money_R1 := xxx ; -- How much users have to pay to travel to RAIDS<60 (in copper, set 0 for free usage)
  22. SET @Money_R2 := xxx ; -- How much users have to pay to travel to RAIDS_TBC (in copper, set 0 for free usage)
  23. SET @Money_R3 := xxx ; -- How much users have to pay to travel to RAIDS_WOLTK (in copper, set 0 for free usage)
  24. -- --------------------------------------------------------------------------
  25. -- ------- STOP HERE -- STOP HERE -- STOP HERE -- STOP HERE -- STOP HERE ----
  26. -- --------------------------------------------------------------------------
  27.  
  28. -- ---------------------------------------------------------------------------
  29. -- ------- DONT TOUCH THESE ----- DONT TOUCH THESE ----- DONT TOUCH THESE ----
  30. -- ---------------------------------------------------------------------------
  31. SET @Sub_Cities := @Main+1; -- Submenu: Cities
  32. SET @Sub_Towns_BC := @Main+2; -- Submenu: Burning Crusade Towns
  33. SET @Sub_Towns_WOTLK := @Main+3; -- Submenu: Wrath of Lich King Towns
  34. SET @Sub_Arenas := @Main+4; -- Submenu: Arenas
  35. SET @Sub_Instance1 := @Main+5; -- Submenu: Instances level 1-60
  36. SET @Sub_Instance1_EK := @Main+6; -- Submenu: Instances level 1-60 Eastern Kingdoms
  37. SET @Sub_Instance1_K := @Main+7; -- Submenu: Instances level 1-60 Kalimdor
  38. SET @Sub_Instance2 := @Main+8; -- Submenu: Instances level 60-70
  39. SET @Sub_Instance3 := @Main+9; -- Submenu: Instances level 70+
  40. SET @Sub_Raid60 := @Main+10; -- Submenu: Raids level 60
  41. SET @Sub_Raid70 := @Main+11; -- Submenu: Raids level 70
  42. SET @Sub_Raid80 := @Main+12; -- Submenu: Raids level 80
  43. SET @Script_Cities := @Scripts ; -- Submenu Scripts: Cities (need 10)
  44. SET @Script_Towns := @Scripts+10 ; -- Submenu Scripts: Towns (need 21)
  45. SET @Script_Arenas := @Scripts+32 ; -- Submenu Scripts: Arenas (need 4)
  46. SET @Script_Instances := @Scripts+36 ; -- Submenu Scripts: Instances (need 31)
  47. SET @Script_Raids := @Scripts+68 ; -- Submenu Scripts: Raids (need 16)
  48. SET @ID := 0; -- iterator for script-subid
  49. SET @opt := 0; -- Iterator for gossip_menu.option_id
  50. -- Creature Definition
  51. DELETE FROM `creature_template` WHERE `entry`=@Entry;
  52. INSERT INTO creature_template (`entry`,`difficulty_entry_1`,`difficulty_entry_2`,`difficulty_entry_3`,`KillCredit1`,`KillCredit2`,`modelid1`,`modelid2`,`modelid3`,`modelid4`,`name`,`subname`,`IconName`,`gossip_menu_id`,`minlevel`,`maxlevel`,`exp`,`faction_A`,`faction_H`,`npcflag`,`speed_walk`,`speed_run`,`scale`,`rank`,`mindmg`,`maxdmg`,`dmgschool`,`attackpower`,`dmg_multiplier`,`baseattacktime`,`rangeattacktime`,`unit_class`,`unit_flags`,`dynamicflags`,`family`,`trainer_type`,`trainer_spell`,`trainer_class`,`trainer_race`,`minrangedmg`,`maxrangedmg`,`rangedattackpower`,`type`,`type_flags`,`lootid`,`pickpocketloot`,`skinloot`,`resistance1`,`resistance2`,`resistance3`,`resistance4`,`resistance5`,`resistance6`,`spell1`,`spell2`,`spell3`,`spell4`,`spell5`,`spell6`,`spell7`,`spell8`,`PetSpellDataId`,`VehicleId`,`mingold`,`maxgold`,`AIName`,`MovementType`,`InhabitType`,`Health_mod`,`Mana_mod`,`Armor_mod`,`RacialLeader`,`questItem1`,`questItem2`,`questItem3`,`questItem4`,`questItem5`,`questItem6`,`movementId`,`RegenHealth`,`equipment_id`,`mechanic_immune_mask`,`flags_extra`,`ScriptName`,`WDBVerified`) VALUES
  53. (@Entry,0,0,0,0,0,29984,0,0,0, 'Teleporter Mage', 'Teleporting since preBC', '',@Main,80,80,2,35,35,1,1,1.14286,1,0,346,499,0,287,1,0,0,8,512,8,0,0,0,0,0,315,468,69,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, '',0,3,10,10,1,0,0,0,0,0,0,0,0,1,0,0,0, '',0);
  54. -- Text in Menus
  55. DELETE FROM `npc_text` WHERE `ID` BETWEEN @Text AND @Text+5 ;
  56. INSERT INTO `npc_text` (`ID`, `text0_0`) VALUES
  57. (@Text, 'Select a Category.'),
  58. (@Text+1, 'Select a City'),
  59. (@Text+2, 'Select a Town'),
  60. (@Text+3, 'Select an Arena'),
  61. (@Text+4, 'Select an Instance'),
  62. (@Text+5, 'Select a Raid Location');
  63.  
  64. -- Gossip Menu Definition
  65. DELETE FROM `gossip_menu` WHERE `entry` BETWEEN @Main AND @Main+12;
  66. INSERT INTO gossip_menu (`entry`, `text_id`) VALUES
  67. (@Main,@Text), -- "Select a Category"
  68. (@Sub_Cities,@Text+1), -- "Select a City"
  69. (@Sub_Towns_BC,@Text+2), -- "Select a Town"
  70. (@Sub_Towns_WOTLK,@Text+2), -- "Select a Town"
  71. (@Sub_Arenas,@Text+3), -- "Select an Arena"
  72. (@Sub_Instance1,@Text+4), -- "Select an Instance"
  73. (@Sub_Instance2,@Text+4), -- "Select an Instance"
  74. (@Sub_Instance3,@Text+4), -- "Select an Instance"
  75. (@Sub_Raid60,@Text+5), -- "Select a Raid Location"
  76. (@Sub_Raid70,@Text+5), -- "Select a Raid Location"
  77. (@Sub_Raid80,@Text+5); -- "Select a Raid Location"
  78. -- ----------------------------------------
  79. -- ---- Gossip Menu Options Definition ----
  80. -- ----------------------------------------
  81. DELETE FROM `gossip_menu_option` WHERE `menu_id` BETWEEN @Main AND @Main+12 ;
  82. INSERT INTO gossip_menu_option (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES
  83. -- -----------------
  84. -- -- Main Window --
  85. -- -----------------
  86. (@Main,0,0, 'Azeroth Cities',1,1,@Sub_Cities,0,0,0, ''),
  87. (@Main,1,0, 'Outland Towns',1,1,@Sub_Towns_BC,0,0,0, ''),
  88. (@Main,2,0, 'Northrend Towns',1,1,@Sub_Towns_WOTLK,0,0,0, ''),
  89. (@Main,3,0, 'Arenas',1,1,@Sub_Arenas,0,0,0, ''),
  90. (@Main,4,0, 'Azeroth Instances',1,1,@Sub_Instance1,0,0,0, ''),
  91. (@Main,5,0, 'Outland Instances',1,1,@Sub_Instance2,0,0,0, ''),
  92. (@Main,6,0, 'Northrend Instances',1,1,@Sub_Instance3,0,0,0, ''),
  93. (@Main,7,0, 'Azeroth Raids',1,1,@Sub_Raid60,0,0,0, ''),
  94. (@Main,8,0, 'Outland Raids',1,1,@Sub_Raid70,0,0,0, ''),
  95. (@Main,9,0, 'Northrend Raids',1,1,@Sub_Raid80,0,0,0, ''),
  96. -- --------------------
  97. -- -- Cities Submenu --
  98. -- --------------------
  99. (@Sub_Cities,0,0, 'What other locations can you teleport me to?',1,1,@Main,0,0,0, ''),
  100. (@Sub_Cities,1,2, 'Teleport me to Dalaran please',1,1,0,0,0,@Money_C, 'Are you sure you wish to visit Dalaran?'),
  101. (@Sub_Cities,2,2, 'Teleport me to Stormwind',1,1,0,0,0,@Money_C, 'Are you sure you wish to visit Stormwind?'),
  102. (@Sub_Cities,3,2, 'Teleport me to Ironforge',1,1,0,0,0,@Money_C, 'Are you sure you wish to visit Ironforge'),
  103. (@Sub_Cities,4,2, 'Teleport me to Darnassus',1,1,0,0,0,@Money_C, 'Are you sure you wish to visit Darnassus?'),
  104. (@Sub_Cities,5,2, 'Teleport me to Exodar',1,1,0,0,0,@Money_C, 'Are you sure you wish to visit Exodar?'),
  105. (@Sub_Cities,6,2, 'Teleport me to Orgrimmar',1,1,0,0,0,@Money_C, 'Are you sure you wish to visit Orgrimmar?'),
  106. (@Sub_Cities,7,2, 'Teleport me to Undercity',1,1,0,0,0,@Money_C, 'Are you sure you wish to visit Undercity?'),
  107. (@Sub_Cities,8,2, 'Teleport me to ThunderBluff',1,1,0,0,0,@Money_C, 'Are you sure you wish to visit Thunder Bluff?'),
  108. (@Sub_Cities,9,2, 'Teleport me to Silvermoon',1,1,0,0,0,@Money_C, 'Are you sure you wish to visit Silvermoon City?'),
  109. (@Sub_Cities,10,2, 'Teleport me to Shattrath',1,1,0,0,0,@Money_C, 'Are you sure you wish to visit Shattrath?'),
  110. -- -----------------------------------
  111. -- -- Burning Crusade Towns Submenu --
  112. -- -----------------------------------
  113. (@Sub_Towns_BC,0,0, 'What other locations can you teleport me to?',1,1,@Main,0,0,0, ''),
  114. -- Ally
  115. (@Sub_Towns_BC,1,2, 'Teleport me to Honor Hold please',1,1,0,0,0,@Money_T1, 'Are you sure you wish to visit Honor Hold?'),
  116. (@Sub_Towns_BC,2,2, 'Teleport me to Telaar please',1,1,0,0,0,@Money_T1, 'Are you sure you wish to visit Telaar?'),
  117. (@Sub_Towns_BC,3,2, 'Teleport me to Sylvanaar please',1,1,0,0,0,@Money_T1, 'Are you sure you wish to visit Sylvanaar?'),
  118. (@Sub_Towns_BC,4,2, 'Teleport me to Wildhammer Stronghold please',1,1,0,0,0,@Money_T1, 'Are you sure you wish to visit Wildhammer Stronghold?'),
  119. -- Horde
  120. (@Sub_Towns_BC,5,2, 'Teleport me to Thunderlord Stronghold please',1,1,0,0,0,@Money_T1, 'Are you sure you wish to visit Thunderlord Stronghold?'),
  121. (@Sub_Towns_BC,6,2, 'Teleport me to Thrallmar please',1,1,0,0,0,@Money_T1, 'Are you sure you wish to visit Thrallmar?'),
  122. (@Sub_Towns_BC,7,2, 'Teleport me to Garadar please',1,1,0,0,0,@Money_T1, 'Are you sure you wish to visit Garadar?'),
  123. (@Sub_Towns_BC,8,2, 'Teleport me to Shadowmoon Village please',1,1,0,0,0,@Money_T1, 'Are you sure you wish to visit Shadowmoon Village?'),
  124. -- Neutral
  125. (@Sub_Towns_BC,9,2, 'Teleport me to Cenarion Refuge please',1,1,0,0,0,@Money_T1, 'Are you sure you wish to visit Cenarion Refuge?'),
  126. (@Sub_Towns_BC,10,2, 'Teleport me to Ruuan Weald please',1,1,0,0,0,@Money_T1, 'Are you sure you wish to visit Ruuan Weald?'),
  127. (@Sub_Towns_BC,11,2, 'Teleport me to Area52 please',1,1,0,0,0,@Money_T1, 'Are you sure you wish to visit Area52?'),
  128. -- --------------------------------------
  129. -- -- Wrath of Lich King Towns Submenu --
  130. -- --------------------------------------
  131. (@Sub_Towns_WOTLK,0,0, 'What other locations can you teleport me to?',1,1,@Main,0,0,0, ''),
  132. -- Ally
  133. (@Sub_Towns_WOTLK,1,2, 'Teleport me to Valiance Keep please',1,1,0,0,0,@Money_T2, 'Are you sure you wish to visit Valiance Keep?'),
  134. (@Sub_Towns_WOTLK,2,2, 'Teleport me to Westguard Keep please',1,1,0,0,0,@Money_T2, 'Are you sure you wish to visit Westguard Keep?'),
  135. (@Sub_Towns_WOTLK,3,2, 'Teleport me to Wintergarde Keep please',1,1,0,0,0,@Money_T2, 'Are you sure you wish to visit Wintergarde Keep?'),
  136. (@Sub_Towns_WOTLK,4,2, 'Teleport me to Amberpine Lodge please',1,1,0,0,0,@Money_T2, 'Are you sure you wish to visit Amberpine Lodge?'),
  137. -- Horde
  138. (@Sub_Towns_WOTLK,5,2, 'Teleport me to Warsong Hold please',1,1,0,0,0,@Money_T2, 'Are you sure you wish to visit Warsong Hold?'),
  139. (@Sub_Towns_WOTLK,6,2, 'Teleport me to Vengeance Landing please',1,1,0,0,0,@Money_T2, 'Are you sure you wish to visit Vengeance Landing?'),
  140. (@Sub_Towns_WOTLK,7,2, 'Teleport me to Agmars Hammer please',1,1,0,0,0,@Money_T2, 'Are you sure you wish to visit Agmars Hammer?'),
  141. (@Sub_Towns_WOTLK,8,2, 'Teleport me to Conquest Hold please',1,1,0,0,0,@Money_T2, 'Are you sure you wish to visit Conquest Hold?'),
  142. -- Neutral
  143. (@Sub_Towns_WOTLK,9,2, 'Teleport me to Wyrmrest Temple please',1,1,0,0,0,@Money_T2, 'Are you sure you wish to visit Wyrmrest Temple?'),
  144. (@Sub_Towns_WOTLK,10,2, 'Teleport me to The Argent Stand please',1,1,0,0,0,@Money_T2, 'Are you sure you wish to visit The Argent Stand?'),
  145. (@Sub_Towns_WOTLK,11,2, 'Teleport me to The Argent Tournament please',1,1,0,0,0,@Money_T2, 'Are you sure you wish to visit The Argent Tournament?'),
  146. -- -------------------
  147. -- -- Arena Submenu --
  148. -- -------------------
  149. (@Sub_Arenas,0,0, 'What other locations can you teleport me to?',1,1,@Main,0,0,0, ''),
  150. -- Arenas
  151. (@Sub_Arenas,1,2, 'Teleport me to Dire Maul Arena please',1,1,0,0,0,@Money_A, 'Are you sure you wish to visit the Dire Maul Arena?'),
  152. (@Sub_Arenas,2,2, 'Teleport me to Gurubashi Arena please',1,1,0,0,0,@Money_A, 'Are you sure you wish to visit the Gurubashi Arena?'),
  153. (@Sub_Arenas,3,2, 'Teleport me to the Circle of Blood Arena please',1,1,0,0,0,@Money_A, 'Are you sure you wish to visit the Circle of Blood Arena?'),
  154. (@Sub_Arenas,4,2, 'Teleport me to the Ring of Trials Arena please',1,1,0,0,0,@Money_A, 'Are you sure you wish to visit the Ring of Trials Arena?'),
  155. -- ----------------------------
  156. -- -- Dungeons 1-60 Submenu --
  157. -- ----------------------------
  158. (@Sub_Instance1,0,2, 'What other locations can you teleport me to?',1,1,@Main,0,0,0, ''),
  159. (@Sub_Instance1,1,2, 'I want to go to Eastern Kingdoms Instances',1,1,@Sub_Instance1_EK,0,0,0, ''),
  160. (@Sub_Instance1,2,2, 'I want to go to Kalimdor Instances',1,1,@Sub_Instance1_K,0,0,0, ''),
  161. -- Eastern Kingdoms
  162. (@Sub_Instance1_EK,0,2, 'What other locations can you teleport me to?',1,1,@Sub_Instance1,0,0,0, ''),
  163. -- Dungeons_Eastern Kingdoms
  164. (@Sub_Instance1_EK,1,2, 'Teleport me to Deadmines please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit the Deadmines?'),
  165. (@Sub_Instance1_EK,2,2, 'Teleport me to Stormwind Stockades please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit the Stormwind Stockades?'),
  166. (@Sub_Instance1_EK,3,2, 'Teleport me to Gnomeregan please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit Gnomeregan?'),
  167. (@Sub_Instance1_EK,4,2, 'Teleport me to Scarlet Monestry please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit the Scarlet Monestry?'),
  168. (@Sub_Instance1_EK,5,2, 'Teleport me to Uldaman please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit Uldaman?'),
  169. (@Sub_Instance1_EK,6,2, 'Teleport me to Scholomance please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit Scholomance?'),
  170. (@Sub_Instance1_EK,7,2, 'Teleport me to Stratholme please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit Stratholme?'),
  171. (@Sub_Instance1_EK,8,2, 'Teleport me to Blackrock Mountain please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit Blackrock Mountain?'),
  172. (@Sub_Instance1_EK,9,2, 'Teleport me to Sunken Temple please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit Sunken Temple?'),
  173. -- Kalimdor
  174. (@Sub_Instance1_K,0,2, 'What other locations can you teleport me to?',1,1,@Sub_Instance1,0,0,0, ''),
  175. -- Dungeons_Kalimdor
  176. (@Sub_Instance1_K,1,2, 'Teleport me to Ragefire Chasm please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit Ragefire Chasm?'),
  177. (@Sub_Instance1_K,2,2, 'Teleport me to Wailing Caverns please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit the Wailing Caverns?'),
  178. (@Sub_Instance1_K,3,2, 'Teleport me to Blackfathom Deeps please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit Blackfathom Deeps?'),
  179. (@Sub_Instance1_K,4,2, 'Teleport me to Shadowfang Keep please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit Shadowfang Keep?'),
  180. (@Sub_Instance1_K,5,2, 'Teleport me to Razorfen Kraul please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit Razorfen Kraul?'),
  181. (@Sub_Instance1_K,6,2, 'Teleport me to Maraudon please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit Maraudon?'),
  182. (@Sub_Instance1_K,7,2, 'Teleport me to Dire Maul please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit Dire Maul?'),
  183. (@Sub_Instance1_K,8,2, 'Teleport me to Razorfen Downs please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit Razorfen Downs?'),
  184. (@Sub_Instance1_K,9,2, 'Teleport me to Zul Farrak please',1,1,0,0,0,@Money_I1, 'Are you sure you wish to visit Zul Farrak?'),
  185. -- ----------------------------
  186. -- -- Dungeons 60-70 Submenu --
  187. -- ----------------------------
  188. (@Sub_Instance2,0,2, 'What other locations can you teleport me to?',1,1,@Main,0,0,0, ''),
  189. -- Dungeons
  190. (@Sub_Instance2,1,2, 'Teleport me to Hellfire Citadel please',1,1,0,0,0,@Money_I2, 'Are you sure you wish to visit Hellfire Citadel?'),
  191. (@Sub_Instance2,2,2, 'Teleport me to Coilfang Reservoir please',1,1,0,0,0,@Money_I2, 'Are you sure you wish to visit the Coilfang Reservoir?'),
  192. (@Sub_Instance2,3,2, 'Teleport me to Auchindoun please',1,1,0,0,0,@Money_I2, 'Are you sure you wish to visit Auchindoun?'),
  193. (@Sub_Instance2,4,2, 'Teleport me to The Tempest Keep please',1,1,0,0,0,@Money_I2, 'Are you sure you wish to visit the Tempest Keep?'),
  194. (@Sub_Instance2,5,2, 'Teleport me to Caverns of Time please',1,1,0,0,0,@Money_I2, 'Are you sure you wish to visit the Caverns of Time?'),
  195. (@Sub_Instance2,6,2, 'Teleport me to Magisters Terrace please',1,1,0,0,0,@Money_I2, 'Are you sure you wish to visit Magisters Terrace?'),
  196. -- ----------------------------
  197. -- -- Dungeons 70-80 Submenu --
  198. -- ----------------------------
  199. (@Sub_Instance3,0,2, 'What other locations can you teleport me to?',1,1,@Main,0,0,0, ''),
  200. -- Dungeons
  201. (@Sub_Instance3,1,2, 'Teleport me to Utguarde please',1,1,0,0,0,@Money_I3, 'Are you sure you wish to visit Utguarde?'),
  202. (@Sub_Instance3,2,2, 'Teleport me to The Nexus please',1,1,0,0,0,@Money_I3, 'Are you sure you wish to visit the Nexus?'),
  203. (@Sub_Instance3,3,2, 'Teleport me to Pit of Narjun please',1,1,0,0,0,@Money_I3, 'Are you sure you wish to visit Pit of Narjun?'),
  204. (@Sub_Instance3,4,2, 'Teleport me to Drak tharon please',1,1,0,0,0,@Money_I3, 'Are you sure you wish to visit Drak tharon?'),
  205. (@Sub_Instance3,5,2, 'Teleport me to Gundrak please',1,1,0,0,0,@Money_I3, 'Are you sure you wish to visit Gundrak?'),
  206. (@Sub_Instance3,6,2, 'Teleport me to Halls of Lightning and Stone please',1,1,0,0,0,@Money_I3, 'Are you sure you wish to visit Halls of Lightning/Stone?'),
  207. (@Sub_Instance3,7,2, 'Teleport me to Culling of Stratholme please',1,1,0,0,0,@Money_I3, 'Are you sure you wish to visit Culling of Stratholme?'),
  208. (@Sub_Instance3,8,2, 'Teleport me to Upper Icecrown Citadel please',1,1,0,0,0,@Money_I3, 'Are you sure you wish to visit Upper Icecrown Citadel?'),
  209. -- -------------------
  210. -- -- Azeroth Raids --
  211. -- -------------------
  212. (@Sub_Raid60,0,2, 'What other locations can you teleport me to?',1,1,@Main,0,0,0, ''),
  213. -- Raids
  214. (@Sub_Raid60,1,2, 'Teleport me to the Molten Core please' ,1,1,0,0,0,@Money_R1, 'Are you sure you wish to visit Molten Core?'),
  215. (@Sub_Raid60,2,2, 'Teleport me to Ahn Qiraj 20 please',1,1,0,0,0,@Money_R1, 'Are you sure you wish to visit Ahn Qiraj 20?'),
  216. (@Sub_Raid60,3,2, 'Teleport me to Ahn Qiraj 40 please',1,1,0,0,0,@Money_R1, 'Are you sure you wish to visit Ahn Qiraj 40?'),
  217. (@Sub_Raid60,4,2, 'Teleport me to Zul Gurub please',1,1,0,0,0,@Money_R1, 'Are you sure you wish to visit Zul Gurub?'),
  218. -- -------------------
  219. -- -- Outland Raids --
  220. -- -------------------
  221. (@Sub_Raid70,0,2, 'What other locations can you teleport me to?',1,1,@Main,0,0,0, ''),
  222. -- Raids
  223. (@Sub_Raid70,1,2, 'Teleport me to the Black Temple please',1,1,0,0,0,@Money_R2, 'Are you sure you wish to visit Black Temple?'),
  224. (@Sub_Raid70,2,2, 'Teleport me to Zul Aman please',1,1,0,0,0,@Money_R2, 'Are you sure you wish to visit Zul Aman?'),
  225. (@Sub_Raid70,3,2, 'Teleport me to Karazhan please',1,1,0,0,0,@Money_R2, 'Are you sure you wish to visit Karazhan?'),
  226. (@Sub_Raid70,4,2, 'Teleport me to the Tempest Keep please',1,1,0,0,0,@Money_R2, 'Are you sure you wish to visit Tempest Keep?'),
  227. (@Sub_Raid70,5,2, 'Teleport me to Gruuls Lair please' ,1,1,0,0,0,@Money_R2, 'Are you sure you wish to visit Gruuls Lair?'),
  228. -- ---------------------
  229. -- -- Northrend Raids --
  230. -- ---------------------
  231. (@Sub_Raid80,0,2, 'What other locations can you teleport me to?',1,1,@Main,0,0,0, ''),
  232. -- Raids
  233. (@Sub_Raid80,1,2, 'Teleport me to Naxxramas please',1,1,0,0,0,@Money_R3, 'Are you sure you wish to visit Naxxramas?'),
  234. (@Sub_Raid80,2,2, 'Teleport me to the Eye of Eternity please',1,1,0,0,0,@Money_R3, 'Are you sure you wish to visit the Eye of Eternity?'),
  235. (@Sub_Raid80,3,2, 'Teleport me to the Obsidian Sanctuary please',1,1,0,0,0,@Money_R3, 'Are you sure you wish to visit the Obsidian Sanctuary?'),
  236. (@Sub_Raid80,4,2, 'Teleport me to Onyxias Lair please',1,1,0,0,0,@Money_R3, 'Are you sure you wish to visit Onyxias Lair?'),
  237. (@Sub_Raid80,5,2, 'Teleport me to Ulduar please',1,1,0,0,0,@Money_R3, 'Are you sure you wish to visit Ulduar?'),
  238. (@Sub_Raid80,6,2, 'Teleport me to the Ruby Sanctorum please',1,1,0,0,0,@Money_R3, 'Are you sure you wish to visit the Ruby Sanctorum?'),
  239. (@Sub_Raid80,7,2, 'Teleport me to the Icecrown Citadel please',1,1,0,0,0,@Money_R3, 'Are you sure you wish to visit the Icecrown Citadel?');
  240. -- -------------
  241. -- -- Scripts --
  242. -- -------------
  243. -- IMPORTANT FOR SAI:
  244. UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`= @Entry;
  245. DELETE FROM `smart_scripts` WHERE `entryorguid` BETWEEN @Script AND @Script+83 AND`source_type`=9;
  246. DELETE FROM `smart_scripts` WHERE `entryorguid`=@Entry AND `source_type` IN (0,9);
  247. INSERT INTO `smart_scripts`
  248. (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`)
  249.  VALUES
  250. -- ------------------
  251. -- -- Initialising --
  252. -- -------------------------------------------------------------------------------------------------------------------------------------------
  253. (@Entry,0,@ID+0,0,62,0,100,0,@Sub_Cities,@opt+1 ,0,0,80,@Script ,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  254. (@Entry,0,@ID+1,0,62,0,100,0,@Sub_Cities,@opt+2 ,0,0,80,@Script+1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  255. (@Entry,0,@ID+2,0,62,0,100,0,@Sub_Cities,@opt+3 ,0,0,80,@Script+2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  256. (@Entry,0,@ID+3,0,62,0,100,0,@Sub_Cities,@opt+4 ,0,0,80,@Script+3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  257. (@Entry,0,@ID+4,0,62,0,100,0,@Sub_Cities,@opt+5 ,0,0,80,@Script+4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  258. (@Entry,0,@ID+5,0,62,0,100,0,@Sub_Cities,@opt+6 ,0,0,80,@Script+5,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  259. (@Entry,0,@ID+6,0,62,0,100,0,@Sub_Cities,@opt+7 ,0,0,80,@Script+6,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  260. (@Entry,0,@ID+7,0,62,0,100,0,@Sub_Cities,@opt+8 ,0,0,80,@Script+7,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  261. (@Entry,0,@ID+8,0,62,0,100,0,@Sub_Cities,@opt+9 ,0,0,80,@Script+8,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  262. (@Entry,0,@ID+9,0,62,0,100,0,@Sub_Cities,@opt+10,0,0,80,@Script+9,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  263. -- ------------------------------------------------------------------------------------------------------------------------------------------
  264. (@Entry,0,@ID+10,0,62,0,100,0,@Sub_Towns_BC,@opt+1 ,0,0,80,@Script+10,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  265. (@Entry,0,@ID+11,0,62,0,100,0,@Sub_Towns_BC,@opt+2 ,0,0,80,@Script+11,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  266. (@Entry,0,@ID+12,0,62,0,100,0,@Sub_Towns_BC,@opt+3 ,0,0,80,@Script+12,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  267. (@Entry,0,@ID+13,0,62,0,100,0,@Sub_Towns_BC,@opt+4 ,0,0,80,@Script+13,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  268. (@Entry,0,@ID+14,0,62,0,100,0,@Sub_Towns_BC,@opt+5 ,0,0,80,@Script+14,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  269. (@Entry,0,@ID+15,0,62,0,100,0,@Sub_Towns_BC,@opt+6 ,0,0,80,@Script+15,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  270. (@Entry,0,@ID+16,0,62,0,100,0,@Sub_Towns_BC,@opt+7 ,0,0,80,@Script+16,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  271. (@Entry,0,@ID+17,0,62,0,100,0,@Sub_Towns_BC,@opt+8 ,0,0,80,@Script+17,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  272. (@Entry,0,@ID+18,0,62,0,100,0,@Sub_Towns_BC,@opt+9 ,0,0,80,@Script+18,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  273. (@Entry,0,@ID+19,0,62,0,100,0,@Sub_Towns_BC,@opt+10,0,0,80,@Script+19,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  274. (@Entry,0,@ID+20,0,62,0,100,0,@Sub_Towns_BC,@opt+11,0,0,80,@Script+20,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  275. -- ------------------------------------------------------------------------------------------------------------------------------------------
  276. (@Entry,0,@ID+21,0,62,0,100,0,@Sub_Towns_WOTLK,@opt+1 ,0,0,80,@Script+21,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  277. (@Entry,0,@ID+22,0,62,0,100,0,@Sub_Towns_WOTLK,@opt+2 ,0,0,80,@Script+22,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  278. (@Entry,0,@ID+23,0,62,0,100,0,@Sub_Towns_WOTLK,@opt+3 ,0,0,80,@Script+23,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  279. (@Entry,0,@ID+24,0,62,0,100,0,@Sub_Towns_WOTLK,@opt+4 ,0,0,80,@Script+24,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  280. (@Entry,0,@ID+25,0,62,0,100,0,@Sub_Towns_WOTLK,@opt+5 ,0,0,80,@Script+25,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  281. (@Entry,0,@ID+26,0,62,0,100,0,@Sub_Towns_WOTLK,@opt+6 ,0,0,80,@Script+26,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  282. (@Entry,0,@ID+27,0,62,0,100,0,@Sub_Towns_WOTLK,@opt+7 ,0,0,80,@Script+27,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  283. (@Entry,0,@ID+28,0,62,0,100,0,@Sub_Towns_WOTLK,@opt+8 ,0,0,80,@Script+28,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  284. (@Entry,0,@ID+29,0,62,0,100,0,@Sub_Towns_WOTLK,@opt+9 ,0,0,80,@Script+29,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  285. (@Entry,0,@ID+30,0,62,0,100,0,@Sub_Towns_WOTLK,@opt+10,0,0,80,@Script+30,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  286. (@Entry,0,@ID+31,0,62,0,100,0,@Sub_Towns_WOTLK,@opt+11,0,0,80,@Script+31,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  287. -- ------------------------------------------------------------------------------------------------------------------------------------------
  288. (@Entry,0,@ID+32,0,62,0,100,0,@Sub_Arenas,@opt+1,0,0,80,@Script+32,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  289. (@Entry,0,@ID+33,0,62,0,100,0,@Sub_Arenas,@opt+2,0,0,80,@Script+33,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  290. (@Entry,0,@ID+34,0,62,0,100,0,@Sub_Arenas,@opt+3,0,0,80,@Script+34,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  291. (@Entry,0,@ID+35,0,62,0,100,0,@Sub_Arenas,@opt+4,0,0,80,@Script+35,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  292. -- ------------------------------------------------------------------------------------------------------------------------------------------
  293. (@Entry,0,@ID+36,0,62,0,100,0,@Sub_Instance1_EK,@opt+1 ,0,0,80,@Script+36,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  294. (@Entry,0,@ID+37,0,62,0,100,0,@Sub_Instance1_EK,@opt+2 ,0,0,80,@Script+37,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  295. (@Entry,0,@ID+38,0,62,0,100,0,@Sub_Instance1_EK,@opt+3 ,0,0,80,@Script+38,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  296. (@Entry,0,@ID+39,0,62,0,100,0,@Sub_Instance1_EK,@opt+4 ,0,0,80,@Script+39,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  297. (@Entry,0,@ID+40,0,62,0,100,0,@Sub_Instance1_EK,@opt+5 ,0,0,80,@Script+40,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  298. (@Entry,0,@ID+41,0,62,0,100,0,@Sub_Instance1_EK,@opt+6 ,0,0,80,@Script+41,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  299. (@Entry,0,@ID+42,0,62,0,100,0,@Sub_Instance1_EK,@opt+7 ,0,0,80,@Script+42,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  300. (@Entry,0,@ID+43,0,62,0,100,0,@Sub_Instance1_EK,@opt+8 ,0,0,80,@Script+43,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  301. (@Entry,0,@ID+44,0,62,0,100,0,@Sub_Instance1_EK,@opt+9 ,0,0,80,@Script+44,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  302. -- ------------------------------------------------------------------------------------------------------------------------------------------
  303. (@Entry,0,@ID+45,0,62,0,100,0,@Sub_Instance1_K,@opt+1,0,0,80,@Script+45,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  304. (@Entry,0,@ID+46,0,62,0,100,0,@Sub_Instance1_K,@opt+2,0,0,80,@Script+46,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  305. (@Entry,0,@ID+47,0,62,0,100,0,@Sub_Instance1_K,@opt+3,0,0,80,@Script+47,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  306. (@Entry,0,@ID+48,0,62,0,100,0,@Sub_Instance1_K,@opt+4,0,0,80,@Script+48,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  307. (@Entry,0,@ID+49,0,62,0,100,0,@Sub_Instance1_K,@opt+5,0,0,80,@Script+49,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  308. (@Entry,0,@ID+50,0,62,0,100,0,@Sub_Instance1_K,@opt+6,0,0,80,@Script+50,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  309. (@Entry,0,@ID+51,0,62,0,100,0,@Sub_Instance1_K,@opt+7,0,0,80,@Script+51,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  310. (@Entry,0,@ID+52,0,62,0,100,0,@Sub_Instance1_K,@opt+8,0,0,80,@Script+52,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  311. (@Entry,0,@ID+53,0,62,0,100,0,@Sub_Instance1_K,@opt+9,0,0,80,@Script+53,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  312. -- ------------------------------------------------------------------------------------------------------------------------------------------
  313. (@Entry,0,@ID+54,0,62,0,100,0,@Sub_Instance2,@opt+1,0,0,80,@Script+54,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  314. (@Entry,0,@ID+55,0,62,0,100,0,@Sub_Instance2,@opt+2,0,0,80,@Script+55,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  315. (@Entry,0,@ID+56,0,62,0,100,0,@Sub_Instance2,@opt+3,0,0,80,@Script+56,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  316. (@Entry,0,@ID+57,0,62,0,100,0,@Sub_Instance2,@opt+4,0,0,80,@Script+57,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  317. (@Entry,0,@ID+58,0,62,0,100,0,@Sub_Instance2,@opt+5,0,0,80,@Script+58,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  318. (@Entry,0,@ID+59,0,62,0,100,0,@Sub_Instance2,@opt+6,0,0,80,@Script+59,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  319. -- ------------------------------------------------------------------------------------------------------------------------------------------
  320. (@Entry,0,@ID+60,0,62,0,100,0,@Sub_Instance3,@opt+1,0,0,80,@Script+60,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  321. (@Entry,0,@ID+61,0,62,0,100,0,@Sub_Instance3,@opt+2,0,0,80,@Script+61,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  322. (@Entry,0,@ID+62,0,62,0,100,0,@Sub_Instance3,@opt+3,0,0,80,@Script+62,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  323. (@Entry,0,@ID+63,0,62,0,100,0,@Sub_Instance3,@opt+4,0,0,80,@Script+63,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  324. (@Entry,0,@ID+64,0,62,0,100,0,@Sub_Instance3,@opt+5,0,0,80,@Script+64,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  325. (@Entry,0,@ID+65,0,62,0,100,0,@Sub_Instance3,@opt+6,0,0,80,@Script+65,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  326. (@Entry,0,@ID+66,0,62,0,100,0,@Sub_Instance3,@opt+7,0,0,80,@Script+66,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  327. (@Entry,0,@ID+67,0,62,0,100,0,@Sub_Instance3,@opt+8,0,0,80,@Script+67,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  328. -- ------------------------------------------------------------------------------------------------------------------------------------------
  329. (@Entry,0,@ID+68,0,62,0,100,0,@Sub_Raid60,@opt+1,0,0,80,@Script+68,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  330. (@Entry,0,@ID+69,0,62,0,100,0,@Sub_Raid60,@opt+2,0,0,80,@Script+69,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  331. (@Entry,0,@ID+70,0,62,0,100,0,@Sub_Raid60,@opt+3,0,0,80,@Script+70,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  332. (@Entry,0,@ID+71,0,62,0,100,0,@Sub_Raid60,@opt+4,0,0,80,@Script+71,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  333. -- ------------------------------------------------------------------------------------------------------------------------------------------
  334. (@Entry,0,@ID+72,0,62,0,100,0,@Sub_Raid70,@opt+1,0,0,80,@Script+72,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  335. (@Entry,0,@ID+73,0,62,0,100,0,@Sub_Raid70,@opt+2,0,0,80,@Script+73,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  336. (@Entry,0,@ID+74,0,62,0,100,0,@Sub_Raid70,@opt+3,0,0,80,@Script+74,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  337. (@Entry,0,@ID+75,0,62,0,100,0,@Sub_Raid70,@opt+4,0,0,80,@Script+75,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  338. (@Entry,0,@ID+76,0,62,0,100,0,@Sub_Raid70,@opt+5,0,0,80,@Script+76,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  339. -- ------------------------------------------------------------------------------------------------------------------------------------------
  340. (@Entry,0,@ID+77,0,62,0,100,0,@Sub_Raid80,@opt+1,0,0,80,@Script+77,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  341. (@Entry,0,@ID+78,0,62,0,100,0,@Sub_Raid80,@opt+2,0,0,80,@Script+78,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  342. (@Entry,0,@ID+79,0,62,0,100,0,@Sub_Raid80,@opt+3,0,0,80,@Script+79,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  343. (@Entry,0,@ID+80,0,62,0,100,0,@Sub_Raid80,@opt+4,0,0,80,@Script+80,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  344. (@Entry,0,@ID+81,0,62,0,100,0,@Sub_Raid80,@opt+5,0,0,80,@Script+81,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  345. (@Entry,0,@ID+82,0,62,0,100,0,@Sub_Raid80,@opt+6,0,0,80,@Script+82,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  346. (@Entry,0,@ID+83,0,62,0,100,0,@Sub_Raid80,@opt+7,0,0,80,@Script+83,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On gossip option select run teleport script'),
  347. -- ------------------------------------------------------------------------------------------------------------------------------------------
  348. -- -- ActionScripts --
  349. -- ------------------------------------------------------------------------------------------------------------------------------------------
  350. -- Cities
  351. (@Script+00,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  352. (@Script+00,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,5804,625,647.768,1.64, 'script - teleport to Dalaran'),
  353. (@Script+01,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  354. (@Script+01,9,1,0,0,0,100,0,1500,1500,0,0,62,0,0,0,0,0,0,0,8,0,0,-9004,870,29.621,2.25, 'script - teleport to Stormwind'),
  355. (@Script+02,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  356. (@Script+02,9,1,0,0,0,100,0,1500,1500,0,0,62,0,0,0,0,0,0,0,8,0,0,-4918.88,-940.406,501.564,5.42347, 'script - teleport to Ironforge'),
  357. (@Script+03,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  358. (@Script+03,9,1,0,0,0,100,0,1500,1500,0,0,62,1,0,0,0,0,0,0,8,0,0,9660.810,2513.640,1331.66,3.06, 'script - teleport to Darnassus'),
  359. (@Script+04,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  360. (@Script+04,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,-4030.000,-11572.000,-138.296,2.43, 'script - teleport to Exodar'),
  361. (@Script+05,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  362. (@Script+05,9,1,0,0,0,100,0,1500,1500,0,0,62,1,0,0,0,0,0,0,8,0,0,1469.850,-4221.520,58.9939,5.98, 'script - teleport to Orgrimmar'),
  363. (@Script+06,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  364. (@Script+06,9,1,0,0,0,100,0,1500,1500,0,0,62,0,0,0,0,0,0,0,8,0,0,1773.470,61.121,-46.32,2.32443, 'script - teleport to Undercity'),
  365. (@Script+07,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  366. (@Script+07,9,1,0,0,0,100,0,1500,1500,0,0,62,1,0,0,0,0,0,0,8,0,0,-964.980,283.433,111.187,3.02, 'script - teleport to ThunderBluff'),
  367. (@Script+08,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  368. (@Script+08,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,9998.490,-7106.780,47.7055,2.44, 'script - teleport to SilvermoonCity'),
  369. (@Script+09,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  370. (@Script+09,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,-1838.160,5301.790,-12.428,5.95, 'script - teleport to Shattrath'),
  371. -- Towns TBC
  372. (@Script+10,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  373. (@Script+10,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,-748.211,2681.52,100.35,5.7479, 'script - teleport to Honor Hold'),
  374. (@Script+11,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  375. (@Script+11,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,-2560.76,7300.72,13.9485,2.18422, 'script - teleport to Telaar'),
  376. (@Script+12,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  377. (@Script+12,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,2018.91,6854.47,171.409,0.087216, 'script - teleport to Sylvanaar'),
  378. (@Script+13,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  379. (@Script+13,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,-3989.47,2168.39,105.35,3.08422, 'script - teleport to Wildhammer Stronghold'),
  380. (@Script+14,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  381. (@Script+14,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,2314.75,6041.96,142.417,6.24317, 'script - teleport to Thunderlord Stronghold'),
  382. (@Script+15,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  383. (@Script+15,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,156.251,2673.45,85.1587,0.382074, 'script - teleport to Thrallmar'),
  384. (@Script+16,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  385. (@Script+16,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,-1321.34,7239.12,32.7371,4.04169, 'script - teleport to Garadar'),
  386. (@Script+17,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  387. (@Script+17,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,-2998.66,2568.9,76.6306,0.551303, 'script - teleport to Shadowmoon Village'),
  388. (@Script+18,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  389. (@Script+18,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,-223.541,5487.99,23.2281,0.886755, 'script - teleport to Cenarion Refuge'),
  390. (@Script+19,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  391. (@Script+19,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,2964.84,5663.43,146.879,5.89082, 'script - teleport to Ruuan Weald'),
  392. (@Script+20,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  393. (@Script+20,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,3043.33,3681.33,143.065,5.07464, 'script - teleport to Area52'),
  394. -- Towns WOTLK
  395. (@Script+21,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  396. (@Script+21,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,2213.95,5273.15,11.2565,5.89294, 'script - teleport to Valliance Keep'),
  397. (@Script+22,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  398. (@Script+22,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,1391.04,-3284.63,163.929,1.59391, 'script - teleport to Westguard Keep'),
  399. (@Script+23,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  400. (@Script+23,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,3682.71,-722.635,212.729,5.7991, 'script - teleport to Wintergarde Keep'),
  401. (@Script+24,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  402. (@Script+24,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,3412.88,-2791.17,201.521,2.2458, 'script - teleport to Amberpine Lodge'),
  403. (@Script+25,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  404. (@Script+25,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,2741.29,6097.16,76.9055,0.731543, 'script - teleport to Warsong Hold'),
  405. (@Script+26,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  406. (@Script+26,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,1942.86,-6167.11,23.724,2.64258, 'script - teleport to Vengeance Landing'),
  407. (@Script+27,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  408. (@Script+27,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,3834.80,1544.01,89.73,0.25, 'script - teleport to Agmars Hammer'),
  409. (@Script+28,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  410. (@Script+28,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,3249.58,-2254.53,114.65,1.21, 'script - teleport to Conquest Hold'),
  411. (@Script+29,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  412. (@Script+29,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,3546.02,278.09,45.60,4.85, 'script - teleport to Wyrmrest Temple'),
  413. (@Script+30,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  414. (@Script+30,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,5451.05,-2597.77,306.622,4.67, 'script - teleport to The Argent Stand'),
  415. (@Script+31,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  416. (@Script+31,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,8515.89,629.25,547.396,1.5747, 'script - teleport to The Argent Tournament'),
  417. -- Arenas
  418. (@Script+32,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  419. (@Script+32,9,1,0,0,0,100,0,1500,1500,0,0,62,1,0,0,0,0,0,0,8,0,0,-3761.49,1133.43,132.083,4.57259, 'script - teleport to Dire Maul Arena'),
  420. (@Script+33,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  421. (@Script+33,9,1,0,0,0,100,0,1500,1500,0,0,62,0,0,0,0,0,0,0,8,0,0,-13277.4,127.372,26.1418,1.11878, 'script - teleport to Gurubashi Arena'),
  422. (@Script+34,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  423. (@Script+34,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,2839.44,5930.17,11.1002,3.16284, 'script - teleport to Circle of Blood Arena'),
  424. (@Script+35,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  425. (@Script+35,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,-1999.94,6581.71,11.32,2.3, 'script - teleport to Ring of Trials Arena'),
  426. -- Dungeons Eastern Kingdoms
  427. (@Script+36,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  428. (@Script+36,9,1,0,0,0,100,0,1500,1500,0,0,62,0,0,0,0,0,0,0,8,0,0,-11208.7,1673.52,24.6361,1.51067, 'script - teleport to Deadmines'),
  429. (@Script+37,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  430. (@Script+37,9,1,0,0,0,100,0,1500,1500,0,0,62,0,0,0,0,0,0,0,8,0,0,-8779.10,834.91,94.315,0.66, 'script - teleport to Stormwind Stockades'),
  431. (@Script+38,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  432. (@Script+38,9,1,0,0,0,100,0,1500,1500,0,0,62,0,0,0,0,0,0,0,8,0,0,-5163.54,925.423,257.181,1.57423, 'script - teleport to Gnomeregan'),
  433. (@Script+39,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  434. (@Script+39,9,1,0,0,0,100,0,1500,1500,0,0,62,0,0,0,0,0,0,0,8,0,0,2872.6,-764.398,160.332,5.05735, 'script - teleport to Scarlet Monestry'),
  435. (@Script+40,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  436. (@Script+40,9,1,0,0,0,100,0,1500,1500,0,0,62,0,0,0,0,0,0,0,8,0,0,-6071.37,-2955.16,209.782,0.015708, 'script - teleport to Uldaman'),
  437. (@Script+41,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  438. (@Script+41,9,1,0,0,0,100,0,1500,1500,0,0,62,0,0,0,0,0,0,0,8,0,0,1269.64,-2556.21,93.6088,0.620623, 'script - teleport to Scholomance'),
  439. (@Script+42,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  440. (@Script+42,9,1,0,0,0,100,0,1500,1500,0,0,62,0,0,0,0,0,0,0,8,0,0,3352.92,-3379.03,144.782,6.25978, 'script - teleport to Stratholme'),
  441. (@Script+43,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  442. (@Script+43,9,1,0,0,0,100,0,1500,1500,0,0,62,0,0,0,0,0,0,0,8,0,0,-7494.94,-1123.49,265.547,3.3092, 'script - teleport to Blackrock Mountain'),
  443. (@Script+44,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  444. (@Script+44,9,1,0,0,0,100,0,1500,1500,0,0,62,0,0,0,0,0,0,0,8,0,0,-10177.9,-3994.9,-111.239,6.01885, 'script - teleport to Sunken Temple'),
  445. -- Dungeons Kalimdor
  446. (@Script+45,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  447. (@Script+45,9,1,0,0,0,100,0,1500,1500,0,0,62,1,0,0,0,0,0,0,8,0,0,1811.78,-4410.5,-18.4704,5.20165, 'script - teleport to Ragefire Chasm'),
  448. (@Script+46,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  449. (@Script+46,9,1,0,0,0,100,0,1500,1500,0,0,62,1,0,0,0,0,0,0,8,0,0,-731.607,-2218.39,17.0281,2.78486, 'script - teleport to Wailing Caverns'),
  450. (@Script+47,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  451. (@Script+47,9,1,0,0,0,100,0,1500,1500,0,0,62,1,0,0,0,0,0,0,8,0,0,4249.99,740.102,-25.671,1.34, 'script - teleport to Blackfathom Deeps'),
  452. (@Script+48,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  453. (@Script+48,9,1,0,0,0,100,0,1500,1500,0,0,62,1,0,0,0,0,0,0,8,0,0,-234.675,1561.63,76.8921,1.24031, 'script - teleport to Shadowfang Keep'),
  454. (@Script+49,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  455. (@Script+49,9,1,0,0,0,100,0,1500,1500,0,0,62,1,0,0,0,0,0,0,8,0,0,-4470.28,-1677.77,81.3925,1.16302, 'script - teleport to Razorfen Kraul'),
  456. (@Script+50,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  457. (@Script+50,9,1,0,0,0,100,0,1500,1500,0,0,62,1,0,0,0,0,0,0,8,0,0,-1419.13,2908.14,137.464,1.57366, 'script - teleport to Maraudon'),
  458. (@Script+51,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  459. (@Script+51,9,1,0,0,0,100,0,1500,1500,0,0,62,1,0,0,0,0,0,0,8,0,0,-3981.01,1129.61,161.03,0.05, 'script - teleport to Dire Maul'),
  460. (@Script+52,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  461. (@Script+52,9,1,0,0,0,100,0,1500,1500,0,0,62,1,0,0,0,0,0,0,8,0,0,-4657.3,-2519.35,81.0529,4.54808, 'script - teleport to Razorfen Downs'),
  462. (@Script+53,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  463. (@Script+53,9,1,0,0,0,100,0,1500,1500,0,0,62,1,0,0,0,0,0,0,8,0,0,-6801.19,-2893.02,9.00388,0.158639, 'script - teleport to Zul Farrak'),
  464. -- Dungeons TBC
  465. (@Script+54,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  466. (@Script+54,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,-390.863,3130.64,4.51327,0.218692, 'script - teleport to Hellfire Citadel'),
  467. (@Script+55,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  468. (@Script+55,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,735.066,6883.45,-66.2913,5.89172, 'script - teleport to Coilfang Reservoir'),
  469. (@Script+56,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  470. (@Script+56,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,-3324.49,4943.45,-101.239,4.63901, 'script - teleport to Auchindoun'),
  471. (@Script+57,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  472. (@Script+57,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,2988.21,1806.9,139.071,3.8591, 'script - teleport to Tempest Keep'),
  473. (@Script+58,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  474. (@Script+58,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,-8167.25,-4766.05,33.86,4.96, 'script - teleport to Caverns of Time'),
  475. (@Script+59,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  476. (@Script+59,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,12884.6,-7317.69,65.5023,4.799, 'script - teleport to Magister Terrace'),
  477. -- Dungeons WOTLK
  478. (@Script+60,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  479. (@Script+60,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,1259.33,-4852.02,215.763,3.48293, 'script - teleport to Utgarde'),
  480. (@Script+61,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  481. (@Script+61,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,3781.81,6953.65,104.82,0.467432, 'script - teleport to The Nexus'),
  482. (@Script+62,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  483. (@Script+62,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,3707.86,2150.23,36.76,3.22, 'script - teleport to Pit of Narjun'),
  484. (@Script+63,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  485. (@Script+63,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,4774.6,-2032.92,229.15,1.59, 'script - teleport to DrakTharon Keep'),
  486. (@Script+64,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  487. (@Script+64,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,6898.72,-4584.94,451.12,2.34455, 'script - teleport to Gundrak'),
  488. (@Script+65,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  489. (@Script+65,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,9049.37,-1282.35,1060.19,5.8395, 'script - teleport to Halls of Stone/Lightning'),
  490. (@Script+66,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  491. (@Script+66,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,-8671.37,-4398.26,-207.01,3.44, 'script - teleport to Culling of Stratholme'),
  492. (@Script+67,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  493. (@Script+67,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,5635.06,2052.08,798.05,4.68, 'script - teleport to Halls of Reflection'),
  494. -- Raids lvl 60
  495. (@Script+68,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  496. (@Script+68,9,1,0,0,0,100,0,1500,1500,0,0,62,230,0,0,0,0,0,0,8,0,0,1121.45,-454.317,-101.33,3.5, 'script - teleport to Molten Core'),
  497. (@Script+69,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  498. (@Script+69,9,1,0,0,0,100,0,1500,1500,0,0,62,1,0,0,0,0,0,0,8,0,0,-8409.03,1498.83,27.3615,2.49757, 'script - teleport to AQ20'),
  499. (@Script+70,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  500. (@Script+70,9,1,0,0,0,100,0,1500,1500,0,0,62,1,0,0,0,0,0,0,8,0,0,-8245.84,1983.74,129.072,0.936195, 'script - teleport to AQ40'),
  501. (@Script+71,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  502. (@Script+71,9,1,0,0,0,100,0,1500,1500,0,0,62,0,0,0,0,0,0,0,8,0,0,-11916.7,-1212.82,92.2868,4.6095, 'script - teleport to Zul Gurub'),
  503. -- Raids lvl 70
  504. (@Script+72,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  505. (@Script+72,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,-3610.72,324.988,37.4,3.28298, 'script - teleport to Black Temple'),
  506. (@Script+73,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  507. (@Script+73,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,6846.95,-7954.5,170.028,4.61501, 'script - teleport to Zul Aman'),
  508. (@Script+74,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  509. (@Script+74,9,1,0,0,0,100,0,1500,1500,0,0,62,0,0,0,0,0,0,0,8,0,0,-11118.8,-2010.84,47.0807,0, 'script - teleport to Karazhan'),
  510. (@Script+75,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  511. (@Script+75,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,3089.58,1399.05,187.653,4.79407, 'script - teleport to Tempest Keep'),
  512. (@Script+76,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  513. (@Script+76,9,1,0,0,0,100,0,1500,1500,0,0,62,530,0,0,0,0,0,0,8,0,0,3539.01,5082.36,1.69107,0, 'script - teleport to Gruuls Lair'),
  514. -- Raids lvl 80
  515. (@Script+77,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  516. (@Script+77,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,3668.72,-1262.46,243.622,4.785, 'script - teleport to Naxxramas'),
  517. (@Script+78,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  518. (@Script+78,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,3857.17,6990.71,152.10,5.87, 'script - teleport to Eye of Eternity'),
  519. (@Script+79,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  520. (@Script+79,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,3516.08,269.89,-114.035,3.23, 'script - teleport to The Obsidian Sanctuary'),
  521. (@Script+80,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  522. (@Script+80,9,1,0,0,0,100,0,1500,1500,0,0,62,1,0,0,0,0,0,0,8,0,0,-4708.27,-3727.64,54.5589,3.72786, 'script - teleport to Onyxias Lair'),
  523. (@Script+81,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  524. (@Script+81,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,9049.37,-1282.35,1060.19,5.8395, 'script - teleport to Ulduar'),
  525. (@Script+82,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  526. (@Script+82,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,3598.44,198.52,-110.85,2.22, 'script - teleport to Ruby Sanctum'),
  527. (@Script+83,9,0,0,0,0,100,0,0,0,0,0,85,35517,2,0,0,0,0,0,1,0,0,0,0,0,0, 'script - cast Visual on player'),
  528. (@Script+83,9,1,0,0,0,100,0,1500,1500,0,0,62,571,0,0,0,0,0,0,8,0,0,5873.82,2110.98,636.011,3.5523, 'script - teleport to Icecrown Citadel');
  529. -- ----------------
  530. -- -- Conditions --
  531. -- ----------------
  532. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup` BETWEEN @Main AND @Main+12;
  533. INSERT INTO conditions (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
  534. -- Main Menu:
  535. (15,@Main,1,0,27,55,3,0,0, '', 'Level 55+ Outland Towns'),
  536. (15,@Main,2,0,27,70,3,0,0, '', 'Level 70+ Northrend Towns'),
  537. (15,@Main,5,0,27,55,3,0,0, '', 'Level 55+ Outland Dungeons'),
  538. (15,@Main,6,0,27,55,3,0,0, '', 'Level 70+ Northrend Dungeons'),
  539. (15,@Main,7,0,27,60,3,0,0, '', 'Level 60+ Azeroth Raids'),
  540. (15,@Main,8,0,27,70,3,0,0, '', 'Level 70+ Outland Raids'),
  541. (15,@Main,9,0,27,80,3,0,0, '', 'Level 80+ Northrend Raids'),
  542. -- Submenu: Cities
  543. (15,@Sub_Cities,1,0,27,70,3,0,0, '', 'Level 70+ Dalaran'),
  544. (15,@Sub_Cities,2,0,6,469,0,0,0, '', 'Ally: Stormwind'),
  545. (15,@Sub_Cities,3,0,6,469,0,0,0, '', 'Ally: Ironforge'),
  546. (15,@Sub_Cities,4,0,6,469,0,0,0, '', 'Ally: Darnassus'),
  547. (15,@Sub_Cities,5,0,6,469,0,0,0, '', 'Ally: Exodar'),
  548. (15,@Sub_Cities,6,0,6,67,0,0,0, '', 'Horde: Orgrimmar'),
  549. (15,@Sub_Cities,7,0,6,67,0,0,0, '', 'Horde: Undercity'),
  550. (15,@Sub_Cities,8,0,6,67,0,0,0, '', 'Horde: ThunderBluff'),
  551. (15,@Sub_Cities,9,0,6,67,0,0,0, '', 'Horde: Silvermoon'),
  552. (15,@Sub_Cities,10,0,27,60,3,0,0, '', 'Level 60+ Shattrath'),
  553. -- Submenu: Towns BC
  554. (15,@Sub_Towns_BC,1,0,6,469,0,0,0, '', 'Ally: Honor Hold'),
  555. (15,@Sub_Towns_BC,2,0,6,469,0,0,0, '', 'Ally: Telaar'),
  556. (15,@Sub_Towns_BC,3,0,6,469,0,0,0, '', 'Ally: Sylvanaar'),
  557. (15,@Sub_Towns_BC,4,0,6,469,0,0,0, '', 'Ally: Wildhammer Stronghold'),
  558. (15,@Sub_Towns_BC,5,0,6,67,0,0,0, '', 'Horde: Thunderlord Stronghold'),
  559. (15,@Sub_Towns_BC,6,0,6,67,0,0,0, '', 'Horde: Thrallmar'),
  560. (15,@Sub_Towns_BC,7,0,6,67,0,0,0, '', 'Horde: Garadar'),
  561. (15,@Sub_Towns_BC,8,0,6,67,0,0,0, '', 'Horde: Shadowmoon Village'),
  562. -- Submenu: Towns WOTLK
  563. (15,@Sub_Towns_WOTLK,1,0,6,469,0,0,0, '', 'Ally: Valiance Keep'),
  564. (15,@Sub_Towns_WOTLK,2,0,6,469,0,0,0, '', 'Ally: Westguard Keep'),
  565. (15,@Sub_Towns_WOTLK,3,0,6,469,0,0,0, '', 'Ally: Wintergarde Keep'),
  566. (15,@Sub_Towns_WOTLK,4,0,6,469,0,0,0, '', 'Ally: Amberpine Lodge'),
  567. (15,@Sub_Towns_WOTLK,5,0,6,67,0,0,0, '', 'Horde: Warsong Hold'),
  568. (15,@Sub_Towns_WOTLK,6,0,6,67,0,0,0, '', 'Horde: Vengeance Landing'),
  569. (15,@Sub_Towns_WOTLK,7,0,6,67,0,0,0, '', 'Horde: Agmars Hammer'),
  570. (15,@Sub_Towns_WOTLK,8,0,6,67,0,0,0, '', 'Horde: Conquest Hold');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement