1. /*
  2. * sql\updates\world\2013_06_29_00_world_misc.sql
  3. */
  4. SET @ENTRY = 24918;
  5. DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@ENTRY;
  6. UPDATE `creature_template` SET `AIName`='SmartAI',`ScriptName`='' WHERE `entry`=@ENTRY;
  7. DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
  8. INSERT INTO `smart_scripts`(`entryorguid`,`id`,`event_type`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`target_type`,`comment`) VALUES
  9. (@ENTRY,0,0,4000,6000,7000,9000,11,14873,0,2,'Felblood Initiate - Cast Sinister Strike'),
  10. (@ENTRY,1,0,17000,22000,20000,26000,11,29098,1,2,'Felblood Initiate - Cast Bitter Withdrawal'),
  11. (@ENTRY,2,0,8000,12000,18000,22000,11,35871,1,2,'Felblood Initiate - Cast Spellbreaker'),
  12. (@ENTRY,3,8,44937,0,0,0,36,24955,1,1,'Felblood Initiate - Changes Template to Emaciated Felblood After Using Fel Siphon (Quest: 11515)');
  13. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=4 AND `SourceEntry`=@ENTRY AND `SourceId`=0;
  14. INSERT INTO `conditions`(`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ConditionTarget`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`NegativeCondition`,`Comment`) VALUE
  15. (22,4,@ENTRY,0,1,31,3,24955,1,'Felblood Initiate may not already be transformed to template entry 24955 when trying to update template to 24955');
  16. /*
  17. * sql\updates\world\2013_06_29_01_world_creature_addon.sql
  18. */
  19. DELETE FROM `creature_template_addon` WHERE `entry`=17975;
  20. DELETE FROM `creature_addon` WHERE `guid`=82987;
  21. INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
  22. (82987,829870,0,0,1,0,''); -- Converted from c_t_a, works on both normal and heroic entry
  23. -- allow mounting inside Black Temple (outdoor areas)
  24. UPDATE `instance_template` SET `allowMount`=1 WHERE `map`=564;
  25. -- fix for issue #9997 by Exodius
  26. UPDATE `spell_script_names` SET `spell_id`=28441 WHERE `spell_id`=28414 AND `ScriptName`='spell_item_ashbringer';
  27. /*
  28. * sql\updates\world\2013_06_29_02_world_creature_addon.sql
  29. */
  30. DELETE FROM `creature_template_addon` WHERE `entry`=17976;
  31. DELETE FROM `creature_addon` WHERE `guid`=82986;
  32. INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
  33. (82986,829860,0,0,1,0,'19818'); -- Converted from c_t_a, works on both normal and heroic entry
  34. /*
  35. * sql\updates\world\2013_06_29_03_world_misc.sql
  36. */
  37. UPDATE `smart_scripts` SET `event_type`=37 WHERE `entryorguid` IN (9818,9817) AND `id`=0 AND `source_type`=0;
  38. UPDATE `smart_scripts` SET `event_type`=61 WHERE ((`entryorguid`=10817 AND `id`=9) OR (`entryorguid`= 1399 AND `id`=3)) AND `source_type`=0;
  39. UPDATE `smart_scripts` SET `link`=11 WHERE `entryorguid`=314 AND `id`=10 AND `source_type`=0;
  40. /*
  41. * sql\updates\world\2013_06_30_00_world_waypoints.sql
  42. */
  43. -- Pathing for Lord Victor Nefarius Entry: 10162
  44. SET @PATH := 1379670;
  45. DELETE FROM `waypoint_data` WHERE `id` IN (@PATH,@PATH+1,@PATH+2);
  46. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  47. (@PATH,1,168.7847,-444.8676,121.9753,0,0,0,0,100,0),
  48. (@PATH,2,159.7806,-444.8137,121.9753,0,0,0,0,100,0),
  49. (@PATH+1,1,163.1683,-444.165,121.9753,0,0,0,0,100,0),
  50. (@PATH+1,2,163.2364,-443.4956,121.9753,0,0,0,0,100,0),
  51. (@PATH+1,3,163.3028,-442.0108,122.2531,1.570796,0,0,0,100,0),
  52. (@PATH+2,1,165.5801,-457.3273,121.9753,0,0,1,0,100,0),
  53. (@PATH+2,2,165.5504,-465.8904,116.8073,0,0,1,0,100,0),
  54. (@PATH+2,3,165.3594,-470.635,116.8296,0,0,1,0,100,0),
  55. (@PATH+2,4,168.4351,-473.7489,116.8424,0,0,1,0,100,0),
  56. (@PATH+2,5,179.0059,-473.894,116.8424,0,0,1,0,100,0);
  57. -- Pathing for Warchief Rend Blackhand Entry: 10429
  58. SET @PATH := 1379680;
  59. DELETE FROM `waypoint_data` WHERE `id` IN (@PATH);
  60. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  61. (@PATH,1,165.4778,-452.2761,121.9753,0,0,0,0,100,0),
  62. (@PATH,2,165.5801,-457.3273,121.9753,0,0,0,0,100,0),
  63. (@PATH,3,165.5504,-465.8904,116.8073,0,0,0,0,100,0),
  64. (@PATH,4,165.3594,-470.635,116.8296,0,0,0,0,100,0),
  65. (@PATH,5,168.4351,-473.7489,116.8424,0,0,0,0,100,0),
  66. (@PATH,6,179.0059,-473.894,116.8424,0,52000,0,0,100,0),
  67. (@PATH,7,216.6058,-430.4544,110.9169,0,0,0,0,100,0),
  68. (@PATH,8,216.5664,-412.0932,110.9822,0,0,0,0,100,0),
  69. (@PATH,9,217.1734,-401.2561,111.0617,0,0,0,0,100,0),
  70. (@PATH,10,216.5286,-397.7477,111.0883,0,0,0,0,100,0),
  71. (@PATH,11,214.8428,-395.8612,111.1051,0,0,0,0,100,0),
  72. (@PATH,12,213.5363,-395.6153,111.1093,0,0,0,0,100,0);
  73. -- Pathing for Gyth Entry: 10339
  74. SET @PATH := 1379681;
  75. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  76. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  77. (@PATH,1,211.4939,-399.5368,111.0848,0,0,1,0,100,0),
  78. (@PATH,2,209.2005,-409.7201,110.9367,0,0,1,0,100,0),
  79. (@PATH,3,201.0632,-420.6352,110.9231,0,0,1,0,100,0),
  80. (@PATH,4,178.1997,-420.3415,110.4723,0,0,1,0,100,0),
  81. (@PATH,5,154.2494,-420.948,110.4723,0,0,1,0,100,0),
  82. (@PATH,6,127.872,-420.4601,110.4723,0,0,1,0,100,0);
  83. /*
  84. * sql\updates\world\2013_06_30_01_world_smart_scripts.sql
  85. */
  86. UPDATE `smart_scripts` SET `event_flags`=`event_flags`&~30 WHERE `entryorguid` IN (10981,10982,10986,10987,10990,11602,11603,11605,11678,11839,12050,12051,12053,12127,13088,13089,13097,13179,13284,13316,13326,13328,13438,13442,13443,13447,13577,13797,13798,14282,14283) AND `source_type`=0;
  87. /*
  88. * sql\updates\world\2013_06_30_02_world_creature_template.sql
  89. */
  90. UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry` IN (37955,38434,38435,38436);
  91. /*
  92. * sql\updates\world\2013_06_30_03_world_conditions.sql
  93. */
  94. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=51469;
  95. INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
  96. (13, 1, 51469, 0, 0, 32, 0, 0x90, 0, 0, 0, 0, 0, '', 'Frenzyheart''s Fury - only for Players');
  97. /*
  98. * sql\updates\world\2013_06_30_04_world_sai.sql
  99. */
  100. -- The Black Knight's Curse (14016) quest trigger SAI by nelegalno based on C++ script by Sherriff: http://pastebin.com/1ExVqtLe
  101. SET @TRIGGER := 34735;
  102. UPDATE `creature_template` SET ainame='SmartAI' WHERE `entry`=@TRIGGER;
  103. DELETE FROM `smart_scripts` WHERE `entryorguid`=@TRIGGER AND `source_type`=0;
  104. INSERT INTO `smart_scripts` (`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`) VALUES
  105. (@TRIGGER, 0, 0, 1, 10, 0, 100, 0, 1, 5, 5000, 5000, 12, 35116, 4, 60000, 0, 0, 0, 8, 0, 0, 0, 8451.91, 459.163, 596.072, 0.80, "Link - SummonCreature Cult Saboteur"),
  106. (@TRIGGER, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 12, 35127, 4, 60000, 0, 0, 0, 8, 0, 0, 0, 8456.20, 458.904, 596.072, 1.55, "Link - SummonCreature Cult Assassin");
  107. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=@TRIGGER AND `SourceId`=0;
  108. INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
  109. (22,1,@TRIGGER,0,0, 9,0,14016, 0,0,0,0,'',"Execute SAI only if player is on The Black Knight's Curse quest"),
  110. (22,1,@TRIGGER,0,0,29,0,35127,50,0,1,0,'',"Execute SAI only if no Cult Assassin within 50y of Black Knight's Grave");
  111. -- Written by Sherriff: http://pastebin.com/gkSqDc52
  112. -- Add text
  113. DELETE FROM `creature_text` WHERE `entry`=35116;
  114. INSERT INTO `creature_text` VALUES
  115. (35116,0,0, "What do you think you're doing?",12,0,0,1,0,0, ''),
  116. (35116,1,0, "You're too late to stop our plan.",12,0,0,1,0,0, ''),
  117. (35116,2,0, "See to it that I'm not followed.",12,0,0,1,0,0, '');
  118. DELETE FROM `creature_text` WHERE `entry`=35127;
  119. INSERT INTO `creature_text` VALUES
  120. (35127,0,0, "Gladly",12,0,1,0,0,0, '');
  121. -- SAI
  122. UPDATE `creature_template` SET ainame='SmartAI' WHERE `entry`= 35116;
  123. UPDATE `creature_template` SET ainame='SmartAI' WHERE `entry`= 35127;
  124. DELETE FROM `smart_scripts` WHERE `entryorguid`=35116;
  125. INSERT INTO `smart_scripts` VALUES
  126. -- need add (The saboteur ports out, via spell)
  127. (35116, 0, 0, 0, 54, 0, 100, 1, 0, 0, 0, 0, 71, 0, 0, 3334, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''), -- Equip shovel ID: 3334 ?
  128. (35116, 0, 1, 0, 38, 0, 100, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''),
  129. (35116, 0, 2, 0, 1, 1, 100, 1, 5000, 5000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'');
  130. DELETE FROM `smart_scripts` WHERE `entryorguid`=35127;
  131. DELETE FROM `smart_scripts` WHERE `entryorguid`=35127*100;
  132. INSERT INTO `smart_scripts` VALUES
  133. (35127, 0, 0, 1, 54,0,100,0,0,0,0,0,80,35127*100,0,2,0,0,0,1,0,0,0,0,0,0,0,""),
  134. (35127, 0, 1, 0, 61,0,100,0,0,0,0,0,17,68,0,0,0,0,0,1,0,0,0,0,0,0,0,""),
  135. -- script
  136. (35127*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 2, 35, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''),
  137. (35127*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''),
  138. (35127*100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''),
  139. (35127*100, 9, 3, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 11, 35116, 20, 0, 0, 0, 0, 0,''),
  140. (35127*100, 9, 4, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 11, 35116, 20, 0, 0, 0, 0, 0,''),
  141. (35127*100, 9, 5, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 11, 35116, 20, 0, 0, 0, 0, 0,''),
  142. (35127*100, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 45, 0, 0, 0, 0, 0, 0, 11, 35116, 20, 0, 0, 0, 0, 0,''),
  143. (35127*100, 9, 7, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''),
  144. (35127*100, 9, 8, 0, 0, 0, 100, 0, 0, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''),
  145. (35127*100, 9, 9, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 2, 14, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''),
  146. (35127*100, 9, 10, 0, 0, 0, 100, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''), -- emote 0 or roar?
  147. -- combat
  148. (35127, 0, 2, 0, 0, 0, 100, 0, 3000, 4000, 14000, 15000, 11, 60842, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0,''),
  149. (35127, 0, 3, 0, 0, 0, 100, 0, 1000, 2000, 7000, 8000, 11, 14873, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0,''),
  150. -- on death(quest credit)
  151. (35127, 0, 4, 0, 6, 0, 100, 1, 0, 0, 0, 0, 85, 66785, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0,'');
  152. /*
  153. * sql\updates\world\2013_06_30_05_world_sai.sql
  154. */
  155. SET @FOZRUK := 2611;
  156. SET @FEEBOZ := 4063;
  157. SET @ZNORT := 2765;
  158. SET @SLEEBY := 2764;
  159. SET @GUIDFO := 14514;
  160. SET @GUIDFE := 14517;
  161. SET @GUIDZN := 14516;
  162. SET @GUIDSL := 14515;
  163. SET @PATH := 145140;
  164. -- Creature formation for Fozruk,Feeboz,Znort and Sleeby
  165. DELETE FROM `creature_formations` WHERE `leaderGUID`=@GUIDFO;
  166. INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`) VALUES
  167. (@GUIDFO,@GUIDFO,0,0,2),
  168. (@GUIDFO,@GUIDFE,5,45,2),
  169. (@GUIDFO,@GUIDZN,5,0,2),
  170. (@GUIDFO,@GUIDSL,5,315,2);
  171. UPDATE `creature` SET `MovementType`=2,`position_x`=-799.488159,`position_y`=-3187.840820,`position_z`=81.986244,`currentwaypoint`=1 WHERE `guid` IN (@GUIDFO,@GUIDFE,@GUIDZN,@GUIDSL);
  172. UPDATE `creature_addon` SET `path_id`=@PATH WHERE `guid` IN (@GUIDFO,@GUIDFE,@GUIDZN,@GUIDSL);
  173. UPDATE `creature_template` SET `speed_walk`=0.777776,`Health_mod`=1 WHERE `entry` IN (@FEEBOZ,@ZNORT,@SLEEBY);
  174. UPDATE `creature` SET `curhealth`=3820 WHERE `id`=@FOZRUK;
  175. UPDATE `creature_template` SET `Health_mod`=2.314 WHERE `entry`=@FOZRUK;
  176. -- Adding missing SAI for Sleeby
  177. DELETE FROM `smart_scripts` WHERE `entryorguid`=@SLEEBY AND `source_type`=0;
  178. INSERT INTO `smart_scripts` (`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`) VALUES
  179. (@SLEEBY,0,0,0,4,0,100,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sleeby - On Aggro - Say Line 0"),
  180. (@SLEEBY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Sleeby - At 15% HP - Flee For Assist"),
  181. (@SLEEBY,0,2,0,14,0,100,0,900,30,18000,21000,11,10577,0,0,0,0,0,9,0,0,30,0,0,0,0,"Sleeby - At 900 HP Deficit on friendly - Cast Heal"),
  182. (@SLEEBY,0,3,0,2,0,100,1,0,30,22000,28000,11,10577,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sleeby - At 30 % HP - Cast Heal");
  183. -- Waypoint Data for Fozruk,Feeboz,Znort and Sleeby
  184. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  185. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  186. (@PATH,1,-832.334,-3205.470,79.68929,0,0,0,0,100,0),
  187. (@PATH,2,-860.918,-3218.261,84.36646,0,0,0,0,100,0),
  188. (@PATH,3,-888.679,-3243.162,84.09533,0,0,0,0,100,0),
  189. (@PATH,4,-914.439,-3273.134,79.92033,0,0,0,0,100,0),
  190. (@PATH,5,-934.979,-3286.743,75.78973,0,0,0,0,100,0),
  191. (@PATH,6,-969.229,-3298.048,70.39626,0,0,0,0,100,0),
  192. (@PATH,7,-999.526,-3300.098,59.43864,0,0,0,0,100,0),
  193. (@PATH,8,-1024.019,-3302.781,52.57269,0,0,0,0,100,0),
  194. (@PATH,9,-1042.511,-3304.218,53.96111,0,0,0,0,100,0),
  195. (@PATH,10,-1071.519,-3303.006,53.72434,0,0,0,0,100,0),
  196. (@PATH,11,-1094.373,-3294.411,51.28259,0,0,0,0,100,0),
  197. (@PATH,12,-1116.248,-3283.376,48.46264,0,0,0,0,100,0),
  198. (@PATH,13,-1134.604,-3275.851,45.93983,0,0,0,0,100,0),
  199. (@PATH,14,-1138.166,-3253.598,37.34724,0,0,0,0,100,0),
  200. (@PATH,15,-1149.548,-3219.161,32.92126,0,0,0,0,100,0),
  201. (@PATH,16,-1154.650,-3191.667,39.82796,0,0,0,0,100,0),
  202. (@PATH,17,-1152.233,-3172.707,44.92081,0,0,0,0,100,0),
  203. (@PATH,18,-1155.257,-3148.514,43.87821,0,0,0,0,100,0),
  204. (@PATH,19,-1156.285,-3118.220,46.07511,0,0,0,0,100,0),
  205. (@PATH,20,-1158.257,-3089.038,42.32969,0,0,0,0,100,0),
  206. (@PATH,21,-1166.920,-3051.637,39.44429,0,0,0,0,100,0),
  207. (@PATH,22,-1173.630,-3018.499,41.95575,0,0,0,0,100,0),
  208. (@PATH,23,-1177.635,-2989.661,47.36756,0,0,0,0,100,0),
  209. (@PATH,24,-1184.160,-2956.073,51.06301,0,0,0,0,100,0),
  210. (@PATH,25,-1199.907,-2932.837,47.81623,0,0,0,0,100,0),
  211. (@PATH,26,-1214.661,-2909.040,42.48590,0,0,0,0,100,0),
  212. (@PATH,27,-1227.096,-2890.791,43.51100,0,0,0,0,100,0),
  213. (@PATH,28,-1238.985,-2873.565,44.54215,0,0,0,0,100,0),
  214. (@PATH,29,-1250.406,-2857.378,45.41686,0,0,0,0,100,0),
  215. (@PATH,30,-1247.514,-2836.024,46.47926,0,0,0,0,100,0),
  216. (@PATH,31,-1248.644,-2794.010,51.19218,0,0,0,0,100,0),
  217. (@PATH,32,-1255.582,-2758.492,49.47080,0,0,0,0,100,0),
  218. (@PATH,33,-1267.213,-2729.370,48.34093,0,0,0,0,100,0),
  219. (@PATH,34,-1284.019,-2714.972,48.51395,0,0,0,0,100,0),
  220. (@PATH,35,-1301.577,-2701.519,54.30533,0,0,0,0,100,0),
  221. (@PATH,36,-1318.129,-2685.284,56.57260,0,0,0,0,100,0),
  222. (@PATH,37,-1337.341,-2665.010,66.17728,0,0,0,0,100,0),
  223. (@PATH,38,-1351.957,-2651.640,73.03260,0,0,0,0,100,0),
  224. (@PATH,39,-1368.981,-2639.345,71.88406,0,0,0,0,100,0),
  225. (@PATH,40,-1386.248,-2625.411,70.91771,0,0,0,0,100,0),
  226. (@PATH,41,-1404.074,-2608.620,71.74998,0,0,0,0,100,0),
  227. (@PATH,42,-1414.762,-2591.953,70.57619,0,0,0,0,100,0),
  228. (@PATH,43,-1421.564,-2568.585,71.20494,0,0,0,0,100,0),
  229. (@PATH,44,-1424.290,-2551.299,72.80975,0,0,0,0,100,0),
  230. (@PATH,45,-1425.382,-2525.746,72.76966,0,0,0,0,100,0),
  231. (@PATH,46,-1427.621,-2500.162,66.61679,0,0,0,0,100,0),
  232. (@PATH,47,-1428.913,-2478.010,60.97769,0,0,0,0,100,0),
  233. (@PATH,48,-1430.675,-2450.066,58.70541,0,0,0,0,100,0),
  234. (@PATH,49,-1432.065,-2430.234,60.31319,0,0,0,0,100,0),
  235. (@PATH,50,-1434.051,-2407.011,61.26979,0,0,0,0,100,0),
  236. (@PATH,51,-1441.378,-2382.458,62.31955,0,0,0,0,100,0),
  237. (@PATH,52,-1455.994,-2351.987,61.89263,0,0,0,0,100,0),
  238. (@PATH,53,-1476.102,-2327.670,59.28052,0,0,0,0,100,0),
  239. (@PATH,54,-1488.910,-2303.793,51.65742,0,0,0,0,100,0),
  240. (@PATH,55,-1480.213,-2280.157,49.29763,0,0,0,0,100,0),
  241. (@PATH,56,-1481.886,-2261.885,42.77686,0,0,0,0,100,0),
  242. (@PATH,57,-1488.766,-2238.346,29.72172,0,0,0,0,100,0),
  243. (@PATH,58,-1478.716,-2221.377,24.46575,0,0,0,0,100,0),
  244. (@PATH,59,-1470.289,-2202.226,21.37988,0,0,0,0,100,0),
  245. (@PATH,60,-1463.888,-2183.480,19.25826,0,0,0,0,100,0),
  246. (@PATH,61,-1462.309,-2166.158,19.51268,0,0,0,0,100,0),
  247. (@PATH,62,-1462.641,-2139.281,17.96990,0,0,0,0,100,0),
  248. (@PATH,63,-1461.741,-2117.135,18.41839,0,0,0,0,100,0),
  249. (@PATH,64,-1462.720,-2096.159,20.99808,0,0,0,0,100,0),
  250. (@PATH,65,-1466.697,-2073.191,21.76600,0,0,0,0,100,0),
  251. (@PATH,66,-1469.742,-2051.216,22.28187,0,0,0,0,100,0),
  252. (@PATH,67,-1470.707,-2034.948,23.92398,0,0,0,0,100,0),
  253. (@PATH,68,-1467.493,-2011.868,27.70724,0,0,0,0,100,0),
  254. (@PATH,69,-1461.612,-1991.796,32.13912,0,0,0,0,100,0),
  255. (@PATH,70,-1453.868,-1976.242,41.14152,0,0,0,0,100,0),
  256. (@PATH,71,-1440.519,-1963.263,44.36967,0,0,0,0,100,0),
  257. (@PATH,72,-1427.875,-1962.643,45.06952,0,0,0,0,100,0),
  258. (@PATH,73,-1403.536,-1960.480,48.94749,0,0,0,0,100,0),
  259. (@PATH,74,-1384.386,-1955.417,53.90592,0,0,0,0,100,0),
  260. (@PATH,75,-1369.677,-1945.936,57.96852,0,0,0,0,100,0),
  261. (@PATH,76,-1350.607,-1921.860,58.38959,0,0,0,0,100,0),
  262. (@PATH,77,-1340.818,-1894.505,59.48376,0,0,0,0,100,0),
  263. (@PATH,78,-1331.473,-1868.108,61.54721,0,0,0,0,100,0),
  264. (@PATH,79,-1324.620,-1843.425,63.16196,0,0,0,0,100,0),
  265. (@PATH,80,-1314.403,-1825.211,64.58312,0,0,0,0,100,0),
  266. (@PATH,81,-1298.009,-1805.438,66.00177,0,0,0,0,100,0),
  267. (@PATH,82,-1277.380,-1794.447,66.98273,0,0,0,0,100,0),
  268. (@PATH,83,-1262.522,-1781.463,66.29517,0,0,0,0,100,0),
  269. (@PATH,84,-1257.610,-1764.678,61.17090,0,0,0,0,100,0),
  270. (@PATH,85,-1254.762,-1740.416,57.42629,0,0,0,0,100,0),
  271. (@PATH,86,-1257.197,-1714.841,55.34131,0,0,0,0,100,0),
  272. (@PATH,87,-1261.216,-1690.681,58.78395,0,0,0,0,100,0),
  273. (@PATH,88,-1270.503,-1675.867,58.18840,0,0,0,0,100,0),
  274. (@PATH,89,-1286.642,-1660.740,56.26418,0,0,0,0,100,0),
  275. (@PATH,90,-1300.361,-1645.053,56.51159,0,0,0,0,100,0),
  276. (@PATH,91,-1308.540,-1627.062,54.06078,0,0,0,0,100,0),
  277. (@PATH,92,-1311.492,-1607.599,54.04951,0,0,0,0,100,0),
  278. (@PATH,93,-1304.892,-1587.725,55.84180,0,0,0,0,100,0),
  279. (@PATH,94,-1294.446,-1572.347,57.09067,0,0,0,0,100,0),
  280. (@PATH,95,-1276.314,-1559.621,56.87208,0,0,0,0,100,0),
  281. (@PATH,96,-1258.598,-1553.953,55.82633,0,0,0,0,100,0),
  282. (@PATH,97,-1247.020,-1555.563,54.08138,0,0,0,0,100,0),
  283. (@PATH,98,-1223.989,-1559.108,53.75228,0,0,0,0,100,0),
  284. (@PATH,99,-1204.170,-1566.040,57.69885,0,0,0,0,100,0),
  285. (@PATH,100,-1181.217,-1574.416,57.90259,0,0,0,0,100,0),
  286. (@PATH,101,-1171.802,-1584.777,56.51091,0,0,0,0,100,0),
  287. (@PATH,102,-1153.563,-1592.682,51.61238,0,0,0,0,100,0),
  288. (@PATH,103,-1135.418,-1600.805,44.96742,0,0,0,0,100,0),
  289. (@PATH,104,-1118.637,-1609.030,43.56574,0,0,0,0,100,0),
  290. (@PATH,105,-1099.768,-1620.569,44.50407,0,0,0,0,100,0),
  291. (@PATH,106,-1085.969,-1629.265,42.54866,0,0,0,0,100,0),
  292. (@PATH,107,-1062.281,-1644.193,38.64921,0,0,0,0,100,0),
  293. (@PATH,108,-1042.500,-1656.657,34.32768,0,0,0,0,100,0),
  294. (@PATH,109,-1023.845,-1668.413,35.51415,0,0,0,0,100,0),
  295. (@PATH,110,-1010.461,-1679.575,37.13435,0,0,0,0,100,0),
  296. (@PATH,111,-994.238,-1696.314,37.03594,0,0,0,0,100,0),
  297. (@PATH,112,-981.290,-1709.695,39.25463,0,0,0,0,100,0),
  298. (@PATH,113,-965.091,-1726.436,45.73298,0,0,0,0,100,0),
  299. (@PATH,114,-948.947,-1743.251,50.52712,0,0,0,0,100,0),
  300. (@PATH,115,-942.321,-1755.448,50.78074,0,0,0,0,100,0),
  301. (@PATH,116,-931.257,-1775.990,49.88054,0,0,0,0,100,0),
  302. (@PATH,117,-923.319,-1791.586,48.12437,0,0,0,0,100,0),
  303. (@PATH,118,-914.847,-1808.245,49.04429,0,0,0,0,100,0),
  304. (@PATH,119,-916.232,-1825.690,52.98432,0,0,0,0,100,0),
  305. (@PATH,120,-917.954,-1844.256,60.75032,0,0,0,0,100,0),
  306. (@PATH,121,-926.844,-1853.560,64.75401,0,0,0,0,100,0),
  307. (@PATH,122,-939.206,-1860.130,66.13270,0,0,0,0,100,0),
  308. (@PATH,123,-953.152,-1868.587,66.25734,0,0,0,0,100,0),
  309. (@PATH,124,-958.630,-1878.914,66.38094,0,0,0,0,100,0),
  310. (@PATH,125,-970.897,-1898.712,65.08327,0,0,0,0,100,0),
  311. (@PATH,126,-987.406,-1916.735,65.40691,0,0,0,0,100,0),
  312. (@PATH,127,-1010.646,-1934.486,63.39084,0,0,0,0,100,0),
  313. (@PATH,128,-1031.820,-1949.485,62.46684,0,0,0,0,100,0),
  314. (@PATH,129,-1035.493,-1975.890,62.90833,0,0,0,0,100,0),
  315. (@PATH,130,-1036.420,-1995.748,64.75522,0,0,0,0,100,0),
  316. (@PATH,131,-1038.648,-2015.430,67.03606,0,0,0,0,100,0),
  317. (@PATH,132,-1040.250,-2036.301,66.30344,0,0,0,0,100,0),
  318. (@PATH,133,-1043.269,-2057.063,61.47777,0,0,0,0,100,0),
  319. (@PATH,134,-1044.613,-2074.511,55.09937,0,0,0,0,100,0),
  320. (@PATH,135,-1044.425,-2088.510,52.09245,0,0,0,0,100,0),
  321. (@PATH,136,-1044.654,-2108.304,53.02930,0,0,0,0,100,0),
  322. (@PATH,137,-1045.710,-2125.842,57.34435,0,0,0,0,100,0),
  323. (@PATH,138,-1046.985,-2143.296,60.29477,0,0,0,0,100,0),
  324. (@PATH,139,-1053.525,-2160.677,61.58408,0,0,0,0,100,0),
  325. (@PATH,140,-1062.262,-2175.840,62.20592,0,0,0,0,100,0),
  326. (@PATH,141,-1076.352,-2186.121,61.72998,0,0,0,0,100,0),
  327. (@PATH,142,-1094.847,-2193.411,60.91643,0,0,0,0,100,0),
  328. (@PATH,143,-1106.986,-2197.716,60.42783,0,0,0,0,100,0),
  329. (@PATH,144,-1120.031,-2202.598,60.33088,0,0,0,0,100,0),
  330. (@PATH,145,-1134.107,-2208.307,60.04767,0,0,0,0,100,0),
  331. (@PATH,146,-1147.799,-2215.043,59.17715,0,0,0,0,100,0),
  332. (@PATH,147,-1160.361,-2221.223,56.04159,0,0,0,0,100,0),
  333. (@PATH,148,-1171.896,-2226.954,52.36503,0,0,0,0,100,0),
  334. (@PATH,149,-1189.245,-2236.516,50.85875,0,0,0,0,100,0),
  335. (@PATH,150,-1207.634,-2239.848,53.60689,0,0,0,0,100,0),
  336. (@PATH,151,-1229.502,-2243.614,54.47043,0,0,0,0,100,0),
  337. (@PATH,152,-1244.472,-2246.192,55.41187,0,0,0,0,100,0),
  338. (@PATH,153,-1260.545,-2248.960,56.65786,0,0,0,0,100,0),
  339. (@PATH,154,-1288.028,-2258.480,63.48441,0,0,0,0,100,0),
  340. (@PATH,155,-1312.666,-2265.471,63.83049,0,0,0,0,100,0),
  341. (@PATH,156,-1329.861,-2267.820,60.97282,0,0,0,0,100,0),
  342. (@PATH,157,-1340.939,-2282.781,60.76001,0,0,0,0,100,0),
  343. (@PATH,158,-1346.826,-2306.510,63.29128,0,0,0,0,100,0),
  344. (@PATH,159,-1356.514,-2330.379,62.09324,0,0,0,0,100,0),
  345. (@PATH,160,-1364.833,-2350.875,63.27309,0,0,0,0,100,0),
  346. (@PATH,161,-1376.378,-2370.984,64.32507,0,0,0,0,100,0),
  347. (@PATH,162,-1390.003,-2386.963,64.44643,0,0,0,0,100,0),
  348. (@PATH,163,-1407.306,-2405.951,61.78886,0,0,0,0,100,0),
  349. (@PATH,164,-1420.555,-2420.490,60.09317,0,0,0,0,100,0),
  350. (@PATH,165,-1425.015,-2436.246,60.09718,0,0,0,0,100,0),
  351. (@PATH,166,-1429.392,-2451.957,58.94998,0,0,0,0,100,0),
  352. (@PATH,167,-1434.995,-2478.175,61.36834,0,0,0,0,100,0),
  353. (@PATH,168,-1440.614,-2499.642,65.68507,0,0,0,0,100,0),
  354. (@PATH,169,-1444.769,-2517.792,67.88286,0,0,0,0,100,0),
  355. (@PATH,170,-1445.699,-2534.073,69.19215,0,0,0,0,100,0),
  356. (@PATH,171,-1441.826,-2548.728,71.55446,0,0,0,0,100,0),
  357. (@PATH,172,-1434.360,-2565.785,69.52008,0,0,0,0,100,0),
  358. (@PATH,173,-1424.968,-2590.842,66.91249,0,0,0,0,100,0),
  359. (@PATH,174,-1425.667,-2614.124,63.25773,0,0,0,0,100,0),
  360. (@PATH,175,-1431.743,-2624.111,59.10629,0,0,0,0,100,0),
  361. (@PATH,176,-1442.614,-2636.355,53.52480,0,0,0,0,100,0),
  362. (@PATH,177,-1455.655,-2648.024,49.13583,0,0,0,0,100,0),
  363. (@PATH,178,-1466.469,-2658.470,45.53018,0,0,0,0,100,0),
  364. (@PATH,179,-1465.657,-2675.952,41.90980,0,0,0,0,100,0),
  365. (@PATH,180,-1460.709,-2696.355,37.18211,0,0,0,0,100,0),
  366. (@PATH,181,-1452.888,-2710.664,35.19919,0,0,0,0,100,0),
  367. (@PATH,182,-1439.530,-2733.909,36.79025,0,0,0,0,100,0),
  368. (@PATH,183,-1426.573,-2754.702,36.58022,0,0,0,0,100,0),
  369. (@PATH,184,-1414.252,-2774.490,40.43624,0,0,0,0,100,0),
  370. (@PATH,185,-1409.163,-2793.708,40.13807,0,0,0,0,100,0),
  371. (@PATH,186,-1403.955,-2814.052,38.17089,0,0,0,0,100,0),
  372. (@PATH,187,-1400.756,-2834.877,37.28344,0,0,0,0,100,0),
  373. (@PATH,188,-1392.980,-2846.435,36.52287,0,0,0,0,100,0),
  374. (@PATH,189,-1382.798,-2860.667,34.91384,0,0,0,0,100,0),
  375. (@PATH,190,-1374.264,-2877.216,32.65070,0,0,0,0,100,0),
  376. (@PATH,191,-1366.549,-2891.665,32.42652,0,0,0,0,100,0),
  377. (@PATH,192,-1354.478,-2905.827,39.13261,0,0,0,0,100,0),
  378. (@PATH,193,-1337.495,-2913.607,41.92314,0,0,0,0,100,0),
  379. (@PATH,194,-1322.413,-2942.040,38.85258,0,0,0,0,100,0),
  380. (@PATH,195,-1311.788,-2949.179,37.97545,0,0,0,0,100,0),
  381. (@PATH,196,-1293.354,-2959.238,36.04282,0,0,0,0,100,0),
  382. (@PATH,197,-1286.243,-2968.497,35.39156,0,0,0,0,100,0),
  383. (@PATH,198,-1278.272,-2985.291,35.52282,0,0,0,0,100,0),
  384. (@PATH,199,-1278.453,-3001.669,36.35407,0,0,0,0,100,0),
  385. (@PATH,200,-1276.645,-3021.391,36.00177,0,0,0,0,100,0),
  386. (@PATH,201,-1277.911,-3042.342,35.95967,0,0,0,0,100,0),
  387. (@PATH,202,-1283.244,-3057.739,35.20432,0,0,0,0,100,0),
  388. (@PATH,203,-1285.871,-3073.835,34.69639,0,0,0,0,100,0),
  389. (@PATH,204,-1285.933,-3087.835,34.16180,0,0,0,0,100,0),
  390. (@PATH,205,-1287.669,-3106.376,33.67950,0,0,0,0,100,0),
  391. (@PATH,206,-1291.360,-3123.482,34.17837,0,0,0,0,100,0),
  392. (@PATH,207,-1294.929,-3139.397,35.25090,0,0,0,0,100,0),
  393. (@PATH,208,-1299.368,-3164.641,35.11166,0,0,0,0,100,0),
  394. (@PATH,209,-1290.961,-3179.933,35.79531,0,0,0,0,100,0),
  395. (@PATH,210,-1278.226,-3195.107,35.04691,0,0,0,0,100,0),
  396. (@PATH,211,-1265.487,-3211.802,34.85434,0,0,0,0,100,0),
  397. (@PATH,212,-1254.874,-3225.805,34.67227,0,0,0,0,100,0),
  398. (@PATH,213,-1242.016,-3239.177,34.42041,0,0,0,0,100,0),
  399. (@PATH,214,-1226.995,-3250.289,32.20225,0,0,0,0,100,0),
  400. (@PATH,215,-1209.005,-3258.555,29.59883,0,0,0,0,100,0),
  401. (@PATH,216,-1190.414,-3265.396,32.87492,0,0,0,0,100,0),
  402. (@PATH,217,-1166.793,-3271.900,39.47464,0,0,0,0,100,0),
  403. (@PATH,218,-1142.090,-3278.944,45.54786,0,0,0,0,100,0),
  404. (@PATH,219,-1119.980,-3286.243,48.92627,0,0,0,0,100,0),
  405. (@PATH,220,-1095.748,-3294.774,51.35248,0,0,0,0,100,0),
  406. (@PATH,221,-1074.817,-3302.142,53.40496,0,0,0,0,100,0),
  407. (@PATH,222,-1055.146,-3305.007,54.27245,0,0,0,0,100,0),
  408. (@PATH,223,-1035.344,-3304.849,53.27559,0,0,0,0,100,0),
  409. (@PATH,224,-1014.499,-3304.045,54.20192,0,0,0,0,100,0),
  410. (@PATH,225,-990.851,-3298.044,63.28812,0,0,0,0,100,0),
  411. (@PATH,226,-970.008,-3295.534,70.09853,0,0,0,0,100,0),
  412. (@PATH,227,-944.635,-3291.997,74.38611,0,0,0,0,100,0),
  413. (@PATH,228,-932.371,-3285.322,76.28872,0,0,0,0,100,0),
  414. (@PATH,229,-913.366,-3271.833,80.13741,0,0,0,0,100,0),
  415. (@PATH,230,-897.063,-3255.075,83.12675,0,0,0,0,100,0),
  416. (@PATH,231,-881.291,-3241.244,84.59821,0,0,0,0,100,0),
  417. (@PATH,232,-867.330,-3227.198,84.76893,0,0,0,0,100,0),
  418. (@PATH,233,-850.828,-3216.250,83.22803,0,0,0,0,100,0),
  419. (@PATH,234,-833.957,-3205.938,79.70540,0,0,0,0,100,0),
  420. (@PATH,235,-816.334,-3196.889,81.54343,3.60,60000,0,0,100,0);
  421. -- Updating creature loot for Fozruk
  422. DELETE FROM `creature_loot_template` WHERE `entry`=@FOZRUK;
  423. INSERT INTO `creature_loot_template` VALUES
  424. (@FOZRUK,4469,-100,1,0,1,1),
  425. (@FOZRUK,7192,30,1,0,1,2),
  426. (@FOZRUK,8150,20,1,0,1,1),
  427. (@FOZRUK,4552,12,1,0,1,1),
  428. (@FOZRUK,4554,4,1,0,1,1),
  429. (@FOZRUK,8157,1,1,0,1,1),
  430. (@FOZRUK,4637,1,1,0,1,1),
  431. (@FOZRUK,4045,0.4,1,0,1,1),
  432. (@FOZRUK,4002,0.3,1,0,1,1),
  433. (@FOZRUK,7909,0.2,1,0,1,1),
  434. (@FOZRUK,4024,0.2,1,0,1,1),
  435. (@FOZRUK,4004,0.2,1,0,1,1),
  436. (@FOZRUK,3963,0.2,1,0,1,1),
  437. (@FOZRUK,3989,0.2,1,0,1,1),
  438. (@FOZRUK,4026,0.2,1,0,1,1),
  439. (@FOZRUK,8750,0.2,1,0,1,1),
  440. (@FOZRUK,4025,0.2,1,0,1,1),
  441. (@FOZRUK,4018,0.2,1,0,1,1),
  442. (@FOZRUK,3962,0.2,1,0,1,1),
  443. (@FOZRUK,3938,0.2,1,0,1,1),
  444. (@FOZRUK,4022,0.2,1,0,1,1),
  445. (@FOZRUK,4023,0.2,1,0,1,1),
  446. (@FOZRUK,4020,0.2,1,0,1,1),
  447. (@FOZRUK,3965,0.1,1,0,1,1),
  448. (@FOZRUK,3939,0.1,1,0,1,1),
  449. (@FOZRUK,4019,0.1,1,0,1,1),
  450. (@FOZRUK,4007,0.1,1,0,1,1),
  451. (@FOZRUK,3986,0.1,1,0,1,1),
  452. (@FOZRUK,4017,0.1,1,0,1,1),
  453. (@FOZRUK,3942,0.1,1,0,1,1),
  454. (@FOZRUK,3966,0.1,1,0,1,1),
  455. (@FOZRUK,4021,0.1,1,0,1,1),
  456. (@FOZRUK,3937,0.1,1,0,1,1),
  457. (@FOZRUK,3941,0.1,1,0,1,1),
  458. (@FOZRUK,3943,0.1,1,0,1,1),
  459. (@FOZRUK,8137,0.1,1,0,1,1),
  460. (@FOZRUK,9285,0.1,1,0,1,1),
  461. (@FOZRUK,8194,0.1,1,0,1,1),
  462. (@FOZRUK,15251,0.1,1,0,1,1),
  463. (@FOZRUK,4061,0.1,1,0,1,1),
  464. (@FOZRUK,4736,0.1,1,0,1,1),
  465. (@FOZRUK,4000,0.1,1,0,1,1),
  466. (@FOZRUK,3964,0.1,1,0,1,1),
  467. (@FOZRUK,9290,0.1,1,0,1,1),
  468. (@FOZRUK,866,0.1,1,0,1,1),
  469. (@FOZRUK,8386,0.1,1,0,1,1),
  470. (@FOZRUK,3936,0.1,1,0,1,1),
  471. (@FOZRUK,4001,0.1,1,0,1,1),
  472. (@FOZRUK,4005,0.1,1,0,1,1),
  473. (@FOZRUK,3961,0.1,1,0,1,1),
  474. (@FOZRUK,3967,0.1,1,0,1,1),
  475. (@FOZRUK,3968,0.1,1,0,1,1),
  476. (@FOZRUK,6424,0.1,1,0,1,1),
  477. (@FOZRUK,9968,0.1,1,0,1,1),
  478. (@FOZRUK,1625,0.1,1,0,1,1),
  479. (@FOZRUK,6431,0.1,1,0,1,1),
  480. (@FOZRUK,12042,0.1,1,0,1,1),
  481. (@FOZRUK,1640,0.1,1,0,1,1),
  482. (@FOZRUK,7555,0.1,1,0,1,1),
  483. (@FOZRUK,9883,0.1,1,0,1,1),
  484. (@FOZRUK,4087,0.1,1,0,1,1),
  485. (@FOZRUK,3914,0.1,1,0,1,1),
  486. (@FOZRUK,8749,0.1,1,0,1,1),
  487. (@FOZRUK,4003,0.1,1,0,1,1),
  488. (@FOZRUK,4006,0.1,1,0,1,1),
  489. (@FOZRUK,13138,0.1,1,0,1,1),
  490. (@FOZRUK,8196,0.1,1,0,1,1),
  491. (@FOZRUK,5215,0.1,1,0,1,1),
  492. (@FOZRUK,9292,0.1,1,0,1,1),
  493. (@FOZRUK,4058,0.1,1,0,1,1),
  494. (@FOZRUK,7524,0.1,1,0,1,1),
  495. (@FOZRUK,8120,0.1,1,0,1,1),
  496. (@FOZRUK,9893,0.1,1,0,1,1),
  497. (@FOZRUK,4738,0.1,1,0,1,1),
  498. (@FOZRUK,11987,0.1,1,0,1,1),
  499. (@FOZRUK,9897,0.1,1,0,1,1),
  500. (@FOZRUK,8163,0.1,1,0,1,1),
  501. (@FOZRUK,4047,0.1,1,0,1,1),
  502. (@FOZRUK,7481,0.1,1,0,1,1),
  503. (@FOZRUK,7485,0.1,1,0,1,1),
  504. (@FOZRUK,7332,0.1,1,0,1,1),
  505. (@FOZRUK,7471,0.1,1,0,1,1),
  506. (@FOZRUK,7470,0.1,1,0,1,1),
  507. (@FOZRUK,9909,0.1,1,0,1,1),
  508. (@FOZRUK,8751,0.1,1,0,1,1),
  509. (@FOZRUK,867,0.1,1,0,1,1),
  510. (@FOZRUK,13058,0.1,1,0,1,1),
  511. (@FOZRUK,13034,0.1,1,0,1,1),
  512. (@FOZRUK,7112,0.1,1,0,1,1),
  513. (@FOZRUK,6415,0.1,1,0,1,1),
  514. (@FOZRUK,6425,0.1,1,0,1,1),
  515. (@FOZRUK,9927,0.1,1,0,1,1),
  516. (@FOZRUK,9928,0.1,1,0,1,1),
  517. (@FOZRUK,9930,0.1,1,0,1,1),
  518. (@FOZRUK,9931,0.1,1,0,1,1),
  519. (@FOZRUK,7486,0.1,1,0,1,1),
  520. (@FOZRUK,7488,0.1,1,0,1,1),
  521. (@FOZRUK,7487,0.1,1,0,1,1),
  522. (@FOZRUK,7491,0.1,1,0,1,1),
  523. (@FOZRUK,7494,0.1,1,0,1,1),
  524. (@FOZRUK,6411,0.1,1,0,1,1),
  525. (@FOZRUK,4068,0.1,1,0,1,1),
  526. (@FOZRUK,3864,0.1,1,0,1,1),
  527. (@FOZRUK,15287,0.1,1,0,1,1),
  528. (@FOZRUK,21947,0.05,1,0,1,1),
  529. (@FOZRUK,9966,0.05,1,0,1,1),
  530. (@FOZRUK,9973,0.05,1,0,1,1),
  531. (@FOZRUK,9972,0.05,1,0,1,1),
  532. (@FOZRUK,9970,0.05,1,0,1,1),
  533. (@FOZRUK,12011,0.05,1,0,1,1),
  534. (@FOZRUK,11204,0.05,1,0,1,1),
  535. (@FOZRUK,11225,0.05,1,0,1,1),
  536. (@FOZRUK,11208,0.05,1,0,1,1),
  537. (@FOZRUK,7522,0.05,1,0,1,1),
  538. (@FOZRUK,9887,0.05,1,0,1,1),
  539. (@FOZRUK,9894,0.05,1,0,1,1),
  540. (@FOZRUK,@FEEBOZ,0.05,1,0,1,1),
  541. (@FOZRUK,4062,0.05,1,0,1,1),
  542. (@FOZRUK,9903,0.05,1,0,1,1),
  543. (@FOZRUK,9904,0.05,1,0,1,1),
  544. (@FOZRUK,11998,0.05,1,0,1,1),
  545. (@FOZRUK,4070,0.05,1,0,1,1),
  546. (@FOZRUK,8162,0.05,1,0,1,1),
  547. (@FOZRUK,12031,0.05,1,0,1,1),
  548. (@FOZRUK,4735,0.05,1,0,1,1),
  549. (@FOZRUK,6429,0.05,1,0,1,1),
  550. (@FOZRUK,4300,0.05,1,0,1,1),
  551. (@FOZRUK,10302,0.05,1,0,1,1),
  552. (@FOZRUK,10300,0.05,1,0,1,1),
  553. (@FOZRUK,3873,0.05,1,0,1,1),
  554. (@FOZRUK,8029,0.05,1,0,1,1),
  555. (@FOZRUK,7479,0.05,1,0,1,1),
  556. (@FOZRUK,7482,0.05,1,0,1,1),
  557. (@FOZRUK,15244,0.05,1,0,1,1),
  558. (@FOZRUK,9298,0.05,1,0,1,1),
  559. (@FOZRUK,7475,0.05,1,0,1,1),
  560. (@FOZRUK,7473,0.05,1,0,1,1),
  561. (@FOZRUK,9907,0.05,1,0,1,1),
  562. (@FOZRUK,9908,0.05,1,0,1,1),
  563. (@FOZRUK,9906,0.05,1,0,1,1),
  564. (@FOZRUK,3187,0.05,1,0,1,1),
  565. (@FOZRUK,10604,0.05,1,0,1,1),
  566. (@FOZRUK,9881,0.05,1,0,1,1),
  567. (@FOZRUK,9882,0.05,1,0,1,1),
  568. (@FOZRUK,1613,0.05,1,0,1,1),
  569. (@FOZRUK,7910,0.05,1,0,1,1),
  570. (@FOZRUK,12023,0.05,1,0,1,1),
  571. (@FOZRUK,5216,0.05,1,0,1,1),
  572. (@FOZRUK,9959,0.05,1,0,1,1),
  573. (@FOZRUK,8385,0.05,1,0,1,1);
  574. -- Updating Creature loot for Feeboz
  575. DELETE FROM `creature_loot_template` WHERE `entry`=@FEEBOZ;
  576. INSERT INTO `creature_loot_template` VALUES
  577. (@FEEBOZ,4306,51,1,0,1,3),
  578. (@FEEBOZ,4539,13,1,0,1,1),
  579. (@FEEBOZ,4338,9,1,0,1,1),
  580. (@FEEBOZ,1708,4,1,0,1,1),
  581. (@FEEBOZ,1710,3,1,0,1,1),
  582. (@FEEBOZ,3827,1.2,1,0,1,1),
  583. (@FEEBOZ,3805,0.5,1,0,1,1),
  584. (@FEEBOZ,8748,0.5,1,0,1,1),
  585. (@FEEBOZ,3795,0.5,1,0,1,1),
  586. (@FEEBOZ,3797,0.5,1,0,1,1),
  587. (@FEEBOZ,3782,0.5,1,0,1,1),
  588. (@FEEBOZ,7492,0.5,1,0,1,1),
  589. (@FEEBOZ,3785,0.5,1,0,1,1),
  590. (@FEEBOZ,3780,0.5,1,0,1,1),
  591. (@FEEBOZ,3817,0.5,1,0,1,1),
  592. (@FEEBOZ,9891,0.5,1,0,1,1),
  593. (@FEEBOZ,3803,0.5,1,0,1,1),
  594. (@FEEBOZ,3784,0.5,1,0,1,1),
  595. (@FEEBOZ,3787,0.5,1,0,1,1),
  596. (@FEEBOZ,4636,0.5,1,0,1,1),
  597. (@FEEBOZ,3811,0.5,1,0,1,1),
  598. (@FEEBOZ,3807,0.5,1,0,1,1),
  599. (@FEEBOZ,3779,0.5,1,0,1,1),
  600. (@FEEBOZ,3778,0.5,1,0,1,1),
  601. (@FEEBOZ,2289,0.5,1,0,1,1),
  602. (@FEEBOZ,3781,0.5,1,0,1,1),
  603. (@FEEBOZ,3801,0.5,1,0,1,1),
  604. (@FEEBOZ,3783,0.5,1,0,1,1),
  605. (@FEEBOZ,15233,0.5,1,0,1,1),
  606. (@FEEBOZ,3786,0.5,1,0,1,1),
  607. (@FEEBOZ,6432,0.5,1,0,1,1),
  608. (@FEEBOZ,864,0.5,1,0,1,1),
  609. (@FEEBOZ,3809,0.5,1,0,1,1),
  610. (@FEEBOZ,3802,0.5,1,0,1,1),
  611. (@FEEBOZ,3796,0.5,1,0,1,1),
  612. (@FEEBOZ,3816,0.5,1,0,1,1),
  613. (@FEEBOZ,4041,0.5,1,0,1,1),
  614. (@FEEBOZ,3864,0.5,1,0,1,1),
  615. (@FEEBOZ,6419,0.5,1,0,1,1),
  616. (@FEEBOZ,15322,0.5,1,0,1,1),
  617. (@FEEBOZ,15260,0.5,1,0,1,1),
  618. (@FEEBOZ,1465,0.5,1,0,1,1),
  619. (@FEEBOZ,4421,0.5,1,0,1,1),
  620. (@FEEBOZ,4424,0.5,1,0,1,1),
  621. (@FEEBOZ,3813,0.5,1,0,1,1),
  622. (@FEEBOZ,3804,0.5,1,0,1,1),
  623. (@FEEBOZ,3806,0.5,1,0,1,1),
  624. (@FEEBOZ,3792,0.5,1,0,1,1),
  625. (@FEEBOZ,3793,0.5,1,0,1,1),
  626. (@FEEBOZ,3798,0.5,1,0,1,1),
  627. (@FEEBOZ,7909,0.5,1,0,1,1),
  628. (@FEEBOZ,4727,0.5,1,0,1,1),
  629. (@FEEBOZ,6420,0.5,1,0,1,1),
  630. (@FEEBOZ,6422,0.5,1,0,1,1),
  631. (@FEEBOZ,7480,0.5,1,0,1,1),
  632. (@FEEBOZ,9873,0.5,1,0,1,1),
  633. (@FEEBOZ,3808,0.5,1,0,1,1),
  634. (@FEEBOZ,3810,0.5,1,0,1,1),
  635. (@FEEBOZ,3812,0.5,1,0,1,1),
  636. (@FEEBOZ,3814,0.5,1,0,1,1),
  637. (@FEEBOZ,8747,0.5,1,0,1,1),
  638. (@FEEBOZ,3794,0.5,1,0,1,1),
  639. (@FEEBOZ,8006,0.5,1,0,1,1),
  640. (@FEEBOZ,4043,0.5,1,0,1,1),
  641. (@FEEBOZ,4078,0.5,1,0,1,1),
  642. (@FEEBOZ,9890,0.5,1,0,1,1),
  643. (@FEEBOZ,12022,0.5,1,0,1,1),
  644. (@FEEBOZ,1529,0.5,1,0,1,1),
  645. (@FEEBOZ,9895,0.5,1,0,1,1),
  646. (@FEEBOZ,9896,0.5,1,0,1,1),
  647. (@FEEBOZ,9898,0.5,1,0,1,1),
  648. (@FEEBOZ,7454,0.5,1,0,1,1),
  649. (@FEEBOZ,15214,0.5,1,0,1,1),
  650. (@FEEBOZ,3874,0.5,1,0,1,1),
  651. (@FEEBOZ,7485,0.5,1,0,1,1),
  652. (@FEEBOZ,15261,0.5,1,0,1,1),
  653. (@FEEBOZ,9879,0.5,1,0,1,1),
  654. (@FEEBOZ,9876,0.5,1,0,1,1),
  655. (@FEEBOZ,7435,0.5,1,0,1,1),
  656. (@FEEBOZ,7431,0.5,1,0,1,1),
  657. (@FEEBOZ,1725,0.5,1,0,1,1),
  658. (@FEEBOZ,8746,0.5,1,0,1,1),
  659. (@FEEBOZ,9434,0.5,1,0,1,1),
  660. (@FEEBOZ,13129,0.5,1,0,1,1),
  661. (@FEEBOZ,9854,0.5,1,0,1,1),
  662. (@FEEBOZ,6416,0.5,1,0,1,1),
  663. (@FEEBOZ,4042,0.5,1,0,1,1),
  664. (@FEEBOZ,7610,0.5,1,0,1,1),
  665. (@FEEBOZ,7493,0.5,1,0,1,1),
  666. (@FEEBOZ,6411,0.5,1,0,1,1),
  667. (@FEEBOZ,6412,0.5,1,0,1,1),
  668. (@FEEBOZ,15918,0.5,1,0,1,1),
  669. (@FEEBOZ,1625,0.5,1,0,1,1),
  670. (@FEEBOZ,12040,0.5,1,0,1,1),
  671. (@FEEBOZ,6421,0.5,1,0,1,1),
  672. (@FEEBOZ,4067,0.5,1,0,1,1),
  673. (@FEEBOZ,4731,0.5,1,0,1,1),
  674. (@FEEBOZ,15234,0.5,1,0,1,1),
  675. (@FEEBOZ,21525,0.5,1,0,1,1),
  676. (@FEEBOZ,9886,0.5,1,0,1,1),
  677. (@FEEBOZ,9889,0.5,1,0,1,1),
  678. (@FEEBOZ,9893,0.5,1,0,1,1),
  679. (@FEEBOZ,4738,0.5,1,0,1,1),
  680. (@FEEBOZ,9897,0.5,1,0,1,1),
  681. (@FEEBOZ,9900,0.5,1,0,1,1),
  682. (@FEEBOZ,12030,0.5,1,0,1,1),
  683. (@FEEBOZ,7455,0.5,1,0,1,1),
  684. (@FEEBOZ,7459,0.5,1,0,1,1),
  685. (@FEEBOZ,1207,0.5,1,0,1,1),
  686. (@FEEBOZ,4300,0.5,1,0,1,1),
  687. (@FEEBOZ,4614,0.5,1,0,1,1),
  688. (@FEEBOZ,3868,0.5,1,0,1,1),
  689. (@FEEBOZ,3867,0.5,1,0,1,1),
  690. (@FEEBOZ,9293,0.5,1,0,1,1),
  691. (@FEEBOZ,7474,0.5,1,0,1,1),
  692. (@FEEBOZ,7476,0.5,1,0,1,1),
  693. (@FEEBOZ,7445,0.5,1,0,1,1),
  694. (@FEEBOZ,7440,0.5,1,0,1,1),
  695. (@FEEBOZ,9881,0.5,1,0,1,1),
  696. (@FEEBOZ,9875,0.5,1,0,1,1),
  697. (@FEEBOZ,11986,0.5,1,0,1,1),
  698. (@FEEBOZ,3800,0.5,1,0,1,1);
  699. -- Updating missing pickpocket loot temp for Feeboz
  700. UPDATE `creature_template` SET `pickpocketloot`=@FEEBOZ WHERE `entry`=@FEEBOZ;
  701. DELETE FROM `pickpocketing_loot_template` WHERE `entry`=@FEEBOZ;
  702. INSERT INTO `pickpocketing_loot_template` VALUES
  703. (@FEEBOZ,5429,18,1,0,1,1),
  704. (@FEEBOZ,3771,13,1,0,1,1),
  705. (@FEEBOZ,16883,11,1,0,1,1),
  706. (@FEEBOZ,3864,2,1,0,1,1);
  707. -- Updating creature loot for Znort
  708. DELETE FROM `creature_loot_template` WHERE `entry`=@ZNORT;
  709. INSERT INTO `creature_loot_template` VALUES
  710. (@ZNORT,4306,51,1,0,1,3),
  711. (@ZNORT,4539,13,1,0,1,1),
  712. (@ZNORT,4338,9,1,0,1,1),
  713. (@ZNORT,1708,4,1,0,1,1),
  714. (@ZNORT,1710,3,1,0,1,1),
  715. (@ZNORT,3827,1.2,1,0,1,1),
  716. (@ZNORT,3805,0.5,1,0,1,1),
  717. (@ZNORT,8748,0.5,1,0,1,1),
  718. (@ZNORT,3795,0.5,1,0,1,1),
  719. (@ZNORT,3797,0.5,1,0,1,1),
  720. (@ZNORT,3782,0.5,1,0,1,1),
  721. (@ZNORT,7492,0.5,1,0,1,1),
  722. (@ZNORT,3785,0.5,1,0,1,1),
  723. (@ZNORT,3780,0.5,1,0,1,1),
  724. (@ZNORT,3817,0.5,1,0,1,1),
  725. (@ZNORT,9891,0.5,1,0,1,1),
  726. (@ZNORT,3803,0.5,1,0,1,1),
  727. (@ZNORT,3784,0.5,1,0,1,1),
  728. (@ZNORT,3787,0.5,1,0,1,1),
  729. (@ZNORT,4636,0.5,1,0,1,1),
  730. (@ZNORT,3811,0.5,1,0,1,1),
  731. (@ZNORT,3807,0.5,1,0,1,1),
  732. (@ZNORT,3779,0.5,1,0,1,1),
  733. (@ZNORT,3778,0.5,1,0,1,1),
  734. (@ZNORT,2289,0.5,1,0,1,1),
  735. (@ZNORT,3781,0.5,1,0,1,1),
  736. (@ZNORT,3801,0.5,1,0,1,1),
  737. (@ZNORT,3783,0.5,1,0,1,1),
  738. (@ZNORT,15233,0.5,1,0,1,1),
  739. (@ZNORT,3786,0.5,1,0,1,1),
  740. (@ZNORT,6432,0.5,1,0,1,1),
  741. (@ZNORT,864,0.5,1,0,1,1),
  742. (@ZNORT,3809,0.5,1,0,1,1),
  743. (@ZNORT,3802,0.5,1,0,1,1),
  744. (@ZNORT,3796,0.5,1,0,1,1),
  745. (@ZNORT,3816,0.5,1,0,1,1),
  746. (@ZNORT,4041,0.5,1,0,1,1),
  747. (@ZNORT,3864,0.5,1,0,1,1),
  748. (@ZNORT,6419,0.5,1,0,1,1),
  749. (@ZNORT,15322,0.5,1,0,1,1),
  750. (@ZNORT,15260,0.5,1,0,1,1),
  751. (@ZNORT,1465,0.5,1,0,1,1),
  752. (@ZNORT,4421,0.5,1,0,1,1),
  753. (@ZNORT,4424,0.5,1,0,1,1),
  754. (@ZNORT,3813,0.5,1,0,1,1),
  755. (@ZNORT,3804,0.5,1,0,1,1),
  756. (@ZNORT,3806,0.5,1,0,1,1),
  757. (@ZNORT,3792,0.5,1,0,1,1),
  758. (@ZNORT,3793,0.5,1,0,1,1),
  759. (@ZNORT,3798,0.5,1,0,1,1),
  760. (@ZNORT,7909,0.5,1,0,1,1),
  761. (@ZNORT,4727,0.5,1,0,1,1),
  762. (@ZNORT,6420,0.5,1,0,1,1),
  763. (@ZNORT,6422,0.5,1,0,1,1),
  764. (@ZNORT,7480,0.5,1,0,1,1),
  765. (@ZNORT,9873,0.5,1,0,1,1),
  766. (@ZNORT,3808,0.5,1,0,1,1),
  767. (@ZNORT,3810,0.5,1,0,1,1),
  768. (@ZNORT,3812,0.5,1,0,1,1),
  769. (@ZNORT,3814,0.5,1,0,1,1),
  770. (@ZNORT,8747,0.5,1,0,1,1),
  771. (@ZNORT,3794,0.5,1,0,1,1),
  772. (@ZNORT,8006,0.5,1,0,1,1),
  773. (@ZNORT,4043,0.5,1,0,1,1),
  774. (@ZNORT,4078,0.5,1,0,1,1),
  775. (@ZNORT,9890,0.5,1,0,1,1),
  776. (@ZNORT,12022,0.5,1,0,1,1),
  777. (@ZNORT,1529,0.5,1,0,1,1),
  778. (@ZNORT,9895,0.5,1,0,1,1),
  779. (@ZNORT,9896,0.5,1,0,1,1),
  780. (@ZNORT,9898,0.5,1,0,1,1),
  781. (@ZNORT,7454,0.5,1,0,1,1),
  782. (@ZNORT,15214,0.5,1,0,1,1),
  783. (@ZNORT,3874,0.5,1,0,1,1),
  784. (@ZNORT,7485,0.5,1,0,1,1),
  785. (@ZNORT,15261,0.5,1,0,1,1),
  786. (@ZNORT,9879,0.5,1,0,1,1),
  787. (@ZNORT,9876,0.5,1,0,1,1),
  788. (@ZNORT,7435,0.5,1,0,1,1),
  789. (@ZNORT,7431,0.5,1,0,1,1),
  790. (@ZNORT,1725,0.5,1,0,1,1),
  791. (@ZNORT,8746,0.5,1,0,1,1),
  792. (@ZNORT,9434,0.5,1,0,1,1),
  793. (@ZNORT,13129,0.5,1,0,1,1),
  794. (@ZNORT,9854,0.5,1,0,1,1),
  795. (@ZNORT,6416,0.5,1,0,1,1),
  796. (@ZNORT,4042,0.5,1,0,1,1),
  797. (@ZNORT,7610,0.5,1,0,1,1),
  798. (@ZNORT,7493,0.5,1,0,1,1),
  799. (@ZNORT,6411,0.5,1,0,1,1),
  800. (@ZNORT,6412,0.5,1,0,1,1),
  801. (@ZNORT,15918,0.5,1,0,1,1),
  802. (@ZNORT,1625,0.5,1,0,1,1),
  803. (@ZNORT,12040,0.5,1,0,1,1),
  804. (@ZNORT,6421,0.5,1,0,1,1),
  805. (@ZNORT,4067,0.5,1,0,1,1),
  806. (@ZNORT,4731,0.5,1,0,1,1),
  807. (@ZNORT,15234,0.5,1,0,1,1),
  808. (@ZNORT,21525,0.5,1,0,1,1),
  809. (@ZNORT,9886,0.5,1,0,1,1),
  810. (@ZNORT,9889,0.5,1,0,1,1),
  811. (@ZNORT,9893,0.5,1,0,1,1),
  812. (@ZNORT,4738,0.5,1,0,1,1),
  813. (@ZNORT,9897,0.5,1,0,1,1),
  814. (@ZNORT,9900,0.5,1,0,1,1),
  815. (@ZNORT,12030,0.5,1,0,1,1),
  816. (@ZNORT,7455,0.5,1,0,1,1),
  817. (@ZNORT,7459,0.5,1,0,1,1),
  818. (@ZNORT,1207,0.5,1,0,1,1),
  819. (@ZNORT,4300,0.5,1,0,1,1),
  820. (@ZNORT,4614,0.5,1,0,1,1),
  821. (@ZNORT,3868,0.5,1,0,1,1),
  822. (@ZNORT,3867,0.5,1,0,1,1),
  823. (@ZNORT,9293,0.5,1,0,1,1),
  824. (@ZNORT,7474,0.5,1,0,1,1),
  825. (@ZNORT,7476,0.5,1,0,1,1),
  826. (@ZNORT,7445,0.5,1,0,1,1),
  827. (@ZNORT,7440,0.5,1,0,1,1),
  828. (@ZNORT,9881,0.5,1,0,1,1),
  829. (@ZNORT,9875,0.5,1,0,1,1),
  830. (@ZNORT,11986,0.5,1,0,1,1),
  831. (@ZNORT,3800,0.5,1,0,1,1);
  832. -- Adding missing pickpocket loot template for Znort
  833. UPDATE `creature_template` SET `pickpocketloot`=@ZNORT WHERE `entry`=@ZNORT;
  834. DELETE FROM `pickpocketing_loot_template` WHERE `entry`=@ZNORT;
  835. INSERT INTO `pickpocketing_loot_template` VALUES
  836. (@ZNORT,3771,17,1,0,1,1),
  837. (@ZNORT,16883,17,1,0,1,1),
  838. (@ZNORT,5429,16,1,0,1,1),
  839. (@ZNORT,1710,16,1,0,1,1);
  840. -- Updating creature loot for Sleeby
  841. DELETE FROM `creature_loot_template` WHERE `entry`=@SLEEBY;
  842. INSERT INTO `creature_loot_template` VALUES
  843. (@SLEEBY,4306,51,1,0,1,3),
  844. (@SLEEBY,4539,13,1,0,1,1),
  845. (@SLEEBY,4338,9,1,0,1,1),
  846. (@SLEEBY,1708,4,1,0,1,1),
  847. (@SLEEBY,1710,3,1,0,1,1),
  848. (@SLEEBY,3827,1.2,1,0,1,1),
  849. (@SLEEBY,3805,0.5,1,0,1,1),
  850. (@SLEEBY,8748,0.5,1,0,1,1),
  851. (@SLEEBY,3795,0.5,1,0,1,1),
  852. (@SLEEBY,3797,0.5,1,0,1,1),
  853. (@SLEEBY,3782,0.5,1,0,1,1),
  854. (@SLEEBY,7492,0.5,1,0,1,1),
  855. (@SLEEBY,3785,0.5,1,0,1,1),
  856. (@SLEEBY,3780,0.5,1,0,1,1),
  857. (@SLEEBY,3817,0.5,1,0,1,1),
  858. (@SLEEBY,9891,0.5,1,0,1,1),
  859. (@SLEEBY,3803,0.5,1,0,1,1),
  860. (@SLEEBY,3784,0.5,1,0,1,1),
  861. (@SLEEBY,3787,0.5,1,0,1,1),
  862. (@SLEEBY,4636,0.5,1,0,1,1),
  863. (@SLEEBY,3811,0.5,1,0,1,1),
  864. (@SLEEBY,3807,0.5,1,0,1,1),
  865. (@SLEEBY,3779,0.5,1,0,1,1),
  866. (@SLEEBY,3778,0.5,1,0,1,1),
  867. (@SLEEBY,2289,0.5,1,0,1,1),
  868. (@SLEEBY,3781,0.5,1,0,1,1),
  869. (@SLEEBY,3801,0.5,1,0,1,1),
  870. (@SLEEBY,3783,0.5,1,0,1,1),
  871. (@SLEEBY,15233,0.5,1,0,1,1),
  872. (@SLEEBY,3786,0.5,1,0,1,1),
  873. (@SLEEBY,6432,0.5,1,0,1,1),
  874. (@SLEEBY,864,0.5,1,0,1,1),
  875. (@SLEEBY,3809,0.5,1,0,1,1),
  876. (@SLEEBY,3802,0.5,1,0,1,1),
  877. (@SLEEBY,3796,0.5,1,0,1,1),
  878. (@SLEEBY,3816,0.5,1,0,1,1),
  879. (@SLEEBY,4041,0.5,1,0,1,1),
  880. (@SLEEBY,3864,0.5,1,0,1,1),
  881. (@SLEEBY,6419,0.5,1,0,1,1),
  882. (@SLEEBY,15322,0.5,1,0,1,1),
  883. (@SLEEBY,15260,0.5,1,0,1,1),
  884. (@SLEEBY,1465,0.5,1,0,1,1),
  885. (@SLEEBY,4421,0.5,1,0,1,1),
  886. (@SLEEBY,4424,0.5,1,0,1,1),
  887. (@SLEEBY,3813,0.5,1,0,1,1),
  888. (@SLEEBY,3804,0.5,1,0,1,1),
  889. (@SLEEBY,3806,0.5,1,0,1,1),
  890. (@SLEEBY,3792,0.5,1,0,1,1),
  891. (@SLEEBY,3793,0.5,1,0,1,1),
  892. (@SLEEBY,3798,0.5,1,0,1,1),
  893. (@SLEEBY,7909,0.5,1,0,1,1),
  894. (@SLEEBY,4727,0.5,1,0,1,1),
  895. (@SLEEBY,6420,0.5,1,0,1,1),
  896. (@SLEEBY,6422,0.5,1,0,1,1),
  897. (@SLEEBY,7480,0.5,1,0,1,1),
  898. (@SLEEBY,9873,0.5,1,0,1,1),
  899. (@SLEEBY,3808,0.5,1,0,1,1),
  900. (@SLEEBY,3810,0.5,1,0,1,1),
  901. (@SLEEBY,3812,0.5,1,0,1,1),
  902. (@SLEEBY,3814,0.5,1,0,1,1),
  903. (@SLEEBY,8747,0.5,1,0,1,1),
  904. (@SLEEBY,3794,0.5,1,0,1,1),
  905. (@SLEEBY,8006,0.5,1,0,1,1),
  906. (@SLEEBY,4043,0.5,1,0,1,1),
  907. (@SLEEBY,4078,0.5,1,0,1,1),
  908. (@SLEEBY,9890,0.5,1,0,1,1),
  909. (@SLEEBY,12022,0.5,1,0,1,1),
  910. (@SLEEBY,1529,0.5,1,0,1,1),
  911. (@SLEEBY,9895,0.5,1,0,1,1),
  912. (@SLEEBY,9896,0.5,1,0,1,1),
  913. (@SLEEBY,9898,0.5,1,0,1,1),
  914. (@SLEEBY,7454,0.5,1,0,1,1),
  915. (@SLEEBY,15214,0.5,1,0,1,1),
  916. (@SLEEBY,3874,0.5,1,0,1,1),
  917. (@SLEEBY,7485,0.5,1,0,1,1),
  918. (@SLEEBY,15261,0.5,1,0,1,1),
  919. (@SLEEBY,9879,0.5,1,0,1,1),
  920. (@SLEEBY,9876,0.5,1,0,1,1),
  921. (@SLEEBY,7435,0.5,1,0,1,1),
  922. (@SLEEBY,7431,0.5,1,0,1,1),
  923. (@SLEEBY,1725,0.5,1,0,1,1),
  924. (@SLEEBY,8746,0.5,1,0,1,1),
  925. (@SLEEBY,9434,0.5,1,0,1,1),
  926. (@SLEEBY,13129,0.5,1,0,1,1),
  927. (@SLEEBY,9854,0.5,1,0,1,1),
  928. (@SLEEBY,6416,0.5,1,0,1,1),
  929. (@SLEEBY,4042,0.5,1,0,1,1),
  930. (@SLEEBY,7610,0.5,1,0,1,1),
  931. (@SLEEBY,7493,0.5,1,0,1,1),
  932. (@SLEEBY,6411,0.5,1,0,1,1),
  933. (@SLEEBY,6412,0.5,1,0,1,1),
  934. (@SLEEBY,15918,0.5,1,0,1,1),
  935. (@SLEEBY,1625,0.5,1,0,1,1),
  936. (@SLEEBY,12040,0.5,1,0,1,1),
  937. (@SLEEBY,6421,0.5,1,0,1,1),
  938. (@SLEEBY,4067,0.5,1,0,1,1),
  939. (@SLEEBY,4731,0.5,1,0,1,1),
  940. (@SLEEBY,15234,0.5,1,0,1,1),
  941. (@SLEEBY,21525,0.5,1,0,1,1),
  942. (@SLEEBY,9886,0.5,1,0,1,1),
  943. (@SLEEBY,9889,0.5,1,0,1,1),
  944. (@SLEEBY,9893,0.5,1,0,1,1),
  945. (@SLEEBY,4738,0.5,1,0,1,1),
  946. (@SLEEBY,9897,0.5,1,0,1,1),
  947. (@SLEEBY,9900,0.5,1,0,1,1),
  948. (@SLEEBY,12030,0.5,1,0,1,1),
  949. (@SLEEBY,7455,0.5,1,0,1,1),
  950. (@SLEEBY,7459,0.5,1,0,1,1),
  951. (@SLEEBY,1207,0.5,1,0,1,1),
  952. (@SLEEBY,4300,0.5,1,0,1,1),
  953. (@SLEEBY,4614,0.5,1,0,1,1),
  954. (@SLEEBY,3868,0.5,1,0,1,1),
  955. (@SLEEBY,3867,0.5,1,0,1,1),
  956. (@SLEEBY,9293,0.5,1,0,1,1),
  957. (@SLEEBY,7474,0.5,1,0,1,1),
  958. (@SLEEBY,7476,0.5,1,0,1,1),
  959. (@SLEEBY,7445,0.5,1,0,1,1),
  960. (@SLEEBY,7440,0.5,1,0,1,1),
  961. (@SLEEBY,9881,0.5,1,0,1,1),
  962. (@SLEEBY,9875,0.5,1,0,1,1),
  963. (@SLEEBY,11986,0.5,1,0,1,1),
  964. (@SLEEBY,3800,0.5,1,0,1,1);
  965. -- Updating missing pickpocket loot for Sleeby
  966. UPDATE `creature_template` SET `pickpocketloot`=@SLEEBY WHERE `entry`=@SLEEBY;
  967. DELETE FROM `pickpocketing_loot_template` WHERE `entry`=@SLEEBY;
  968. INSERT INTO `pickpocketing_loot_template` VALUES
  969. (@SLEEBY,16883,53,1,0,1,1),
  970. (@SLEEBY,5429,10,1,0,1,1),
  971. (@SLEEBY,3771,6,1,0,1,1),
  972. (@SLEEBY,1710,5,1,0,1,1);
  973. /*
  974. * sql\updates\world\2013_06_30_06_world_sai.sql
  975. */
  976. DELETE FROM `smart_scripts` WHERE `entryorguid` IN(24688,24689,24690);
  977. INSERT INTO `smart_scripts` (`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`) VALUES
  978. (24688,0,0,0,2,0,100,6,0,20,29000,39000,11,44505,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Wretched Skulker - On Less than 20% HP - Cast Drink Fel Infusion'),
  979. (24688,0,1,0,0,0,100,6,6200,14000,5000,12000,11,44533,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Wretched Skulker - In Combat - Cast Wretched Stab'),
  980. (24689,0,0,0,2,0,100,6,0,20,23000,33000,11,44505,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Wretched Bruiser - On Less than 20% HP - Cast Drink Fel Infusion'),
  981. (24689,0,1,0,0,0,100,6,3800,3800,6000,11000,11,44534,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Wretched Bruiser - In Combat - Cast Wretched Strike'),
  982. (24690,0,0,0,2,0,100,6,0,20,29000,39000,11,44505,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Wretched Husk - On Less than 20% HP - Cast Drink Fel Infusion'),
  983. (24690,0,1,0,0,0,50,6,5000,5000,7000,17000,11,44503,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Wretched Husk - In Combat - Cast Wretched Fireball'),
  984. (24690,0,2,0,0,0,50,6,6500,6500,14000,24000,11,44504,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Wretched Husk - In Combat - Cast Wretched Frostbolt');
  985. /*
  986. * sql\updates\world\2013_06_30_07_world_creature_loot_template.sql
  987. */
  988. -- Gnomish Grenades have Very High drop chance
  989. -- http://eu.battle.net/wow/en/item/34772
  990. UPDATE `creature_loot_template` SET `ChanceOrQuestChance`=-90 WHERE `entry`=25449 and `item`=34772;
  991. /*
  992. * sql\updates\world\2013_06_30_08_world_player_factionchange_spells.sql
  993. */
  994. DELETE FROM `player_factionchange_spells` WHERE `alliance_id`=59791 AND `horde_id`=59793;
  995. DELETE FROM `player_factionchange_spells` WHERE `alliance_id`=60114 AND `horde_id`=60116;
  996. INSERT INTO `player_factionchange_spells` (`alliance_id`,`horde_id`) VALUES
  997. (59791, 59793), -- Wooly Mammoth
  998. (60114, 60116); -- Armored Brown Bear
  999. /*
  1000. * sql\updates\world\2013_06_30_09_world_misc.sql
  1001. */
  1002. UPDATE `creature_template` SET `resistance2`=1000 WHERE `entry` IN (9816);
  1003. UPDATE `creature_template` SET `mechanic_immune_mask`=617299803 WHERE `entry` IN (10339);
  1004. UPDATE `creature_template` SET `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0 WHERE `entry` IN (9816,10339,10429);
  1005. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=16337 AND `ConditionValue2`=10429;
  1006. UPDATE `creature_template` SET `unit_flags`=32832 WHERE `entry` IN (10317,10318);
  1007. -- Pathing for Warchief Rend Blackhand Entry: 10429
  1008. SET @PATH := 1379680;
  1009. DELETE FROM `waypoint_data` WHERE `id` IN (@PATH);
  1010. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  1011. (@PATH,1,165.4778,-452.2761,121.9753,0,0,1,0,100,0),
  1012. (@PATH,2,165.5801,-457.3273,121.9753,0,0,1,0,100,0),
  1013. (@PATH,3,165.5504,-465.8904,116.8073,0,0,1,0,100,0),
  1014. (@PATH,4,165.3594,-470.635,116.8296,0,0,1,0,100,0),
  1015. (@PATH,5,168.4351,-473.7489,116.8424,0,0,1,0,100,0),
  1016. (@PATH,6,179.0059,-473.894,116.8424,0,52000,1,0,100,0),
  1017. (@PATH,7,216.6058,-430.4544,110.9169,0,0,1,0,100,0),
  1018. (@PATH,8,216.5664,-412.0932,110.9822,0,0,1,0,100,0),
  1019. (@PATH,9,217.1734,-401.2561,111.0617,0,0,1,0,100,0),
  1020. (@PATH,10,216.5286,-397.7477,111.0883,0,0,1,0,100,0),
  1021. (@PATH,11,214.8428,-395.8612,111.1051,0,0,1,0,100,0),
  1022. (@PATH,12,213.5363,-395.6153,111.1093,0,0,1,0,100,0);
  1023. -- Text for Lord Victor Nefarius from sniff
  1024. SET @VICTOR := 10162;
  1025. DELETE FROM `creature_text` WHERE `entry` IN (@VICTOR);
  1026. INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
  1027. -- Lord Victor Nefarius texts UBRS
  1028. (@VICTOR,0,0,"Excellent... it would appear as if the meddlesome insects have arrived just in time to feed my legion. Welcome, mortals!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'),
  1029. (@VICTOR,1,0,"Let not even a drop of their blood remain upon the arena floor, my children. Feast on their souls!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'),
  1030. (@VICTOR,2,0,"Foolsss... Kill the one in the dress!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'),
  1031. (@VICTOR,3,0,"Inconceivable!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'),
  1032. (@VICTOR,4,0,"Your efforts will prove fruitless. None shall stand in our way!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'),
  1033. (@VICTOR,5,0,"Do not force my hand, children! I shall use your hides to line my boots.",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'),
  1034. (@VICTOR,6,0,"Use the freezing breath, imbecile!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'),
  1035. (@VICTOR,7,0,"THIS CANNOT BE!!! Rend, deal with these insects.",14,0,100,0,0,0,'Lord Victor Nefarius (UBRS)'),
  1036. (@VICTOR,8,0,"The Warchief shall make quick work of you, mortals. Prepare yourselves!",14,0,100,25,0,0,'Lord Victor Nefarius (UBRS)'),
  1037. (@VICTOR,9,0,"Taste in my power!",14,0,100,0,0,0,'Lord Victor Nefarius (UBRS)'),
  1038. (@VICTOR,10,0,"Your victory shall be short lived. The days of both the Alliance and Horde are coming to an end! The next time we meet shall be the last.",14,0,100,5,0,0,'Lord Victor Nefarius (UBRS)'),
  1039. (@VICTOR,11,0,"The mortals have fallen! The new age of the Blackrock legion is at hand!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'),
  1040. -- Lord Victor Nefarius texts BWL
  1041. (@VICTOR,12,0,"In this world where time is your enemy, it is my greatest ally. This grand game of life that you think you play in fact plays you. To that I say...",14,0,100,1,0,0,'Lord Victor Nefarius SAY_GAMESBEGIN_1 (BWL)'),
  1042. (@VICTOR,13,0,"Let the games begin!",14,0,100,22,0,8280,'Lord Victor Nefarius SAY_GAMESBEGIN_2 (BWL)'),
  1043. (@VICTOR,14,0,"Ah, the heroes. You are persistent, aren't you. Your allied attempted to match his power against mine, and had to pay the price. Now he shall serve me, by slaughtering you. Get up, little red wyrm...and destroy them!",14,0,100,23,0,8279,'Lord Victor Nefarius SAY_VAEL_INTRO (BWL)');
  1044. /*
  1045. * sql\updates\world\2013_06_30_10_world_creature_addon.sql
  1046. */
  1047. DELETE FROM `creature_addon` WHERE `guid`=121226;
  1048. /*
  1049. * sql\updates\world\2013_06_30_11_world_misc.sql
  1050. */
  1051. -- Add SAI support for Silas Darkmoon
  1052. SET @SILAS := 14823;
  1053. UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@SILAS;
  1054. DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@SILAS;
  1055. INSERT INTO `smart_scripts` (`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`) VALUES
  1056. (@SILAS,0,0,0,1,0,100,0,60000,60000,60000,60000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Silas Darkmoon - OOC - Say 0');
  1057. -- Text for Silas Darkmoon
  1058. DELETE FROM `creature_text` WHERE `entry` IN (@SILAS);
  1059. INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
  1060. (@SILAS,0,0,'Everyone enjoying themselves so far? That''s great! Welcome to the Darkmoon Faire, the greatest show on all of Azeroth! Make sure that you speak with Yebb and his friends here while you''re taking in Neblegear''s Darkmoon Zoo Bizarre.',12,0,100,0,0,0,'Silas Darkmoon'),
  1061. (@SILAS,0,1,'We''re back and better than ever! It''s the Darkmoon Faire friend, and it''s your lucky day! Sparing no expense, we''ve gathered wonders and treats from around the world for your delight. Whether you''re young or old, rich or poor, the Darkmoon Faire has it all! Be sure to turn in your Darkmoon Faire Prize Tickets to Gelvas Grimegate, and choose from several exotic and wondrous prizes!',12,0,100,0,0,0,'Silas Darkmoon'),
  1062. (@SILAS,0,2,'Come one, come all. Welcome to the Darkmoon Faire! Don''t be shy. Step right up to Lhara and buy yourself an exotic artifact from far off lands. If you''re one of the lucky few who have found Darkmoon Cards, have a word with Professor Paleo. Hungry? Thirsty? You''re in luck! Refreshments are available right here from Sylannia and Stamp. I recommend the Darkmoon Special Reserve to wash down some Red Hot Wings. And if the future is what you seek, then run, don''t walk, to speak with Sayge.',12,0,100,0,0,0,'Silas Darkmoon'),
  1063. (@SILAS,0,3,'Welcome one and all to the Darkmoon Faire, the greatest event in all the world! We have it all... delicious food, strong drink, exotic artifacts, fortunes read, amazing prizes and excitement without end! Don''t forget to turn in your Darkmoon Faire Prize Tickets to Gelvas Grimegate! All it takes is five or more and you''re on your way to the most wondrous prizes on all of Azeroth. Everybody is a winner!',12,0,100,0,0,0,'Silas Darkmoon');
  1064. UPDATE `waypoint_data` SET `action`=0 WHERE `id`=1376660;
  1065. DELETE FROM `db_script_string` WHERE `entry` BETWEEN 2000000004 AND 2000000007;
  1066. DELETE FROM `waypoint_scripts` WHERE `dataint` BETWEEN 2000000004 AND 2000000007;
  1067. /*
  1068. * sql\updates\world\2013_06_30_12_world_misc.sql
  1069. */
  1070. -- Add SAI support for Curator Thorius
  1071. SET @THORIUS := 8256;
  1072. UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@THORIUS;
  1073. DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@THORIUS;
  1074. INSERT INTO `smart_scripts` (`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`) VALUES
  1075. (@THORIUS,0,0,0,1,0,100,0,120000,120000,120000,120000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Curator Thorius - OOC - Say 0');
  1076. -- Text for Curator Thorius
  1077. DELETE FROM `creature_text` WHERE `entry` IN (@THORIUS);
  1078. INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
  1079. (@THORIUS,0,0,'Poor Dorius. If I ever get my hands on those Dark Irons, so help me...',12,0,100,0,0,0,'Curator Thorius');
  1080. UPDATE `waypoint_data` SET `action`=0 WHERE `action`=2;
  1081. DELETE FROM `db_script_string` WHERE `entry`=2000005000;
  1082. DELETE FROM `waypoint_scripts` WHERE `dataint`=2000005000;
  1083. /*
  1084. * sql\updates\world\2013_06_30_13_world_misc.sql
  1085. */
  1086. -- Opus already has SAI and text added
  1087. UPDATE `creature` SET `MovementType`=0 WHERE `guid`=4567;
  1088. DELETE FROM `creature_addon` WHERE `guid`=4567;
  1089. UPDATE `waypoint_data` SET `action`=0 WHERE `action` BETWEEN 5 AND 13;
  1090. DELETE FROM `waypoint_data` WHERE `id`=45670;
  1091. DELETE FROM `db_script_string` WHERE `entry` BETWEEN 2000005001 AND 2000005009;
  1092. DELETE FROM `waypoint_scripts` WHERE `dataint` BETWEEN 2000005001 AND 2000005009;
  1093. DELETE FROM `db_script_string` WHERE `entry` BETWEEN 2000000107 AND 2000000109;
  1094. -- Add SAI support for Warp-Huntress Kula
  1095. SET @KULA := 32711;
  1096. UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@KULA;
  1097. DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@KULA;
  1098. DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@KULA;
  1099. INSERT INTO `smart_scripts` (`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`) VALUES
  1100. (@KULA,0,0,0,11,0,100,0,0,0,0,0,11,61616,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Warp-Huntress Kula - On Spawn - Summon Backbiter');
  1101. -- Add SAI support for Thal'trak Proudtusk
  1102. SET @THALTRAK := 9082;
  1103. UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@THALTRAK;
  1104. DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@THALTRAK;
  1105. DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@THALTRAK;
  1106. INSERT INTO `smart_scripts` (`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`) VALUES
  1107. (@THALTRAK,0,0,0,9,0,100,0,9,10,180000,180000,1,0,0,0,0,0,0,11,9079,10,0,0,0,0,0, 'Thal''trak Proudtusk - Range - Say 0');
  1108. -- Text for Thal'trak Proudtusk
  1109. DELETE FROM `creature_text` WHERE `entry` IN (@THALTRAK);
  1110. INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
  1111. (@THALTRAK,0,0,'Well done, soldiers! At ease!',12,0,100,0,0,0,'Thal''trak Proudtusk');
  1112. /*
  1113. * sql\updates\world\2013_06_30_14_world_misc.sql
  1114. */
  1115. -- Add SAI line to Inspector Tarem
  1116. SET @TAREM := 23567;
  1117. DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@TAREM AND `id`=2;
  1118. INSERT INTO `smart_scripts` (`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`) VALUES
  1119. (@TAREM,0,2,0,1,0,100,0,60000,70000,60000,70000,1,0,0,0,0,0,0,11,9079,10,0,0,0,0,0, 'Inspector Tarem - OOC - Say 0');
  1120. -- Text for Inspector Tarem
  1121. DELETE FROM `creature_text` WHERE `entry` IN (@TAREM);
  1122. INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
  1123. (@TAREM,0,0,'Mysterious hoofprints, scorched shields, stray badges... how do we make sense of all this?',12,0,100,6,0,0,'Inspector Tarem');
  1124. -- Add SAI to Krixil Slogswitch
  1125. SET @KRIXIL := 23573;
  1126. UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@KRIXIL;
  1127. DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@KRIXIL;
  1128. INSERT INTO `smart_scripts` (`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`) VALUES
  1129. (@KRIXIL,0,0,0,1,0,100,0,60000,70000,170000,180000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Krixil Slogswitch - OOC - Say 0');
  1130. -- Text for Krixil Slogswitch
  1131. DELETE FROM `creature_text` WHERE `entry` IN (@KRIXIL);
  1132. INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
  1133. (@KRIXIL,0,0,'I don''t think Drazzit''s going to have any luck finding anyone to kill this raptor. I mean, he''s already raised the reward twice...',12,0,100,1,0,0,'Krixil Slogswitch');
  1134. -- Add SAI to Axle
  1135. SET @AXLE := 23995;
  1136. SET @BROGG := 23579;
  1137. UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@AXLE;
  1138. DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@AXLE;
  1139. DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=@AXLE*100;
  1140. INSERT INTO `smart_scripts` (`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`) VALUES
  1141. (@AXLE,0,0,0,11,0,100,0,0,0,0,0,53,0,@AXLE,1,0,0,0,1,0,0,0,0,0,0,0, 'Axle - Spawn - load waypoints'),
  1142. (@AXLE,0,1,2,40,0,100,0,4,@AXLE,0,0,54,24000,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Axle - Reach wp 4 - Pause Path'),
  1143. (@AXLE,0,2,0,61,0,100,0,0,0,0,0,80,@AXLE*100,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Axle - Reach wp 4 - Run Script'),
  1144. (@AXLE,0,3,4,40,0,100,0,8,@AXLE,0,0,54,140000,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Axle - Reach wp 8 - Pause Path'),
  1145. (@AXLE,0,4,0,61,0,100,0,0,0,0,0,66,@AXLE,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Axle - Reach wp 8 - Turn to'),
  1146. (@AXLE*100,9,0,0,0,0,100,0,4000,4000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Axle - Script - Say 0'),
  1147. (@AXLE*100,9,1,0,0,0,100,0,4000,4000,0,0,1,0,0,0,0,0,0,11,@BROGG,10,0,0,0,0,0, 'Axle - Script - brogg Say 0'),
  1148. (@AXLE*100,9,2,0,0,0,100,0,4000,4000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Axle - Script - Say 1'),
  1149. (@AXLE*100,9,3,0,0,0,100,0,4000,4000,0,0,1,1,0,0,0,0,0,11,@BROGG,10,0,0,0,0,0, 'Axle - Script - brogg Say 1'),
  1150. (@AXLE*100,9,4,0,0,0,100,0,4000,4000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Axle - Script - Say 2');
  1151. UPDATE `creature` SET `position_x`=-4629.937,`position_y`=-3176.124,`position_z`=41.22349,`orientation`=6.263439 WHERE `id`=@AXLE;
  1152. DELETE FROM `waypoints` WHERE `entry`=@AXLE;
  1153. INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES
  1154. (@AXLE,1,-4627.793,-3176.207,41.40616, 'Axle'),
  1155. (@AXLE,2,-4617.293,-3178.556,34.95082, 'Axle'),
  1156. (@AXLE,3,-4615.726,-3176.381,34.81108, 'Axle'),
  1157. (@AXLE,4,-4618.000,-3175.210,34.81240, 'Axle'),
  1158. (@AXLE,5,-4615.726,-3176.381,34.81108, 'Axle'),
  1159. (@AXLE,6,-4617.293,-3178.556,34.95082, 'Axle'),
  1160. (@AXLE,7,-4627.793,-3176.207,41.40616, 'Axle'),
  1161. (@AXLE,8,-4629.937,-3176.124,41.22349, 'Axle');
  1162. -- Text for Axle
  1163. DELETE FROM `creature_text` WHERE `entry` IN (@AXLE);
  1164. INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
  1165. (@AXLE,0,0,'I thought we talked about this, Brogg. You can''t stay in this building. Sure, it can house you, but there''s no room for anyone else!',12,0,100,1,0,0,'Axle'),
  1166. (@AXLE,1,0,'Yes, we said you can stay here, but this building is our headquarters! All of our manuals and blueprints are stored here!',12,0,100,1,0,0,'Axle'),
  1167. (@AXLE,2,0,'I''m inclined to say they made ogres too big! I can see I''m not going to convince you to move now, but don''t think this is permanent!',12,0,100,1,0,0,'Axle');
  1168. -- Text for Brogg
  1169. DELETE FROM `creature_text` WHERE `entry` IN (@BROGG);
  1170. INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
  1171. (@BROGG,0,0,'You said Brogg could stay here! You promised Brogg you'' help regain Stonemaul clan Mound!',12,0,100,1,0,0,'Brogg'),
  1172. (@BROGG,1,0,'But this the only building that fit Brogg! Goblins make buildings too small!',12,0,100,1,0,0,'Brogg');
  1173. UPDATE `creature` SET `MovementType`=0 WHERE `guid`=18594;
  1174. DELETE FROM `creature_addon` WHERE `guid`=18594;
  1175. DELETE FROM `waypoint_data` WHERE `id`=185940;
  1176. UPDATE `creature` SET `MovementType`=0 WHERE `guid`=18597;
  1177. DELETE FROM `creature_addon` WHERE `guid`=18597;
  1178. DELETE FROM `waypoint_data` WHERE `id`=185970;
  1179. UPDATE `creature` SET `MovementType`=0 WHERE `guid`=18598;
  1180. DELETE FROM `creature_addon` WHERE `guid`=18598;
  1181. DELETE FROM `waypoint_data` WHERE `id`=185980;
  1182. UPDATE `creature` SET `MovementType`=0 WHERE `guid`=18599;
  1183. DELETE FROM `creature_addon` WHERE `guid`=18599;
  1184. DELETE FROM `waypoint_data` WHERE `id`=185990;
  1185. UPDATE `waypoint_data` SET `action`=0 WHERE `action` BETWEEN 14 AND 21;
  1186. DELETE FROM `db_script_string` WHERE `entry` BETWEEN 2000005010 AND 2000005017;
  1187. DELETE FROM `waypoint_scripts` WHERE `dataint` BETWEEN 2000005010 AND 2000005017;
  1188. /*
  1189. * sql\updates\world\2013_06_30_15_world_waypoints.sql
  1190. */
  1191. -- Pathing for Silverback Patriarch Entry: 1558
  1192. SET @NPC := 749;
  1193. SET @PATH := @NPC * 10;
  1194. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-13838.81,`position_y`=-41.79492,`position_z`=57.10373 WHERE `guid`=@NPC;
  1195. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  1196. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  1197. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  1198. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  1199. (@PATH,1,-13838.81,-41.79492,57.10373,0,0,0,0,100,0),
  1200. (@PATH,2,-13838.5,-38.40104,57.65744,0,0,0,0,100,0),
  1201. (@PATH,3,-13836.35,-38.66819,59.79758,0,0,0,0,100,0),
  1202. (@PATH,4,-13832.86,-39.19607,63.04682,0,0,0,0,100,0),
  1203. (@PATH,5,-13831.31,-36.38173,64.45819,0,0,0,0,100,0),
  1204. (@PATH,6,-13830.13,-33.02333,65.43832,0,0,0,0,100,0),
  1205. (@PATH,7,-13828.11,-29.58236,66.1478,0,0,0,0,100,0),
  1206. (@PATH,8,-13824.51,-25.85015,65.75058,0,0,0,0,100,0),
  1207. (@PATH,9,-13830.01,-34.07888,65.5036,0,0,0,0,100,0),
  1208. (@PATH,10,-13831.8,-38.61513,63.99628,0,0,0,0,100,0),
  1209. (@PATH,11,-13833.62,-39.39497,62.43454,0,0,0,0,100,0),
  1210. (@PATH,12,-13836.13,-38.83323,60.02853,0,0,0,0,100,0),
  1211. (@PATH,13,-13838.13,-38.85352,58.11642,0,0,0,0,100,0),
  1212. (@PATH,14,-13839.39,-40.52235,56.70822,0,0,0,0,100,0),
  1213. (@PATH,15,-13838.61,-42.74751,57.09225,0,0,0,0,100,0),
  1214. (@PATH,16,-13836.2,-45.23134,57.99826,0,0,0,0,100,0),
  1215. (@PATH,17,-13835.5,-48.41515,57.52194,0,0,0,0,100,0),
  1216. (@PATH,18,-13836.58,-51.4235,56.96213,0,0,0,0,100,0),
  1217. (@PATH,19,-13836.19,-54.46452,56.9155,0,0,0,0,100,0),
  1218. (@PATH,20,-13833.54,-58.13335,56.65427,0,0,0,0,100,0),
  1219. (@PATH,21,-13829.67,-61.67665,56.68818,0,0,0,0,100,0),
  1220. (@PATH,22,-13826.99,-63.81337,56.73749,0,0,0,0,100,0),
  1221. (@PATH,23,-13832.18,-58.75868,56.71039,0,0,0,0,100,0),
  1222. (@PATH,24,-13835.33,-53.75391,57.13693,0,0,0,0,100,0),
  1223. (@PATH,25,-13835.29,-48.64996,57.6257,0,0,0,0,100,0),
  1224. (@PATH,26,-13836.21,-45.25011,57.99411,0,0,0,0,100,0);
  1225. -- .go -13838.81 -41.79492 57.10373
  1226. -- Pathing for Bloodsail Deckhand Entry: 4505
  1227. SET @NPC := 2597;
  1228. SET @PATH := @NPC * 10;
  1229. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-14943.2,`position_y`=356.997,`position_z`=12.59546 WHERE `guid`=@NPC;
  1230. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  1231. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  1232. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  1233. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  1234. (@PATH,1,-14943.2,356.997,12.59546,0,0,0,0,100,0),
  1235. (@PATH,2,-14940.8,348.512,7.541732,0,0,0,0,100,0),
  1236. (@PATH,3,-14940.6,346.788,7.541214,0,0,0,0,100,0),
  1237. (@PATH,4,-14944.1,346.391,7.542305,0,0,0,0,100,0),
  1238. (@PATH,5,-14949.2,345.878,7.542548,0,0,0,0,100,0),
  1239. (@PATH,6,-14955.6,344.557,7.542547,0,0,0,0,100,0),
  1240. (@PATH,7,-14954.4,340.313,7.542553,0,0,0,0,100,0),
  1241. (@PATH,8,-14955.6,344.557,7.542547,0,0,0,0,100,0),
  1242. (@PATH,9,-14949.2,345.878,7.542548,0,0,0,0,100,0),
  1243. (@PATH,10,-14944.1,346.391,7.542305,0,0,0,0,100,0),
  1244. (@PATH,11,-14940.6,346.788,7.541214,0,0,0,0,100,0),
  1245. (@PATH,12,-14940.8,348.512,7.541732,0,0,0,0,100,0),
  1246. (@PATH,13,-14942.7,355.733,12.4607,0,0,0,0,100,0),
  1247. (@PATH,14,-14944.9,357.038,12.59546,0,0,0,0,100,0);
  1248. -- .go -14943.2 356.997 12.59546
  1249. -- Pathing for Bloodsail Deckhand Entry: 4505
  1250. SET @NPC := 2629;
  1251. SET @PATH := @NPC * 10;
  1252. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-14979.3,`position_y`=265.158,`position_z`=7.921213 WHERE `guid`=@NPC;
  1253. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  1254. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  1255. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  1256. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  1257. (@PATH,1,-14979.3,265.158,7.921213,0,0,0,0,100,0),
  1258. (@PATH,2,-14974.15,264.915,7.921058,0,0,0,0,100,0),
  1259. (@PATH,3,-14968.1,264.92,4.665063,0,0,0,0,100,0),
  1260. (@PATH,4,-14965.3,267.002,4.658327,0,0,0,0,100,0),
  1261. (@PATH,5,-14975.79,269.4849,0.9351397,0,0,0,0,100,0),
  1262. (@PATH,6,-14965.2,268.908,4.658086,0,0,0,0,100,0),
  1263. (@PATH,7,-14965,264.917,4.657606,0,0,0,0,100,0),
  1264. (@PATH,8,-14968.2,264.917,4.665308,0,0,0,0,100,0),
  1265. (@PATH,9,-14974.2,264.797,7.881999,0,0,0,0,100,0);
  1266. -- .go -14979.3 265.158 7.921213
  1267. -- Pathing for Bloodsail Elder Magus Entry: 1653
  1268. SET @NPC := 2592;
  1269. SET @PATH := @NPC * 10;
  1270. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-14956.4,`position_y`=353.116,`position_z`=7.54255 WHERE `guid`=@NPC;
  1271. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  1272. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  1273. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  1274. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  1275. (@PATH,1,-14956.4,353.116,7.54255,0,0,0,0,100,0),
  1276. (@PATH,2,-14949.4,356.132,7.54255,0,0,0,0,100,0),
  1277. (@PATH,3,-14944.9,357.394,7.544742,0,0,0,0,100,0),
  1278. (@PATH,4,-14936.1,355.807,7.542393,0,0,0,0,100,0),
  1279. (@PATH,5,-14934.4,350.286,7.54255,0,0,0,0,100,0),
  1280. (@PATH,6,-14936.1,355.807,7.542393,0,0,0,0,100,0),
  1281. (@PATH,7,-14944.9,357.394,7.544742,0,0,0,0,100,0),
  1282. (@PATH,8,-14949.4,356.132,7.54255,0,0,0,0,100,0),
  1283. (@PATH,9,-14956.4,353.116,7.54255,0,0,0,0,100,0),
  1284. (@PATH,10,-14962.9,351.408,7.544349,0,0,0,0,100,0),
  1285. (@PATH,11,-14971.6,347.196,7.542575,0,0,0,0,100,0),
  1286. (@PATH,12,-14962.9,351.408,7.544349,0,0,0,0,100,0);
  1287. -- .go -14956.4 353.116 7.54255
  1288. -- Pathing for Bloodsail Sea Dog Entry: 1565
  1289. SET @NPC := 2633;
  1290. SET @PATH := @NPC * 10;
  1291. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-14998.4,`position_y`=261.767,`position_z`=7.921235 WHERE `guid`=@NPC;
  1292. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  1293. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  1294. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  1295. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  1296. (@PATH,1,-14998.4,261.767,7.921235,0,0,0,0,100,0),
  1297. (@PATH,2,-14995,261.635,7.921237,0,0,0,0,100,0),
  1298. (@PATH,3,-14993.8,266.361,6.306773,0,0,0,0,100,0),
  1299. (@PATH,4,-14992.8,266.477,6.306773,0,0,0,0,100,0),
  1300. (@PATH,5,-14993.18,266.3545,6.306773,0,0,0,0,100,0),
  1301. (@PATH,6,-14993.3,261.415,7.922341,0,0,0,0,100,0),
  1302. (@PATH,7,-14994.1,256.648,7.922004,0,0,0,0,100,0),
  1303. (@PATH,8,-14995,261.635,7.921237,0,0,0,0,100,0),
  1304. (@PATH,9,-14998.4,261.767,7.921235,0,0,0,0,100,0),
  1305. (@PATH,10,-14999.5,257.26,7.921242,0,0,0,0,100,0),
  1306. (@PATH,11,-14999.7,269.5383,7.921235,0,0,0,0,100,0),
  1307. (@PATH,12,-14999.24,270.291,7.921232,0,0,0,0,100,0),
  1308. (@PATH,13,-14994.7,270.899,7.921236,0,0,0,0,100,0),
  1309. (@PATH,14,-14993.9,275.938,7.921239,0,0,0,0,100,0),
  1310. (@PATH,15,-14992.9,271.8,7.921234,0,0,0,0,100,0),
  1311. (@PATH,16,-14987.2,270.889,7.923097,0,0,0,0,100,0),
  1312. (@PATH,17,-14982.9,272.309,7.921443,0,0,0,0,100,0),
  1313. (@PATH,18,-14982.7,275.998,7.921844,0,0,0,0,100,0),
  1314. (@PATH,19,-14982.8,272.679,7.921484,0,0,0,0,100,0),
  1315. (@PATH,20,-14977,272.87,7.921478,0,0,0,0,100,0),
  1316. (@PATH,21,-14976.6,275.734,7.921723,0,0,0,0,100,0),
  1317. (@PATH,22,-14977,257.986,7.921237,0,0,0,0,100,0),
  1318. (@PATH,23,-14977.7,261.219,7.921233,0,0,0,0,100,0),
  1319. (@PATH,24,-14982.1,261.434,7.921239,0,0,0,0,100,0),
  1320. (@PATH,25,-14982.8,258.325,7.92124,0,0,0,0,100,0),
  1321. (@PATH,26,-14982.1,261.434,7.921239,0,0,0,0,100,0),
  1322. (@PATH,27,-14979.8,261.929,7.921233,0,0,0,0,100,0),
  1323. (@PATH,28,-14977,257.986,7.921237,0,0,0,0,100,0),
  1324. (@PATH,29,-14977,272.87,7.921478,0,0,0,0,100,0),
  1325. (@PATH,30,-14982.8,272.679,7.921484,0,0,0,0,100,0),
  1326. (@PATH,31,-14982.7,275.998,7.921844,0,0,0,0,100,0),
  1327. (@PATH,32,-14982.9,272.309,7.921443,0,0,0,0,100,0),
  1328. (@PATH,33,-14987.2,270.889,7.923097,0,0,0,0,100,0),
  1329. (@PATH,34,-14992.73,271.7733,7.921853,0,0,0,0,100,0),
  1330. (@PATH,35,-14993.9,275.938,7.921239,0,0,0,0,100,0),
  1331. (@PATH,36,-14994.7,270.899,7.921236,0,0,0,0,100,0),
  1332. (@PATH,37,-14999.24,270.291,7.921235,0,0,0,0,100,0),
  1333. (@PATH,38,-14999.4,275.372,7.92124,0,0,0,0,100,0),
  1334. (@PATH,39,-14999.7,269.592,7.921232,0,0,0,0,100,0),
  1335. (@PATH,40,-14999.5,257.26,7.921242,0,0,0,0,100,0);
  1336. -- .go -14998.4 261.767 7.921235
  1337. -- Pathing for Bloodsail Deckhand Entry: 4505
  1338. SET @NPC := 2598;
  1339. SET @PATH := @NPC * 10;
  1340. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-14960.1,`position_y`=342.326,`position_z`=7.543998 WHERE `guid`=@NPC;
  1341. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  1342. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  1343. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  1344. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  1345. (@PATH,1,-14960.1,342.326,7.543998,0,0,0,0,100,0),
  1346. (@PATH,2,-14956.5,345.042,7.542546,0,0,0,0,100,0),
  1347. (@PATH,3,-14951.4,349.271,7.542691,0,0,0,0,100,0),
  1348. (@PATH,4,-14956.5,345.042,7.542546,0,0,0,0,100,0),
  1349. (@PATH,5,-14960.1,342.326,7.543998,0,0,0,0,100,0),
  1350. (@PATH,6,-14969,340.03,7.542808,0,0,0,0,100,0),
  1351. (@PATH,7,-14974.56,345.089,7.542461,0,0,0,0,100,0),
  1352. (@PATH,8,-14977,344.637,7.117788,0,0,0,0,100,0),
  1353. (@PATH,9,-14982.7,343.339,4.284928,0,0,0,0,100,0),
  1354. (@PATH,10,-14984.6,341.158,4.279126,0,0,0,0,100,0),
  1355. (@PATH,11,-14982.7,343.339,4.284928,0,0,0,0,100,0),
  1356. (@PATH,12,-14977,344.637,7.117788,0,0,0,0,100,0),
  1357. (@PATH,13,-14974.6,345.128,7.542428,0,0,0,0,100,0),
  1358. (@PATH,14,-14969,340.03,7.542808,0,0,0,0,100,0);
  1359. -- .go -14960.1 342.326 7.543998
  1360. -- Pathing for Guard Lasiter Entry: 4973
  1361. SET @NPC := 30458;
  1362. SET @PATH := @NPC * 10;
  1363. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3772.623,`position_y`=-4533.357,`position_z`=11.58731 WHERE `guid`=@NPC;
  1364. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  1365. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  1366. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  1367. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  1368. (@PATH,1,-3772.623,-4533.357,11.58731,0,22000,0,0,100,0),
  1369. (@PATH,2,-3770.078,-4531.741,11.54261,0,24000,0,0,100,0);
  1370. -- .go -3772.623 -4533.357 11.58731
  1371. -- Pathing for Privateer Entry: 23620
  1372. SET @NPC := 31209;
  1373. SET @PATH := @NPC * 10;
  1374. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-4060.446,`position_y`=-4506.618,`position_z`=6.030344 WHERE `guid`=@NPC;
  1375. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  1376. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  1377. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  1378. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  1379. (@PATH,1,-4060.446,-4506.618,6.030344,0,0,0,0,100,0),
  1380. (@PATH,2,-4059.9,-4511.36,6.031829,0,0,0,0,100,0),
  1381. (@PATH,3,-4060.427,-4506.697,6.03091,0,0,0,0,100,0),
  1382. (@PATH,4,-4066.929,-4501.822,6.031856,0,0,0,0,100,0),
  1383. (@PATH,5,-4072.242,-4506.002,6.032337,0,0,0,0,100,0),
  1384. (@PATH,6,-4066.929,-4501.822,6.031856,0,0,0,0,100,0);
  1385. -- .go -4060.446 -4506.618 6.030344
  1386. -- Pathing for Sergeant Amelyn Entry: 23835
  1387. SET @NPC := 18589;
  1388. SET @PATH := @NPC * 10;
  1389. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3839.592,`position_y`=-4562.359,`position_z`=8.639986 WHERE `guid`=@NPC;
  1390. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  1391. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,4097,2402, '');
  1392. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  1393. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  1394. (@PATH,1,-3839.592,-4562.359,8.639986,0,0,0,0,100,0),
  1395. (@PATH,2,-3834.418,-4560.115,8.764986,0,0,0,0,100,0),
  1396. (@PATH,3,-3831.503,-4554.752,9.017159,0,0,0,0,100,0),
  1397. (@PATH,4,-3832.31,-4547.42,9.267159,0,0,0,0,100,0),
  1398. (@PATH,5,-3837.411,-4543.646,9.264986,0,0,0,0,100,0),
  1399. (@PATH,6,-3843.691,-4542.708,9.139986,0,0,0,0,100,0),
  1400. (@PATH,7,-3848.835,-4545.314,8.889986,0,0,0,0,100,0),
  1401. (@PATH,8,-3852.152,-4551.402,8.514986,0,0,0,0,100,0),
  1402. (@PATH,9,-3849.583,-4557.867,8.514986,0,0,0,0,100,0),
  1403. (@PATH,10,-3846.69,-4558.219,8.514986,0,0,0,0,100,0),
  1404. (@PATH,11,-3846.69,-4558.219,8.514986,3.892084,50000,0,0,100,0),
  1405. (@PATH,12,-3844.929,-4561.821,8.514986,0,0,0,0,100,0);
  1406. -- .go -3839.592 -4562.359 8.639986
  1407. -- Pathing for Zanzil Zombie Entry: 1488
  1408. SET @NPC := 2244;
  1409. SET @PATH := @NPC * 10;
  1410. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-13646.8,`position_y`=-274.549,`position_z`=8.300073 WHERE `guid`=@NPC;
  1411. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  1412. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  1413. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  1414. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  1415. (@PATH,1,-13646.8,-274.549,8.300073,0,0,0,0,100,0),
  1416. (@PATH,2,-13634.3,-280.575,8.300073,0,0,0,0,100,0),
  1417. (@PATH,3,-13624.5,-285.943,8.300567,0,0,0,0,100,0),
  1418. (@PATH,4,-13622.9,-293.137,8.425567,0,0,0,0,100,0),
  1419. (@PATH,5,-13635.7,-313.58,8.309404,0,0,0,0,100,0),
  1420. (@PATH,6,-13641.1,-314.866,8.184404,0,0,0,0,100,0),
  1421. (@PATH,7,-13649.3,-309.953,8.184404,0,0,0,0,100,0),
  1422. (@PATH,8,-13655,-302.635,8.184404,0,0,0,0,100,0),
  1423. (@PATH,9,-13656,-290.47,8.300073,0,0,0,0,100,0);
  1424. -- 0xF53005D300674CA0 .go -13646.8 -274.549 8.300073
  1425. /*
  1426. * sql\updates\world\2013_06_30_16_world_misc.sql
  1427. */
  1428. -- Add SAI to Warosh
  1429. SET @WAROSH := 10799;
  1430. UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@WAROSH;
  1431. DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@WAROSH;
  1432. INSERT INTO `smart_scripts` (`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`) VALUES
  1433. (@WAROSH,0,0,0,1,0,100,0,20000,20000,20000,20000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Warosh - OOC - Say 0');
  1434. -- Text for Warosh
  1435. DELETE FROM `creature_text` WHERE `entry` IN (@WAROSH);
  1436. INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
  1437. (@WAROSH,0,0,'%s cries.',16,0,100,0,0,0,'Warosh'),
  1438. (@WAROSH,0,1,'%s snorts.',16,0,100,0,0,0,'Warosh'),
  1439. (@WAROSH,0,2,'%s grumbles.',16,0,100,0,0,0,'Warosh');
  1440. -- Add missing and path Warosh Entry: 10799
  1441. SET @NPC := 17;
  1442. SET @PATH := @NPC * 10;
  1443. DELETE FROM `creature` WHERE `guid`=@NPC;
  1444. INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`) VALUES
  1445. (@NPC,10799,229,1,1,0,0,81.104,-479.903,30.86245,3.124139,7200,0,0,1,0,2);
  1446. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  1447. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  1448. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  1449. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  1450. (@PATH,1,81.104,-479.903,30.86245,0,0,0,0,100,0),
  1451. (@PATH,2,73.26363,-487.8571,27.89152,0,0,0,0,100,0),
  1452. (@PATH,3,54.61135,-489.3818,28.67157,0,0,0,0,100,0),
  1453. (@PATH,4,44.71681,-491.037,29.5888,0,0,0,0,100,0),
  1454. (@PATH,5,52.57936,-511.4861,29.06968,0,0,0,0,100,0),
  1455. (@PATH,6,50.58394,-533.1805,26.7767,0,0,0,0,100,0),
  1456. (@PATH,7,50.20008,-560.1547,30.55615,0,0,0,0,100,0),
  1457. (@PATH,8,50.46281,-576.035,30.58308,0,0,0,0,100,0),
  1458. (@PATH,9,39.68649,-579.5075,31.06343,0,0,0,0,100,0),
  1459. (@PATH,10,17.70853,-578.2368,26.5612,0,0,0,0,100,0),
  1460. (@PATH,11,-5.465746,-576.0652,29.19087,0,0,0,0,100,0),
  1461. (@PATH,12,-27.13421,-574.506,29.19087,0,0,0,0,100,0),
  1462. (@PATH,13,-47.66818,-572.6104,29.19087,0,0,0,0,100,0),
  1463. (@PATH,14,-60.44478,-573.6581,29.19087,0,0,0,0,100,0),
  1464. (@PATH,15,-43.34514,-571.0668,29.19087,0,0,0,0,100,0),
  1465. (@PATH,16,-36.48037,-563.5282,29.19087,0,0,0,0,100,0),
  1466. (@PATH,17,-48.5064,-537.1736,29.19087,0,0,0,0,100,0),
  1467. (@PATH,18,-36.48037,-563.5282,29.19087,0,0,0,0,100,0),
  1468. (@PATH,19,-43.34514,-571.0668,29.19087,0,0,0,0,100,0),
  1469. (@PATH,20,-60.44478,-573.6581,29.19087,0,0,0,0,100,0),
  1470. (@PATH,21,-47.66818,-572.6104,29.19087,0,0,0,0,100,0),
  1471. (@PATH,22,-27.13421,-574.506,29.19087,0,0,0,0,100,0),
  1472. (@PATH,23,-5.465746,-576.0652,29.19087,0,0,0,0,100,0),
  1473. (@PATH,24,17.42213,-578.2202,26.65305,0,0,0,0,100,0),
  1474. (@PATH,25,39.67855,-579.5101,31.09808,0,0,0,0,100,0),
  1475. (@PATH,26,50.46281,-576.035,30.58308,0,0,0,0,100,0),
  1476. (@PATH,27,50.20008,-560.1547,30.55615,0,0,0,0,100,0),
  1477. (@PATH,28,50.58394,-533.1805,26.7767,0,0,0,0,100,0),
  1478. (@PATH,29,52.60767,-511.5597,29.21094,0,0,0,0,100,0),
  1479. (@PATH,30,44.71681,-491.037,29.5888,0,0,0,0,100,0),
  1480. (@PATH,31,54.37603,-489.401,28.65347,0,51000,0,0,100,0),
  1481. (@PATH,32,73.26363,-487.8571,27.89152,0,0,0,0,100,0),
  1482. (@PATH,33,81.104,-479.903,30.86245,0,0,0,0,100,0),
  1483. (@PATH,34,78.66329,-463.2451,35.48121,0,0,0,0,100,0),
  1484. (@PATH,35,71.58976,-436.8153,41.41042,0,0,0,0,100,0),
  1485. (@PATH,36,58.41603,-418.7091,45.02646,0,0,0,0,100,0),
  1486. (@PATH,37,49.90298,-402.1319,48.80593,0,0,0,0,100,0),
  1487. (@PATH,38,46.01845,-387.0023,48.69103,0,0,0,0,100,0),
  1488. (@PATH,39,49.90298,-402.1319,48.80593,0,0,0,0,100,0),
  1489. (@PATH,40,58.41603,-418.7091,45.02646,0,0,0,0,100,0),
  1490. (@PATH,41,71.58976,-436.8153,41.41042,0,0,0,0,100,0);
  1491. -- 0xF130002A2F01FCD8 .go 81.104 -479.903 30.86245
  1492. -- Pathing for Spirestone Butcher Entry: 9219
  1493. SET @NPC := 43523;
  1494. SET @PATH := @NPC * 10;
  1495. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-36.58493,`position_y`=-441.9179,`position_z`=31.83226 WHERE `guid`=@NPC;
  1496. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  1497. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  1498. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  1499. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  1500. (@PATH,1,-36.58493,-441.9179,31.83226,0,0,0,0,100,0),
  1501. (@PATH,2,-37.40374,-482.51,29.62917,0,0,0,0,100,0),
  1502. (@PATH,3,-37.18431,-487.9846,29.38416,0,0,0,0,100,0),
  1503. (@PATH,4,-37.40374,-482.51,29.62917,0,0,0,0,100,0),
  1504. (@PATH,5,-36.58493,-441.9179,31.83226,0,0,0,0,100,0),
  1505. (@PATH,6,-37.03431,-412.0911,31.57773,0,0,0,0,100,0);
  1506. -- .go -36.58493 -441.9179 31.83226
  1507. -- Pathing for Smolderthorn Mystic Entry: 9239
  1508. SET @NPC := 43527;
  1509. SET @PATH := @NPC * 10;
  1510. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2.398426,`position_y`=-461.1257,`position_z`=16.14088 WHERE `guid`=@NPC;
  1511. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  1512. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  1513. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  1514. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  1515. (@PATH,1,-2.398426,-461.1257,16.14088,0,0,0,0,100,0),
  1516. (@PATH,2,2.359199,-464.0517,16.06489,0,0,0,0,100,0),
  1517. (@PATH,3,2.3592,-464.0517,16.06489,2.216568,21000,0,0,100,0),
  1518. (@PATH,4,1.288787,-463.5652,16.07071,0,0,0,0,100,0),
  1519. (@PATH,5,-2.044648,-461.8262,16.13557,0,0,0,0,100,0),
  1520. (@PATH,6,-7.927852,-461.18,16.73,0,0,0,0,100,0),
  1521. (@PATH,7,-15.24469,-460.3805,16.55355,0,0,0,0,100,0),
  1522. (@PATH,8,-21.31746,-455.7214,16.58231,0,0,0,0,100,0),
  1523. (@PATH,9,-22.68492,-451.7054,16.6012,0,0,0,0,100,0),
  1524. (@PATH,10,-22.68492,-451.7054,16.6012,0.7504916,23000,0,0,100,0),
  1525. (@PATH,11,-19.41172,-457.9942,16.57828,0,0,0,0,100,0),
  1526. (@PATH,12,-13.95378,-460.6527,16.58616,0,0,0,0,100,0),
  1527. (@PATH,13,-7.328142,-460.9917,16.72944,0,0,0,0,100,0);
  1528. -- .go -2.398426 -461.1257 16.14088
  1529. /*
  1530. * sql\updates\world\2013_07_01_00_world_misc.sql
  1531. */
  1532. -- Text for Halycon
  1533. DELETE FROM `creature_text` WHERE `entry` IN (10220);
  1534. INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
  1535. (10220,0,0,'%s lets loose a guttural growl as her body collapses. A horrifying howl can be heard echoing through the halls of Blackrock Spire. Something is very, very angry.',16,0,100,0,0,0,'Halycon DEATH');
  1536. -- Text for Urok Doomhowl
  1537. DELETE FROM `creature_text` WHERE `entry` IN (10584);
  1538. INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
  1539. (10584,0,0,'You have summoned me, fool! Now DIE!',14,0,100,0,0,0,'Urok Doomhowl SUMMON'),
  1540. (10584,1,0,'Me smash! You die!',12,0,100,0,0,0,'Urok Doomhowl AGGRO');
  1541. DELETE FROM `creature` WHERE `guid`=44457;
  1542. DELETE FROM `creature` WHERE `guid`=45844;
  1543. DELETE FROM `gameobject` WHERE `id`=175584;
  1544. DELETE FROM `creature_ai_scripts` WHERE `creature_id`=10268;
  1545. DELETE FROM `creature_ai_scripts` WHERE `creature_id`=10584;
  1546. UPDATE `gameobject` SET `position_x`=-14.35011,`position_y`=-395.8278,`position_z`=48.50652,`orientation`=3.141593,`rotation2`=-1,`rotation3`=0 WHERE `guid`=99791;
  1547. UPDATE `creature_template` SET `AIName`= '', `ScriptName`= 'boss_gizrul_the_slavener' WHERE `entry`=10268;
  1548. UPDATE `creature_template` SET `AIName`= '', `ScriptName`= 'boss_urok_doomhowl' WHERE `entry`=10584;
  1549. -- Pathing for Gizrul the Slavener Entry: 10268
  1550. SET @PATH := 402450;
  1551. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  1552. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  1553. (@PATH,1,-166.7968,-381.5575,64.40081,0,0,1,0,100,0),
  1554. (@PATH,2,-166.8486,-370.3099,64.40081,0,0,1,0,100,0),
  1555. (@PATH,3,-166.4099,-356.3583,64.40081,0,0,1,0,100,0),
  1556. (@PATH,4,-166.0918,-341.4831,64.40081,0,0,1,0,100,0),
  1557. (@PATH,5,-168.4625,-328.9532,64.40081,0,0,1,0,100,0),
  1558. (@PATH,6,-173.3950,-325.9816,64.40932,0,0,1,0,100,0);
  1559. /*
  1560. * sql\updates\world\2013_07_01_01_world_misc.sql
  1561. */
  1562. DELETE FROM `waypoint_scripts` WHERE `id` BETWEEN 16 AND 18;
  1563. DELETE FROM `db_script_string` WHERE `entry` IN (2000000107,2000000108);
  1564. INSERT INTO `db_script_string` (`entry`,`content_default`) VALUES
  1565. (2000000107, 'These aren''t Shango''s tracks.'),
  1566. (2000000108, 'These tracks must belong to Shango.');
  1567. /*
  1568. * sql\updates\world\2013_07_01_02_world_creature.sql
  1569. */
  1570. DELETE FROM `creature` WHERE `guid` IN (44456,45095,40507,40508);
  1571. INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`) VALUES
  1572. (44456,9197,229,1,1,0,0,-40.63613,-372.2156,50.56116,0.8552113,10800,5,0,1,0,1),
  1573. (45095,9197,229,1,1,0,0,-22.85546,-377.8695,49.04873,6.161012,10800,5,0,1,0,1),
  1574. (40507,9216,229,1,1,0,0,-44.31393,-364.7873,52.05709,1.832596,10800,5,0,1,0,1),
  1575. (40508,9216,229,1,1,0,0,-16.89405,-385.1013,48.95151,0.5934119,10800,5,0,1,0,1);
  1576. /*
  1577. * sql\updates\world\2013_07_01_03_world_creature_template.sql
  1578. */
  1579. UPDATE `creature_template` SET `ScriptName`='' WHERE `entry` IN (14282,10876,14389);
  1580. UPDATE `creature_template` SET `AIName`='' WHERE `entry` IN (11946,11947,11948,11949,14762,14763,14764,14765,14772,14773,14776,14777);
  1581. DELETE FROM `smart_scripts` WHERE `entryorguid` IN (11947,11948);
  1582. DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (14762,14763,14764,14765,14772,14773,14776,14777);
  1583. /*
  1584. * sql\updates\world\2013_07_01_04_world_gameobject.sql
  1585. */
  1586. UPDATE `gameobject_template` SET `flags`=16 WHERE `entry` IN (181366,193426);
  1587. UPDATE `gameobject` SET `position_x`=2516.595,`position_y`=-2946.82,`position_z`=245.5516,`orientation`=5.480335,`rotation2`=0,`rotation3`=0,`animprogress`=255 WHERE `id` IN (181366,193426);
  1588. /*
  1589. * sql\updates\world\2013_07_01_05_world_creature_text.sql
  1590. */
  1591. SET @AKAMA := 23089;
  1592. SET @ILLIDAN := 22917;
  1593. SET @FLAMEOFAZZINOTH := 22997;
  1594. SET @MAIEV := 23197;
  1595. DELETE FROM `creature_text` WHERE `entry` IN (@AKAMA, @ILLIDAN, @FLAMEOFAZZINOTH, @MAIEV);
  1596. INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
  1597. (@AKAMA,0,0, "Be wary friends, The Betrayer meditates in the court just beyond.",14,0,100,0,0,11388, 'Akama SAY_AKAMA_BEWARE'),
  1598. (@AKAMA,1,0, "I'll deal with these mongrels. Strike now, friends! Strike at the betrayer!",14,0,100,0,0,11390, 'Akama SAY_AKAMA_LEAVE'),
  1599. (@ILLIDAN,0,0, "Come, my minions. Deal with this traitor as he deserves!",14,0,100,0,0,11465, 'Illidan SAY_ILLIDAN_MINION'),
  1600. (@ILLIDAN,1,0, "Who shall be next to taste my blades?!",14,0,100,0,0,11473, 'Illidan SAY_ILLIDAN_KILL'),
  1601. (@ILLIDAN,1,1, "This is too easy!",14,0,100,0,0,11472, 'Illidan SAY_ILLIDAN_KILL'),
  1602. (@ILLIDAN,2,0, "I will not be touched by rabble such as you!",14,0,100,0,0,11479, 'Illidan SAY_ILLIDAN_TAKEOFF'),
  1603. (@ILLIDAN,3,0, "Behold the flames of Azzinoth!",14,0,100,0,0,11480, 'Illidan SAY_ILLIDAN_SUMMONFLAMES'),
  1604. (@ILLIDAN,4,0, "Stare into the eyes of the Betrayer!",14,0,100,0,0,11481, 'Illidan SAY_ILLIDAN_EYE_BLAST'),
  1605. (@ILLIDAN,5,0, "Behold the power... of the demon within!",14,0,100,0,0,11475, 'Illidan SAY_ILLIDAN_MORPH'),
  1606. (@ILLIDAN,6,0, "You've wasted too much time mortals, now you shall fall!",14,0,100,0,0,11474, 'Illidan SAY_ILLIDAN_ENRAGE'),
  1607. (@ILLIDAN,7,0, "I can feel your hatred.",14,0,100,0,0,11467, 'Illidan SAY_ILLIDAN_TAUNT'),
  1608. (@ILLIDAN,7,1, "Give in to your fear!",14,0,100,0,0,11468, 'Illidan SAY_ILLIDAN_TAUNT'),
  1609. (@ILLIDAN,7,2, "You know nothing of power!",14,0,100,0,0,11469, 'Illidan SAY_ILLIDAN_TAUNT'),
  1610. (@ILLIDAN,7,3, "Such... arrogance!",14,0,100,0,0,11471, 'Illidan SAY_ILLIDAN_TAUNT'),
  1611. (@FLAMEOFAZZINOTH,0,0, "%s sets its gaze on $N!",16,0,100,0,0,0, 'Flame of Azzinoth EMOTE_AZZINOTH_GAZE'),
  1612. (@MAIEV,0,0, "That is for Naisha!",14,0,100,0,0,11493, 'Maiev Shadowsong SAY_MAIEV_SHADOWSONG_TAUNT'),
  1613. (@MAIEV,0,1, "Bleed as I have bled!",14,0,100,0,0,11494, 'Maiev Shadowsong SAY_MAIEV_SHADOWSONG_TAUNT'),
  1614. (@MAIEV,0,2, "There shall be no prison for you this time!",14,0,100,0,0,11495, 'Maiev Shadowsong SAY_MAIEV_SHADOWSONG_TAUNT'),
  1615. (@MAIEV,0,3, "Meet your end, demon!",14,0,100,0,0,11500, 'Maiev Shadowsong SAY_MAIEV_SHADOWSONG_TAUNT');
  1616. -- The time has come to face Illidan, $N. Are you ready?
  1617. UPDATE `creature_template` SET `gossip_menu_id`=8713 WHERE `entry`=23089;
  1618. DELETE FROM `gossip_menu` WHERE `entry`=8713 AND `text_id`=10960;
  1619. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (8713, 10960);
  1620. DELETE FROM `gossip_menu_option` WHERE `menu_id`=8713 AND `id`=0;
  1621. INSERT INTO `gossip_menu_option` (`menu_id`, `id`,`option_icon`,`option_text`,`box_coded`,`box_money`,`box_text`) VALUES
  1622. (8713, 0, 0, 'I''m ready, Akama.', 0, 0, '');
  1623. /*
  1624. * sql\updates\world\2013_07_01_06_world_gossip.sql
  1625. */
  1626. -- I sense you've cleared the path to my brethren. My connection to them and to the temple is still strong. Do you wish to delve deeper inside?
  1627. UPDATE `creature_template` SET `gossip_menu_id`=8750 WHERE `entry`=23411;
  1628. DELETE FROM `gossip_menu` WHERE `entry`=8750 AND `text_id`=11081;
  1629. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (8750, 11081);
  1630. DELETE FROM `gossip_menu_option` WHERE (`menu_id`=8750 AND `id`=1);
  1631. INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `box_coded`, `box_money`, `box_text`) VALUES
  1632. (8750, 1, 0, 'Take me to the other Deathsworn, Olum.', 0, 0, '');
  1633. /*
  1634. * sql\updates\world\2013_07_02_00_world_gossip.sql
  1635. */
  1636. -- I sense you've cleared the path to my brethren. My connection to them and to the temple is still strong. Do you wish to delve deeper inside?
  1637. UPDATE `creature_template` SET `gossip_menu_id`=8750 WHERE `entry`=23411;
  1638. DELETE FROM `gossip_menu` WHERE `entry`=8750 AND `text_id`=11081;
  1639. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (8750, 11081);
  1640. DELETE FROM `gossip_menu_option` WHERE (`menu_id`=8750 AND `id`=1);
  1641. INSERT INTO `gossip_menu_option` (`menu_id`, `id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`box_text`) VALUES
  1642. (8750, 1, 0, 'Take me to the other Deathsworn, Olum.', 1, 1, '');
  1643. -- The time has come to face Illidan, $N. Are you ready?
  1644. UPDATE `creature_template` SET `gossip_menu_id`=8713 WHERE `entry`=23089;
  1645. DELETE FROM `gossip_menu` WHERE `entry`=8713 AND `text_id`=10960;
  1646. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (8713, 10960);
  1647. DELETE FROM `gossip_menu_option` WHERE `menu_id`=8713 AND `id`=0;
  1648. INSERT INTO `gossip_menu_option` (`menu_id`, `id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`box_text`) VALUES
  1649. (8713, 0, 0, 'I''m ready, Akama.', 1, 1, '');
  1650. /*
  1651. * sql\updates\world\2013_07_04_00_world_misc.sql
  1652. */
  1653. -- Fix some startup errors.
  1654. DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (11946,11949);
  1655. /*
  1656. * sql\updates\world\2013_07_04_01_world_razorfen_kraul.sql
  1657. */
  1658. SET @GUID := 56185;
  1659. DELETE FROM `gameobject` WHERE `id`=20920 OR `id`=300011;
  1660. INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES
  1661. (@GUID, 20920, 47, 1, 1, 2082.74, 1671.82, 61.2396, 3.66079, 0, 0, 0.966493, -0.256693, -43200, 100, 1),
  1662. (@GUID+1, 20920, 47, 1, 1, 2159.43, 1687.49, 57.5433, 3.66079, 0, 0, 0.966493, -0.256693, -43200, 100, 1),
  1663. (@GUID+2, 20920, 47, 1, 1, 2080.89, 1703.36, 56.6447, 0.553757, 0, 0, 0.273354, 0.961913, -43200, 100, 1),
  1664. (@GUID+3, 20920, 47, 1, 1, 2055.28, 1767.7, 58.4559, 2.98378, 0, 0, 0.996889, 0.0788245, -43200, 100, 1),
  1665. (@GUID+4, 20920, 47, 1, 1, 2196.64, 1827.96, 61.4706, 2.11277, 0, 0, 0.870583, 0.492022, -43200, 100, 1),
  1666. (@GUID+5, 20920, 47, 1, 1, 2030.32, 1867.61, 56.2866, 5.6777, 0, 0, 0.298139, -0.954522, -43200, 100, 1),
  1667. (@GUID+6, 20920, 47, 1, 1, 2091.33, 1861.73, 51.0341, 1.25355, 0, 0, 0.586536, 0.809923, -43200, 100, 1),
  1668. (@GUID+7, 20920, 47, 1, 1, 2200.15, 1897.64, 71.3191, 2.6492, 0, 0, 0.969846, 0.243717, -43200, 100, 1),
  1669. (@GUID+8, 20920, 47, 1, 1, 2075.75, 1742.04, 76.7184, 1.33994, 0, 0, 0.620962, 0.78384, -43200, 100, 1),
  1670. (@GUID+9, 20920, 47, 1, 1, 2126, 1661.15, 82.4824, 0.0220437, 0, 0, 0.0110216, 0.999939, -43200, 100, 1),
  1671. (@GUID+10, 20920, 47, 1, 1, 2207.92, 1596.91, 80.7375, 3.60582, 0, 0, 0.973182, -0.230035, -43200, 100, 1),
  1672. (@GUID+11, 20920, 47, 1, 1, 2156.98, 1542.26, 72.849, 2.43086, 0, 0, 0.937519, 0.347934, -43200, 100, 1),
  1673. (@GUID+12, 20920, 47, 1, 1, 2179.95, 1514.06, 69.0709, 0.778385, 0, 0, 0.379441, 0.925216, -43200, 100, 1),
  1674. (@GUID+13, 20920, 47, 1, 1, 2000.85, 1533.93, 80.3971, 4.919, 0, 0, 0.630419, -0.776255, -43200, 100, 1),
  1675. (@GUID+14, 20920, 47, 1, 1, 1991.49, 1608.53, 81.1601, 1.1004, 0, 0, 0.522858, 0.85242, -43200, 100, 1),
  1676. (@GUID+15, 300011, 47, 1, 1, 2072.84, 1582.57, 82.14, 0, 0, 0, 0, 1, -43200, 0, 1);
  1677. UPDATE `creature_template` SET `ScriptName`='npc_snufflenose_gopher' WHERE `entry`=4781;
  1678. DELETE FROM `spell_script_names` WHERE `spell_id`=8283;
  1679. INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
  1680. (8283, 'spell_snufflenose_command');
  1681. /*
  1682. * sql\updates\world\2013_07_04_02_world_misc.sql
  1683. */
  1684. UPDATE `creature_template` SET `ScriptName` = REPLACE(`ScriptName`, 'mob_', 'npc_') WHERE `ScriptName` LIKE 'mob\_%';
  1685. UPDATE `creature_template` SET `ScriptName` = REPLACE(`ScriptName`, 'mobs_', 'npc_') WHERE `ScriptName` LIKE 'mobs\_%';
  1686. UPDATE `spell_script_names` SET `ScriptName`='spell_trash_npc_glacial_strike' WHERE `ScriptName`='spell_trash_mob_glacial_strike';
  1687. /*
  1688. * sql\updates\world\2013_07_04_03_world_sai.sql
  1689. */
  1690. -- Quest: Standards and Practices (9910) / Ignore LOS for trigger spell
  1691. SET @SPELL := 32205; -- Place Mag'har Battle Standard
  1692. DELETE FROM `disables` WHERE `sourceType` = 0 AND `entry` = @SPELL;
  1693. INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES
  1694. (0, @SPELL, 64, '', '', 'Ignore LOS for Place Mag''har Battle Standard');
  1695. -- Quest: Hand of Iruxos (5381) / Attack Closest Player - Demon Spirit
  1696. SET @ENTRY := 11876; -- Demon Spirit
  1697. UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = @ENTRY;
  1698. DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0;
  1699. INSERT INTO `smart_scripts` (`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`) VALUES
  1700. (@ENTRY, 0, 0, 0, 54, 0, 100, 1, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 21, 100, 0, 0, 0, 0, 0, 0, 'Demon Spirit - Just Summoned - Attack Closest Player');
  1701. /*
  1702. * sql\updates\world\2013_07_05_00_world_sai.sql
  1703. */
  1704. UPDATE `creature_template` SET `AIName`= 'SmartAI',`ScriptName`='' WHERE `entry`IN (17811,17812,17809,17810,17807);
  1705. UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI', `ScriptName`='' WHERE `entry`=182052;
  1706. UPDATE `gameobject` SET `spawntimesecs`=-60 WHERE `guid`=23106;
  1707. DELETE FROM `smart_scripts` WHERE `entryorguid` IN (182052,17811,17812,17809,17810,17807,18205200,1780900);
  1708. INSERT INTO `smart_scripts` (`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`) VALUES
  1709. (182052,1,1 ,2,70,0,100,0,2,0,0,0,12,17811,8,0,0,0,0,8,0,0,0,10093.899414,-6633.959961,4.099670,1.090000, 'Harbinger of the Second Trial - Linked with Previous Event - Spawn Champion Swiftblade <Blood Knight>'),
  1710. (182052,1,2 ,3,61,0,100,0,0,0,0,0,12,17812,8,0,0,0,0,8,0,0,0,10087.699219,-6617.109863,4.099670,5.870000, 'Harbinger of the Second Trial - Linked with Previous Event - Spawn Champion Sunstriker <Blood Knight>'),
  1711. (182052,1,3 ,4,61,0,100,0,0,0,0,0,12,17809,8,0,0,0,0,8,0,0,0,10104.899414,-6610.909668,4.099670,4.200000, 'Harbinger of the Second Trial - Linked with Previous Event - Spawn Champion Bloodwrath <Blood Knight>'),
  1712. (182052,1,4 ,5,61,0,100,0,0,0,0,0,12,17810,8,0,0,0,0,8,0,0,0,10110.799805,-6628.279785,4.099670,2.700000, 'Harbinger of the Second Trial - Linked with Previous Event - Spawn Champion Lightrend <Blood Knight>'),
  1713. (182052,1,5 ,6,61,0,100,0,0,0,0,0,80,18205200,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Harbinger of the Second Trial - Linked with Previous Event - Set Data'),
  1714. (182052,1,6 ,0,61,0,100,0,0,0,0,0,99,3,0,0,0,0,0,14,23106,182052,0,0,0,0,0, 'Harbinger of the Second Trial - Linked with Previous Event - Set State on Harbinger of the Second Trial'),
  1715. (18205200,9,0 ,0,0,0,100,0,7000,7000,0,0,45,1,1,0,0,0,0,19,17809,200,0,0,0,0,0, 'Harbinger of the Second Trial - Linked with Previous Event - Set Data'),
  1716. (18205200,9,1 ,0,0,0,100,0,100,100,0,0,45,1,1,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Harbinger of the Second Trial - On Object State Changed - Linked with Previous Event- Set Data Master Kelerun Bloodmourn <Blood Knight>');
  1717. INSERT INTO `smart_scripts` (`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`) VALUES
  1718. (17807,0,0 ,1,38,0,100,0,1,1,0,0,45,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - On Data set - Set Data'),
  1719. (17807,0,1 ,2,61,0,100,0,0,0,0,0,81,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Set NPC Flags'),
  1720. (17807,0,2 ,3,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Say'),
  1721. (17807,0,3 ,0,61,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Say'),
  1722. (17807,0,5 ,6,38,0,100,0,1,2,0,0,45,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - On Data set - Set Data'),
  1723. (17807,0,6 ,23,61,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Say'),
  1724. (17807,0,7 ,8,38,0,100,0,1,3,0,0,45,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - On Data set - Set Data'),
  1725. (17807,0,8 ,24,61,0,100,0,0,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Say'),
  1726. (17807,0,9 ,10,38,0,100,0,1,4,0,0,45,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - On Data set - Set Data'),
  1727. (17807,0,10 ,25,61,0,100,0,0,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Say'),
  1728. (17807,0,11 ,12,38,0,100,0,1,5,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - On Data set - Set Data'),
  1729. (17807,0,12 ,15,61,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Set Phase 2'),
  1730. (17807,0,13 ,14,1,2,100,0,300000,300000,300000,300000,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - OOC (Phase 2) - Set Npc Flags'),
  1731. (17807,0,14 ,0,61,2,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Set Npc Flags'),
  1732. (17807,0,15 ,16,61,0,100,0,0,0,0,0,45,1,2,0,0,0,0,19,17809,200,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Set Data'),
  1733. (17807,0,16 ,17,61,0,100,0,0,0,0,0,45,1,2,0,0,0,0,19,17810,200,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Set Data'),
  1734. (17807,0,17 ,18,61,0,100,0,0,0,0,0,45,1,2,0,0,0,0,19,17811,200,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Set Data'),
  1735. (17807,0,18 ,0,61,0,100,0,0,0,0,0,45,1,2,0,0,0,0,19,17812,200,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Set Data'),
  1736. (17807,0,20 ,0,19,0,100,0,9686,0,0,0,70,60,0,0,0,0,0,14,23106,182052,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - On Quest Accept - Respawn State on Harbinger of the Second Trial'),
  1737. (17807,0,23 ,0,61,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,17810,200,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Linked with Previous Event - Set Data'),
  1738. (17807,0,24 ,0,61,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,17811,200,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Linked with Previous Event - Set Data'),
  1739. (17807,0,25 ,0,61,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,17812,200,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Linked with Previous Event - Set Data'),
  1740. (17807,0,26 ,27,38,0,100,0,1,6,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - On Data set - Set Data'),
  1741. (17807,0,27 ,28,61,0,100,0,0,0,0,0,26,9686,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Give Quest Credit'),
  1742. (17807,0,28 ,0,61,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Set Phase 2'),
  1743. (17807,0,29 ,30,38,0,100,0,1,6,0,0,45,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - On Data set - Set Data'),
  1744. (17807,0,30 ,0,61,0,100,0,0,0,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Say');
  1745. INSERT INTO `smart_scripts` (`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`) VALUES
  1746. (17809,0,1 ,0,6,0,100,0,0,0,0,0,45,1,2,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Linked with Previous Event - Set Data'),
  1747. (17809,0,2 ,3, 5,0,100,0,0,0,0,0,6,9686,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Player Death - Fail Quest'),
  1748. (17809,0,3 ,0,61,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Linked with Previous Event - Set Data'),
  1749. (17809,0,4 ,0,2,0,100,0,0,50,10000,15000,11,19939,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Less than 30% HP - Cast Flash of Light'),
  1750. (17809,0,6 ,0,21,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Linked with Previous Event - Set Data'),
  1751. (17809,0,7 ,0,38,0,100,0,1,2,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Data Set - Despawn'),
  1752. (17809,0,8 ,10,11,0,100,0,0,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Spawn - Set Unit Flags'),
  1753. (17809,0,9 ,0,38,0,100,0,1,1,0,0,80,1780900,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Data Set - Remove Unit Flags'),
  1754. (17809,0,10 ,0,61,0,100,0,0,0,0,0,53,0,17809,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Linked with Previous Event - Start Waypoints'),
  1755. (17809,0,11 ,0,40,0,100,0,5,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Reached WP5 - Set Kneel'),
  1756. (17810,0,0 ,11,11,0,100,0,0,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - On Spawn - Set Unit Flags'),
  1757. (17810,0,1 ,0,38,0,100,0,1,1,0,0,80,1780900,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - On Data Set - Remove Unit Flags'),
  1758. (17810,0,3 ,0,6,0,100,0,0,0,0,0,45,1,3,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - Linked with Previous Event - Set Data'),
  1759. (17810,0,4 ,5, 5,0,100,0,0,0,0,0,6,9686,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - On Player Death - Fail Quest'),
  1760. (17810,0,5 ,0,61,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - Linked with Previous Event - Set Data'),
  1761. (17810,0,6 ,0,4,0,100,0,0,0,0,0,11,20164,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - On Agro - Cast Seal of Justice'),
  1762. (17810,0,7 ,0,0,0,100,0,0,6000,6000,8000,11,20271,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - IC - Cast Judgement of Light'),
  1763. (17810,0,9 ,0,21,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - Linked with Previous Event - Set Data'),
  1764. (17810,0,10 ,0,38,0,100,0,1,2,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - On Data Set - Despawn'),
  1765. (17810,0,11 ,0,61,0,100,0,100,100,0,0,53,0,17810,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - Linked with Previous Event - Start Waypoints'),
  1766. (17810,0,12 ,0,40,0,100,0,5,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Reached WP5 - Set Kneel'),
  1767. (17811,0,0 ,10,11,0,100,0,0,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Swiftblade <Blood Knight> - On Spawn - Set Unit Flags'),
  1768. (17811,0,1 ,0,38,0,100,0,1,1,0,0,80,1780900,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Swiftblade <Blood Knight> - On Data Set - Remove Unit Flags'),
  1769. (17811,0,3 ,0,6,0,100,0,0,0,0,0,45,1,4,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Swiftblade <Blood Knight> - Linked with Previous Event - Set Data'),
  1770. (17811,0,4 ,5, 5,0,100,0,0,0,0,0,6,9686,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Champion Swiftblade <Blood Knight> - On Player Death - Fail Quest'),
  1771. (17811,0,5 ,0,61,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Swiftblade <Blood Knight> - Linked with Previous Event - Set Data'),
  1772. (17811,0,6 ,0,2,0,100,0,0,50,10000,15000,11,19939,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Swiftblade <Blood Knight> - On Less than 30% HP - Cast Flash of Light'),
  1773. (17811,0,8 ,0,21,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Swiftblade <Blood Knight> - Linked with Previous Event - Set Data'),
  1774. (17811,0,9 ,0,38,0,100,0,1,2,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Swiftblade <Blood Knight> - On Data Set - Despawn'),
  1775. (17811,0,10 ,0,61,0,100,0,0,0,0,0,53,0,17811,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - Linked with Previous Event - Start Waypoints'),
  1776. (17811,0,11 ,0,40,0,100,0,5,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Reached WP5 - Set Kneel'),
  1777. (17812,0,0 ,13,11,0,100,0,0,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - On Spawn - Set Unit Flags'),
  1778. (17812,0,1 ,0,38,0,100,0,1,1,0,0,80,1780900,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - On Data Set - Remove Unit Flags'),
  1779. (17812,0,2 ,3, 6,0,100,0,0,0,0,0,26,9686,0,0,0,0,0,16,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - On Death - Give Quest Credit'),
  1780. (17812,0,3 ,12,61,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - Linked with Previous Event - Set Data'),
  1781. (17812,0,4 ,5, 5,0,100,0,0,0,0,0,6,9686,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - On Player Death - Fail Quest'),
  1782. (17812,0,5 ,0,61,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - Linked with Previous Event - Set Data'),
  1783. (17812,0,6 ,0,4,0,100,0,0,0,0,0,11,20375,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - On Agro - Cast Seal of Command'),
  1784. (17812,0,7 ,0,2,0,100,0,0,50,8000,13000,11,19939,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - On Less than 30% HP - Cast Flash of Light'),
  1785. (17812,0,8 ,0,0,0,100,0,0,6000,6000,6000,11,20271,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - IC - Cast Judgement of Light'),
  1786. (17812,0,10 ,0,21,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - Linked with Previous Event - Set Data'),
  1787. (17812,0,11 ,0,38,0,100,0,1,2,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - On Data Set - Despawn'),
  1788. (17812,0,12 ,0,61,0,100,0,0,0,0,0,45,1,6,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - Linked with Previous Event - Set Data'),
  1789. (17812,0,13 ,0,61,0,100,0,0,0,0,0,53,0,17812,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - Linked with Previous Event - Start Waypoints'),
  1790. (17812,0,14 ,0,40,0,100,0,5,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Reached WP5 - Set Kneel'),
  1791. (1780900,9,1 ,0,0,0,100,0,100,100,0,0,19,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Script - Move'),
  1792. (1780900,9,2 ,0,0,0,100,0,100,100,0,0,2,45,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Script - Set Faction'),
  1793. (1780900,9,3 ,0,0,0,100,0,100,100,0,0,101,0,0,0,0,0,0,21,50,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Script - Set Home'),
  1794. (1780900,9,4 ,0,0,0,100,0,100,100,0,0,49,0,0,0,0,0,0,21,50,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Script - Attack');
  1795. DELETE FROM `creature_text` WHERE `entry` =17807;
  1796. INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
  1797. (17807,0,0, 'Let the trial begin, Bloodwrath Attack!',14,0,100,0,7000,0, 'Master Kelerun Bloodmourn <Blood Knight>'),
  1798. (17807,1,0, 'Champion Lightrend, make me proud!',14,0,100,0,7000,0, 'Master Kelerun Bloodmourn <Blood Knight>'),
  1799. (17807,2,0, 'Show this upstart how a real Blood Knight fights, Swiftblade!', 14,0,100,0,7000,0, 'Master Kelerun Bloodmourn <Blood Knight>'),
  1800. (17807,3,0, 'Show $n the meaning of pain, Sunstriker!',14,0,100,0,7000,0, 'Master Kelerun Bloodmourn <Blood Knight>'),
  1801. (17807,4,0, 'Well Done $n! You have passed the second trial!',14,0,100,0,7000,0, 'Master Kelerun Bloodmourn <Blood Knight>');
  1802. DELETE FROM `waypoints` WHERE `entry`IN (17811,17812,17809,17810);
  1803. INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
  1804. (17809, 1, 10104.131836,-6612.683105,4.101346, 'Champion Bloodwrath'),
  1805. (17809, 2, 10102.344727,-6612.981445,4.053924, 'Champion Bloodwrath'),
  1806. (17809, 3, 10099.358398,-6612.392090,4.054283, 'Champion Bloodwrath'),
  1807. (17809, 4, 10095.998047,-6613.050293,4.146625, 'Champion Bloodwrath'),
  1808. (17809, 5, 10096.130859,-6613.828125,4.059120, 'Champion Bloodwrath'),
  1809. (17810, 1, 10109.248047,-6627.423340,4.102483, 'Champion Lightrend'),
  1810. (17810, 2, 10109.353516,-6625.280762,4.053146, 'Champion Lightrend'),
  1811. (17810, 3, 10109.612305,-6622.480957,4.054108, 'Champion Lightrend'),
  1812. (17810, 4, 10108.892578,-6619.477051,4.055830, 'Champion Lightrend'),
  1813. (17810, 5, 10108.208008,-6619.648926,4.059035, 'Champion Lightrend'),
  1814. (17811, 1, 10094.589844,-6632.596680,4.101971, 'Champion Swiftblade'),
  1815. (17811, 2, 10097.296875,-6632.817383,4.053012, 'Champion Swiftblade'),
  1816. (17811, 3, 10100.189453,-6633.041992,4.054625, 'Champion Swiftblade'),
  1817. (17811, 4, 10102.728516,-6632.252930,4.056830, 'Champion Swiftblade'),
  1818. (17811, 5, 10102.631836,-6631.925293,4.058280, 'Champion Swiftblade'),
  1819. (17812, 1, 10089.456055,-6618.075684,4.101974, 'Champion Sunstriker'),
  1820. (17812, 2, 10089.222656,-6620.535645,4.053116, 'Champion Sunstriker'),
  1821. (17812, 3, 10089.138672,-6623.319336,4.054400, 'Champion Sunstriker'),
  1822. (17812, 4, 10090.097656,-6626.027344,4.057493, 'Champion Sunstriker'),
  1823. (17812, 5, 10090.363281,-6625.857910,4.060020, 'Champion Sunstriker');
  1824. /*
  1825. * sql\updates\world\2013_07_05_01_world_creature_template.sql
  1826. */
  1827. -- Alterac Valley NPC fix
  1828. UPDATE `creature_template` SET `difficulty_entry_3`=37234 WHERE `entry`=13086;
  1829. UPDATE `creature_template` SET `difficulty_entry_3`=37236 WHERE `entry`=13116;
  1830. UPDATE `creature_template` SET `difficulty_entry_3`=37237 WHERE `entry`=10990;
  1831. UPDATE `creature_template` SET `difficulty_entry_3`=37239 WHERE `entry`=13442;
  1832. UPDATE `creature_template` SET `difficulty_entry_3`=37240 WHERE `entry`=14187;
  1833. UPDATE `creature_template` SET `difficulty_entry_3`=37242 WHERE `entry`=4255;
  1834. UPDATE `creature_template` SET `difficulty_entry_3`=37243 WHERE `entry`=11949;
  1835. UPDATE `creature_template` SET `difficulty_entry_3`=37244 WHERE `entry`=11947;
  1836. UPDATE `creature_template` SET `difficulty_entry_3`=37250 WHERE `entry`=13422;
  1837. UPDATE `creature_template` SET `difficulty_entry_3`=37251 WHERE `entry`=13421;
  1838. UPDATE `creature_template` SET `difficulty_entry_3`=37264 WHERE `entry`=13096;
  1839. UPDATE `creature_template` SET `difficulty_entry_3`=37267 WHERE `entry`=13317;
  1840. UPDATE `creature_template` SET `difficulty_entry_3`=37268 WHERE `entry`=13316;
  1841. UPDATE `creature_template` SET `difficulty_entry_3`=37269 WHERE `entry`=13097;
  1842. UPDATE `creature_template` SET `difficulty_entry_3`=37278 WHERE `entry`=13447;
  1843. UPDATE `creature_template` SET `difficulty_entry_3`=37281 WHERE `entry`=14188;
  1844. UPDATE `creature_template` SET `difficulty_entry_3`=37282 WHERE `entry`=12121;
  1845. UPDATE `creature_template` SET `difficulty_entry_3`=37283 WHERE `entry`=11946;
  1846. UPDATE `creature_template` SET `difficulty_entry_3`=37284 WHERE `entry`=13443;
  1847. UPDATE `creature_template` SET `difficulty_entry_3`=37285 WHERE `entry`=14762;
  1848. UPDATE `creature_template` SET `difficulty_entry_3`=37287 WHERE `entry`=14763;
  1849. UPDATE `creature_template` SET `difficulty_entry_3`=37289 WHERE `entry`=12122;
  1850. UPDATE `creature_template` SET `difficulty_entry_3`=37291 WHERE `entry`=14772;
  1851. UPDATE `creature_template` SET `difficulty_entry_3`=37294 WHERE `entry`=10981;
  1852. UPDATE `creature_template` SET `difficulty_entry_3`=37296 WHERE `entry`=14282;
  1853. UPDATE `creature_template` SET `difficulty_entry_3`=37297 WHERE `entry`=13359;
  1854. UPDATE `creature_template` SET `difficulty_entry_3`=37300 WHERE `entry`=12053;
  1855. UPDATE `creature_template` SET `difficulty_entry_3`=37302 WHERE `entry`=12051;
  1856. UPDATE `creature_template` SET `difficulty_entry_3`=37305 WHERE `entry`=12097;
  1857. UPDATE `creature_template` SET `difficulty_entry_3`=37308 WHERE `entry`=13284;
  1858. UPDATE `creature_template` SET `difficulty_entry_3`=37310 WHERE `entry`=13616;
  1859. UPDATE `creature_template` SET `difficulty_entry_3`=37313 WHERE `entry`=13441;
  1860. UPDATE `creature_template` SET `difficulty_entry_3`=37315 WHERE `entry`=13216;
  1861. UPDATE `creature_template` SET `difficulty_entry_3`=37318 WHERE `entry`=3343;
  1862. UPDATE `creature_template` SET `difficulty_entry_3`=37320 WHERE `entry`=13218;
  1863. UPDATE `creature_template` SET `difficulty_entry_3`=37323 WHERE `entry`=13117;
  1864. UPDATE `creature_template` SET `difficulty_entry_3`=37326 WHERE `entry`=14773;
  1865. UPDATE `creature_template` SET `difficulty_entry_3`=37327 WHERE `entry`=14764;
  1866. UPDATE `creature_template` SET `difficulty_entry_3`=37331 WHERE `entry`=13099;
  1867. UPDATE `creature_template` SET `difficulty_entry_3`=37333 WHERE `entry`=13080;
  1868. UPDATE `creature_template` SET `difficulty_entry_3`=37334 WHERE `entry`=13396;
  1869. UPDATE `creature_template` SET `difficulty_entry_3`=37335 WHERE `entry`=13397;
  1870. UPDATE `creature_template` SET `difficulty_entry_3`=37337 WHERE `entry`=11600;
  1871. UPDATE `creature_template` SET `difficulty_entry_3`=37340 WHERE `entry`=10987;
  1872. UPDATE `creature_template` SET `difficulty_entry_3`=37344 WHERE `entry`=5134;
  1873. UPDATE `creature_template` SET `difficulty_entry_3`=37345 WHERE `entry`=13798;
  1874. UPDATE `creature_template` SET `difficulty_entry_3`=37346 WHERE `entry`=13079;
  1875. UPDATE `creature_template` SET `difficulty_entry_3`=37348 WHERE `entry`=5139;
  1876. UPDATE `creature_template` SET `difficulty_entry_3`=37349 WHERE `entry`=4257;
  1877. UPDATE `creature_template` SET `difficulty_entry_3`=37364 WHERE `entry`=13088;
  1878. UPDATE `creature_template` SET `difficulty_entry_3`=37366 WHERE `entry`=11657;
  1879. UPDATE `creature_template` SET `difficulty_entry_3`=37367 WHERE `entry`=13797;
  1880. UPDATE `creature_template` SET `difficulty_entry_3`=37369 WHERE `entry`=13257;
  1881. UPDATE `creature_template` SET `difficulty_entry_3`=37370 WHERE `entry`=14185;
  1882. UPDATE `creature_template` SET `difficulty_entry_3`=37371 WHERE `entry`=13236;
  1883. UPDATE `creature_template` SET `difficulty_entry_3`=37372 WHERE `entry`=13816;
  1884. UPDATE `creature_template` SET `difficulty_entry_3`=37373 WHERE `entry`=3625;
  1885. UPDATE `creature_template` SET `difficulty_entry_3`=37374 WHERE `entry`=14186;
  1886. UPDATE `creature_template` SET `difficulty_entry_3`=37383 WHERE `entry`=13326;
  1887. UPDATE `creature_template` SET `difficulty_entry_3`=37384 WHERE `entry`=13328;
  1888. UPDATE `creature_template` SET `difficulty_entry_3`=37398 WHERE `entry`=13448;
  1889. UPDATE `creature_template` SET `difficulty_entry_3`=37399 WHERE `entry`=10367;
  1890. UPDATE `creature_template` SET `difficulty_entry_3`=37401 WHERE `entry`=13176;
  1891. UPDATE `creature_template` SET `difficulty_entry_3`=37402 WHERE `entry`=11678;
  1892. UPDATE `creature_template` SET `difficulty_entry_3`=37403 WHERE `entry`=10986;
  1893. UPDATE `creature_template` SET `difficulty_entry_3`=37404 WHERE `entry`=11675;
  1894. UPDATE `creature_template` SET `difficulty_entry_3`=37407 WHERE `entry`=14765;
  1895. UPDATE `creature_template` SET `difficulty_entry_3`=37409 WHERE `entry`=14284;
  1896. UPDATE `creature_template` SET `difficulty_entry_3`=37410 WHERE `entry`=13358;
  1897. UPDATE `creature_template` SET `difficulty_entry_3`=37412 WHERE `entry`=12050;
  1898. UPDATE `creature_template` SET `difficulty_entry_3`=37415 WHERE `entry`=12127;
  1899. UPDATE `creature_template` SET `difficulty_entry_3`=37416 WHERE `entry`=11997;
  1900. UPDATE `creature_template` SET `difficulty_entry_3`=37419 WHERE `entry`=14283;
  1901. UPDATE `creature_template` SET `difficulty_entry_3`=37420 WHERE `entry`=12096;
  1902. UPDATE `creature_template` SET `difficulty_entry_3`=37422 WHERE `entry`=13577;
  1903. UPDATE `creature_template` SET `difficulty_entry_3`=37426 WHERE `entry`=13617;
  1904. UPDATE `creature_template` SET `difficulty_entry_3`=37427 WHERE `entry`=5135;
  1905. UPDATE `creature_template` SET `difficulty_entry_3`=37431 WHERE `entry`=11677;
  1906. UPDATE `creature_template` SET `difficulty_entry_3`=37435 WHERE `entry`=14776;
  1907. UPDATE `creature_template` SET `difficulty_entry_3`=37442 WHERE `entry`=13078;
  1908. UPDATE `creature_template` SET `difficulty_entry_3`=37444 WHERE `entry`=11948;
  1909. UPDATE `creature_template` SET `difficulty_entry_3`=37450 WHERE `entry`=13331;
  1910. UPDATE `creature_template` SET `difficulty_entry_3`=37451 WHERE `entry`=13332;
  1911. UPDATE `creature_template` SET `difficulty_entry_3`=37468 WHERE `entry`=14777;
  1912. UPDATE `creature_template` SET `difficulty_entry_3`=37469 WHERE `entry`=11603;
  1913. UPDATE `creature_template` SET `difficulty_entry_3`=37470 WHERE `entry`=11604;
  1914. UPDATE `creature_template` SET `difficulty_entry_3`=37473 WHERE `entry`=10982;
  1915. UPDATE `creature_template` SET `difficulty_entry_3`=37475 WHERE `entry`=11839;
  1916. UPDATE `creature_template` SET `difficulty_entry_3`=37479 WHERE `entry`=13179;
  1917. UPDATE `creature_template` SET `difficulty_entry_3`=37480 WHERE `entry`=13437;
  1918. UPDATE `creature_template` SET `difficulty_entry_3`=37481 WHERE `entry`=13180;
  1919. UPDATE `creature_template` SET `difficulty_entry_3`=37483 WHERE `entry`=13438;
  1920. UPDATE `creature_template` SET `difficulty_entry_3`=37484 WHERE `entry`=13439;
  1921. UPDATE `creature_template` SET `difficulty_entry_3`=37485 WHERE `entry`=10364;
  1922. UPDATE `creature_template` SET `difficulty_entry_3`=37486 WHERE `entry`=2225;
  1923. UPDATE `creature_template` SET `KillCredit1`=13086, `modelid1`=13298, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1.75, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=1.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=12169, `spell2`=15655, `spell3`=0, `spell4`=0, `mingold`=192, `maxgold`=192 WHERE `entry`=37234;
  1924. UPDATE `creature_template` SET `KillCredit1`=13116, `modelid1`=13336, `modelid2`=13337, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1802, `faction_H`=1802, `npcflag`=32768, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=405, `maxdmg`=609, `attackpower`=152, `dmg_multiplier`=49.1, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=2, `unit_flags`=4930, `minrangedmg`=324, `maxrangedmg`=487, `rangedattackpower`=122, `type`=7, `type_flags`=2, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37236;
  1925. UPDATE `creature_template` SET `KillCredit1`=10990, `modelid1`=13340, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1274, `faction_H`=1274, `npcflag`=0, `speed_walk`=1, `speed_run`=1.38571, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=0.9, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=1, `type_flags`=0, `spell1`=13443, `spell2`=22120, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37237;
  1926. UPDATE `creature_template` SET `KillCredit1`=13442, `modelid1`=13403, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5142, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=195, `maxdmg`=293, `attackpower`=73, `dmg_multiplier`=8.2, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=4096, `minrangedmg`=156, `maxrangedmg`=234, `rangedattackpower`=58, `type`=7, `type_flags`=0, `spell1`=15981, `spell2`=22127, `spell3`=22206, `spell4`=0, `mingold`=1861, `maxgold`=1861 WHERE `entry`=37239;
  1927. UPDATE `creature_template` SET `KillCredit1`=14187, `modelid1`=14215, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=79, `faction_H`=79, `npcflag`=2, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.4, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=606, `maxgold`=606 WHERE `entry`=37240;
  1928. UPDATE `creature_template` SET `KillCredit1`=4255, `modelid1`=2284, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=128, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=0.6, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37242;
  1929. UPDATE `creature_template` SET `KillCredit1`=11949, `modelid1`=12823, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=83, `maxlevel`=83, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=3, `mindmg`=435, `maxdmg`=653, `attackpower`=163, `dmg_multiplier`=40.9, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=2, `unit_flags`=4096, `minrangedmg`=348, `maxrangedmg`=522, `rangedattackpower`=130, `type`=7, `type_flags`=4, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=1917, `maxgold`=1917 WHERE `entry`=37243;
  1930. UPDATE `creature_template` SET `KillCredit1`=11947, `modelid1`=11895, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=83, `maxlevel`=83, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=3, `mindmg`=468, `maxdmg`=702, `attackpower`=175, `dmg_multiplier`=38, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4160, `minrangedmg`=374, `maxrangedmg`=562, `rangedattackpower`=140, `type`=7, `type_flags`=4, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=1918, `maxgold`=1918 WHERE `entry`=37244;
  1931. UPDATE `creature_template` SET `KillCredit1`=13422, `modelid1`=13351, `modelid2`=13352, `modelid3`=13353, `modelid4`=13354, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1.27, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.4, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=570, `maxgold`=570 WHERE `entry`=37250;
  1932. UPDATE `creature_template` SET `KillCredit1`=13421, `modelid1`=13361, `modelid2`=13362, `modelid3`=13363, `modelid4`=13364, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1.27, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.4, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=207, `maxgold`=596 WHERE `entry`=37251;
  1933. UPDATE `creature_template` SET `KillCredit1`=13096, `modelid1`=13895, `modelid2`=13896, `modelid3`=13552, `modelid4`=13553, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=2.01, `speed_run`=1.14286, `rank`=0, `mindmg`=195, `maxdmg`=293, `attackpower`=73, `dmg_multiplier`=1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=0, `minrangedmg`=156, `maxrangedmg`=234, `rangedattackpower`=58, `type`=7, `type_flags`=0, `spell1`=12544, `spell2`=14145, `spell3`=15242, `spell4`=15244, `mingold`=105, `maxgold`=105 WHERE `entry`=37264;
  1934. UPDATE `creature_template` SET `KillCredit1`=13317, `modelid1`=556, `modelid2`=308, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1.76, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=0.9, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=15572, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37267;
  1935. UPDATE `creature_template` SET `KillCredit1`=13316, `modelid1`=13334, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=0.9, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=15572, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37268;
  1936. UPDATE `creature_template` SET `KillCredit1`=13097, `modelid1`=13330, `modelid2`=13331, `modelid3`=13540, `modelid4`=13537, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=195, `maxdmg`=293, `attackpower`=73, `dmg_multiplier`=1.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=0, `minrangedmg`=156, `maxrangedmg`=234, `rangedattackpower`=58, `type`=7, `type_flags`=0, `spell1`=15498, `spell2`=15586, `spell3`=15654, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37269;
  1937. UPDATE `creature_template` SET `KillCredit1`=13447, `modelid1`=13383, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5081, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=4.8, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=12169, `spell2`=19130, `spell3`=0, `spell4`=0, `mingold`=1667, `maxgold`=1667 WHERE `entry`=37278;
  1938. UPDATE `creature_template` SET `KillCredit1`=14188, `modelid1`=14234, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=55, `faction_H`=55, `npcflag`=2, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=607, `maxgold`=607 WHERE `entry`=37281;
  1939. UPDATE `creature_template` SET `KillCredit1`=12121, `modelid1`=10278, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=7.5, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=1, `type_flags`=0, `spell1`=8599, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37282;
  1940. UPDATE `creature_template` SET `KillCredit1`=11946, `modelid1`=11894, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=83, `maxlevel`=83, `faction_A`=1214, `faction_H`=1214, `npcflag`=1, `speed_walk`=1, `speed_run`=1.14286, `rank`=3, `mindmg`=468, `maxdmg`=702, `attackpower`=175, `dmg_multiplier`=63.4, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=374, `maxrangedmg`=562, `rangedattackpower`=140, `type`=7, `type_flags`=4, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37283;
  1941. UPDATE `creature_template` SET `KillCredit1`=13443, `modelid1`=13409, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5141, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=1, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=203, `maxdmg`=304, `attackpower`=76, `dmg_multiplier`=7.8, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=4096, `minrangedmg`=162, `maxrangedmg`=243, `rangedattackpower`=61, `type`=7, `type_flags`=0, `spell1`=21668, `spell2`=22127, `spell3`=22128, `spell4`=0, `mingold`=1656, `maxgold`=1656 WHERE `entry`=37284;
  1942. UPDATE `creature_template` SET `KillCredit1`=14762, `modelid1`=14793, `modelid2`=14795, `modelid3`=14794, `modelid4`=14796, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=13.8, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=32768, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=13736, `spell2`=15589, `spell3`=22911, `spell4`=23511, `mingold`=0, `maxgold`=0 WHERE `entry`=37285;
  1943. UPDATE `creature_template` SET `KillCredit1`=14763, `modelid1`=14793, `modelid2`=14795, `modelid3`=14794, `modelid4`=14796, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=13.8, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=32768, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=13736, `spell2`=15589, `spell3`=22911, `spell4`=23511, `mingold`=0, `maxgold`=0 WHERE `entry`=37287;
  1944. UPDATE `creature_template` SET `KillCredit1`=12122, `modelid1`=10278, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=7.5, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=1, `type_flags`=0, `spell1`=8599, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37289;
  1945. UPDATE `creature_template` SET `KillCredit1`=14772, `modelid1`=14797, `modelid2`=14799, `modelid3`=14798, `modelid4`=14800, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=436, `maxdmg`=654, `attackpower`=163, `dmg_multiplier`=51.4, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=349, `maxrangedmg`=523, `rangedattackpower`=130, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37291;
  1946. UPDATE `creature_template` SET `KillCredit1`=10981, `modelid1`=10278, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1275, `faction_H`=1275, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=0.9, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=1, `type_flags`=1, `spell1`=13443, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37294;
  1947. UPDATE `creature_template` SET `KillCredit1`=14282, `modelid1`=782, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1275, `faction_H`=1275, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=0.9, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=1, `type_flags`=0, `spell1`=3391, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37296;
  1948. UPDATE `creature_template` SET `KillCredit1`=13359, `modelid1`=13398, `modelid2`=13399, `modelid3`=13400, `modelid4`=13401, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=420, `maxdmg`=630, `attackpower`=157, `dmg_multiplier`=1, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4608, `minrangedmg`=336, `maxrangedmg`=504, `rangedattackpower`=126, `type`=7, `type_flags`=0, `spell1`=22121, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=576, `maxgold`=576 WHERE `entry`=37297;
  1949. UPDATE `creature_template` SET `KillCredit1`=12053, `modelid1`=12165, `modelid2`=12166, `modelid3`=12167, `modelid4`=12170, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=12169, `spell2`=19130, `spell3`=0, `spell4`=0, `mingold`=543, `maxgold`=543 WHERE `entry`=37300;
  1950. UPDATE `creature_template` SET `KillCredit1`=12051, `modelid1`=12949, `modelid2`=12950, `modelid3`=12951, `modelid4`=12952, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=11977, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=524, `maxgold`=524 WHERE `entry`=37302;
  1951. UPDATE `creature_template` SET `KillCredit1`=12097, `modelid1`=13385, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=131, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37305;
  1952. UPDATE `creature_template` SET `KillCredit1`=13284, `modelid1`=13410, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=1, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=203, `maxdmg`=304, `attackpower`=76, `dmg_multiplier`=5.2, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=4096, `minrangedmg`=162, `maxrangedmg`=243, `rangedattackpower`=61, `type`=7, `type_flags`=0, `spell1`=12550, `spell2`=21401, `spell3`=0, `spell4`=0, `mingold`=1627, `maxgold`=1627 WHERE `entry`=37308;
  1953. UPDATE `creature_template` SET `KillCredit1`=13616, `modelid1`=13670, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=9821, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=4194307, `speed_walk`=1.78, `speed_run`=1.14286, `rank`=1, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=7.9, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37310;
  1954. UPDATE `creature_template` SET `KillCredit1`=13441, `modelid1`=13415, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=2, `speed_walk`=1.79, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=7.4, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=2855, `maxgold`=2855 WHERE `entry`=37313;
  1955. UPDATE `creature_template` SET `KillCredit1`=13216, `modelid1`=13476, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=4224, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=4.4, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=1662, `maxgold`=1662 WHERE `entry`=37315;
  1956. UPDATE `creature_template` SET `KillCredit1`=3343, `modelid1`=1359, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=4224, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37318;
  1957. UPDATE `creature_template` SET `KillCredit1`=13218, `modelid1`=13477, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=4224, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=4.8, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=1561, `maxgold`=1561 WHERE `entry`=37320;
  1958. UPDATE `creature_template` SET `KillCredit1`=13117, `modelid1`=13338, `modelid2`=13339, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1801, `faction_H`=1801, `npcflag`=32768, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=405, `maxdmg`=609, `attackpower`=152, `dmg_multiplier`=49.1, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=2, `unit_flags`=4930, `minrangedmg`=324, `maxrangedmg`=487, `rangedattackpower`=122, `type`=7, `type_flags`=2, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37323;
  1959. UPDATE `creature_template` SET `KillCredit1`=14773, `modelid1`=14797, `modelid2`=14799, `modelid3`=14798, `modelid4`=14800, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=436, `maxdmg`=654, `attackpower`=163, `dmg_multiplier`=51.4, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=349, `maxrangedmg`=523, `rangedattackpower`=130, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37326;
  1960. UPDATE `creature_template` SET `KillCredit1`=14764, `modelid1`=14793, `modelid2`=14795, `modelid3`=14794, `modelid4`=14796, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=13.8, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=13736, `spell2`=15589, `spell3`=22911, `spell4`=23511, `mingold`=0, `maxgold`=0 WHERE `entry`=37327;
  1961. UPDATE `creature_template` SET `KillCredit1`=13099, `modelid1`=13430, `modelid2`=13431, `modelid3`=13432, `modelid4`=13433, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1.74, `speed_run`=1.14286, `rank`=0, `mindmg`=195, `maxdmg`=293, `attackpower`=73, `dmg_multiplier`=1.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=0, `minrangedmg`=156, `maxrangedmg`=234, `rangedattackpower`=58, `type`=7, `type_flags`=0, `spell1`=12544, `spell2`=14145, `spell3`=15242, `spell4`=15244, `mingold`=0, `maxgold`=0 WHERE `entry`=37331;
  1962. UPDATE `creature_template` SET `KillCredit1`=13080, `modelid1`=13311, `modelid2`=13313, `modelid3`=13312, `modelid4`=13314, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1.76, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=15284, `spell2`=16856, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37333;
  1963. UPDATE `creature_template` SET `KillCredit1`=13396, `modelid1`=556, `modelid2`=308, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1.76, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=0.9, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=15572, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37334;
  1964. UPDATE `creature_template` SET `KillCredit1`=13397, `modelid1`=13335, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1.76, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=0.9, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=15572, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=80, `maxgold`=80 WHERE `entry`=37335;
  1965. UPDATE `creature_template` SET `KillCredit1`=11600, `modelid1`=10285, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=195, `maxdmg`=293, `attackpower`=73, `dmg_multiplier`=1.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=0, `minrangedmg`=156, `maxrangedmg`=234, `rangedattackpower`=58, `type`=7, `type_flags`=0, `spell1`=12492, `spell2`=15786, `spell3`=15801, `spell4`=0, `mingold`=246, `maxgold`=246 WHERE `entry`=37337;
  1966. UPDATE `creature_template` SET `KillCredit1`=10987, `modelid1`=10285, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=0.9, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=14516, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=333, `maxgold`=333 WHERE `entry`=37340;
  1967. UPDATE `creature_template` SET `KillCredit1`=5134, `modelid1`=3061, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=128, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=8, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37344;
  1968. UPDATE `creature_template` SET `KillCredit1`=13798, `modelid1`=13808, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=2, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=7.7, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=15284, `spell2`=16856, `spell3`=0, `spell4`=0, `mingold`=598, `maxgold`=598 WHERE `entry`=37345;
  1969. UPDATE `creature_template` SET `KillCredit1`=13079, `modelid1`=13300, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1.76, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=1.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=14516, `spell2`=15496, `spell3`=15576, `spell4`=17207, `mingold`=175, `maxgold`=175 WHERE `entry`=37346;
  1970. UPDATE `creature_template` SET `KillCredit1`=5139, `modelid1`=3084, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=128, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=104, `maxgold`=104 WHERE `entry`=37348;
  1971. UPDATE `creature_template` SET `KillCredit1`=4257, `modelid1`=2286, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=4224, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=133, `maxgold`=133 WHERE `entry`=37349;
  1972. UPDATE `creature_template` SET `KillCredit1`=13088, `modelid1`=13305, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1.76, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=1.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=3391, `spell2`=6434, `spell3`=15667, `spell4`=0, `mingold`=278, `maxgold`=278 WHERE `entry`=37364;
  1973. UPDATE `creature_template` SET `KillCredit1`=11657, `modelid1`=5945, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=195, `maxdmg`=293, `attackpower`=73, `dmg_multiplier`=1.2, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=512, `minrangedmg`=156, `maxrangedmg`=234, `rangedattackpower`=58, `type`=7, `type_flags`=0, `spell1`=15537, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=111, `maxgold`=111 WHERE `entry`=37366;
  1974. UPDATE `creature_template` SET `KillCredit1`=13797, `modelid1`=13849, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=2, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=3.2, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=11976, `spell2`=22120, `spell3`=0, `spell4`=0, `mingold`=1828, `maxgold`=1828 WHERE `entry`=37367;
  1975. UPDATE `creature_template` SET `KillCredit1`=13257, `modelid1`=13151, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5021, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=7.5, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=21163, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=639, `maxgold`=639 WHERE `entry`=37369;
  1976. UPDATE `creature_template` SET `KillCredit1`=14185, `modelid1`=14232, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=126, `faction_H`=126, `npcflag`=2, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=578, `maxgold`=578 WHERE `entry`=37370;
  1977. UPDATE `creature_template` SET `KillCredit1`=13236, `modelid1`=13478, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=3, `speed_walk`=1, `speed_run`=2, `rank`=1, `mindmg`=203, `maxdmg`=304, `attackpower`=76, `dmg_multiplier`=8.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=4096, `minrangedmg`=162, `maxrangedmg`=243, `rangedattackpower`=61, `type`=7, `type_flags`=0, `spell1`=15234, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=1854, `maxgold`=1854 WHERE `entry`=37371;
  1978. UPDATE `creature_template` SET `KillCredit1`=13816, `modelid1`=13794, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=2, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4608, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=175, `maxgold`=175 WHERE `entry`=37372;
  1979. UPDATE `creature_template` SET `KillCredit1`=3625, `modelid1`=4294, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=128, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=135, `maxgold`=135 WHERE `entry`=37373;
  1980. UPDATE `creature_template` SET `KillCredit1`=14186, `modelid1`=14233, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=105, `faction_H`=105, `npcflag`=2, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=420, `maxdmg`=630, `attackpower`=157, `dmg_multiplier`=1.2, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=336, `maxrangedmg`=504, `rangedattackpower`=126, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=600, `maxgold`=600 WHERE `entry`=37374;
  1981. UPDATE `creature_template` SET `KillCredit1`=13326, `modelid1`=13262, `modelid2`=13263, `modelid3`=13264, `modelid4`=13265, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.3, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=12169, `spell2`=19130, `spell3`=0, `spell4`=0, `mingold`=575, `maxgold`=575 WHERE `entry`=37383;
  1982. UPDATE `creature_template` SET `KillCredit1`=13328, `modelid1`=13278, `modelid2`=13279, `modelid3`=13280, `modelid4`=13281, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.3, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=12169, `spell2`=19130, `spell3`=0, `spell4`=0, `mingold`=581, `maxgold`=581 WHERE `entry`=37384;
  1983. UPDATE `creature_template` SET `KillCredit1`=13448, `modelid1`=13402, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=11977, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=900, `maxgold`=900 WHERE `entry`=37398;
  1984. UPDATE `creature_template` SET `KillCredit1`=10367, `modelid1`=9765, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=128, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37399;
  1985. UPDATE `creature_template` SET `KillCredit1`=13176, `modelid1`=13152, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5124, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=7.5, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=21163, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=1910, `maxgold`=1910 WHERE `entry`=37401;
  1986. UPDATE `creature_template` SET `KillCredit1`=11678, `modelid1`=10282, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1.38889, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=0.9, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=7159, `spell2`=19472, `spell3`=0, `spell4`=0, `mingold`=411, `maxgold`=411 WHERE `entry`=37402;
  1987. UPDATE `creature_template` SET `KillCredit1`=10986, `modelid1`=10282, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=514, `faction_H`=514, `npcflag`=0, `speed_walk`=1.38889, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=0.9, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=3589, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=411, `maxgold`=411 WHERE `entry`=37403;
  1988. UPDATE `creature_template` SET `KillCredit1`=11675, `modelid1`=10282, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1.38889, `speed_run`=1.14286, `rank`=0, `mindmg`=293, `maxdmg`=439, `attackpower`=110, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=2, `unit_flags`=0, `minrangedmg`=234, `maxrangedmg`=351, `rangedattackpower`=88, `type`=7, `type_flags`=0, `spell1`=9532, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=426, `maxgold`=426 WHERE `entry`=37404;
  1989. UPDATE `creature_template` SET `KillCredit1`=14765, `modelid1`=14793, `modelid2`=14795, `modelid3`=14794, `modelid4`=14796, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=13.8, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=13736, `spell2`=15589, `spell3`=22911, `spell4`=23511, `mingold`=0, `maxgold`=0 WHERE `entry`=37407;
  1990. UPDATE `creature_template` SET `KillCredit1`=14284, `modelid1`=14322, `modelid2`=14324, `modelid3`=14326, `modelid4`=14327, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=7.2, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4608, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=1616, `maxgold`=1616 WHERE `entry`=37409;
  1991. UPDATE `creature_template` SET `KillCredit1`=13358, `modelid1`=13390, `modelid2`=13391, `modelid3`=13392, `modelid4`=13393, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=420, `maxdmg`=630, `attackpower`=157, `dmg_multiplier`=1, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4608, `minrangedmg`=336, `maxrangedmg`=504, `rangedattackpower`=126, `type`=7, `type_flags`=0, `spell1`=22121, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=580, `maxgold`=580 WHERE `entry`=37410;
  1992. UPDATE `creature_template` SET `KillCredit1`=12050, `modelid1`=13274, `modelid2`=13275, `modelid3`=13276, `modelid4`=13277, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=12169, `spell2`=19130, `spell3`=0, `spell4`=0, `mingold`=547, `maxgold`=547 WHERE `entry`=37412;
  1993. UPDATE `creature_template` SET `KillCredit1`=12127, `modelid1`=13253, `modelid2`=12077, `modelid3`=12079, `modelid4`=12078, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=11976, `spell2`=22120, `spell3`=0, `spell4`=0, `mingold`=520, `maxgold`=520 WHERE `entry`=37415;
  1994. UPDATE `creature_template` SET `KillCredit1`=11997, `modelid1`=12075, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=1, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.4, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37416;
  1995. UPDATE `creature_template` SET `KillCredit1`=14283, `modelid1`=10828, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=0.9, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=1, `type_flags`=1, `spell1`=3391, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37419;
  1996. UPDATE `creature_template` SET `KillCredit1`=12096, `modelid1`=13384, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5241, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=131, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=150, `maxgold`=150 WHERE `entry`=37420;
  1997. UPDATE `creature_template` SET `KillCredit1`=13577, `modelid1`=13714, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5281, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=3, `speed_walk`=1, `speed_run`=1.38571, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=8.2, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=15284, `spell2`=16856, `spell3`=0, `spell4`=0, `mingold`=1713, `maxgold`=1713 WHERE `entry`=37422;
  1998. UPDATE `creature_template` SET `KillCredit1`=13617, `modelid1`=13669, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=9821, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=4194307, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=7.3, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=632, `maxgold`=632 WHERE `entry`=37426;
  1999. UPDATE `creature_template` SET `KillCredit1`=5135, `modelid1`=3083, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=128, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37427;
  2000. UPDATE `creature_template` SET `KillCredit1`=11677, `modelid1`=371, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1.76, `speed_run`=1.14286, `rank`=0, `mindmg`=195, `maxdmg`=293, `attackpower`=73, `dmg_multiplier`=1.2, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=0, `minrangedmg`=156, `maxrangedmg`=234, `rangedattackpower`=58, `type`=7, `type_flags`=0, `spell1`=3391, `spell2`=14516, `spell3`=16170, `spell4`=0, `mingold`=254, `maxgold`=254 WHERE `entry`=37431;
  2001. UPDATE `creature_template` SET `KillCredit1`=14776, `modelid1`=14797, `modelid2`=14799, `modelid3`=14798, `modelid4`=14800, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=436, `maxdmg`=654, `attackpower`=163, `dmg_multiplier`=51.4, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=349, `maxrangedmg`=523, `rangedattackpower`=130, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=150, `maxgold`=150 WHERE `entry`=37435;
  2002. UPDATE `creature_template` SET `KillCredit1`=13078, `modelid1`=13299, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1.77, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=1.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=8147, `spell2`=12057, `spell3`=0, `spell4`=0, `mingold`=117, `maxgold`=117 WHERE `entry`=37442;
  2003. UPDATE `creature_template` SET `KillCredit1`=11948, `modelid1`=11896, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=83, `maxlevel`=83, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=3, `mindmg`=468, `maxdmg`=702, `attackpower`=175, `dmg_multiplier`=62, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=374, `maxrangedmg`=562, `rangedattackpower`=140, `type`=7, `type_flags`=4, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37444;
  2004. UPDATE `creature_template` SET `KillCredit1`=13331, `modelid1`=13258, `modelid2`=13259, `modelid3`=13260, `modelid4`=13261, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1.28, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.4, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=12169, `spell2`=19130, `spell3`=0, `spell4`=0, `mingold`=662, `maxgold`=662 WHERE `entry`=37450;
  2005. UPDATE `creature_template` SET `KillCredit1`=13332, `modelid1`=13282, `modelid2`=13283, `modelid3`=13284, `modelid4`=13285, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1.28, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.4, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=12169, `spell2`=19130, `spell3`=0, `spell4`=0, `mingold`=617, `maxgold`=617 WHERE `entry`=37451;
  2006. UPDATE `creature_template` SET `KillCredit1`=14777, `modelid1`=14797, `modelid2`=14799, `modelid3`=14798, `modelid4`=14800, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=436, `maxdmg`=654, `attackpower`=163, `dmg_multiplier`=51.4, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=349, `maxrangedmg`=523, `rangedattackpower`=130, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37468;
  2007. UPDATE `creature_template` SET `KillCredit1`=11603, `modelid1`=371, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=0.9, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=12057, `spell2`=15572, `spell3`=0, `spell4`=0, `mingold`=195, `maxgold`=195 WHERE `entry`=37469;
  2008. UPDATE `creature_template` SET `KillCredit1`=11604, `modelid1`=371, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=195, `maxdmg`=293, `attackpower`=73, `dmg_multiplier`=1.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=0, `minrangedmg`=156, `maxrangedmg`=234, `rangedattackpower`=58, `type`=7, `type_flags`=0, `spell1`=15228, `spell2`=18968, `spell3`=0, `spell4`=0, `mingold`=271, `maxgold`=271 WHERE `entry`=37470;
  2009. UPDATE `creature_template` SET `KillCredit1`=10982, `modelid1`=371, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=17230, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=145, `maxgold`=145 WHERE `entry`=37473;
  2010. UPDATE `creature_template` SET `KillCredit1`=11839, `modelid1`=494, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1, `speed_run`=1.19048, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=13737, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=498, `maxgold`=498 WHERE `entry`=37475;
  2011. UPDATE `creature_template` SET `KillCredit1`=13179, `modelid1`=13473, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=4.7, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4608, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=15572, `spell2`=15580, `spell3`=0, `spell4`=0, `mingold`=1714, `maxgold`=1714 WHERE `entry`=37479;
  2012. UPDATE `creature_template` SET `KillCredit1`=13437, `modelid1`=13470, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5146, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=6.9, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4928, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=15580, `spell2`=16509, `spell3`=0, `spell4`=0, `mingold`=1813, `maxgold`=1813 WHERE `entry`=37480;
  2013. UPDATE `creature_template` SET `KillCredit1`=13180, `modelid1`=13474, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=2, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=4.4, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=15572, `spell2`=15580, `spell3`=0, `spell4`=0, `mingold`=1758, `maxgold`=1758 WHERE `entry`=37481;
  2014. UPDATE `creature_template` SET `KillCredit1`=13438, `modelid1`=13471, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5148, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=4.8, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=15580, `spell2`=16509, `spell3`=0, `spell4`=0, `mingold`=1586, `maxgold`=1586 WHERE `entry`=37483;
  2015. UPDATE `creature_template` SET `KillCredit1`=13439, `modelid1`=13472, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5147, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=4.5, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4608, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=15580, `spell2`=16509, `spell3`=0, `spell4`=0, `mingold`=1645, `maxgold`=1645 WHERE `entry`=37484;
  2016. UPDATE `creature_template` SET `KillCredit1`=10364, `modelid1`=9763, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=128, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37485;
  2017. UPDATE `creature_template` SET `KillCredit1`=2225, `modelid1`=14781, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=128, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37486;
  2018. update `creature_template` set exp=2 where `entry` in (37234,
  2019. 37236, 37237, 37239, 37240, 37242, 37243, 37244, 37250, 37251, 37264,
  2020. 37267, 37268, 37269, 37278, 37281, 37282, 37283, 37284, 37285, 37287,
  2021. 37289, 37291, 37294, 37296, 37297, 37300, 37302, 37305, 37308, 37310,
  2022. 37313, 37315, 37318, 37320, 37323, 37326, 37327, 37331, 37333, 37334,
  2023. 37335, 37337, 37340, 37344, 37345, 37346, 37348, 37349, 37364, 37366,
  2024. 37367, 37369, 37370, 37371, 37372, 37373, 37374, 37383, 37384, 37398,
  2025. 37399, 37401, 37402, 37403, 37404, 37407, 37409, 37410, 37412, 37415,
  2026. 37416, 37419, 37420, 37422, 37426, 37427, 37431, 37435, 37442, 37444,
  2027. 37450, 37451, 37468, 37469, 37470, 37473, 37475, 37479, 37480, 37481,
  2028. 37483, 37484, 37485, 37486);
  2029. /*
  2030. * sql\updates\world\2013_07_05_02_world_QuestchainSOH.sql
  2031. */
  2032. -- A lot of missing npcs/gobs/quest relations/quests/phases etc..
  2033. -- http://www.wowwiki.com/Storm_Peaks_quests
  2034. -- http://www.wowwiki.com/Sons_of_Hodir
  2035. -- http://www.wowhead.com/faction=1119#comments:id=905880
  2036. SET @NJORMELD := 30099; -- At Fjorn's Anvil
  2037. SET @NJORMELD2 := 30127; -- At Dun Niffelem
  2038. SET @SNORRI_NPC := 30123; -- At Fjorn's Anvil
  2039. SET @SNORRI_MOUNT := 30124; -- Snorri spell_click
  2040. SET @NPC_BUNNY := 30122; -- Storm Peaks Anvil Bunny
  2041. SET @NPC_SR2 := 30120; -- Seething Revenant (phase 2)
  2042. SET @NPC_SR3 := 30387; -- Seething Revenant (phase 3)
  2043. SET @NPC_FGS := 30121; -- Frost Giant Stormherald
  2044. SET @NPC_BR := 30160; -- Brittle Revenant
  2045. SET @NPC_SOH2 := 30262; -- Son of Hodir (phase 2)
  2046. SET @NPC_BF := 30320; -- Battlescarred Frostworg (phase 2)
  2047. SET @SM := 30260; -- Stoic Mammoth (phase 2)
  2048. SET @RJ := 30422; -- Roaming Jormungar
  2049. SET @WARBEAR := 29918; -- Warbear Matriarch
  2050. SET @HYLDSMEET_WB := 30174; -- Hyldsmeet Warbear
  2051. SET @BUNNY_SPEAR := 30246; -- Dun Niffelem Spear Chain Bunny (Phase 2)
  2052. SET @F_WORG := 30219; -- Ethereal Frostwarg
  2053. SET @SF_INFIL := 30222; -- Stormforged Infiltrator
  2054. SET @NPC_THORIM2 := 30390; -- at Thunderfall
  2055. SET @NPC_THORIM3 := 30295; -- at Terrace of the Makers
  2056. -- Will be used in Hot and Cold
  2057. SET @SPELL_RIDE := 55957; -- Ride Snorri
  2058. SET @SPELL_GATHER := 56750; -- Gather Snow
  2059. SET @SPELL_THROW := 56753; -- Throw Snowball
  2060. SET @SPELL_SLEEP := 32951; -- Sleeping Sleep
  2061. SET @SPELL_WAKE := 56752; -- Wake Snorri
  2062. SET @SPELL_KCtTM := 56755; -- KC toTarget Master
  2063. SET @SPELL_KC := 56754; -- Kill Credit, Seething Revenant
  2064. SET @F_REPUTATION := 57048; -- Force Reputation
  2065. SET @SUMMON_SFINF := 56325; -- Summon Stormforged Infiltrator
  2066. SET @GO_SNOWDRIFT := 192075; -- Snowdrift
  2067. SET @GO_ANVIL1 := 192060; -- Fjorn's Anvil (at Fjorn's Anvil)
  2068. SET @GO_ANVIL2 := 192071; -- Fjorn's Anvil (at Dun Niffelem)
  2069. SET @GO_SPEAR := 192079; -- Hodir's Spear
  2070. SET @GO_ARNGRIM := 192524; -- Arngrim the Insatiable
  2071. SET @GO_HORN := 192078; -- Hodir's Horn
  2072. SET @GO_WARG := 300244; -- Corpse of the Fallen Worg (Spell focus)
  2073. SET @GO_GRANITE := 191815; -- Granite Boulder
  2074. SET @GO_GRANITE2 := 191814; -- Granite Boulder
  2075. SET @QUEST1 := 12967; -- Battling the Elements
  2076. SET @QUEST2 := 12981; -- Hot and Cold
  2077. SET @QUEST3 := 13003; -- Thrusting Hodir's Spear
  2078. SET @QUEST4 := 13046; -- Feeding Arngrim
  2079. SET @QUEST5 := 12977; -- Blowing Hodir's Horn
  2080. SET @GUID_BUNNY1 := 63373; -- 4 required NPC
  2081. SET @GUID_BUNNY2 := 129993; -- 6 required NPC
  2082. SET @GUID_BUNNY := 116620; -- 23 required NPC
  2083. SET @GUID := 142335; -- 77 reqiured NPC
  2084. SET @OGUID := 20918; -- 17 requied GO
  2085. SET @GUID_GO := 21065; -- 20 required GO
  2086. DELETE FROM `gameobject` WHERE `id` IN (@GO_ANVIL1,@GO_ANVIL2,@GO_SNOWDRIFT,@GO_SPEAR,@GO_ARNGRIM,@GO_HORN,@GO_WARG,@GO_GRANITE,@GO_GRANITE2);
  2087. INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES
  2088. -- Making anvil visible in phase 1 just to be sure it can be seen
  2089. (@GUID_GO+0,@GO_ANVIL1,571,1,1+2+4,7217.072,-3645.753,819.4065,1.797689,0,0,0.782608,0.6225148,300,255,1),
  2090. (@GUID_GO+1,@GO_ANVIL2,571,1,4,7213.591,-2648.741,810.5506,0.2268925,0,0,0.113203,0.9935719,300,255,1),
  2091. --
  2092. (@GUID_GO+2,@GO_SNOWDRIFT,571,1,4,7218.64,-3529.71,828.539,-1.93732,0,0,-0.824127,0.566404,300,100,1),
  2093. (@GUID_GO+3,@GO_SNOWDRIFT,571,1,4,7201.17,-3556.13,828.03,2.18166,0,0,0.88701,0.461749,300,100,1),
  2094. (@GUID_GO+4,@GO_SNOWDRIFT,571,1,4,7230.44,-3555.63,841.772,1.85005,0,0,0.798636,0.601815,300,100,1),
  2095. (@GUID_GO+5,@GO_SNOWDRIFT,571,1,4,7169.6,-3615.71,830.249,-2.89724,0,0,-0.992546,0.121873,300,100,1),
  2096. (@GUID_GO+6,@GO_SNOWDRIFT,571,1,4,7121.83,-3542.56,835.008,-0.750491,0,0,-0.366501,0.930418,300,100,1),
  2097. (@GUID_GO+7,@GO_SNOWDRIFT,571,1,4,7131.5,-3584.22,840.195,-1.91986,0,0,-0.819151,0.573577,300,100,1),
  2098. (@GUID_GO+8,@GO_SNOWDRIFT,571,1,4,7162.55,-3582.66,830.36,1.11701,0,0,0.529919,0.848048,300,100,1),
  2099. (@GUID_GO+9,@GO_SNOWDRIFT,571,1,4,7176.21,-3511.2,833.381,1.93731,0,0,0.824125,0.566409,300,100,1),
  2100. (@GUID_GO+10,@GO_SNOWDRIFT,571,1,4,7148.73,-3559.17,830.36,-2.72271,0,0,-0.978147,0.207914,300,100,1),
  2101. (@GUID_GO+11,@GO_SNOWDRIFT,571,1,4,7165.47,-3639.53,832.157,0.890117,0,0,0.430511,0.902586,300,100,1),
  2102. (@GUID_GO+12,@GO_SPEAR,571,1,4,7309.3,-2782.45,869.824,-0.610864,0,0,-0.300705,0.953717,180,255,1),
  2103. (@GUID_GO+13,@GO_ARNGRIM,571,1,4,7355.87,-2962.37,912.502,1.74533,0,0,0.766045,0.642787,180,255,1),
  2104. (@GUID_GO+14,@GO_HORN,571,1,4,7142.23,-2723.25,787.769,-2.63544,0,0,-0.968147,0.250383,180,255,1),
  2105. (@GUID_GO+15,@GO_WARG, 571, 1, 4, 7161.11, -2228.79, 758.93, 5.72936, 0, 0, 0.273389, -0.961904, 300, 0, 1),
  2106. -- Additional GO's for Mending Fences
  2107. (@GUID_GO+16,@GO_GRANITE,571,1,1,7229.834,-3560.515,840.1581,4.97419,0,0,0,1,120,255,1), -- Granite Boulder (Area: Fjorn's Anvil)
  2108. (@GUID_GO+32,@GO_GRANITE,571,1,1,7170.086,-3644.12,830.1971,3.996807,0,0,0,1,120,255,1), -- Granite Boulder (Area: Fjorn's Anvil)
  2109. (@GUID_GO+33,@GO_GRANITE,571,1,1,7273.538,-3632.394,829.7211,0.4537851,0,0,0,1,120,255,1), -- Granite Boulder (Area: Fjorn's Anvil)
  2110. (@GUID_GO+34,@GO_GRANITE,571,1,1,7464.846,-3014.682,851.4673,5.253442,0,0,0,1,120,255,1); -- Granite Boulder (Area: Frostfield Lake
  2111. DELETE FROM `creature` WHERE `id` IN (@NJORMELD,@SNORRI_NPC,@NPC_BUNNY,@NPC_SR2,@NPC_FGS,@NPC_BR,@NPC_SR3,@NPC_SOH2,@NPC_BF,@SM,@RJ,@BUNNY_SPEAR,@NPC_THORIM3);
  2112. INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`,`npcflag`,`unit_flags`,`dynamicflags`) VALUES
  2113. (@GUID+0,@NJORMELD,571,1,4,24531,0,7183.295,-3519.859,827.4118,0.03490658,300,0,0,50400,0,0,0,0,0),
  2114. (@GUID+1,@SNORRI_NPC,571,1,4,26772,0,7167.375,-3543.059,827.746,6.056293,300,0,0,50400,0,0,0,0,0),
  2115. (@GUID+2,@NPC_BUNNY,571,1,4,19595,0,7219.52,-3645.4,824.558,2.61799,300,0,0,4979,0,0,0,0,0),
  2116. (@GUID+3,@NPC_SR2,571,1,4,25680,0,7268.63,-3640.36,825.267,2.37365,120,5,0,12600,0,1,0,0,0),
  2117. (@GUID+4,@NPC_SR2,571,1,4,25680,0,7192.8,-3665,824.727,6.05783,120,5,0,12600,0,1,0,0,0),
  2118. (@GUID+5,@NPC_SR2,571,1,4,25680,0,7250.05,-3636.57,825.872,-1.4385,120,5,0,12600,0,1,0,0,0),
  2119. (@GUID+6,@NPC_SR2,571,1,4,25680,0,7201.55,-3622.78,823.52,5.55015,120,5,0,12600,0,1,0,0,0),
  2120. (@GUID+7,@NPC_SR2,571,1,4,25680,0,7223.84,-3676.14,828.727,2.17625,120,5,0,12600,0,1,0,0,0),
  2121. (@GUID+8,@NPC_FGS,571,1,4,24531,0,7201.98,-3624.42,823.542,5.13733,120,0,0,48700,0,0,0,0,0),
  2122. (@GUID+9,@NPC_FGS,571,1,4,24531,0,7251.04,-3644,823.097,3.15905,120,0,0,48700,0,0,0,0,0),
  2123. (@GUID+10,@NPC_FGS,571,1,4,24531,0,7220.33,-3671.06,823.633,1.67552,120,0,0,50400,0,0,0,0,0),
  2124. (@GUID+11,@NPC_BR,571,1,4,26698,0,7419.28,-3141.33,837.577,1.34635,300,0,0,12600,0,0,0,0,0),
  2125. (@GUID+12,@NPC_BR,571,1,4,26698,0,7359.13,-3103.31,837.534,4.17214,300,0,0,12600,0,2,0,0,0),
  2126. (@GUID+13,@NPC_BR,571,1,4,26698,0,7376.07,-3153.04,837.577,1.80255,300,0,0,12600,0,0,0,0,0),
  2127. (@GUID+14,@NPC_BR,571,1,4,26698,0,7315.46,-3179.34,837.617,1.60589,300,0,0,12600,0,0,0,0,0),
  2128. (@GUID+15,@NPC_BR,571,1,4,26698,0,7255.27,-3083.26,837.577,-2.07948,300,0,0,12600,0,0,0,0,0),
  2129. (@GUID+16,@NPC_BR,571,1,4,26698,0,7405.8,-3082.12,837.57,-0.036917,300,0,0,12600,0,0,0,0,0),
  2130. (@GUID+17,@NPC_BR,571,1,4,26698,0,7300.77,-3084.76,837.577,3.23101,300,0,0,12600,0,0,0,0,0),
  2131. (@GUID+18,@NPC_SR3,571,1,8,0,0,7231.77,-3648.91,823.616,5.67933,600,0,0,12600,0,0,0,0,0),
  2132. (@GUID+19,@NPC_SR3,571,1,8,0,0,7181.85,-3561.65,827.102,1.34394,600,0,0,12600,0,0,0,0,0),
  2133. (@GUID+20,@NPC_SR3,571,1,8,0,0,7171.87,-3564.23,826.705,1.05727,600,0,0,12600,0,0,0,0,0),
  2134. (@GUID+21,@NPC_SR3,571,1,8,0,0,7235.26,-3480.56,850.328,4.32905,600,0,0,12600,0,0,0,0,0),
  2135. (@GUID+22,@NPC_SR3,571,1,8,0,0,7190.62,-3549.54,827.918,1.28897,600,0,0,12600,0,0,0,0,0),
  2136. (@GUID+23,@NPC_SR3,571,1,8,0,0,7146.46,-3553.65,830.519,0.613523,600,0,0,12600,0,0,0,0,0),
  2137. (@GUID+24,@NPC_SR3,571,1,8,0,0,7209.96,-3426.8,839.399,1.92906,600,0,0,12600,0,0,0,0,0),
  2138. (@GUID+25,@NPC_SR3,571,1,8,0,0,7191.38,-3364.16,846.246,1.41463,600,0,0,12600,0,0,0,0,0),
  2139. (@GUID+26,@NPC_SR3,571,1,8,25680,0,7224.41,-3496.64,840.3,3.8813,300,0,0,12600,0,0,0,0,0),
  2140. (@GUID+27,@NPC_SOH2,571,1,4,24531,0,7200.93,-2751.15,777.517,1.58738,300,0,0,73050,0,0,0,0,0),
  2141. (@GUID+28,@NPC_SOH2,571,1,4,24531,0,7305.37,-2755.09,775.266,1.22173,300,0,0,73050,0,0,0,0,0),
  2142. (@GUID+29,@NPC_SOH2,571,1,4,24531,0,7316.17,-2635.26,814.969,3.28639,300,0,0,75600,0,0,0,0,0),
  2143. (@GUID+30,@NPC_SOH2,571,1,4,24531,0,7125.52,-2690.9,786.766,0.244346,300,0,0,75600,0,0,0,0,0),
  2144. (@GUID+31,@NPC_SOH2,571,1,4,24531,0,7126.99,-2749.76,786.682,0.261799,300,0,0,73050,0,0,0,0,0),
  2145. (@GUID+32,@NPC_SOH2,571,1,4,24531,0,7450.26,-2713.95,809.15,4.57385,300,0,0,73050,0,0,0,0,0),
  2146. (@GUID+33,@NPC_SOH2,571,1,4,24531,0,7241.71,-2883.89,824.505,5.93024,300,0,0,73050,0,2,0,0,0),
  2147. (@GUID+34,@NPC_SOH2,571,1,4,24531,0,7206.07,-2828.19,824.699,1.46608,300,0,0,73050,0,0,0,0,0),
  2148. (@GUID+35,@NPC_SOH2,571,1,4,24531,0,7327.04,-2396.17,749.132,0.84682,300,0,0,75600,0,0,0,0,0),
  2149. (@GUID+36,@NPC_SOH2,571,1,4,24531,0,7303.96,-2519.59,750.318,2.88288,300,0,0,75600,0,2,0,0,0),
  2150. (@GUID+37,@NPC_SOH2,571,1,4,24531,0,7419.77,-2885.54,823.037,1.64061,300,0,0,75600,0,0,0,0,0),
  2151. (@GUID+38,@NPC_SOH2,571,1,4,24531,0,7288.75,-2579.84,750.516,1.13446,300,0,0,75600,0,0,0,0,0),
  2152. (@GUID+39,@NPC_SOH2,571,1,4,24531,0,7239.24,-2638.54,753.62,5.48033,300,0,0,75600,0,0,0,0,0),
  2153. (@GUID+40,@NPC_SOH2,571,1,4,24531,0,7431.13,-2429.4,753.04,4.09782,300,0,0,73050,0,0,0,0,0),
  2154. (@GUID+41,@NPC_SOH2,571,1,4,24531,0,7394.44,-2524.73,749.249,5.16889,300,0,0,73050,0,2,0,0,0),
  2155. (@GUID+42,@NPC_SOH2,571,1,4,24531,0,7407.6,-2934.94,847.905,1.95477,300,0,0,75600,0,0,0,0,0),
  2156. (@GUID+43,@NPC_BF,571,1,4,26331,0,7401.46,-2522.13,749.245,5.24142,300,0,0,60875,0,2,0,0,0),
  2157. (@GUID+44,@NPC_BF,571,1,4,26331,0,7311.83,-2530.07,749.488,2.87671,300,0,0,60875,0,2,0,0,0),
  2158. (@GUID+45,@SM,571,1,4,0,0,7143.71,-2251.43,760.439,1.29097,300,0,0,11379,0,0,0,0,0),
  2159. (@GUID+46,@SM,571,1,4,27281,0,7172.8,-2257.74,759.628,1.11662,300,0,0,11379,0,0,0,0,0),
  2160. (@GUID+47,@SM,571,1,4,27281,0,7218.29,-2214.53,759.112,3.43747,300,0,0,11379,0,0,0,0,0),
  2161. (@GUID+48,@SM,571,1,4,27281,0,7164.95,-2214.65,758.563,4.15611,300,0,0,11379,0,0,0,0,0),
  2162. (@GUID+49,@SM,571,1,4,0,0,7105.5,-2211.86,759.098,0.688573,300,0,0,11379,0,0,0,0,0),
  2163. (@GUID+50,@SM,571,1,4,27281,0,7110.67,-2133.14,758.775,5.04282,300,0,0,11379,0,0,0,0,0),
  2164. (@GUID+51,@SM,571,1,4,27281,0,7071.03,-2168.81,760.815,0.91791,300,0,0,11379,0,0,0,0,0),
  2165. (@GUID+52,@SM,571,1,4,27281,0,7028.51,-2077.67,753.23,5.25331,300,0,0,11379,0,0,0,0,0),
  2166. (@GUID+53,@SM,571,1,4,27281,0,7106.01,-1988.13,771.455,4.35011,300,0,0,11379,0,0,0,0,0),
  2167. (@GUID+54,@SM,571,1,4,0,0,7041.36,-1981.59,776.354,0.266033,300,0,0,11379,0,0,0,0,0),
  2168. (@GUID+55,@SM,571,1,4,0,0,7133.88,-2039.53,771.902,3.57334,300,0,0,11379,0,0,0,0,0),
  2169. (@GUID+56,@SM,571,1,4,27281,0,7077.88,-2078.98,759.218,1.99469,300,0,0,11379,0,0,0,0,0),
  2170. (@GUID+57,@RJ,571,1,4,26262,0,7188.82,-2320.21,757.813,-1.87154,300,0,0,12175,0,0,0,0,0),
  2171. (@GUID+58,@RJ,571,1,4,26262,0,7250.3,-2342.8,751.68,0.851782,300,0,0,12600,0,0,0,0,0),
  2172. (@GUID+59,@RJ,571,1,4,26262,0,7149.57,-2163.88,761.147,2.97457,300,0,0,12600,0,0,0,0,0),
  2173. (@GUID+60,@RJ,571,1,4,26262,0,7194.98,-2195.57,761.949,-0.387345,300,0,0,12600,0,0,0,0,0),
  2174. (@GUID+61,@RJ,571,1,4,26262,0,7157.35,-2262.32,761.623,0.494206,300,0,0,12600,0,0,0,0,0),
  2175. (@GUID+62,@RJ,571,1,4,26262,0,7252.51,-2230.52,760.183,3.20023,300,0,0,12175,0,0,0,0,0),
  2176. (@GUID+63,@RJ,571,1,4,26262,0,7082.68,-2112.98,758.537,3.60123,300,0,0,12175,0,0,0,0,0),
  2177. (@GUID+64,@RJ,571,1,4,26262,0,7138.08,-2036.25,771.858,2.03839,300,0,0,12600,0,0,0,0,0),
  2178. (@GUID+65,@RJ,571,1,4,26262,0,7065.27,-2070.9,759.016,0.790229,300,0,0,12600,0,0,0,0,0),
  2179. (@GUID+66,@RJ,571,1,4,26262,0,7142.27,-2214.55,758.268,5.21568,300,0,0,12600,0,0,0,0,0),
  2180. (@GUID+67,@RJ,571,1,4,26262,0,7093.6,-2159.45,758.662,5.46951,300,0,0,12175,0,0,0,0,0),
  2181. (@GUID+68,@RJ,571,1,4,26262,0,7050.49,-2148.12,755.994,5.28631,300,0,0,12175,0,0,0,0,0),
  2182. (@GUID+69,@RJ,571,1,4,26262,0,7117.06,-2117.56,760.043,4.86823,300,0,0,12175,0,0,0,0,0),
  2183. (@GUID+70,@RJ,571,1,4,26262,0,7134.93,-2112.19,761.723,0.788161,300,0,0,12600,0,0,0,0,0),
  2184. (@GUID+71,@RJ,571,1,4,26262,0,7123.43,-2085.57,764.362,5.11831,300,0,0,12175,0,0,0,0,0),
  2185. (@GUID+72,@BUNNY_SPEAR,571,1,4,0,0,7266.99,-2753.76,870.875,6.23082,180,0,0,9215,0,0,0,0,0),
  2186. (@GUID+73,@BUNNY_SPEAR,571,1,4,0,0,7347.33,-2809.35,868.826,0.122173,180,0,0,9215,0,0,0,0,0),
  2187. (@GUID+74,@BUNNY_SPEAR,571,1,4,0,0,7215.59,-2712.18,894.848,0.034907,180,0,0,9215,0,0,0,0,0),
  2188. (@GUID+75,@BUNNY_SPEAR,571,1,4,0,0,7393.33,-2841.03,888.614,6.14356,180,0,0,9215,0,0,0,0,0),
  2189. (@GUID+76,@NPC_THORIM3,571,1,1,0,0,7762.389,-2159.516,1233.409,1.53589,300,0,0,13481,0,0,0,0,0);
  2190. UPDATE `creature_template` SET `npcflag`=`npcflag`|1|2,`faction_A`=2107,`faction_H`=2107 WHERE `entry`=@NJORMELD;
  2191. UPDATE `creature_template` SET `faction_A`=2107,`faction_H`=2107,`npcflag`=`npcflag`|16777216 WHERE `entry`=@SNORRI_NPC;
  2192. UPDATE `creature_template` SET `npcflag`=`npcflag`|33554688 WHERE `entry`=@NPC_BUNNY;
  2193. UPDATE `creature_template` SET `AIName`='SmartAI',`npcflag`=0,`spell1`=@SPELL_GATHER,`spell2`=@SPELL_THROW,`spell5`=@SPELL_WAKE WHERE `entry`=@SNORRI_MOUNT;
  2194. UPDATE `creature_template` SET `AIName`='SmartAI',`faction_A`=2124,`faction_H`=2124 WHERE `entry`=@NPC_SR2;
  2195. UPDATE `creature_template` SET `faction_A`=2107,`faction_H`=2107,`unit_flags`=`unit_flags`|131072 WHERE `entry`=@NPC_FGS;
  2196. UPDATE `creature_template` SET `gossip_menu_id`=10109 WHERE `entry`=@NPC_THORIM3;
  2197. UPDATE `creature_template` SET `spell1`=54459, `spell2`=54458, `spell3`=54460, `spell4`=0, `spell5`=0, `spell6`=0 WHERE `entry`=@WARBEAR;
  2198. UPDATE `gameobject_template` SET `flags`=0 WHERE `entry`=191814;
  2199. UPDATE `gameobject_template` SET `flags`=0 WHERE `entry`=191815;
  2200. DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=@SPELL_WAKE;
  2201. INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES
  2202. (@SPELL_WAKE,-@SPELL_SLEEP,1,'Wake Snorri removes Sleeping Sleep');
  2203. DELETE FROM `creature_template_addon` WHERE `entry` IN (@NJORMELD,@NJORMELD2,@SNORRI_NPC,@NPC_FGS,@NPC_THORIM3,@F_WORG);
  2204. INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
  2205. (@F_WORG,0,0x0,0x101,0,0, '31748'), -- Spirit Particles, big.
  2206. (@NJORMELD,0,0,0,0,0,'61208'), -- Fjorn's Anvil - Quest Invisibility 3
  2207. (@NJORMELD2,0,0,0,0,0,'56768'), -- Quest Invisibility Tier 1
  2208. (@SNORRI_NPC,0,0,0,0,0,'61208'), -- Fjorn's Anvil - Quest Invisibility 3
  2209. (@NPC_FGS,0,0,0,0,0,'56568'), -- Cooling Breath
  2210. (@NPC_THORIM3,0,0,0,0,0,'54500'); -- Quest Invisibility 1
  2211. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceGroup`=@SNORRI_NPC;
  2212. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=29375 AND `SourceEntry`=41556;
  2213. INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
  2214. (18,@SNORRI_NPC,@SPELL_RIDE,0,0,9,0,12967,0,0,0,0,'','Required quest active for spellclick'),
  2215. (1,29375,41556,0,0,9,0,12915,0,0,0,0,'','Drop Slag Covered Metal on quest Mending Fences taken'),
  2216. -- These next 2 conditions are not blizzlike (adding them for idiots that turn in Mending Fences without taking this item)
  2217. (1,29375,41556,0,1,8,0,12915,0,0,0,0,'','Drop Slag Covered Metal on quest Mending Fences rewarded'),
  2218. (1,29375,41556,0,2,14,0,12922,0,0,0,0,'','Stop dropping Slag Covered Metal on quest The Refiner''s Fire');
  2219. DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=@SNORRI_NPC;
  2220. INSERT INTO `npc_spellclick_spells` (`npc_entry`,`spell_id`,`cast_flags`,`user_type`) VALUES
  2221. (@SNORRI_NPC,@SPELL_RIDE,3,0);
  2222. DELETE FROM `creature_text` WHERE `entry`=@SNORRI_MOUNT;
  2223. INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
  2224. (@SNORRI_MOUNT,0,0,'Oh, hello, little $r.',12,0,100,15,0,0,"Snorri text");
  2225. DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (@NPC_SR2,@NPC_FGS);
  2226. DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid` IN (@SNORRI_MOUNT,@NPC_SR2);
  2227. INSERT INTO `smart_scripts` (`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`) VALUES
  2228. -- Snorri (mount)
  2229. (@SNORRI_MOUNT,0,0,0,54,0,100,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Snorri - Say text - On just spawned'),
  2230. (@SNORRI_MOUNT,0,1,0,60,0,100,0,30000,60000,30000,60000,11,@SPELL_SLEEP,0,0,0,0,0,1,0,0,0,0,0,0,0,'Snorri - On Update - Cast sleep self'),
  2231. (@SNORRI_MOUNT,0,2,0,8,0,100,0,@SPELL_KCtTM,0,0,0,11,@SPELL_KC,0,0,0,0,0,23,0,0,0,0,0,0,0,'Snorri - On spellhit - Cast spell on owner'),
  2232. -- Seething Revenant
  2233. (@NPC_SR2,0,0,0,0,0,100,0,3000,6000,7000,12000,11,56620,1,0,0,0,0,2,0,0,0,0,0,0,0,'Seething Revenant - In Combat - Cast Seething Flames'),
  2234. (@NPC_SR2,0,1,0,6,0,100,0,0,0,0,0,11,@SPELL_KCtTM,0,0,0,0,0,7,0,0,0,0,0,0,0,'Seething Revenant - Cast KC - Target Master');
  2235. -- Quest relations
  2236. DELETE FROM `gameobject_questrelation` WHERE `id` IN (@GO_ANVIL2,@GO_SPEAR,@GO_ARNGRIM,@GO_HORN);
  2237. INSERT INTO `gameobject_questrelation` (`id`,`quest`) VALUES
  2238. (@GO_ANVIL2,@QUEST2),
  2239. (@GO_SPEAR,@QUEST3),
  2240. (@GO_ARNGRIM,@QUEST4),
  2241. (@GO_HORN,@QUEST5);
  2242. DELETE FROM `gameobject_involvedrelation` WHERE `id`IN (@GO_ANVIL2,@GO_SPEAR,@GO_ARNGRIM,@GO_HORN);
  2243. INSERT INTO `gameobject_involvedrelation` (`id`,`quest`) VALUES
  2244. (@GO_ANVIL2,@QUEST2),
  2245. (@GO_SPEAR,@QUEST3),
  2246. (@GO_ARNGRIM,@QUEST4),
  2247. (@GO_HORN,@QUEST5);
  2248. -- Quest progression linking
  2249. UPDATE `quest_template` SET `PrevQuestId`=13063 WHERE `id`=12900; -- Making a Harness
  2250. UPDATE `quest_template` SET `PrevQuestId`=12900 WHERE `id`=12983; -- The Last of Her Kind
  2251. UPDATE `quest_template` SET `PrevQuestId`=12900 WHERE `id`=12989; -- The Slithering Darkness
  2252. UPDATE `quest_template` SET `PrevQuestId`=12956 WHERE `id`=12924; -- Forging an Alliance
  2253. UPDATE `quest_template` SET `PrevQuestId`=13047 WHERE `id`=13109; -- Diametrically Opposed
  2254. UPDATE `quest_template` SET `PrevQuestId`=12967 WHERE `id`=12981; -- Hot and Cold
  2255. UPDATE `quest_template` SET `PrevQuestId`=12987 WHERE `id`=13006; -- Polishing the Helm
  2256. UPDATE `quest_template` SET `PrevQuestId`=13001 WHERE `id`=13003; -- Thrusting Hodir's Spear
  2257. -- Quest reputation conditions
  2258. UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=21000 WHERE `id`=13046; -- Feeding Arngrim
  2259. UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=9000 WHERE `id`=13003; -- Thrusting Hodir's Spear
  2260. UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=9000 WHERE `id`=13001; -- Raising Hodir's Spear
  2261. UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=9000 WHERE `id`=12994; -- Spy Hunter
  2262. UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=3000 WHERE `id`=13559; -- Hodir's Tribute
  2263. UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=3000 WHERE `id`=13421; -- Remember Everfrost!
  2264. UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=3000 WHERE `id`=13420; -- Everfrost
  2265. UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=3000 WHERE `id`=13006; -- Polishing the Helm
  2266. UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=3000 WHERE `id`=12987; -- Mounting Hodir's Helm
  2267. UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=3000 WHERE `id`=12985; -- Forging a Head
  2268. UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=3000 WHERE `id`=13011; -- Jormuttar is Soo Fat...
  2269. UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=3000 WHERE `id`=12975; -- In Memoriam
  2270. UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=0 WHERE `id`=12977; -- Blowing Hodir's Horn
  2271. UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=0 WHERE `id`=12981; -- Hot and Cold
  2272. UPDATE `quest_template` SET `ExclusiveGroup`=-13035 WHERE `id`=13035; -- Loken's Lackeys
  2273. UPDATE `quest_template` SET `ExclusiveGroup`=-13035 WHERE `id`=13005; -- The Earthen Oath
  2274. UPDATE `quest_template` SET `PrevQuestId`=13035 WHERE `id`=13047; -- The Reckoning
  2275. DELETE FROM `gossip_menu` WHERE `entry` IN (9900,9898,9899,10109);
  2276. INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES
  2277. (9900,13747), -- King Jokkum gossip for quest Krolmir, Hammer of Storms
  2278. (9898,13748), -- King Jokkum gossip for quest Krolmir, Hammer of Storms
  2279. (9899,13749), -- King Jokkum gossip for quest Krolmir, Hammer of Storms
  2280. (10109,14034); -- Thorim at Terrace of the Makers
  2281. -- Npc Texts
  2282. DELETE FROM `npc_text` WHERE `id` IN (13747,13748,13749);
  2283. INSERT INTO `npc_text` (`ID`,`text0_0`,`text0_1`,`lang0`,`prob0`,`em0_0`,`em0_1`,`em0_2`,`em0_3`,`em0_4`,`em0_5`,`text1_0`,`text1_1`,`lang1`,`prob1`,`em1_0`,`em1_1`,`em1_2`,`em1_3`,`em1_4`,`em1_5`,`text2_0`,`text2_1`,`lang2`,`prob2`,`em2_0`,`em2_1`,`em2_2`,`em2_3`,`em2_4`,`em2_5`,`text3_0`,`text3_1`,`lang3`,`prob3`,`em3_0`,`em3_1`,`em3_2`,`em3_3`,`em3_4`,`em3_5`,`text4_0`,`text4_1`,`lang4`,`prob4`,`em4_0`,`em4_1`,`em4_2`,`em4_3`,`em4_4`,`em4_5`,`text5_0`,`text5_1`,`lang5`,`prob5`,`em5_0`,`em5_1`,`em5_2`,`em5_3`,`em5_4`,`em5_5`,`text6_0`,`text6_1`,`lang6`,`prob6`,`em6_0`,`em6_1`,`em6_2`,`em6_3`,`em6_4`,`em6_5`,`text7_0`,`text7_1`,`lang7`,`prob7`,`em7_0`,`em7_1`,`em7_2`,`em7_3`,`em7_4`,`em7_5`,`WDBVerified`) VALUES
  2284. (13747,'You are permitted to visit our stronghold, little $r.$b$bDo not bring us dishonor!','',0,1,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,12340),
  2285. (13748,'I do not trust you enough to speak of such things.$b$bYou must respect the trials our people have endured, the burdens we have borne...$b$bPerhaps, if you were to bring great honor to Dun Niffelem, I would be inclined to share with you the knowledge of our people.','',0,1,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,12340),
  2286. (13749,'Very well, little $c.$b$bWhile there is much left for you to do to mend our relations with Thorim, I am compelled to share with you this one secret.$b$bSpeak to me again when you are ready to be shown that which you seek.','',0,1,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,12340);
  2287. -- Gossip menus
  2288. DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (9900,9899);
  2289. 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
  2290. (9900,0,0,'If it please you, King Jokkum, may I know what has become of Krolmir?',1,1,9898,0,0,0,NULL),
  2291. (9900,1,0,'If it please you, King Jokkum, may I know what has become of Krolmir?',1,1,9899,0,0,0,NULL),
  2292. (9899,0,0,'I am ready to be shown the fate of Krolmir,',1,1,0,0,0,0,NULL);
  2293. -- Conditions
  2294. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9900;
  2295. INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
  2296. (15,9900,1,0,0,8,0,13011,0,0,0,0,'','Show gossip if player has quest completed'),
  2297. (15,9900,0,0,0,8,0,13011,0,0,1,0,'','Show gossip if player doesn''t have quest completed');
  2298. -- Hot and Cold (12981)
  2299. SET @SPELL_ESSENCE := 56099; -- Throw Essence of Ice
  2300. SET @SPELL_SSM := 56073; -- Summon Smoldering Scrap
  2301. SET @SPELL_SFIS := 56101; -- Summon Frozen Iron Scrap
  2302. SET @AURA_SMOKE := 56118; -- Smolder Smoke
  2303. SET @NPC_BUNNY2 := 30169; -- Smoldering Scrap Bunny
  2304. SET @GO_SMOLDERING_SCRAP := 192124; -- Smoldering Scrap
  2305. DELETE FROM `creature` WHERE `id`=@NPC_BUNNY2;
  2306. INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`,`npcflag`,`unit_flags`,`dynamicflags`) VALUES
  2307. (@GUID_BUNNY+0,@NPC_BUNNY2,571,1,8,1,0,7138.416,-3553.746,832.2787,4.694936,120,0,0,1,0,0,0,0,0),
  2308. (@GUID_BUNNY+1,@NPC_BUNNY2,571,1,8,1,0,7191.637,-3490.598,833.993,0.2094395,120,0,0,1,0,0,0,0,0),
  2309. (@GUID_BUNNY+2,@NPC_BUNNY2,571,1,8,1,0,7181.407,-3533.111,826.9557,3.211406,120,0,0,1,0,0,0,0,0),
  2310. (@GUID_BUNNY+3,@NPC_BUNNY2,571,1,8,1,0,7178.466,-3558.917,827.0338,3.351032,120,0,0,1,0,0,0,0,0),
  2311. (@GUID_BUNNY+4,@NPC_BUNNY2,571,1,8,1,0,7204.097,-3497.685,830.7673,2.635447,120,0,0,1,0,0,0,0,0),
  2312. (@GUID_BUNNY+5,@NPC_BUNNY2,571,1,8,1,0,7232.065,-3474.279,850.7675,3.926991,120,0,0,1,0,0,0,0,0),
  2313. (@GUID_BUNNY+6,@NPC_BUNNY2,571,1,8,1,0,7206.615,-3481.997,833.5632,3.281219,120,0,0,1,0,0,0,0,0),
  2314. (@GUID_BUNNY+7,@NPC_BUNNY2,571,1,8,1,0,7192.001,-3386.612,846.4163,2.111848,120,0,0,1,0,0,0,0,0),
  2315. (@GUID_BUNNY+8,@NPC_BUNNY2,571,1,8,1,0,7206.483,-3460.641,835.8506,3.909538,120,0,0,1,0,0,0,0,0),
  2316. (@GUID_BUNNY+9,@NPC_BUNNY2,571,1,8,1,0,7227.852,-3415.956,840.174,1.553343,120,0,0,1,0,0,0,0,0),
  2317. (@GUID_BUNNY+10,@NPC_BUNNY2,571,1,8,1,0,7222.42,-3441.838,837.1934,2.146755,120,0,0,1,0,0,0,0,0),
  2318. (@GUID_BUNNY+11,@NPC_BUNNY2,571,1,8,1,0,7207.466,-3438.533,838.8736,2.897247,120,0,0,1,0,0,0,0,0),
  2319. (@GUID_BUNNY+12,@NPC_BUNNY2,571,1,8,1,0,7217.787,-3378.616,846.7336,5.410521,120,0,0,1,0,0,0,0,0),
  2320. (@GUID_BUNNY+13,@NPC_BUNNY2,571,1,8,1,0,7206.611,-3404.196,841.4804,4.223697,120,0,0,1,0,0,0,0,0),
  2321. (@GUID_BUNNY+14,@NPC_BUNNY2,571,1,8,1,0,7248.638,-3625.245,826.9236,3.647738,120,0,0,1,0,0,0,0,0),
  2322. (@GUID_BUNNY+15,@NPC_BUNNY2,571,1,8,1,0,7219.116,-3607.771,822.712,1.658063,120,0,0,1,0,0,0,0,0),
  2323. (@GUID_BUNNY+16,@NPC_BUNNY2,571,1,8,1,0,7204.861,-3628.249,823.5885,4.223697,120,0,0,1,0,0,0,0,0),
  2324. (@GUID_BUNNY+17,@NPC_BUNNY2,571,1,8,1,0,7196.265,-3652.629,823.5908,4.886922,120,0,0,1,0,0,0,0,0),
  2325. (@GUID_BUNNY+18,@NPC_BUNNY2,571,1,8,1,0,7246.637,-3648.932,823.046,0.9948376,120,0,0,1,0,0,0,0,0),
  2326. (@GUID_BUNNY+19,@NPC_BUNNY2,571,1,8,1,0,7236.381,-3678.733,822.8235,0.8726646,120,0,0,1,0,0,0,0,0),
  2327. (@GUID_BUNNY+20,@NPC_BUNNY2,571,1,8,1,0,7192.001,-3386.612,846.4163,2.111848,120,0,0,1,0,0,0,0,0),
  2328. (@GUID_BUNNY+21,@NPC_BUNNY2,571,1,8,1,0,7217.787,-3378.616,846.7336,5.410521,120,0,0,1,0,0,0,0,0),
  2329. (@GUID_BUNNY+22,@NPC_BUNNY2,571,1,8,1,0,7206.611,-3404.196,841.4804,4.223697,120,0,0,1,0,0,0,0,0);
  2330. DELETE FROM `creature_template_addon` WHERE `entry`=@NPC_BUNNY2;
  2331. INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
  2332. (@NPC_BUNNY2,0,0,0,1,0,@AURA_SMOKE);
  2333. UPDATE `creature_template` SET `AIName`='SmartAI',`flags_extra`=`flags_extra`|128 WHERE `entry`=@NPC_BUNNY2;
  2334. DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@NPC_BUNNY2;
  2335. INSERT INTO `smart_scripts` (`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`) VALUES
  2336. (@NPC_BUNNY2,0,0,0,11,0,100,0,0,0,0,0,11,@SPELL_SSM,0,0,0,0,0,1,0,0,0,0,0,0,0,'Smoldering Scrap Bunny - On spawn - Cast Summon Smoldering Scrap'),
  2337. (@NPC_BUNNY2,0,1,2,8,0,100,1,@SPELL_ESSENCE,0,0,0,99,3,0,0,0,0,0,20,@GO_SMOLDERING_SCRAP,1,0,0,0,0,0,'Smoldering Scrap Bunny- On spellhit - Set Go state 3'),
  2338. (@NPC_BUNNY2,0,2,3,61,0,100,0,0,0,0,0,11,@SPELL_SFIS,0,0,0,0,0,1,0,0,0,0,0,0,0,'Smoldering Scrap Bunny - Link - Cast Summon Frozen Iron Scrap'),
  2339. (@NPC_BUNNY2,0,3,0,61,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Smoldering Scrap Bunny - Link - Despawn');
  2340. -- Spear Holder
  2341. -- Will be used with @SPELL_CHAIN
  2342. SET @BUNNY_SPEAR := 30246; -- Dun Niffelem Spear Chain Bunny (Phase 2)
  2343. SET @SPELL_CHAIN := 56379; -- Spear Chain Beam
  2344. UPDATE `creature_template` SET `AIName`='SmartAI', `InhabitType`=4, `modelid1`=21342, `modelid2`=0 WHERE `entry`=30246;
  2345. UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=@BUNNY_SPEAR;
  2346. DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-142408,-142407);
  2347. INSERT INTO `smart_scripts` (`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`) VALUES
  2348. (-142408,0,0,0,60,0,100,0,0,1,20000,20000,11,@SPELL_CHAIN,0,0,0,0,0,10,142410,@BUNNY_SPEAR,0,0,0,0,0,'Chain Bunny - OOC - Cast Chain on bunny'),
  2349. (-142407,0,0,0,60,0,100,0,0,1,20000,20000,11,@SPELL_CHAIN,0,0,0,0,0,10,142409,@BUNNY_SPEAR,0,0,0,0,0,'Chain Bunny- OOC - Cast Chain on bunny');
  2350. -- Into the Pit
  2351. SET @SPELL_SMASH := 54458;
  2352. SET @SPELL_DSHOUT := 54459;
  2353. SET @SPELL_CHARGE := 54460;
  2354. UPDATE `creature_template` SET `AIName`='SmartAI', `faction_A`=1125, `faction_H`=1125 WHERE `entry`=@HYLDSMEET_WB;
  2355. DELETE FROM `smart_scripts` WHERE `entryorguid` =@HYLDSMEET_WB;
  2356. INSERT INTO `smart_scripts` (`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`) VALUES
  2357. (@HYLDSMEET_WB,0,0,0,0,0,100,0,3000,6000,7000,12000,11,@SPELL_SMASH,1,0,0,0,0,2,0,0,0,0,0,0,0,'Hyldsmeet Warbear - In Combat - Cast Smash'),
  2358. (@HYLDSMEET_WB,0,1,0,0,0,100,0,1000,35000,70000,95000,11,@SPELL_DSHOUT,1,0,0,0,0,2,0,0,0,0,0,0,0,'Hyldsmeet Warbear - In Combat - Cast Demoralizing Shout'),
  2359. (@HYLDSMEET_WB,0,2,0,0,0,100,0,5000,9000,11000,17000,11,@SPELL_CHARGE,1,0,0,0,0,2,0,0,0,0,0,0,0,'Hyldsmeet Warbear - In Combat - Cast Charge');
  2360. -- Spy Hunter
  2361. UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE entry= @F_WORG;
  2362. DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@F_WORG,@F_WORG*100,@F_WORG*100+1,@F_WORG*100+2) AND `source_type`IN(0,9);
  2363. INSERT INTO `smart_scripts` (`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`) VALUES
  2364. (@F_WORG,0,0,1,54,0,100,0,0,0,0,0,87,@F_WORG*100,@F_WORG*100+1,@F_WORG*100+2,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - Just summoned - Execute random Action Script'),
  2365. (@F_WORG,0,1,2,61,0,100,0,0,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Link - Set Run'),
  2366. (@F_WORG,0,2,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Link - Say 0'),
  2367. --
  2368. (@F_WORG*100,9,1,0,0,0,100,0,5000,5000,5000,5000,69,0,0,0,0,0,0,8,0,0,0,7149.648,-2189.751,759.320,0,'Ethereal Frostwarg - On Script - Go to POS'),
  2369. (@F_WORG*100,9,2,0,0,0,100,0,1000,1000,1000,1000,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Say 1'),
  2370. (@F_WORG*100,9,3,0,0,0,100,0,7000,7000,7000,7000,89,20,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Random Movement'),
  2371. (@F_WORG*100,9,4,0,0,0,100,0,1000,1000,1000,1000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Say 2'),
  2372. (@F_WORG*100,9,5,0,0,0,100,0,1000,1000,1000,1000,11,@SUMMON_SFINF,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Summon SFI'),
  2373. --
  2374. (@F_WORG*100+1,9,1,0,0,0,100,0,5000,5000,5000,5000,69,0,0,0,0,0,0,8,0,0,0,7220.366,-2228.265,758.8727,0,'Ethereal Frostwarg - On Script - Go to POS'),
  2375. (@F_WORG*100+1,9,2,0,0,0,100,0,1000,1000,1000,1000,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Say 1'),
  2376. (@F_WORG*100+1,9,3,0,0,0,100,0,7000,7000,7000,7000,89,20,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Random Movement'),
  2377. (@F_WORG*100+1,9,4,0,0,0,100,0,1000,1000,1000,1000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Say 2'),
  2378. (@F_WORG*100+1,9,5,0,0,0,100,0,1000,1000,1000,1000,11,@SUMMON_SFINF,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Summon SFI'),
  2379. --
  2380. (@F_WORG*100+2,9,1,0,0,0,100,0,5000,5000,5000,5000,69,0,0,0,0,0,0,8,0,0,0,7181.581,-2264.689,758.043,0,'Ethereal Frostwarg - On Script - Summon SFI'),
  2381. (@F_WORG*100+2,9,2,0,0,0,100,0,1000,1000,1000,1000,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Say 1'),
  2382. (@F_WORG*100+2,9,3,0,0,0,100,0,7000,7000,7000,7000,89,20,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Random Movement'),
  2383. (@F_WORG*100+2,9,4,0,0,0,100,0,1000,1000,1000,1000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Say 2'),
  2384. (@F_WORG*100+2,9,5,0,0,0,100,0,1000,1000,1000,1000,11,@SUMMON_SFINF,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Summon SFI');
  2385. DELETE FROM `creature_text` WHERE entry = @F_WORG;
  2386. INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
  2387. (@F_WORG, 0, 0, 'The worg sprints off in search of enemies.', 16, 0, 100, 0, 0, 1108, 'Ethereal Frostworg'),
  2388. (@F_WORG, 1, 0, 'The worg growls as it closes in on its prey.', 16, 0, 100, 0, 0, 0, 'Ethereal Frostworg'),
  2389. (@F_WORG, 2, 0, 'The frostworg howls, exposing its prey!', 16, 0, 100, 53, 0, 9036, 'Ethereal Frostworg');
  2390. /*SoH phasing progression
  2391. Since all npcs/gobs from @PHASE1 are using ingame phasemask 1,
  2392. won't use this spell to phase the area,because that would need all of them rephased
  2393. (as spell @PHASE1 is actually ingame phasemask 2)
  2394. */
  2395. SET @PHASE1 := 55857; -- Phase Shift 1: Frost Giants
  2396. SET @PHASE2 := 55858; -- Phase Shift 2: Frost Giants
  2397. SET @PHASE3 := 55952; -- Phase Shift 3: Fjorn's Anvil
  2398. SET @SPIKE := 56305; -- See Quest Invisibility 1 (Ice Spike Bunny)
  2399. SET @QUEST_TIER1 := 56771; -- See Invisibility Tier 1
  2400. SET @FA := 61209; -- Fjorn's Anvil - See Quest Invisibility 3
  2401. SET @BARGAIN1 := 55012; -- Lok'lira's Bargain
  2402. SET @BARGAIN2 := 72914; -- Lok'lira's Bargain
  2403. SET @SEE_INV := 54502; -- See Quest Invisibility 1
  2404. SET @AREA0 := 4437; -- Valley of Ancient Winters
  2405. SET @AREA1 := 4438; -- Dun Niffelem
  2406. SET @AREA2 := 4439; -- Frostfield Lake
  2407. SET @AREA3 := 4495; -- Fjorn's Anvil
  2408. SET @AREA4 := 4440; -- Thunderfall
  2409. SET @AREA5 := 4446; -- Terrace of the Makers
  2410. SET @AREA6 := 4455; -- Hibernal Cavern
  2411. -- P1 adds when taking Forging an Alliance (0,1,2,3,4)(0 ends disguise)
  2412. -- P2 starts with Forging an Alliance (0,1,2,3,4)
  2413. -- P3 starts after turning in Forging an Alliance (3)
  2414. -- @PHASE1 added just as a reference, it won't be used
  2415. DELETE FROM `spell_area` WHERE `area` IN (@AREA0,@AREA1,@AREA2,@AREA3,@AREA4,@AREA5,@AREA5,@AREA6);
  2416. INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`, `quest_start_status`, `quest_end_status`) VALUES
  2417. (@BARGAIN2, @AREA0, 12972, 13063, 0, 0, 2, 1, 74, 11),
  2418. (@BARGAIN1, @AREA0, 12972, 13063, 0, 0, 2, 1, 74, 11),
  2419. (@PHASE2, @AREA0, 12924, 0, 0, 0, 2, 1, 74, 11),
  2420. (@PHASE2, @AREA1, 12924, 0, 0, 0, 2, 1, 74, 11),
  2421. (@SPIKE, @AREA1, 12987, 12987, 0, 0, 2, 1, 74, 11),
  2422. (@QUEST_TIER1, @AREA1, 12967, 0, 0, 0, 2, 1, 64, 11),
  2423. (@PHASE3, @AREA3, 12924, 0, 0, 0, 2, 1, 64, 11),
  2424. (@PHASE2,@AREA6, 12924, 0, 0, 0, 2, 1, 74, 11),
  2425. (@PHASE2, @AREA4, 12924, 0, 0, 0, 2, 1, 74, 11),
  2426. (@PHASE2, @AREA2, 12924, 0, 0, 0, 2, 1, 74, 11),
  2427. (@BARGAIN1, @AREA1, 12856, 12856, 0, 0, 2, 1, 74, 11),
  2428. (@FA, @AREA3, 12924, 12924, 0, 0, 2, 1, 74, 11),
  2429. (@BARGAIN2, @AREA1, 12856, 12856, 0, 0, 2, 1, 74, 11),
  2430. (@PHASE2, @AREA3, 12924, 12924, 0, 0, 2, 1, 74, 11),
  2431. (@SEE_INV, @AREA5, 13057, 0, 0, 0, 2, 1, 74, 11);
  2432. -- Mending Fences
  2433. SET @SFIG := 29375; -- Stormforged Iron Giant
  2434. SET @S_EARTHEN := 55528; -- Summon Earthen Ironbane
  2435. SET @SHOCKWAVE := 57741; -- Shockwave
  2436. DELETE FROM `creature_equip_template` WHERE entry = 29927;
  2437. INSERT INTO `creature_equip_template` (`entry`, `id`, `itemEntry1`, `itemEntry2`, `itemEntry3`) VALUES
  2438. (29927, 1, 743, 0, 0);
  2439. DELETE FROM `spell_linked_spell` WHERE `spell_trigger` = 55818;
  2440. INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`,`comment`) VALUES (55818, 55528, 0, 'Summon Earthen');
  2441. DELETE FROM `spell_scripts` WHERE `id`= 55818;
  2442. INSERT INTO `spell_scripts` (`id`, `command`, `datalong`, `datalong2`) VALUES (55818, 15, 55528, 1);
  2443. UPDATE `creature_template` SET `AIName`='SmartAI' WHERE entry = @SFIG;
  2444. UPDATE `creature_template` SET `faction_A`=2118,`faction_H`=2118,`unit_flags`=526336,`speed_run`=0.99206285714286 WHERE `entry`=29927; -- Earthen Ironbane
  2445. DELETE FROM `creature_ai_scripts` WHERE creature_id = @SFIG;
  2446. DELETE FROM `smart_scripts` WHERE entryorguid = 29375 AND `source_type` = 0;
  2447. INSERT INTO `smart_scripts` (`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`) VALUES
  2448. (@SFIG, 0, 0, 0, 0, 0, 100, 0, 6000, 12000, 20000, 26000, 11, @SHOCKWAVE, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Stormforged Iron Giant - In combat - Cast Shockwave'),
  2449. (@SFIG, 0, 1, 2, 8, 0, 100, 0, 55818, 0, 0, 0, 11, @S_EARTHEN, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Stormforged Iron Giant - On Spellhit - Summon Earthen Ironbane'),
  2450. (@SFIG, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 11, @S_EARTHEN, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Stormforged Iron Giant - On Spellhit - Summon Earthen Ironbane'),
  2451. (@SFIG, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, @S_EARTHEN, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Stormforged Iron Giant - On Spellhit - Summon Earthen Ironbane');
  2452. -- Forging a Head (12985)
  2453. SET @NPC := 29914; -- Dead Iron Giant
  2454. SET @SPELL := 29266; -- Permanent Feign Death
  2455. SET @SF_A := 30208; -- Stormforged Ambusher
  2456. UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` =@NPC ;
  2457. DELETE FROM `smart_scripts` WHERE entryorguid IN (@NPC,@NPC*100,@NPC*100+1) AND `source_type` IN (0,9);
  2458. INSERT INTO `smart_scripts` (`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`) VALUES
  2459. (@NPC, 0, 0, 0, 8, 0, 100, 0, 56227, 0, 0, 0, 88, @NPC*100,@NPC*100+1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Dead Iron Giant - Run Random Script on Salvage Corpse Spell Hit'),
  2460. (@NPC, 0, 1, 0, 25, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Dead Iron Giant - Set Passive'),
  2461. (@NPC*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, 56230, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Dead Iron Giant - Cast Create Fireforged Eyes'),
  2462. (@NPC*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Dead Iron Giant - Despawn'),
  2463. (@NPC*100+1, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 12, @SF_A, 1, 60000, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Dead Iron Giant - Summon Stormforged Ambusher'),
  2464. (@NPC*100+1, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Dead Iron Giant - Despawn');
  2465. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=56227;
  2466. INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
  2467. (13, 1, 56227, 0, 0, 31, 0, 3, 29914, 0, 0, 0, 0, '', 'Salvage Corpse can hit Dead Iron Giant');
  2468. DELETE FROM `creature_loot_template` WHERE entry = @SF_A;
  2469. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
  2470. (@SF_A, 42105, -33, 1, 0, 1, 1),
  2471. (@SF_A, 42423, -50, 1, 0, 1, 1);
  2472. DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=56562;
  2473. INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
  2474. (56562, 56566, 0, 'Carve Bear Flank triggers create bear flank');
  2475. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 17 AND `SourceEntry`= 56562;
  2476. INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
  2477. (17, 0, 56562, 0, 0, 23, 0, 4455, 0, 0, 0, 0, 0, '', 'Carve Bear Flank only hits bear');
  2478. DELETE FROM `creature` WHERE `id`=@NPC AND `phaseMask`=4;
  2479. INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES
  2480. (@GUID_BUNNY2,@NPC,571,1,4,0,0,7429.23,-3187.91,837.452,0.19249,120,0,0,50400,0,0,0,0,0),
  2481. (@GUID_BUNNY2+1,@NPC,571,1,4,0,0,7359.28,-3176.45,837.452,1.31954,120,0,0,50400,0,0,0,0,0),
  2482. (@GUID_BUNNY2+2,@NPC,571,1,4,0,0,7280.03,-3142.9,837.452,4.41243,120,0,0,50400,0,0,0,0,0),
  2483. (@GUID_BUNNY2+3,@NPC,571,1,4,0,0,7515.58,-3137.05,837.452,5.47429,120,0,0,50400,0,0,0,0,0),
  2484. (@GUID_BUNNY2+4,@NPC,571,1,4,0,0,7509.03,-3225.78,837.432,2.03661,120,0,0,50400,0,0,0,0,0),
  2485. (@GUID_BUNNY2+5,@NPC,571,1,4,0,0,7259.32,-3221.84,837.452,1.06349,120,0,0,50400,0,0,0,0,0);
  2486. DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID AND @OGUID+16;
  2487. INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES
  2488. (@OGUID,192187,571,1,4,7306.37,-2060.06,760.918,-3.11488,0,0,-0.999911,0.0133559,180,255,1),
  2489. (@OGUID+1,192188,571,1,4,7313.11,-2054.22,760.599,2.81615,0,0,0.98679,0.162004,180,255,1),
  2490. (@OGUID+2,192189,571,1,4,7313.61,-2054.12,761.261,0.711686,0,0,0.348381,0.937353,180,255,1),
  2491. (@OGUID+3,192190,571,1,4,7309.42,-2060.01,761.261,0.504564,0,0,0.249614,0.968345,180,255,1),
  2492. (@OGUID+4,192191,571,1,4,7320.77,-2041.83,760.599,2.81615,0,0,0.98679,0.162004,180,255,1),
  2493. (@OGUID+5,192192,571,1,4,7314.04,-2044.86,759.983,1.09942,0,0,0.52244,0.852676,180,255,1),
  2494. (@OGUID+6,192193,571,1,4,7325.57,-2044.47,760.737,-0.80439,0,0,-0.391439,0.920204,180,255,1),
  2495. (@OGUID+7,192194,571,1,4,7320.69,-2053.65,761.339,-0.80439,0,0,-0.391439,0.920204,180,255,1),
  2496. (@OGUID+8,192195,571,1,4,7321,-2054.29,760.9,-1.40123,0,0,-0.644688,0.764446,180,255,1),
  2497. -- Granite Boulders for "Mending Fences"
  2498. (@OGUID+9,191814,571,1,1,7337.647,-3049.821,841.3665,1.221729,0,0,0,1,120,255,1), -- Granite Boulder (Area: Dun Niffelem)
  2499. (@OGUID+10,191814,571,1,1,7254.236,-3021.713,846.6954,0.4886912,0,0,0,1,120,255,1), -- Granite Boulder (Area: Frostfield Lake)
  2500. (@OGUID+11,191814,571,1,1,7329.995,-3292.084,859.1428,5.550147,0,0,0,1,120,255,1), -- Granite Boulder (Area: Frostfield Lake)
  2501. (@OGUID+12,191814,571,1,1,7241.131,-3344.769,852.5411,1.692969,0,0,0,1,120,255,1), -- Granite Boulder (Area: Frostfield Lake)
  2502. (@OGUID+13,191814,571,1,1,7158.728,-3356.495,860.1804,4.433136,0,0,0,1,120,255,1), -- Granite Boulder (Area: Frostfield Lake)
  2503. (@OGUID+14,191814,571,1,1,7239.152,-3403.615,849.8006,2.35619,0,0,0,1,120,255,1), -- Granite Boulder (Area: Frostfield Lake)
  2504. (@OGUID+15,191814,571,1,1,7160.917,-3487.592,857.127,1.623156,0,0,0,1,120,255,1), -- Granite Boulder (Area: Fjorn's Anvil)
  2505. (@OGUID+16,191814,571,1,1,7207.494,-3539.533,827.2614,2.408554,0,0,0,1,120,255,1); -- Granite Boulder (Area: Fjorn's Anvil)
  2506. DELETE FROM `creature_loot_template` WHERE entry = @SM;
  2507. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
  2508. (@SM, 42104, -33, 1, 0, 1, 1),
  2509. (@SM, 42542, -29, 1, 0, 1, 1),
  2510. (@SM, 45912, 0.1, 1, 0, 1, 1);
  2511. UPDATE `spell_area` SET `quest_start`=12921 WHERE `spell` IN (55012,72914) AND `area`=4437; -- Valley of Ancient Winters
  2512. DELETE FROM `spell_area` WHERE `spell`=54784; -- Frost Reaction Frost Vrykul
  2513. -- Already spawned by TDB and visible in all phases
  2514. UPDATE `creature` SET `phaseMask`=1|2|4 WHERE `guid` IN (116761,116762,116763);
  2515. DELETE FROM `creature_addon` WHERE `guid` IN (116761,116762,116763);
  2516. DELETE FROM `creature_template_addon` WHERE `entry`=@NPC;
  2517. INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
  2518. (@NPC,0,0,0,0,0,@SPELL);
  2519. UPDATE `creature` SET `phaseMask`=1 WHERE `guid`=152124;
  2520. UPDATE `gameobject` SET `phaseMask`=4 WHERE `id`=192081; -- Horn Fragment
  2521. /*
  2522. * sql\updates\world\2013_07_05_03_world_misc.sql
  2523. */
  2524. -- Into the Pit (thx to KirkHammett)
  2525. SET @ENTRY := 30174;
  2526. SET @SPELL_SMASH := 54458;
  2527. SET @SPELL_DSHOUT := 54459;
  2528. SET @SPELL_CHARGE := 54460;
  2529. UPDATE `creature_template` SET `AIName`='SmartAI', `faction_A`=2128, `faction_H`=2128 WHERE `entry`=@ENTRY;
  2530. DELETE FROM `smart_scripts` WHERE `entryorguid` =@ENTRY;
  2531. INSERT INTO `smart_scripts` (`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`) VALUES
  2532. (@ENTRY,0,0,0,1,0,100,0,0,0,0,0,2,31,0,0,0,0,0,1,0,0,0,0,0,0,0,'Hyldsmeet Warbear - OOC - Set Faction'),
  2533. (@ENTRY,0,1,0,0,0,100,0,3000,6000,7000,12000,11,@SPELL_SMASH,1,0,0,0,0,2,0,0,0,0,0,0,0,'Hyldsmeet Warbear - In Combat - Cast Smash'),
  2534. (@ENTRY,0,2,0,0,0,100,0,1000,35000,70000,95000,11,@SPELL_DSHOUT,1,0,0,0,0,2,0,0,0,0,0,0,0,'Hyldsmeet Warbear - In Combat - Cast Demoralizing Shout'),
  2535. (@ENTRY,0,3,0,0,0,100,0,5000,9000,11000,17000,11,@SPELL_CHARGE,1,0,0,0,0,2,0,0,0,0,0,0,0,'Hyldsmeet Warbear - In Combat - Cast Charge');
  2536. -- Some errors startup errors
  2537. UPDATE `creature_equip_template` SET `itemEntry1`=12883 WHERE `entry`=29927 AND `id`=1;
  2538. UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=37416;
  2539. UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=37346;
  2540. UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=37364;
  2541. UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=37269;
  2542. UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=37369;
  2543. UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=37268;
  2544. UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=37335;
  2545. UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=37483;
  2546. UPDATE `creature_template` SET `npcflag`=4194306 WHERE `entry`=37310;
  2547. UPDATE `creature_template` SET `npcflag`=4194306 WHERE `entry`=37426;
  2548. /*
  2549. * sql\updates\world\2013_07_05_04_world_sai.sql
  2550. */
  2551. DELETE FROM `disables` WHERE `sourcetype`=0 AND `entry`=53038 AND `flags`=64;
  2552. INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES
  2553. (0,53038,64, '', '', 'Disable Vmaps for Didgeridoo of Contemplation');
  2554. DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (29056,29057,29069,29058);
  2555. UPDATE `creature_template` SET `ainame`='SmartAI',`scriptname`='' WHERE `entry` IN (29056,29057,29069,29058);
  2556. DELETE FROM `smart_scripts` WHERE `entryorguid` IN (29056,29057,29069,29058) AND `source_type`=0;
  2557. INSERT INTO `smart_scripts` VALUES
  2558. (29056,0,0,0,8,0,100,0,53038,0,0,0,33,29056,0,0,0,0,0,7,0,0,0,0,0,0,0,'Glimmering Pillar Credit - On Spell Hit - Give Quest Credit'),
  2559. (29057,0,0,0,8,0,100,0,53038,0,0,0,33,29057,0,0,0,0,0,7,0,0,0,0,0,0,0,'Mosslight Pillar Credit - On Spell Hit - Give Quest Credit'),
  2560. (29069,0,0,0,8,0,100,0,53038,0,0,0,33,29069,0,0,0,0,0,7,0,0,0,0,0,0,0,'Skyreach Pillar Credit - On Spell Hit - Give Quest Credit'),
  2561. (29058,0,0,0,8,0,100,0,53038,0,0,0,33,29058,0,0,0,0,0,7,0,0,0,0,0,0,0,'Suntouched Pillar Credit - On Spell Hit - Give Quest Credit');
  2562. /*
  2563. * sql\updates\world\2013_07_06_00_world_spelldifficulty_dbc.sql
  2564. */
  2565. DELETE FROM `spelldifficulty_dbc` WHERE `id` IN (64213,64216,28371,28374,58960,58663,58666,60919,60897,60902,33526,33527,33528,33529,29107,36383,32302);
  2566. INSERT INTO `spelldifficulty_dbc` (`id`,`spellid0`,`spellid1`,`spellid2`,`spellid3`) VALUES
  2567. (64213,64213,64215,0,0),
  2568. (64216,64216,65279,0,0),
  2569. (28371,28371,54427,0,0),
  2570. (28374,28374,54426,0,0),
  2571. (58960,58960,60894,0,0),
  2572. (58663,58663,60880,0,0),
  2573. (58666,58666,60882,0,0),
  2574. (60919,60919,60923,0,0),
  2575. (60897,60897,60899,0,0),
  2576. (60902,60902,60916,0,0),
  2577. (33526,33526,38141,0,0),
  2578. (33527,33527,38138,0,0),
  2579. (33528,33528,38142,0,0),
  2580. (33529,33529,38143,0,0),
  2581. (29107,29107,55543,0,0),
  2582. (36383,36383,39382,0,0),
  2583. (32302,32302,38382,0,0);
  2584. /*
  2585. * sql\updates\world\2013_07_06_01_world_conditions.sql
  2586. */
  2587. UPDATE `quest_template` SET `PrevQuestId`=0 WHERE `Id`=12486;
  2588. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (19,20) and `SourceEntry`IN(11595,11596,11597,12486);
  2589. INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
  2590. (20,0,12486,0,0,8,0,11595,0,0,0,0,0, '', 'To Bor gorok Outpost,Quickly! once The Defense of Warsong Hold Has been completed'),
  2591. (19,0,12486,0,0,8,0,11595,0,0,0,0,0, '', 'To Bor gorok Outpost,Quickly! once The Defense of Warsong Hold Has been completed'),
  2592. (20,0,12486,0,1,8,0,11596,0,0,0,0,0, '', 'To Bor gorok Outpost,Quickly! once The Defense of Warsong Hold Has been completed'),
  2593. (19,0,12486,0,1,8,0,11596,0,0,0,0,0, '', 'To Bor gorok Outpost,Quickly! once The Defense of Warsong Hold Has been completed'),
  2594. (20,0,12486,0,2,8,0,11597,0,0,0,0,0, '', 'To Bor gorok Outpost,Quickly! once The Defense of Warsong Hold Has been completed'),
  2595. (19,0,12486,0,2,8,0,11597,0,0,0,0,0, '', 'To Bor gorok Outpost,Quickly! once The Defense of Warsong Hold Has been completed'),
  2596. (20,0,11595,0,0,8,0,7784,0,0,0,0,0, '', 'Defense of Warsong Hold (11595) Only if player has completed The Lord of Blackrock'),
  2597. (19,0,11595,0,0,8,0,7784,0,0,0,0,0, '', 'Defense of Warsong Hold (11595) Only if player has completed The Lord of Blackrock'),
  2598. (20,0,11596,0,0,8,0,7784,0,0,1,0,0, '', 'Defense of Warsong Hold (11596) Only if player has not completed The Lord of Blackrock'),
  2599. (19,0,11596,0,0,8,0,7784,0,0,1,0,0, '', 'Defense of Warsong Hold (11596) Only if player has not completed The Lord of Blackrock'),
  2600. (20,0,11596,0,0,8,0,8743,0,0,1,0,0, '', 'Defense of Warsong Hold (11596) Only if player has not completed Bang a Gong'),
  2601. (19,0,11596,0,0,8,0,8743,0,0,1,0,0, '', 'Defense of Warsong Hold (11596) Only if player has not completed Bang a Gong'),
  2602. (20,0,11597,0,0,8,0,8743,0,0,0,0,0, '', 'Defense of Warsong Hold (11597) Only if player has completed Bang a Gong'),
  2603. (19,0,11597,0,0,8,0,8743,0,0,0,0,0, '', 'Defense of Warsong Hold (11597) Only if player has completed Bang a Gong');
  2604. /*
  2605. * sql\updates\world\2013_07_06_02_world_gobj_loot_template.sql
  2606. */
  2607. DELETE FROM `gameobject_loot_template` WHERE `entry`=2772;
  2608. INSERT INTO `gameobject_loot_template` (`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`)
  2609. VALUES (2772,5339,-100,1,0,1,1);
  2610. /*
  2611. * sql\updates\world\2013_07_06_03_world_creature_template.sql
  2612. */
  2613. UPDATE `creature_template` SET `unit_flags`=`unit_flags`&~256 &~512 WHERE `entry`=29775;
  2614. /*
  2615. * sql\updates\world\2013_07_06_04_world_sai.sql
  2616. */
  2617. SET @AXTROZ := 12899;
  2618. DELETE FROM `creature_ai_scripts` WHERE `creature_id` = @AXTROZ;
  2619. UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = @AXTROZ;
  2620. -- SAI for Axtroz
  2621. DELETE FROM `smart_scripts` WHERE `entryorguid`=@AXTROZ AND `source_type`=0;
  2622. INSERT INTO `smart_scripts` (`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`) VALUES
  2623. (@AXTROZ,0,0,0,0,0,100,0,6100,7100,16200,16200,11,20712,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Axtroz - In Combat - Cast Flame Breath'),
  2624. (@AXTROZ,0,1,0,0,0,100,0,8300,13300,7700,11400,11,16095,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Axtroz - In Combat - Cast Vicious Rend'),
  2625. (@AXTROZ,0,2,0,0,0,90,0,4600,5200,6400,11800,11,20714,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Axtroz - In Combat - Cast Fireball');
  2626. /*
  2627. * sql\updates\world\2013_07_07_00_world_misc.sql
  2628. */
  2629. -- Fix some runtime errors
  2630. UPDATE `creature` SET `MovementType`=0 WHERE `guid` IN (142347,142368,142371,142376,142378,142379);
  2631. UPDATE `creature` SET `modelid`=0 WHERE `id` = 30169;
  2632. -- Add missing doors on old Hyjal
  2633. DELETE FROM `gameobject` WHERE `guid` IN (4658,4695);
  2634. INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES
  2635. (4658, 182060, 534, 1, 1, 4270.964, -4143.027, 870.7232, 6.020715, 0, 0, 0.8829476, -0.4694716, 7200, 255, 1),
  2636. (4695, 182061, 534, 1, 1, 4204.479, -4112.277, 877.9128, 4.985382, 0, 0, 0.8829476, -0.4694716, 7200, 255, 1);
  2637. /*
  2638. * sql\updates\world\2013_07_07_01_world_misc.sql
  2639. */
  2640. -- Add missing Gameobjects into The Shattered Halls
  2641. DELETE FROM `gameobject` WHERE `guid` IN (4700,4712,4713,4719,4720,4752,4756,4779,4796,4806,4842,4853,4857,4932,4940,4944);
  2642. INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES
  2643. (4700, 182539, 540, 1, 1, 141.5157, 266.3664, -11.56821, 3.141593, 0, 0, 1, 0, 7200, 255, 1),
  2644. (4712, 182540, 540, 1, 1, 214.4881, 266.1671, -11.51811, 0, 0, 0, 1, 0, 7200, 255, 1),
  2645. (4713, 181915, 540, 1, 1, 464.7611, 315.0286, 1.929426, 4.204196, 0, 0, 0, 1, 7200, 255, 1),
  2646. (4719, 181915, 540, 1, 1, 403.0749, 322.5745, 1.894548, 2.034194, 0, 0, 0, 1, 7200, 255, 1),
  2647. (4720, 181915, 540, 1, 1, 469.9535, 313.0817, 1.918688, 5.924535, 0, 0, 0, 1, 7200, 255, 1),
  2648. (4752, 181915, 540, 1, 1, 445.6028, 316.2987, 1.912614, 3.658597, 0, 0, 0, 1, 7200, 255, 1),
  2649. (4756, 181671, 540, 1, 1, 330.7506, 74.20586, 1.079237, 3.159062, 0, 0, 0, 1, 7200, 255, 1),
  2650. (4779, 181671, 540, 1, 1, 330.7946, 41.02605, 1.070399, 0.01745246, 0, 0, 0, 1, 7200, 255, 1),
  2651. (4796, 181439, 540, 1, 1, 260.3188, -79.31659, -6.418934, 5.846854, 0, 0, 1, 0, 7200, 255, 1),
  2652. (4806, 181438, 540, 1, 1, 257.0056, -102.1912, -5.668888, 4.450591, 0, 0, 1, 0, 7200, 255, 1),
  2653. (4842, 181435, 540, 1, 1, 242.159, -75.06284, -9.304095, 4.886921, 0, 0, 1, 0, 7200, 255, 1),
  2654. (4853, 181436, 540, 1, 1, 232.8329, -98.32433, -11.76173, 0.6981294, 0, 0, 1, 0, 7200, 255, 1),
  2655. (4857, 181441, 540, 1, 1, 220.3093, -54.90799, -6.456299, 2.007125, 0, 0, 1, 0, 7200, 255, 1),
  2656. (4932, 181437, 540, 1, 1, 222.6859, -78.63619, -11.1251, 3.752462, 0, 0, 1, 0, 7200, 255, 1),
  2657. (4940, 181440, 540, 1, 1, 215.4215, -112.6428, -6.456299, 2.007125, 0, 0, 1, 0, 7200, 255, 1),
  2658. (4944, 181442, 540, 1, 1, 197.2586, -84.19016, -7.345709, 2.007125, 0, 0, 1, 0, 7200, 255, 1);
  2659. /*
  2660. * sql\updates\world\2013_07_08_00_world_gameobject.sql
  2661. */
  2662. UPDATE `gameobject` SET `spawnMask`=3 WHERE `guid` IN (4700,4712,4713,4719,4720,4752,4756,4779,4796,4806,4842,4853,4857,4932,4940,4944);
  2663. /*
  2664. * sql\updates\world\2013_07_08_01_world_misc.sql
  2665. */
  2666. -- Pathing for Akama Entry: 23191
  2667. SET @PATH := 847160;
  2668. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  2669. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  2670. (@PATH,1,517.4877,400.7993,112.7837,0,0,0,0,100,0),
  2671. (@PATH,2,517.4877,400.7993,112.7837,3.118662,0,0,0,100,0);
  2672. SET @GOSSIP := 21335;
  2673. SET @TEXTID := 10866;
  2674. UPDATE `creature_template` SET `gossip_menu_id`=@GOSSIP WHERE `entry`=23191;
  2675. UPDATE `creature_template` SET `gossip_menu_id`=0 WHERE `entry`=22990;
  2676. DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTID;
  2677. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (@GOSSIP, @TEXTID);
  2678. DELETE FROM `gossip_menu_option` WHERE `menu_id`=@GOSSIP AND `id`=0;
  2679. INSERT INTO `gossip_menu_option` (`menu_id`, `id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`box_text`) VALUES
  2680. (@GOSSIP, 0, 0, 'I am ready to fight alongside you, Akama.', 1, 1, '');
  2681. UPDATE `creature` SET `id`=23191,`position_x`=547.1864,`position_y`=400.5344,`position_z`=112.8671,`orientation`=3.124139 WHERE `guid`=84716;
  2682. UPDATE `creature_template` SET `speed_walk`=1.6, `ScriptName` = 'npc_akama_shade' WHERE `entry`=23191;
  2683. UPDATE `creature_template` SET `ScriptName` = 'npc_creature_generator_akama' WHERE `entry`=23210;
  2684. UPDATE `creature_template` SET `ScriptName` = '' WHERE `entry`=22990;
  2685. UPDATE `creature_template` SET `speed_run`=1.7143, `AIName`= '', `flags_extra`=0, `ScriptName` = 'npc_ashtongue_defender' WHERE `entry`=23216;
  2686. DELETE FROM `smart_scripts` WHERE `entryorguid`=23216;
  2687. DELETE FROM `creature_equip_template` WHERE `entry`=23216 AND `id`=1;
  2688. INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES
  2689. (23216,1,18983,31468,0);
  2690. UPDATE `creature_template` SET `speed_run`=1.7143, `ScriptName` = 'npc_ashtongue_sorcerer' WHERE `entry`=23215;
  2691. DELETE FROM `creature_equip_template` WHERE `entry`=23215 AND `id`=1;
  2692. INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES
  2693. (23215,1,29685,0,0);
  2694. UPDATE `creature_template` SET `speed_run`=1.7143, `baseattacktime`=1600, `AIName`= '', `ScriptName` = 'npc_ashtongue_rogue' WHERE `entry`=23318;
  2695. DELETE FROM `smart_scripts` WHERE `entryorguid`=23318;
  2696. DELETE FROM `creature_equip_template` WHERE `entry`=23318 AND `id`=1;
  2697. INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES
  2698. (23318,1,10612,10612,0);
  2699. UPDATE `creature_template` SET `speed_run`=0.99206, `faction_A`=1813, `faction_H`=1813 WHERE `entry`=22847;
  2700. DELETE FROM `creature_equip_template` WHERE `entry`=22847 AND `id`=1;
  2701. INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES
  2702. (22847,1,29651,13924,0);
  2703. UPDATE `creature_template` SET `speed_run`=0.99206, `faction_A`=1813, `faction_H`=1813 WHERE `entry`=22845;
  2704. DELETE FROM `creature_equip_template` WHERE `entry`=22845 AND `id`=1;
  2705. INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES
  2706. (22845,1,29685,0,0);
  2707. UPDATE `creature_template` SET `speed_walk`=2, `faction_A`=1813, `faction_H`=1813 WHERE `entry`=22849;
  2708. UPDATE `creature_template` SET `speed_run`=0.99206, `faction_A`=1813, `faction_H`=1813 WHERE `entry`=22846;
  2709. DELETE FROM `creature_text` WHERE `entry`=23191;
  2710. INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
  2711. (23191, 0, 0, 'Broken of the Ashtongue tribe, your leader speaks!', 14, 0, 100, 0, 0, 0, 'Akama SAY_BROKEN_FREE_0'),
  2712. (23191, 1, 0, 'The Betrayer no longer holds sway over us. His dark magic over the Ashtongue soul has been destroyed!', 14, 0, 100, 0, 0, 0, 'Akama SAY_BROKEN_FREE_1'),
  2713. (23191, 2, 0, 'Come out from the shadows! I''ve returned to lead you against our true enemy! Shed your chains and raise your weapons against your Illidari masters!', 14, 0, 100, 0, 0, 0, 'Akama SAY_BROKEN_FREE_2');
  2714. DELETE FROM `creature` WHERE `guid` BETWEEN 53919 AND 53929;
  2715. UPDATE `creature` SET `modelid`=0 WHERE `id`=23033;
  2716. UPDATE `creature_template` SET `AIName`='', `flags_extra`=128 WHERE `entry`=23033;
  2717. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=40607;
  2718. INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
  2719. (13,1,40607,0,0,31,0,3,22841,0,0,'','Spell Fixate targets Shade of Akama');
  2720. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=41602;
  2721. INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
  2722. (13,1,41602,0,0,31,0,3,23191,0,0,'','Spell Threat targets Akama');
  2723. DELETE FROM `creature_addon` WHERE `guid`=12777;
  2724. DELETE FROM `creature_template_addon` WHERE `entry`=22841;
  2725. INSERT INTO `creature_template_addon` (`entry`,`bytes2`,`auras`) VALUES (22841, 1, '40973');
  2726. UPDATE `creature_template` SET `speed_walk`=0.8 WHERE `entry`=22841;
  2727. UPDATE `creature_template` SET `speed_walk`=1, `unit_flags`=33587200, `unit_flags2`=0 WHERE `entry`=23421;
  2728. /*
  2729. * sql\updates\world\2013_07_08_02_world_misc.sql
  2730. */
  2731. UPDATE `creature_template` SET `ScriptName` = 'npc_ashtongue_channeler' WHERE `entry`=23421;
  2732. DELETE FROM `waypoint_data` WHERE `id`=847160;
  2733. /*
  2734. * sql\updates\world\2013_07_10_00_world_gameobject.sql
  2735. */
  2736. -- Spawn some missing gameobjects
  2737. DELETE FROM `gameobject` WHERE `id`= 192081;
  2738. INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES
  2739. (4946, 192081, 571, 1, 4, 7766.29, -3291.49, 867.549, 3.4413, 0, 0, 0.988793, -0.149295, 300, 0, 1),
  2740. (4953, 192081, 571, 1, 4, 7777.38, -3315.96, 870.557, 3.64289, 0, 0, 0.968752, -0.248033, 300, 0, 1),
  2741. (4972, 192081, 571, 1, 4, 7793.63, -3335.38, 874.607, 5.71525, 0, 0, 0.280166, -0.959952, 300, 0, 1),
  2742. (4980, 192081, 571, 1, 4, 7847.24, -3328.97, 860.566, 3.49149, 0, 0, 0.984736, -0.174056, 300, 0, 1),
  2743. (5025, 192081, 571, 1, 4, 7848.67, -3297.97, 858.592, 2.65853, 0, 0, 0.970973, 0.239191, 300, 0, 1),
  2744. (5030, 192081, 571, 1, 4, 7833.79, -3273.39, 858.925, 2.02126, 0, 0, 0.847168, 0.531325, 300, 0, 1),
  2745. (5042, 192081, 571, 1, 4, 7834.22, -3234.66, 854.051, 2.17682, 0, 0, 0.88589, 0.463896, 300, 0, 1),
  2746. (5052, 192081, 571, 1, 4, 7861.13, -3221.38, 851.222, 0.199794, 0, 0, 0.099731, 0.995014, 300, 0, 1),
  2747. (5064, 192081, 571, 1, 4, 7891.3, -3204.92, 856.156, 1.95869, 0, 0, 0.830133, 0.557565, 300, 0, 1),
  2748. (5076, 192081, 571, 1, 4, 7912.37, -3223.15, 854.569, 5.38674, 0, 0, 0.433365, -0.901218, 300, 0, 1),
  2749. (5081, 192081, 571, 1, 4, 7931.66, -3258.14, 858.264, 4.92008, 0, 0, 0.629999, -0.776596, 300, 0, 1),
  2750. (5113, 192081, 571, 1, 4, 7916.21, -3301.92, 858.29, 3.82118, 0, 0, 0.942824, -0.333292, 300, 0, 1),
  2751. (5130, 192081, 571, 1, 4, 7896.12, -3340.67, 857.777, 5.03497, 0, 0, 0.584373, -0.811485, 300, 0, 1),
  2752. (5170, 192081, 571, 1, 4, 7900.34, -3376.97, 861.646, 4.64358, 0, 0, 0.731011, -0.682366, 300, 0, 1),
  2753. (5185, 192081, 571, 1, 4, 7892.06, -3408.05, 864.871, 4.50853, 0, 0, 0.775386, -0.631488, 300, 0, 1),
  2754. (5194, 192081, 571, 1, 4, 7863.29, -3388.16, 863.473, 2.74226, 0, 0, 0.980133, 0.198341, 300, 0, 1),
  2755. (5198, 192081, 571, 1, 4, 7827.1, -3354.03, 865.865, 2.67201, 0, 0, 0.972563, 0.232639, 300, 0, 1);
  2756. /*
  2757. * sql\updates\world\2013_07_10_01_world_misc.sql
  2758. */
  2759. UPDATE `creature_template` SET `AIName`= '', `ScriptName` = 'npc_ashtongue_elementalist' WHERE `entry`=23523;
  2760. DELETE FROM smart_scripts WHERE entryorguid=23523;
  2761. UPDATE `creature_template` SET `AIName`= '', `ScriptName` = 'npc_ashtongue_spiritbinder' WHERE `entry`=23524;
  2762. DELETE FROM smart_scripts WHERE entryorguid=23524;
  2763. /*
  2764. * sql\updates\world\2013_07_11_00_world_sai.sql
  2765. */
  2766. -- Sandfury Shadowhunter spam fix
  2767. UPDATE `smart_scripts` SET `event_flags`=3 WHERE `entryorguid`=7246 AND `source_type`=0 AND `id`=15 AND `link`=16;
  2768. UPDATE `smart_scripts` SET `event_flags`=0 WHERE `entryorguid`=7246 AND `source_type`=0 AND `id`=16 AND `link`=0;
  2769. /*
  2770. * sql\updates\world\2013_07_11_01_world_waypoints.sql
  2771. */
  2772. -- Pathing for Illidari Fearbringer Entry: 22954
  2773. SET @NPC := 52768;
  2774. SET @PATH := @NPC * 10;
  2775. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=612.1008,`position_y`=715.0594,`position_z`=77.48019 WHERE `guid`=@NPC;
  2776. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  2777. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  2778. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  2779. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  2780. (@PATH,1,612.1008,715.0594,77.48019,0,0,0,0,100,0),
  2781. (@PATH,2,626.8418,715.1508,75.81075,0,0,0,0,100,0),
  2782. (@PATH,3,643.162,716.2298,70.8769,0,0,0,0,100,0),
  2783. (@PATH,4,663.4116,720.2251,70.52241,0,0,0,0,100,0),
  2784. (@PATH,5,682.2949,737.6859,68.97373,0,0,0,0,100,0),
  2785. (@PATH,6,692.6406,756.8541,66.75413,0,0,0,0,100,0),
  2786. (@PATH,7,682.2949,737.6859,68.97373,0,0,0,0,100,0),
  2787. (@PATH,8,663.4116,720.2251,70.52241,0,0,0,0,100,0),
  2788. (@PATH,9,643.162,716.2298,70.8769,0,0,0,0,100,0),
  2789. (@PATH,10,626.8418,715.1508,75.81075,0,0,0,0,100,0);
  2790. -- Pathing for Illidari Fearbringer Entry: 22954
  2791. SET @NPC := 52773;
  2792. SET @PATH := @NPC * 10;
  2793. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=680.5127,`position_y`=736.589,`position_z`=68.98032 WHERE `guid`=@NPC;
  2794. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  2795. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  2796. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  2797. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  2798. (@PATH,1,680.5127,736.589,68.98032,0,0,0,0,100,0),
  2799. (@PATH,2,689.7178,752.5954,67.10484,0,0,0,0,100,0),
  2800. (@PATH,3,690.7227,773.5752,65.17497,0,0,0,0,100,0),
  2801. (@PATH,4,682.0201,797.8951,63.36504,0,0,0,0,100,0),
  2802. (@PATH,5,679.8043,821.2305,61.06209,0,0,0,0,100,0),
  2803. (@PATH,6,680.7047,848.535,58.56005,0,0,0,0,100,0),
  2804. (@PATH,7,679.8043,821.2305,61.06209,0,0,0,0,100,0),
  2805. (@PATH,8,682.0201,797.8951,63.36504,0,0,0,0,100,0),
  2806. (@PATH,9,690.7438,773.907,65.11858,0,0,0,0,100,0),
  2807. (@PATH,10,689.7178,752.5954,67.10484,0,0,0,0,100,0);
  2808. -- Pathing for Illidari Fearbringer Entry: 22954
  2809. SET @NPC := 52769;
  2810. SET @PATH := @NPC * 10;
  2811. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=713.0262,`position_y`=704.147,`position_z`=70.84101 WHERE `guid`=@NPC;
  2812. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  2813. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  2814. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  2815. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  2816. (@PATH,1,713.0262,704.147,70.84101,0,0,0,0,100,0),
  2817. (@PATH,2,733.0706,690.4993,71.98522,0,0,0,0,100,0),
  2818. (@PATH,3,769.0543,692.4883,71.78658,0,0,0,0,100,0),
  2819. (@PATH,4,790.8868,701.6238,73.08874,0,0,0,0,100,0),
  2820. (@PATH,5,801.6542,721.7141,70.07971,0,0,0,0,100,0),
  2821. (@PATH,6,790.8868,701.6238,73.08874,0,0,0,0,100,0),
  2822. (@PATH,7,769.0543,692.4883,71.78658,0,0,0,0,100,0),
  2823. (@PATH,8,733.0706,690.4993,71.98522,0,0,0,0,100,0);
  2824. -- Pathing for Illidari Fearbringer Entry: 22954
  2825. SET @NPC := 52772;
  2826. SET @PATH := @NPC * 10;
  2827. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=721.4406,`position_y`=728.4247,`position_z`=68.65119 WHERE `guid`=@NPC;
  2828. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  2829. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  2830. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  2831. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  2832. (@PATH,1,721.4406,728.4247,68.65119,0,0,0,0,100,0),
  2833. (@PATH,2,721.3423,745.3929,67.11169,0,0,0,0,100,0),
  2834. (@PATH,3,716.5741,774.6444,64.54839,0,0,0,0,100,0),
  2835. (@PATH,4,724.2047,803.066,62.11536,0,0,0,0,100,0),
  2836. (@PATH,5,735.2154,833.7368,58.94956,0,0,0,0,100,0),
  2837. (@PATH,6,734.4446,863.5928,56.50595,0,0,0,0,100,0),
  2838. (@PATH,7,735.2154,833.7368,58.94956,0,0,0,0,100,0),
  2839. (@PATH,8,724.2047,803.066,62.11536,0,0,0,0,100,0),
  2840. (@PATH,9,716.5741,774.6444,64.54839,0,0,0,0,100,0),
  2841. (@PATH,10,721.3423,745.3929,67.11169,0,0,0,0,100,0);
  2842. -- Pathing for Aqueous Lord Entry: 22878
  2843. SET @NPC := 12866;
  2844. SET @PATH := @NPC * 10;
  2845. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=312.8537,`position_y`=813.1077,`position_z`=-17.58058 WHERE `guid`=@NPC;
  2846. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  2847. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  2848. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  2849. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  2850. (@PATH,1,312.8537,813.1077,-17.58058,0,0,0,0,100,0),
  2851. (@PATH,2,341.3598,812.8531,-6.117754,0,0,0,0,100,0),
  2852. (@PATH,3,381.8092,812.6519,9.062115,0,0,0,0,100,0),
  2853. (@PATH,4,341.4501,812.8524,-6.08468,0,0,0,0,100,0);
  2854. -- Pathing for Aqueous Lord Entry: 22878
  2855. SET @NPC := 12869;
  2856. SET @PATH := @NPC * 10;
  2857. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=252.3342,`position_y`=893.9015,`position_z`=-30.78079 WHERE `guid`=@NPC;
  2858. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  2859. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  2860. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  2861. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  2862. (@PATH,1,252.3342,893.9015,-30.78079,0,0,0,0,100,0),
  2863. (@PATH,2,252.6844,922.2958,-44.67338,0,0,0,0,100,0),
  2864. (@PATH,3,252.5329,943.3651,-55.76704,0,0,0,0,100,0),
  2865. (@PATH,4,252.6844,922.2958,-44.67338,0,0,0,0,100,0);
  2866. -- Pathing for Priestess of Dementia Entry: 22957
  2867. SET @NPC := 52857;
  2868. SET @PATH := @NPC * 10;
  2869. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=946.3522,`position_y`=337.5683,`position_z`=191.208 WHERE `guid`=@NPC;
  2870. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  2871. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  2872. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  2873. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  2874. (@PATH,1,946.3522,337.5683,191.208,0,0,0,0,100,0),
  2875. (@PATH,2,946.4788,358.0963,191.208,0,0,0,0,100,0),
  2876. (@PATH,3,946.3522,337.5683,191.208,0,0,0,0,100,0),
  2877. (@PATH,4,946.2967,310.864,191.208,0,0,0,0,100,0),
  2878. (@PATH,5,946.0381,284.1759,191.208,0,0,0,0,100,0),
  2879. (@PATH,6,945.9597,259.7708,191.208,0,0,0,0,100,0),
  2880. (@PATH,7,945.9167,242.3769,191.208,0,0,0,0,100,0),
  2881. (@PATH,8,945.6511,224.3957,191.208,0,0,0,0,100,0),
  2882. (@PATH,9,945.9167,242.3769,191.208,0,0,0,0,100,0),
  2883. (@PATH,10,945.9597,259.7708,191.208,0,0,0,0,100,0),
  2884. (@PATH,11,946.0381,284.1759,191.208,0,0,0,0,100,0),
  2885. (@PATH,12,946.2967,310.864,191.208,0,0,0,0,100,0),
  2886. (@PATH,13,946.3522,337.5683,191.208,0,0,0,0,100,0),
  2887. (@PATH,14,946.4788,358.0963,191.208,0,0,0,0,100,0);
  2888. -- Pathing for Promenade Sentinel Entry: 23394
  2889. SET @NPC := 12884;
  2890. SET @PATH := @NPC * 10;
  2891. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=761.1854,`position_y`=161.5995,`position_z`=218.4323 WHERE `guid`=@NPC;
  2892. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  2893. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,4097,0, '');
  2894. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  2895. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  2896. (@PATH,1,761.1854,161.5995,218.4323,0,0,0,0,100,0),
  2897. (@PATH,2,762.2211,175.3375,218.453,0,0,0,0,100,0),
  2898. (@PATH,3,788.6677,173.3627,212.4686,0,0,0,0,100,0),
  2899. (@PATH,4,813.4553,170.9617,204.7675,0,0,0,0,100,0),
  2900. (@PATH,5,812.7894,149.1826,204.7681,0,0,0,0,100,0),
  2901. (@PATH,6,812.5944,127.2771,204.7675,0,0,0,0,100,0),
  2902. (@PATH,7,788.8348,125.6381,212.1583,0,0,0,0,100,0),
  2903. (@PATH,8,760.3759,122.2594,218.5355,0,0,0,0,100,0),
  2904. (@PATH,9,760.9326,144.1558,218.4856,0,0,0,0,100,0);
  2905. -- Pathing for Promenade Sentinel Entry: 23394
  2906. SET @NPC := 12886;
  2907. SET @PATH := @NPC * 10;
  2908. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=624.8207,`position_y`=173.8407,`position_z`=253.2433 WHERE `guid`=@NPC;
  2909. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  2910. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,4097,0, '');
  2911. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  2912. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  2913. (@PATH,1,624.8207,173.8407,253.2433,0,0,0,0,100,0),
  2914. (@PATH,2,640.5691,173.9213,245.0594,0,0,0,0,100,0),
  2915. (@PATH,3,642.4141,149.8184,245.0508,0,0,0,0,100,0),
  2916. (@PATH,4,639.9938,127.3701,245.0583,0,0,0,0,100,0),
  2917. (@PATH,5,626.2823,127.0409,251.9054,0,0,0,0,100,0),
  2918. (@PATH,6,611.546,126.5545,258.8932,0,0,0,0,100,0),
  2919. (@PATH,7,606.4694,138.4668,258.7596,0,0,0,0,100,0),
  2920. (@PATH,8,607.1602,162.4693,258.7508,0,0,0,0,100,0),
  2921. (@PATH,9,613.0195,175.0303,258.9398,0,0,0,0,100,0),
  2922. (@PATH,10,624.8207,173.8407,253.2433,0,0,0,0,100,0);
  2923. -- Pathing for Promenade Sentinel Entry: 23394
  2924. SET @NPC := 12888;
  2925. SET @PATH := @NPC * 10;
  2926. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=548.1619,`position_y`=222.5298,`position_z`=271.9026 WHERE `guid`=@NPC;
  2927. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  2928. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,4097,0, '');
  2929. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  2930. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  2931. (@PATH,1,548.1619,222.5298,271.9026,4.712389,33000,0,0,100,0),
  2932. (@PATH,2,548.1752,204.6016,265.1634,0,0,0,0,100,0),
  2933. (@PATH,3,548.1595,190.8972,258.734,0,0,0,0,100,0),
  2934. (@PATH,4,548.0938,205.5043,265.7878,0,0,0,0,100,0);
  2935. -- Pathing for Promenade Sentinel Entry: 23394
  2936. SET @NPC := 12889;
  2937. SET @PATH := @NPC * 10;
  2938. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=696.7759,`position_y`=173.015,`position_z`=232.0304 WHERE `guid`=@NPC;
  2939. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  2940. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,4097,0, '');
  2941. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  2942. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  2943. (@PATH,1,696.7759,173.015,232.0304,0,0,0,0,100,0),
  2944. (@PATH,2,711.6221,149.6127,231.9982,0,0,0,0,100,0),
  2945. (@PATH,3,696.7689,127.0203,232.0802,0,0,0,0,100,0),
  2946. (@PATH,4,679.1018,126.4796,239.9357,0,0,0,0,100,0),
  2947. (@PATH,5,664.3721,125.8799,245.6465,0,0,0,0,100,0),
  2948. (@PATH,6,656.2635,131.5955,245.4032,0,0,0,0,100,0),
  2949. (@PATH,7,656.2786,146.7755,245.3991,0,0,0,0,100,0),
  2950. (@PATH,8,656.2986,153.3558,245.3982,0,0,0,0,100,0),
  2951. (@PATH,9,656.5179,169.0384,245.4051,0,0,0,0,100,0),
  2952. (@PATH,10,663.8251,173.6144,245.7881,0,0,0,0,100,0),
  2953. (@PATH,11,678.0536,173.7249,240.8454,0,0,0,0,100,0);
  2954. -- Pathing for Bonechewer Behemoth Entry: 23196
  2955. SET @NPC := 52739;
  2956. SET @PATH := @NPC * 10;
  2957. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=909.464,`position_y`=245.1965,`position_z`=85.64125 WHERE `guid`=@NPC;
  2958. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  2959. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  2960. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  2961. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  2962. (@PATH,1,909.464,245.1965,85.64125,0,0,0,0,100,0),
  2963. (@PATH,2,936.0223,259.309,85.6412,0,0,0,0,100,0),
  2964. (@PATH,3,941.6469,283.9179,85.64117,0,0,0,0,100,0),
  2965. (@PATH,4,924.2444,298.756,86.15284,0,0,0,0,100,0),
  2966. (@PATH,5,941.6469,283.9179,85.64117,0,0,0,0,100,0),
  2967. (@PATH,6,936.0223,259.309,85.6412,0,0,0,0,100,0),
  2968. (@PATH,7,909.464,245.1965,85.64125,0,0,0,0,100,0),
  2969. (@PATH,8,881.7233,244.0528,84.85726,0,0,0,0,100,0);
  2970. -- Pathing for Bonechewer Behemoth Entry: 23196
  2971. SET @NPC := 52740;
  2972. SET @PATH := @NPC * 10;
  2973. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=899.0332,`position_y`=197.8294,`position_z`=86.16103 WHERE `guid`=@NPC;
  2974. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  2975. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  2976. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  2977. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  2978. (@PATH,1,899.0332,197.8294,86.16103,0,0,0,0,100,0),
  2979. (@PATH,2,897.7601,186.8322,86.16117,0,0,0,0,100,0),
  2980. (@PATH,3,899.0332,197.8294,86.16103,0,0,0,0,100,0),
  2981. (@PATH,4,897.392,207.5867,86.1609,0,0,0,0,100,0),
  2982. (@PATH,5,921.5169,224.1364,85.64123,0,0,0,0,100,0),
  2983. (@PATH,6,930.8919,235.1188,85.64124,0,0,0,0,100,0),
  2984. (@PATH,7,940.9707,239.6061,85.64124,0,0,0,0,100,0),
  2985. (@PATH,8,950.1663,237.9947,86.16045,0,0,0,0,100,0),
  2986. (@PATH,9,956.6059,230.0929,86.16039,0,0,0,0,100,0),
  2987. (@PATH,10,956.8278,213.7176,86.16056,0,0,0,0,100,0),
  2988. (@PATH,11,957.555,199.413,86.1607,0,0,0,0,100,0),
  2989. (@PATH,12,956.8278,213.7176,86.16056,0,0,0,0,100,0),
  2990. (@PATH,13,956.6059,230.0929,86.16039,0,0,0,0,100,0),
  2991. (@PATH,14,950.1663,237.9947,86.16045,0,0,0,0,100,0),
  2992. (@PATH,15,940.9707,239.6061,85.64124,0,0,0,0,100,0),
  2993. (@PATH,16,930.8919,235.1188,85.64124,0,0,0,0,100,0),
  2994. (@PATH,17,921.5169,224.1364,85.64123,0,0,0,0,100,0),
  2995. (@PATH,18,897.392,207.5867,86.1609,0,0,0,0,100,0),
  2996. (@PATH,19,899.0332,197.8294,86.16103,0,0,0,0,100,0),
  2997. (@PATH,20,897.7601,186.8322,86.16117,0,0,0,0,100,0);
  2998. -- Pathing for Bonechewer Behemoth Entry: 23196
  2999. SET @NPC := 52542;
  3000. SET @PATH := @NPC * 10;
  3001. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=872.4788,`position_y`=65.84342,`position_z`=112.7412 WHERE `guid`=@NPC;
  3002. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3003. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3004. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3005. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3006. (@PATH,1,872.4788,65.84342,112.7412,0,0,0,0,100,0),
  3007. (@PATH,2,935.6211,65.98904,112.7535,0,0,0,0,100,0),
  3008. (@PATH,3,899.9241,69.37424,112.7376,0,0,0,0,100,0),
  3009. (@PATH,4,869.3976,68.47385,112.7417,0,0,0,0,100,0),
  3010. (@PATH,5,826.9479,67.30523,112.7454,0,0,0,0,100,0),
  3011. (@PATH,6,869.2424,69.2244,112.7418,0,0,0,0,100,0),
  3012. (@PATH,7,863.1619,63.82265,112.7426,0,0,0,0,100,0),
  3013. (@PATH,8,868.8893,72.09175,112.7419,0,0,0,0,100,0),
  3014. (@PATH,9,861.7059,67.34996,112.7429,0,0,0,0,100,0),
  3015. (@PATH,10,867.9327,69.0042,112.742,0,0,0,0,100,0),
  3016. (@PATH,11,825.1594,65.52496,112.7448,0,0,0,0,100,0),
  3017. (@PATH,12,874.6883,67.74924,112.7409,0,0,0,0,100,0),
  3018. (@PATH,13,899.5973,69.61382,112.7372,0,0,0,0,100,0),
  3019. (@PATH,14,927.8147,64.82682,112.7534,0,0,0,0,100,0),
  3020. (@PATH,15,870.0113,69.63828,112.7417,0,0,0,0,100,0),
  3021. (@PATH,16,870.6498,66.78909,112.7415,0,0,0,0,100,0);
  3022. -- Pathing for Bonechewer Behemoth Entry: 23196
  3023. SET @NPC := 52743;
  3024. SET @PATH := @NPC * 10;
  3025. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=763.4602,`position_y`=121.2597,`position_z`=112.5469 WHERE `guid`=@NPC;
  3026. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3027. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3028. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3029. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3030. (@PATH,1,763.4602,121.2597,112.5469,0,0,0,0,100,0),
  3031. (@PATH,2,765.515,120.5528,112.4407,0,0,0,0,100,0),
  3032. (@PATH,3,761.6171,120.877,112.6373,0,0,0,0,100,0),
  3033. (@PATH,4,763.0114,122.1931,112.5738,0,0,0,0,100,0),
  3034. (@PATH,5,762.4429,119.6596,112.5902,0,0,0,0,100,0),
  3035. (@PATH,6,762.847,118.4683,112.5643,0,0,0,0,100,0),
  3036. (@PATH,7,764.7086,116.9735,112.464,0,0,0,0,100,0),
  3037. (@PATH,8,762.533,120.0672,112.5876,0,0,0,0,100,0),
  3038. (@PATH,9,760.8773,120.2691,112.6714,0,0,0,0,100,0),
  3039. (@PATH,10,761.802,117.5317,112.6121,0,0,0,0,100,0),
  3040. (@PATH,11,765.24,118.7345,112.4458,0,0,0,0,100,0),
  3041. (@PATH,12,762.7466,119.8271,112.5758,0,0,0,0,100,0),
  3042. (@PATH,13,759.4903,118.7799,112.7338,0,0,0,0,100,0),
  3043. (@PATH,14,760.2434,121.535,112.7092,0,0,0,0,100,0),
  3044. (@PATH,15,767.4446,120.2948,112.3428,0,0,0,0,100,0),
  3045. (@PATH,16,752.21,117.786,112.7387,0,0,0,0,100,0),
  3046. (@PATH,17,735.6179,101.9004,112.7494,0,0,0,0,100,0),
  3047. (@PATH,18,724.5951,75.40408,113.4761,0,0,0,0,100,0),
  3048. (@PATH,19,756.7452,71.75539,112.7374,0,0,0,0,100,0),
  3049. (@PATH,20,756.4152,69.2236,112.7374,0,0,0,0,100,0),
  3050. (@PATH,21,730.9688,65.39399,113.2859,0,0,0,0,100,0),
  3051. (@PATH,22,775.8292,75.42676,112.7374,0,0,0,0,100,0),
  3052. (@PATH,23,772.0274,107.9498,112.6996,0,0,0,0,100,0);
  3053. -- Pathing for Bonechewer Taskmaster Entry: 23028
  3054. SET @NPC := 53816;
  3055. SET @PATH := @NPC * 10;
  3056. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=775.0792,`position_y`=766.9516,`position_z`=66.16946 WHERE `guid`=@NPC;
  3057. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3058. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3059. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3060. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3061. (@PATH,1,775.0792,766.9516,66.16946,0,0,0,0,100,0),
  3062. (@PATH,2,776.4752,758.1284,68.59184,0,0,0,0,100,0),
  3063. (@PATH,3,776.7239,748.5446,70.04276,0,0,0,0,100,0),
  3064. (@PATH,4,771.1584,744.486,69.7692,0,0,0,0,100,0),
  3065. (@PATH,5,776.7239,748.5446,70.04276,0,0,0,0,100,0),
  3066. (@PATH,6,776.4752,758.1284,68.59184,0,0,0,0,100,0),
  3067. (@PATH,7,775.0792,766.9516,66.16946,0,0,0,0,100,0),
  3068. (@PATH,8,776.6424,775.2938,65.64797,0,0,0,0,100,0),
  3069. (@PATH,9,779.1,781.9779,65.93484,0,0,0,0,100,0),
  3070. (@PATH,10,776.9979,791.3973,65.63259,0,0,0,0,100,0),
  3071. (@PATH,11,779.1,781.9779,65.93484,0,0,0,0,100,0),
  3072. (@PATH,12,776.6424,775.2938,65.64797,0,0,0,0,100,0);
  3073. -- Pathing for Suffering Soul Fragment Entry: 23399
  3074. SET @NPC := 40526;
  3075. SET @PATH := @NPC * 10;
  3076. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=496.5382,`position_y`=84.75467,`position_z`=108.4162 WHERE `guid`=@NPC;
  3077. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3078. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3079. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3080. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3081. (@PATH,1,496.5382,84.75467,108.4162,0,0,0,0,100,0),
  3082. (@PATH,2,521.0706,76.54764,112.8559,0,0,0,0,100,0),
  3083. (@PATH,3,496.5382,84.75467,108.4162,0,0,0,0,100,0),
  3084. (@PATH,4,474.7787,75.08279,111.861,0,0,0,0,100,0);
  3085. -- Pathing for Suffering Soul Fragment Entry: 23399
  3086. SET @NPC := 52411;
  3087. SET @PATH := @NPC * 10;
  3088. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=557.008,`position_y`=29.39996,`position_z`=112.4988 WHERE `guid`=@NPC;
  3089. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3090. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3091. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3092. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3093. (@PATH,1,557.008,29.39996,112.4988,0,0,0,0,100,0),
  3094. (@PATH,2,519.227,48.72656,113.3207,0,0,0,0,100,0),
  3095. (@PATH,3,477.2372,27.49957,112.5984,0,0,0,0,100,0),
  3096. (@PATH,4,519.227,48.72656,113.3207,0,0,0,0,100,0);
  3097. -- Pathing for Suffering Soul Fragment Entry: 23399
  3098. SET @NPC := 46817;
  3099. SET @PATH := @NPC * 10;
  3100. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=609.3162,`position_y`=98.43359,`position_z`=112.342 WHERE `guid`=@NPC;
  3101. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3102. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3103. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3104. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3105. (@PATH,1,609.3162,98.43359,112.342,0,0,0,0,100,0),
  3106. (@PATH,2,580.6458,90.18815,111.1614,0,0,0,0,100,0),
  3107. (@PATH,3,609.3162,98.43359,112.342,0,0,0,0,100,0),
  3108. (@PATH,4,629.5143,77.47526,112.7921,0,0,0,0,100,0);
  3109. -- Pathing for Suffering Soul Fragment Entry: 23399
  3110. SET @NPC := 40446;
  3111. SET @PATH := @NPC * 10;
  3112. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=535.6982,`position_y`=75.88596,`position_z`=112.9535 WHERE `guid`=@NPC;
  3113. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3114. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3115. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3116. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3117. (@PATH,1,535.6982,75.88596,112.9535,0,0,0,0,100,0),
  3118. (@PATH,2,560.1788,80.13477,113.2281,0,0,0,0,100,0),
  3119. (@PATH,3,574.8022,104.9709,113.0734,0,0,0,0,100,0),
  3120. (@PATH,4,560.1788,80.13477,113.2281,0,0,0,0,100,0);
  3121. -- Pathing for Suffering Soul Fragment Entry: 23399
  3122. SET @NPC := 42920;
  3123. SET @PATH := @NPC * 10;
  3124. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=629.0891,`position_y`=47.3309,`position_z`=112.7773 WHERE `guid`=@NPC;
  3125. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3126. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3127. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3128. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3129. (@PATH,1,629.0891,47.3309,112.7773,0,0,0,0,100,0),
  3130. (@PATH,2,601.5073,37.56067,112.7347,0,0,0,0,100,0),
  3131. (@PATH,3,575.1098,56.30285,111.0313,0,0,0,0,100,0),
  3132. (@PATH,4,601.2772,37.47917,112.7411,0,0,0,0,100,0);
  3133. -- Pathing for Hungering Soul Fragment Entry: 23401
  3134. SET @NPC := 52420;
  3135. SET @PATH := @NPC * 10;
  3136. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=620.9159,`position_y`=30.22016,`position_z`=112.7356 WHERE `guid`=@NPC;
  3137. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3138. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '41248');
  3139. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3140. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3141. (@PATH,1,620.9159,30.22016,112.7356,0,0,0,0,100,0),
  3142. (@PATH,2,607.7153,64.61448,111.7263,0,0,0,0,100,0),
  3143. (@PATH,3,589.4402,39.24023,112.765,0,0,0,0,100,0),
  3144. (@PATH,4,607.5776,64.42328,111.7202,0,0,0,0,100,0);
  3145. -- Pathing for Hungering Soul Fragment Entry: 23401
  3146. SET @NPC := 52424;
  3147. SET @PATH := @NPC * 10;
  3148. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=518.9474,`position_y`=74.61002,`position_z`=112.9129 WHERE `guid`=@NPC;
  3149. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3150. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '41248');
  3151. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3152. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3153. (@PATH,1,518.9474,74.61002,112.9129,0,0,0,0,100,0),
  3154. (@PATH,2,473.2182,73.22733,111.8457,0,0,0,0,100,0);
  3155. -- Pathing for Hungering Soul Fragment Entry: 23401
  3156. SET @NPC := 52418;
  3157. SET @PATH := @NPC * 10;
  3158. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=617.4402,`position_y`=102.7646,`position_z`=112.7506 WHERE `guid`=@NPC;
  3159. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3160. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '41248');
  3161. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3162. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3163. (@PATH,1,617.4402,102.7646,112.7506,0,0,0,0,100,0),
  3164. (@PATH,2,601.6309,74.0624,111.239,0,0,0,0,100,0),
  3165. (@PATH,3,578.1609,98.96626,113.0465,0,0,0,0,100,0),
  3166. (@PATH,4,601.5496,73.97516,111.2432,0,0,0,0,100,0);
  3167. -- Pathing for Hungering Soul Fragment Entry: 23401
  3168. SET @NPC := 52427;
  3169. SET @PATH := @NPC * 10;
  3170. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=552.3234,`position_y`=97.95421,`position_z`=112.4811 WHERE `guid`=@NPC;
  3171. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3172. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '41248');
  3173. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3174. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3175. (@PATH,1,552.3234,97.95421,112.4811,0,0,0,0,100,0),
  3176. (@PATH,2,536.0945,78.04199,113.071,0,0,0,0,100,0),
  3177. (@PATH,3,552.3234,97.95421,112.4811,0,0,0,0,100,0),
  3178. (@PATH,4,573.4583,103.4899,113.1861,0,0,0,0,100,0);
  3179. -- Pathing for Hungering Soul Fragment Entry: 23401
  3180. SET @NPC := 52423;
  3181. SET @PATH := @NPC * 10;
  3182. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=512.1553,`position_y`=30.04926,`position_z`=113.648 WHERE `guid`=@NPC;
  3183. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3184. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '41248');
  3185. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3186. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3187. (@PATH,1,512.1553,30.04926,113.648,0,0,0,0,100,0),
  3188. (@PATH,2,487.4863,43.71723,112.3249,0,0,0,0,100,0),
  3189. (@PATH,3,512.1553,30.04926,113.648,0,0,0,0,100,0),
  3190. (@PATH,4,550.6255,48.4656,112.5677,0,0,0,0,100,0);
  3191. /*
  3192. * sql\updates\world\2013_07_11_02_world_waypoints.sql
  3193. */
  3194. -- Pathing for Sister of Pain Entry: 22956
  3195. SET @NPC := 52847;
  3196. SET @PATH := @NPC * 10;
  3197. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=927.6238,`position_y`=341.3523,`position_z`=192.8381 WHERE `guid`=@NPC;
  3198. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3199. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3200. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3201. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3202. (@PATH,1,927.6238,341.3523,192.8381,0,0,0,0,100,0),
  3203. (@PATH,2,933.1646,349.9787,192.8489,0,0,0,0,100,0),
  3204. (@PATH,3,946.3496,351.5887,191.208,0,0,0,0,100,0),
  3205. (@PATH,4,957.402,349.1798,192.8489,0,0,0,0,100,0),
  3206. (@PATH,5,959.1028,340.2523,192.8339,0,0,0,0,100,0),
  3207. (@PATH,6,958.7474,315.7549,192.85,0,0,0,0,100,0),
  3208. (@PATH,7,958.1597,284.2602,192.8316,0,0,0,0,100,0),
  3209. (@PATH,8,957.9045,261.2944,192.8105,0,0,0,0,100,0),
  3210. (@PATH,9,934.2908,249.2501,192.8218,0,0,0,0,100,0),
  3211. (@PATH,10,924.9614,242.9601,192.8321,0,0,0,0,100,0),
  3212. (@PATH,11,923.0469,232.589,192.8392,0,0,0,0,100,0),
  3213. (@PATH,12,936.2947,223.5277,192.8423,0,0,0,0,100,0),
  3214. (@PATH,13,956.1213,223.5726,192.8414,0,0,0,0,100,0),
  3215. (@PATH,14,957.9364,265.2702,192.8146,0,0,0,0,100,0),
  3216. (@PATH,15,958.333,291.847,192.8519,0,0,0,0,100,0),
  3217. (@PATH,16,958.7474,315.7549,192.85,0,0,0,0,100,0),
  3218. (@PATH,17,926.8249,319.8605,192.8298,0,0,0,0,100,0);
  3219. -- 0xF13059AC00000970 .go 927.6238 341.3523 192.8381
  3220. -- Pathing for Sister of Pleasure Entry: 22964
  3221. SET @NPC := 53055;
  3222. SET @PATH := @NPC * 10;
  3223. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=925.0996,`position_y`=342.9736,`position_z`=192.8381 WHERE `guid`=@NPC;
  3224. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3225. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3226. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3227. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3228. (@PATH,1,925.0996,342.9736,192.8381,0,0,0,0,100,0),
  3229. (@PATH,2,932.8010,352.9566,192.8489,0,0,0,0,100,0),
  3230. (@PATH,3,946.9885,354.5199,191.2080,0,0,0,0,100,0),
  3231. (@PATH,4,960.3490,349.7412,192.8489,0,0,0,0,100,0),
  3232. (@PATH,5,962.1025,340.2088,192.8339,0,0,0,0,100,0),
  3233. (@PATH,6,961.7469,315.6989,192.8500,0,0,0,0,100,0),
  3234. (@PATH,7,961.1595,284.2269,192.8316,0,0,0,0,100,0),
  3235. (@PATH,8,959.2676,258.6220,192.8105,0,0,0,0,100,0),
  3236. (@PATH,9,935.9679,246.7626,192.8218,0,0,0,0,100,0),
  3237. (@PATH,10,927.9116,242.4155,192.8321,0,0,0,0,100,0),
  3238. (@PATH,11,924.7406,235.0652,192.8392,0,0,0,0,100,0),
  3239. (@PATH,12,936.2879,226.5277,192.8423,0,0,0,0,100,0),
  3240. (@PATH,13,953.1241,223.7031,192.8414,0,0,0,0,100,0),
  3241. (@PATH,14,954.9367,265.3150,192.8146,0,0,0,0,100,0),
  3242. (@PATH,15,955.3335,291.8990,192.8519,0,0,0,0,100,0),
  3243. (@PATH,16,958.3647,312.7794,192.8500,0,0,0,0,100,0),
  3244. (@PATH,17,923.8270,319.9719,192.8298,0,0,0,0,100,0);
  3245. DELETE FROM `creature_formations` WHERE `leaderGUID`=52847;
  3246. INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`) VALUES
  3247. (52847,52847,0,0,2),
  3248. (52847,53055,3,270,2);
  3249. -- Pathing for Sister of Pain Entry: 22956
  3250. SET @NPC := 52848;
  3251. SET @PATH := @NPC * 10;
  3252. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=939.6501,`position_y`=392.5455,`position_z`=192.2012 WHERE `guid`=@NPC;
  3253. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3254. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3255. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3256. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3257. (@PATH,1,939.6501,392.5455,192.2012,0,0,0,0,100,0),
  3258. (@PATH,2,955.7531,392.462,192.8371,0,0,0,0,100,0),
  3259. (@PATH,3,962.5223,393.8847,192.8374,0,0,0,0,100,0),
  3260. (@PATH,4,969.5388,399.207,192.8365,0,0,0,0,100,0),
  3261. (@PATH,5,970.2259,412.7339,192.8371,0,0,0,0,100,0),
  3262. (@PATH,6,971.1399,429.8507,192.8395,0,0,0,0,100,0),
  3263. (@PATH,7,971.1545,441.883,192.8399,0,0,0,0,100,0),
  3264. (@PATH,8,963.2639,447.4974,192.8385,0,0,0,0,100,0),
  3265. (@PATH,9,950.0648,453.577,192.8389,0,0,0,0,100,0),
  3266. (@PATH,10,938.3679,452.2439,192.8379,0,0,0,0,100,0),
  3267. (@PATH,11,927.6536,446.5119,192.8374,0,0,0,0,100,0),
  3268. (@PATH,12,920.3358,436.4881,192.841,0,0,0,0,100,0),
  3269. (@PATH,13,920.5208,411.5176,192.8447,0,0,0,0,100,0),
  3270. (@PATH,14,922.6708,402.1874,192.8461,0,0,0,0,100,0),
  3271. (@PATH,15,931.1328,395.2974,192.8446,0,0,0,0,100,0);
  3272. -- 0xF13059AC00000972 .go 939.6501 392.5455 192.2012
  3273. -- Pathing for Sister of Pleasure Entry: 22964
  3274. SET @NPC := 53056;
  3275. SET @PATH := @NPC * 10;
  3276. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=939.6657,`position_y`=395.5455,`position_z`=192.2012 WHERE `guid`=@NPC;
  3277. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3278. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3279. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3280. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3281. (@PATH,1,939.6657,395.5455,192.2012,0,0,0,0,100,0),
  3282. (@PATH,2,955.1361,395.3979,192.8371,0,0,0,0,100,0),
  3283. (@PATH,3,960.7093,396.2749,192.8374,0,0,0,0,100,0),
  3284. (@PATH,4,966.5427,399.3592,192.8365,0,0,0,0,100,0),
  3285. (@PATH,5,967.2302,412.8939,192.8371,0,0,0,0,100,0),
  3286. (@PATH,6,968.1399,429.8543,192.8395,0,0,0,0,100,0),
  3287. (@PATH,7,969.4152,439.4386,192.8399,0,0,0,0,100,0),
  3288. (@PATH,8,962.0088,444.7726,192.8385,0,0,0,0,100,0),
  3289. (@PATH,9,950.4045,450.5963,192.8389,0,0,0,0,100,0),
  3290. (@PATH,10,939.7831,449.5987,192.8379,0,0,0,0,100,0),
  3291. (@PATH,11,930.0766,444.7430,192.8374,0,0,0,0,100,0),
  3292. (@PATH,12,923.3357,436.5103,192.8410,0,0,0,0,100,0),
  3293. (@PATH,13,923.4442,412.1912,192.8447,0,0,0,0,100,0),
  3294. (@PATH,14,924.5650,404.5138,192.8461,0,0,0,0,100,0),
  3295. (@PATH,15,932.0551,398.1521,192.8446,0,0,0,0,100,0);
  3296. DELETE FROM `creature_formations` WHERE `leaderGUID`=52848;
  3297. INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`) VALUES
  3298. (52848,52848,0,0,2),
  3299. (52848,53056,3,270,2);
  3300. -- Pathing for Sister of Pain Entry: 22956
  3301. SET @NPC := 52855;
  3302. SET @PATH := @NPC * 10;
  3303. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=946.1318,`position_y`=109.8686,`position_z`=192.8489 WHERE `guid`=@NPC;
  3304. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3305. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3306. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3307. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3308. (@PATH,1,946.1318,109.8686,192.8489,0,0,0,0,100,0),
  3309. (@PATH,2,927.7674,117.2716,192.8514,0,0,0,0,100,0),
  3310. (@PATH,3,918.4934,131.3158,192.8362,0,0,0,0,100,0),
  3311. (@PATH,4,919.8276,156.7103,192.8208,0,0,0,0,100,0),
  3312. (@PATH,5,924.041,177.5718,192.8279,0,0,0,0,100,0),
  3313. (@PATH,6,935.0341,190.2466,192.8337,0,0,0,0,100,0),
  3314. (@PATH,7,946.1438,190.5046,192.0657,0,0,0,0,100,0),
  3315. (@PATH,8,957.5206,190.2688,192.8344,0,0,0,0,100,0),
  3316. (@PATH,9,967.0856,176.6067,192.8276,0,0,0,0,100,0),
  3317. (@PATH,10,970.228,156.7281,192.829,0,0,0,0,100,0),
  3318. (@PATH,11,971.1368,131.5664,192.8254,0,0,0,0,100,0),
  3319. (@PATH,12,963.462,116.8087,192.829,0,0,0,0,100,0);
  3320. -- 0xF13059AC00000975 .go 946.1318 109.8686 192.8489
  3321. -- Pathing for Sister of Pleasure Entry: 22964
  3322. SET @NPC := 53059;
  3323. SET @PATH := @NPC * 10;
  3324. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=945.0102,`position_y`=107.0862,`position_z`=192.8489 WHERE `guid`=@NPC;
  3325. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3326. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3327. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3328. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3329. (@PATH,1,945.0102,107.0862,192.8489,0,0,0,0,100,0),
  3330. (@PATH,2,925.2640,115.6185,192.8514,0,0,0,0,100,0),
  3331. (@PATH,3,915.4975,131.4732,192.8362,0,0,0,0,100,0),
  3332. (@PATH,4,916.8870,157.3042,192.8208,0,0,0,0,100,0),
  3333. (@PATH,5,921.7747,179.5374,192.8279,0,0,0,0,100,0),
  3334. (@PATH,6,934.9644,193.2458,192.8337,0,0,0,0,100,0),
  3335. (@PATH,7,946.2060,193.5040,192.0657,0,0,0,0,100,0),
  3336. (@PATH,8,959.9782,191.9894,192.8344,0,0,0,0,100,0),
  3337. (@PATH,9,970.0488,177.0751,192.8276,0,0,0,0,100,0),
  3338. (@PATH,10,973.2260,156.8364,192.8290,0,0,0,0,100,0),
  3339. (@PATH,11,973.7984,130.1822,192.8254,0,0,0,0,100,0),
  3340. (@PATH,12,964.5773,114.0237,192.8290,0,0,0,0,100,0);
  3341. DELETE FROM `creature_formations` WHERE `leaderGUID`=52855;
  3342. INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`) VALUES
  3343. (52855,52855,0,0,2),
  3344. (52855,53059,3,270,2);
  3345. -- Pathing for Sister of Pain Entry: 22956
  3346. SET @NPC := 52846;
  3347. SET @PATH := @NPC * 10;
  3348. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=832.2903,`position_y`=526.5916,`position_z`=165.7311 WHERE `guid`=@NPC;
  3349. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3350. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3351. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3352. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3353. (@PATH,1,832.2903,526.5916,165.7311,0,0,0,0,100,0),
  3354. (@PATH,2,818.8309,520.7764,165.9885,0,0,0,0,100,0),
  3355. (@PATH,3,812.696,514.7813,166.1044,0,0,0,0,100,0),
  3356. (@PATH,4,812.6564,506.3056,170.2904,0,0,0,0,100,0),
  3357. (@PATH,5,812.5226,493.5983,180.3996,0,0,0,0,100,0),
  3358. (@PATH,6,812.2745,477.484,192.7058,0,0,0,0,100,0),
  3359. (@PATH,7,812.5706,466.9394,192.7913,0,0,0,0,100,0),
  3360. (@PATH,8,812.2745,477.484,192.7058,0,0,0,0,100,0),
  3361. (@PATH,9,812.5226,493.5983,180.3996,0,0,0,0,100,0),
  3362. (@PATH,10,812.6564,506.3056,170.2904,0,0,0,0,100,0),
  3363. (@PATH,11,812.696,514.7813,166.1044,0,0,0,0,100,0),
  3364. (@PATH,12,818.8309,520.7764,165.9885,0,0,0,0,100,0),
  3365. (@PATH,13,832.2903,526.5916,165.7311,0,0,0,0,100,0),
  3366. (@PATH,14,837.6116,532.7322,165.7527,0,0,0,0,100,0),
  3367. (@PATH,15,840.6443,543.301,165.6792,0,0,0,0,100,0),
  3368. (@PATH,16,849.1154,543.5079,165.8225,0,0,0,0,100,0),
  3369. (@PATH,17,862.1961,543.5349,156.2316,0,0,0,0,100,0),
  3370. (@PATH,18,874.82,543.4052,146.1888,0,0,0,0,100,0),
  3371. (@PATH,19,890.8995,543.0212,139.3036,0,0,0,0,100,0),
  3372. (@PATH,20,874.82,543.4052,146.1888,0,0,0,0,100,0),
  3373. (@PATH,21,862.1961,543.5349,156.2316,0,0,0,0,100,0),
  3374. (@PATH,22,849.1154,543.5079,165.8225,0,0,0,0,100,0),
  3375. (@PATH,23,840.6443,543.301,165.6792,0,0,0,0,100,0),
  3376. (@PATH,24,837.6116,532.7322,165.7527,0,0,0,0,100,0);
  3377. -- 0xF13059AC000009CB .go 832.2903 526.5916 165.7311
  3378. -- Pathing for Sister of Pleasure Entry: 22964
  3379. SET @NPC := 53054;
  3380. SET @PATH := @NPC * 10;
  3381. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=833.4802,`position_y`=523.8377,`position_z`=165.7311 WHERE `guid`=@NPC;
  3382. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3383. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3384. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3385. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3386. (@PATH,1,833.4802,523.8377,165.7311,0,0,0,0,100,0),
  3387. (@PATH,2,820.9276,518.6308,165.9885,0,0,0,0,100,0),
  3388. (@PATH,3,815.6960,514.7673,166.1044,0,0,0,0,100,0),
  3389. (@PATH,4,815.6562,506.2740,170.2904,0,0,0,0,100,0),
  3390. (@PATH,5,815.5222,493.5521,180.3996,0,0,0,0,100,0),
  3391. (@PATH,6,815.2733,477.5682,192.7058,0,0,0,0,100,0),
  3392. (@PATH,7,815.5694,467.0236,192.7913,0,0,0,0,100,0),
  3393. (@PATH,8,815.2741,477.4378,192.7058,0,0,0,0,100,0),
  3394. (@PATH,9,815.5224,493.5667,180.3996,0,0,0,0,100,0),
  3395. (@PATH,10,815.6564,506.2916,170.2904,0,0,0,0,100,0),
  3396. (@PATH,11,814.7927,512.6357,166.1044,0,0,0,0,100,0),
  3397. (@PATH,12,820.0208,518.0225,165.9885,0,0,0,0,100,0),
  3398. (@PATH,13,834.5575,524.6269,165.7311,0,0,0,0,100,0),
  3399. (@PATH,14,840.4952,531.9047,165.7527,0,0,0,0,100,0),
  3400. (@PATH,15,840.7176,540.3019,165.6792,0,0,0,0,100,0),
  3401. (@PATH,16,849.1216,540.5079,165.8225,0,0,0,0,100,0),
  3402. (@PATH,17,862.1653,540.5351,156.2316,0,0,0,0,100,0),
  3403. (@PATH,18,874.7484,540.4061,146.1888,0,0,0,0,100,0),
  3404. (@PATH,19,890.8279,540.0221,139.3036,0,0,0,0,100,0),
  3405. (@PATH,20,874.7892,540.4054,146.1888,0,0,0,0,100,0),
  3406. (@PATH,21,862.2023,540.5349,156.2316,0,0,0,0,100,0),
  3407. (@PATH,22,849.1887,540.5088,165.8225,0,0,0,0,100,0),
  3408. (@PATH,23,843.5279,542.4735,165.6792,0,0,0,0,100,0),
  3409. (@PATH,24,839.8788,530.7675,165.7527,0,0,0,0,100,0);
  3410. DELETE FROM `creature_formations` WHERE `leaderGUID`=52846;
  3411. INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`) VALUES
  3412. (52846,52846,0,0,2),
  3413. (52846,53054,3,270,2);
  3414. -- Pathing for Sister of Pain Entry: 22956
  3415. SET @NPC := 52854;
  3416. SET @PATH := @NPC * 10;
  3417. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=897.643,`position_y`=368.6811,`position_z`=112.7681 WHERE `guid`=@NPC;
  3418. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3419. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3420. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3421. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3422. (@PATH,1,897.643,368.6811,112.7682,0,0,0,0,100,0),
  3423. (@PATH,2,891.4086,375.0052,112.7682,0,0,0,0,100,0),
  3424. (@PATH,3,886.6258,392.1916,112.7681,0,0,0,0,100,0),
  3425. (@PATH,4,889.0926,406.6414,112.7681,0,0,0,0,100,0),
  3426. (@PATH,5,895.0201,414.2144,112.7681,0,0,0,0,100,0),
  3427. (@PATH,6,907.2474,422.6099,112.7681,0,0,0,0,100,0),
  3428. (@PATH,7,917.291,427.4965,112.7681,0,0,0,0,100,0),
  3429. (@PATH,8,917.538,443.7802,112.7681,0,0,0,0,100,0),
  3430. (@PATH,9,918.18,480.8549,121.0903,0,0,0,0,100,0),
  3431. (@PATH,10,918.1483,469.0587,112.768,0,0,0,0,100,0),
  3432. (@PATH,11,917.9372,449.7168,112.7681,0,0,0,0,100,0),
  3433. (@PATH,12,917.7559,427.5167,112.7681,0,0,0,0,100,0),
  3434. (@PATH,13,928.2393,423.6823,112.768,0,0,0,0,100,0),
  3435. (@PATH,14,942.3116,412.3955,112.768,0,0,0,0,100,0),
  3436. (@PATH,15,947.6193,400.7702,112.768,0,0,0,0,100,0),
  3437. (@PATH,16,947.3901,388.0476,112.768,0,0,0,0,100,0),
  3438. (@PATH,17,944.3997,375.4843,112.768,0,0,0,0,100,0),
  3439. (@PATH,18,934.3572,366.3027,112.7681,0,0,0,0,100,0),
  3440. (@PATH,19,922.269,361.623,112.7681,0,0,0,0,100,0),
  3441. (@PATH,20,907.52,362.9464,112.7682,0,0,0,0,100,0);
  3442. -- 0xF13059AC000009CE .go 917.291 427.4965 112.7681
  3443. -- Pathing for Sister of Pleasure Entry: 22964
  3444. SET @NPC := 53058;
  3445. SET @PATH := @NPC * 10;
  3446. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=895.5066,`position_y`=366.5750,`position_z`=112.7681 WHERE `guid`=@NPC;
  3447. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3448. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3449. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3450. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3451. (@PATH,1,895.5066,366.5750,112.7682,0,0,0,0,100,0),
  3452. (@PATH,2,888.5184,374.2009,112.7682,0,0,0,0,100,0),
  3453. (@PATH,3,883.6686,392.6964,112.7681,0,0,0,0,100,0),
  3454. (@PATH,4,886.7302,408.4905,112.7681,0,0,0,0,100,0),
  3455. (@PATH,5,893.3220,416.6875,112.7681,0,0,0,0,100,0),
  3456. (@PATH,6,905.9349,425.3075,112.7681,0,0,0,0,100,0),
  3457. (@PATH,7,914.2913,427.5420,112.7681,0,0,0,0,100,0),
  3458. (@PATH,8,914.5384,443.8321,112.7681,0,0,0,0,100,0),
  3459. (@PATH,9,915.1800,480.8630,121.0903,0,0,0,0,100,0),
  3460. (@PATH,10,915.1485,469.0914,112.7680,0,0,0,0,100,0),
  3461. (@PATH,11,914.9373,449.7413,112.7681,0,0,0,0,100,0),
  3462. (@PATH,12,916.7254,424.6992,112.7681,0,0,0,0,100,0),
  3463. (@PATH,13,930.1163,426.0226,112.7680,0,0,0,0,100,0),
  3464. (@PATH,14,945.0406,413.6415,112.7680,0,0,0,0,100,0),
  3465. (@PATH,15,950.6188,400.7162,112.7680,0,0,0,0,100,0),
  3466. (@PATH,16,950.3086,387.3529,112.7680,0,0,0,0,100,0),
  3467. (@PATH,17,946.4240,373.2702,112.7680,0,0,0,0,100,0),
  3468. (@PATH,18,935.4403,363.5050,112.7681,0,0,0,0,100,0),
  3469. (@PATH,19,922.0009,358.6350,112.7681,0,0,0,0,100,0),
  3470. (@PATH,20,906.0137,360.3520,112.7682,0,0,0,0,100,0);
  3471. DELETE FROM `creature_formations` WHERE `leaderGUID`=52854;
  3472. INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`) VALUES
  3473. (52854,52854,0,0,2),
  3474. (52854,53058,3,270,2);
  3475. -- Pathing for Sister of Pain Entry: 22956
  3476. SET @NPC := 52850;
  3477. SET @PATH := @NPC * 10;
  3478. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=863.5932,`position_y`=404.4617,`position_z`=192.8021 WHERE `guid`=@NPC;
  3479. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3480. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3481. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3482. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3483. (@PATH,1,863.5932,404.4617,192.8021,0,0,0,0,100,0),
  3484. (@PATH,2,857.1285,400.2212,192.8021,0,0,0,0,100,0),
  3485. (@PATH,3,841.5421,399.2611,192.8021,0,0,0,0,100,0),
  3486. (@PATH,4,824.6133,403.406,192.8021,0,0,0,0,100,0),
  3487. (@PATH,5,809.0944,408.0469,192.8021,0,0,0,0,100,0),
  3488. (@PATH,6,803.2555,409.021,192.8021,0,0,0,0,100,0),
  3489. (@PATH,7,798.0318,415.624,192.8021,0,0,0,0,100,0),
  3490. (@PATH,8,797.907,434.2558,192.8021,0,0,0,0,100,0),
  3491. (@PATH,9,803.9134,446.4958,192.8102,0,0,0,0,100,0),
  3492. (@PATH,10,822.2453,446.5771,192.8121,0,0,0,0,100,0),
  3493. (@PATH,11,832.8823,444.5272,192.8021,0,0,0,0,100,0),
  3494. (@PATH,12,841.865,440.6642,192.8021,0,0,0,0,100,0),
  3495. (@PATH,13,857.7858,440.4023,192.8021,0,0,0,0,100,0),
  3496. (@PATH,14,868.998,422.5621,192.8202,0,0,0,0,100,0),
  3497. (@PATH,15,892.9637,421.5781,192.8236,0,0,0,0,100,0),
  3498. (@PATH,16,869.101,417.053,192.80818,0,0,0,0,100,0);
  3499. -- 0xF13059AC00000B10 .go 863.5932 404.4617 192.8021
  3500. -- Pathing for Sister of Pleasure Entry: 22964
  3501. SET @NPC := 53057;
  3502. SET @PATH := @NPC * 10;
  3503. UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=865.2386,`position_y`=401.9532,`position_z`=192.8021 WHERE `guid`=@NPC;
  3504. DELETE FROM `creature_addon` WHERE `guid`=@NPC;
  3505. INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
  3506. DELETE FROM `waypoint_data` WHERE `id`=@PATH;
  3507. INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES
  3508. (@PATH,1,865.2386,401.9532,192.8021,0,0,0,0,100,0),
  3509. (@PATH,2,857.3129,397.2269,192.8021,0,0,0,0,100,0),
  3510. (@PATH,3,840.8286,396.3472,192.8021,0,0,0,0,100,0),
  3511. (@PATH,4,823.7538,400.5318,192.8021,0,0,0,0,100,0),
  3512. (@PATH,5,808.6007,405.0878,192.8021,0,0,0,0,100,0),
  3513. (@PATH,6,800.9027,407.1597,192.8021,0,0,0,0,100,0),
  3514. (@PATH,7,795.0319,415.6039,192.8021,0,0,0,0,100,0),
  3515. (@PATH,8,795.2138,435.5774,192.8021,0,0,0,0,100,0),
  3516. (@PATH,9,803.9001,449.4958,192.8102,0,0,0,0,100,0),
  3517. (@PATH,10,822.8130,449.5229,192.8121,0,0,0,0,100,0),
  3518. (@PATH,11,834.0675,447.2832,192.8021,0,0,0,0,100,0),
  3519. (@PATH,12,841.9143,443.6638,192.8021,0,0,0,0,100,0),
  3520. (@PATH,13,860.3258,441.9986,192.8021,0,0,0,0,100,0),
  3521. (@PATH,14,869.1211,425.5596,192.8202,0,0,0,0,100,0),
  3522. (@PATH,15,893.0868,424.5756,192.8236,0,0,0,0,100,0),
  3523. (@PATH,16,868.987,420.166,192.80742,0,0,0,0,100,0);
  3524. DELETE FROM `creature_formations` WHERE `leaderGUID`=52850;
  3525. INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`) VALUES
  3526. (52850,52850,0,0,2),
  3527. (52850,53057,3,270,2);
  3528. /*
  3529. * sql\updates\world\2013_07_12_00_world_sai.sql
  3530. */
  3531. -- Fixes Blowing Hodir's Horn (12977)
  3532. UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=29974;
  3533. DELETE FROM `smart_scripts` WHERE `entryorguid`=29974 AND `source_type`=0;
  3534. INSERT INTO `smart_scripts` (`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`) VALUES
  3535. (29974, 0, 0, 0, 0, 0, 100, 0, 1000, 5000, 8000, 13000, 11, 57454, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Niffelem Forefather - IC - Cast Ice Spike'),
  3536. (29974, 0, 1, 2, 8, 0, 100, 0, 55983, 0, 0, 0, 33, 30138, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Niffelem Forefather - On Spellhit - Give Kill Credit'),
  3537. (29974, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Niffelem Forefather - Linked with Previous Event Despawn');
  3538. /*
  3539. * sql\updates\world\2013_07_12_01_world_eai.sql
  3540. */
  3541. DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 29974;
  3542. /*
  3543. * sql\updates\world\2013_07_13_00_world_misc.sql
  3544. */
  3545. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=40094;
  3546. INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
  3547. (13,1,40094,0,0,31,0,3,22953,0,0,'','Spell summom channel targets Wrathbone Flayer');
  3548. UPDATE `creature_template` SET `AIName`= '', `ScriptName` = 'npc_wrathbone_flayer' WHERE `entry`=22953;
  3549. DELETE FROM smart_scripts WHERE entryorguid=22953;
  3550. /*
  3551. * sql\updates\world\2013_07_14_00_world_errors.sql
  3552. */
  3553. -- Fix "There is no waypoint which links to the waypoint script 332"
  3554. DELETE FROM `waypoint_scripts` WHERE `id`=332;
  3555. DELETE FROM `db_script_string` WHERE `entry`=2000005146;
  3556. /*
  3557. * sql\updates\world\2013_07_14_01_world_item_template.sql
  3558. */
  3559. UPDATE `item_template` SET `Flags`=0x80000000 WHERE `entry`=23614;
  3560. UPDATE `item_template` SET `Flags`=0x80000800 WHERE `entry`=28635;
  3561. UPDATE `item_template` SET `Flags`=0x80000800 WHERE `entry`=28636;
  3562. UPDATE `item_template` SET `Flags`=0x80000800 WHERE `entry`=28637;
  3563. UPDATE `item_template` SET `Flags`=0x80000000 WHERE `entry`=30503;
  3564. UPDATE `item_template` SET `Flags`=0x80000000 WHERE `entry`=34868;
  3565. UPDATE `item_template` SET `Flags`=0x80000000 WHERE `entry`=37020;
  3566. UPDATE `item_template` SET `Flags`=0x80010000 WHERE `entry`=37200;
  3567. UPDATE `item_template` SET `Flags`=0x80000040 WHERE `entry`=40652;
  3568. UPDATE `item_template` SET `Flags`=0x80000040 WHERE `entry`=40970;
  3569. UPDATE `item_template` SET `Flags`=0x80000800 WHERE `entry`=41843;
  3570. UPDATE `item_template` SET `Flags`=0x80000800 WHERE `entry`=42782;
  3571. ALTER TABLE `item_template` CHANGE `Flags` `Flags` int(10) unsigned NOT NULL DEFAULT '0';
  3572. /*
  3573. * sql\updates\world\2013_07_15_00_world_gossip.sql
  3574. */
  3575. -- Add SAI for Sputtervalve <Independent Contractor> Quest 6981
  3576. UPDATE `creature_template` SET `gossip_menu_id`=21,`ScriptName`='' WHERE `entry`=3442;
  3577. DELETE FROM `smart_scripts` WHERE `entryorguid`=3442 AND `source_type`=0 AND `id`=1;
  3578. INSERT INTO `smart_scripts` (`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`) VALUES
  3579. (3442, 0, 1, 0, 62, 0, 100, 0, 21, 1, 0, 0, 15, 6981, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Sputtervalve - Gossip Option 1 - Complete quest 6981');
  3580. -- Gossip Menu
  3581. DELETE FROM `gossip_menu` WHERE `entry`=21199;
  3582. DELETE FROM `gossip_menu` WHERE `entry` IN (21,22,21340);
  3583. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES
  3584. ('21','518'), ('21','519'), ('22','520'), (21340,2013);
  3585. -- Gossip Options
  3586. DELETE FROM `gossip_menu_option` WHERE `menu_id`=21;
  3587. INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`) VALUES
  3588. (21,0,0, 'How can I help?',1,1,22),
  3589. (21,1,0, 'Can you tell me about this shard?',1,1,21340);
  3590. -- Gossip Menu Conditions
  3591. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=21;
  3592. INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
  3593. (15,21,518,0,0,27,0,10,3,0,0,'','Gossip text requires level 10 or higher'),
  3594. (15,21,519,0,0,27,0,10,2,0,0,'','Gossip text requires lower than level 10');
  3595. -- Gossip Options Conditions
  3596. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=21;
  3597. INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
  3598. (15,21,0,0,0,27,0,10,3,0,0,'','Gossip Option requires level 10 or higher'),
  3599. (15,21,1,0,0,9,0,6981,0,0,0,'','Gossip Option requires quest not complete');
  3600. /*
  3601. * sql\updates\world\2013_07_15_01_world_gossip.sql
  3602. */
  3603. -- Gossip fixup for Drull and Tog'thar
  3604. UPDATE `creature_template` SET `gossip_menu_id`=262 WHERE `entry`=2239;
  3605. DELETE FROM `gossip_menu` WHERE `entry` IN (261,262,263);
  3606. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES
  3607. ('261','760'), ('262','759'), ('263','762');
  3608. -- Gossip Options
  3609. DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (262,264);
  3610. INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`) VALUES
  3611. (262,0,0, 'Where is the key to this lock?',1,1,261),
  3612. (264,1,0, 'Where is the key to this lock?',1,1,263);
  3613. -- Gossip Options Conditions
  3614. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup` IN (262,264);
  3615. INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
  3616. (15,262,0,0,0,9,0,498,0,0,0,'','Gossip Option requires quest not complete'),
  3617. (15,264,1,0,0,9,0,498,0,0,0,'','Gossip Option requires quest not complete');
  3618. /*
  3619. * sql\updates\world\2013_07_15_02_world_gossip.sql
  3620. */
  3621. -- Gossip fixup for Morridune
  3622. UPDATE `creature_template` SET `gossip_menu_id`=321 WHERE `entry`=6729;
  3623. DELETE FROM `gossip_menu` WHERE `entry` IN (321);
  3624. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (321,818);
  3625. -- Gossip Options
  3626. DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (321);
  3627. INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`) VALUES
  3628. (321,0,0, 'Please port me to Darnassus.',1,1,0);
  3629. /*
  3630. * sql\updates\world\2013_07_15_03_world_gossip.sql
  3631. */
  3632. -- Gossip fixup for Aleanna Edune
  3633. UPDATE `creature_template` SET `gossip_menu_id`=361 WHERE `entry`=24734;
  3634. DELETE FROM `gossip_menu` WHERE `entry` IN (361);
  3635. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (361,838);
  3636. -- Gossip fixup for Marli Wishrunner
  3637. UPDATE `creature_template` SET `gossip_menu_id`=1421 WHERE `entry`=7773;
  3638. DELETE FROM `gossip_menu` WHERE `entry` IN (1421);
  3639. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (1421,2053);
  3640. -- Gossip fixup for Kalin Windflight "This guy may be missing a script"
  3641. UPDATE `creature_template` SET `gossip_menu_id`=1422 WHERE `entry`=7772;
  3642. DELETE FROM `gossip_menu` WHERE `entry` IN (1422);
  3643. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (1422,2054);
  3644. -- Gossip Options
  3645. DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (1422);
  3646. INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`) VALUES
  3647. (1422,0,1, 'Can you help me get down?',3,128,0);
  3648. -- Gossip fixup for Henry Stern
  3649. UPDATE `creature_template` SET `gossip_menu_id`=1443 WHERE `entry`=8696;
  3650. DELETE FROM `gossip_menu` WHERE `entry` IN (1442,1443,1444,1501,1502);
  3651. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES
  3652. (1442,2115),(1443,2113),(1444,2114),(1501,2173),(1502,2174);
  3653. -- Gossip Options
  3654. DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (1443);
  3655. INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`) VALUES
  3656. (1443,0,0, 'You can cook? So can I! Is there a recipe you can teach me?',1,1,0),
  3657. (1443,1,0, 'You''re an alchemist? So am I. Perhaps you can teach me what you know...',1,1,0);
  3658. -- Gossip Options Conditions
  3659. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=1443;
  3660. INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
  3661. (15,1443,0,0,0,7,0,185,0,0,0,0,'','Gossip Option requires cooking skill'),
  3662. (15,1443,0,0,1,25,0,13028,0,0,1,0,'','Gossip Option requires player not learned spell'),
  3663. (15,1443,1,0,0,7,0,171,0,0,0,0,'','Gossip Option requires alchemy skill'),
  3664. (15,1443,1,0,1,25,0,3451,0,0,1,0,'','Gossip Option requires player not learned spell');
  3665. /*
  3666. * sql\updates\world\2013_07_16_00_world_misc.sql
  3667. */
  3668. -- No longer used as of patch 3.3.0
  3669. DELETE FROM `areatrigger_teleport` WHERE `id`=4156;
  3670. UPDATE `game_graveyard_zone` SET `faction`=469 WHERE `id`=1308; -- Alliance Only
  3671. DELETE FROM `game_graveyard_zone` WHERE `id`=1309;
  3672. INSERT INTO `game_graveyard_zone` (`id`, `ghost_zone`, `faction`) VALUES
  3673. (1309, 3456, 67); -- Dragonblight, Forsaken East GY - Horde Only
  3674. DELETE FROM `gameobject` WHERE `guid` IN (5216, 5222);
  3675. INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES
  3676. (5216, 202277, 533, 3, 1, 3495.97, -5357.84, 144.9645, 0.5410506, 0, 0, 0, 1, 7200, 255, 1), -- Orb of Naxxramas
  3677. (5222, 202278, 533, 3, 1, 2997.675, -3437.799, 304.1996, 1.151916, 0, 0, 0, 1, 7200, 255, 1); -- Orb of Naxxramas
  3678. -- Teleportation positions for Orbs from sniff - TODO: add db coords for spell 72613
  3679. DELETE FROM `spell_target_position` WHERE `id` IN (28444, 72617);
  3680. INSERT INTO `spell_target_position` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) VALUES
  3681. (28444, 533, 3005.74, -3434.27, 304.196, 0), -- Portal Effect: Deathknight Wing
  3682. (72617, 533, 3498.22, -5349.36, 144.969, 1.32679); -- Naxxramas Teleport - Sapphiron Entry
  3683. /*
  3684. * sql\updates\world\2013_07_16_01_world_gameobject.sql
  3685. */
  3686. UPDATE `gameobject` SET `spawnMask`=3 WHERE `guid` IN (5216,5222);
  3687. /*
  3688. * sql\updates\world\2013_07_16_02_world_conditions.sql
  3689. */
  3690. UPDATE `conditions` SET `ConditionValue2`=1 WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=1443 AND `ConditionTypeOrReference`=7 AND `ConditionValue1` IN (171,185);
  3691. /*
  3692. * sql\updates\world\2013_07_17_00_world_version.sql
  3693. */
  3694. UPDATE `version` SET `db_version`='TDB 335.52', `cache_id`=52 LIMIT 1;
  3695. /*
  3696. * sql\updates\world\2013_07_17_01_world_conditions.sql
  3697. */
  3698. -- Gossip Menu Conditions
  3699. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=21;
  3700. INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
  3701. (14,21,518,0,0,27,0,10,3,0,0,'','Gossip text requires level 10 or higher'),
  3702. (14,21,519,0,0,27,0,10,2,0,0,'','Gossip text requires lower than level 10');
  3703. -- Gossip Options Conditions
  3704. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=21;
  3705. INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
  3706. (15,21,0,0,0,27,0,10,3,0,0,'','Gossip Option requires level 10 or higher'),
  3707. (15,21,1,0,0,9,0,6981,0,0,0,'','Gossip Option requires quest not complete');
  3708. /*
  3709. * sql\updates\world\2013_07_17_02_world_gossip.sql
  3710. */
  3711. -- Add SAI for Royal Historian Archesonus Quest 3702
  3712. UPDATE `creature_template` SET `AIName`= 'SmartAI',`ScriptName`= '' WHERE `entry`=8879;
  3713. DELETE FROM `smart_scripts` WHERE `entryorguid`=8879 AND `source_type`=0;
  3714. INSERT INTO `smart_scripts` (`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`) VALUES
  3715. (8879, 0, 0, 1, 62, 0, 100, 0, 1563, 0, 0, 0, 15, 3702, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Royal Historian Archesonus - Gossip Option 0 - Complete quest 3702'),
  3716. (8879, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Royal Historian Archesonus - Gossip Option 0 - Close Gossip');
  3717. -- Gossip Menu
  3718. DELETE FROM `gossip_menu` WHERE `entry` IN (1562,1563,1564,1565);
  3719. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES
  3720. (1562,2238), (1563,2239), (1564,2237), (1565,2236);
  3721. -- Gossip Options
  3722. DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (1561,1562,1563,1564,1565);
  3723. INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`) VALUES
  3724. (1561,0,0, 'I am ready, Historian Archesonus.',1,1,1565),
  3725. (1562,0,0, 'Unbelievable! How dare they??',1,1,1563),
  3726. (1563,0,0, 'Of course I will help!',1,1,0),
  3727. (1564,0,0, 'Interesting, continue please.',1,1,1562),
  3728. (1565,0,0, 'That is tragic. How did this happen?',1,1,1564);
  3729. -- Gossip Options Conditions
  3730. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=1561;
  3731. INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
  3732. (15,1561,0,0,0,9,0,3702,0,0,0,'','Gossip Option requires quest taken');
  3733. /*
  3734. * sql\updates\world\2013_07_17_03_world_gossip.sql
  3735. */
  3736. -- Captain Vanessa Beltis
  3737. UPDATE `creature_template` SET `gossip_menu_id`=1641 WHERE `entry`=8380;
  3738. -- Gossip Menu
  3739. DELETE FROM `gossip_menu` WHERE `entry` IN (1641);
  3740. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (1641,2293);
  3741. -- Franclorn Forgewright 8888
  3742. -- Gossip Menu
  3743. DELETE FROM `gossip_menu` WHERE `entry` IN (1664,1665,1666);
  3744. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES
  3745. (1664,2316), (1665,2317), (1666,2318);
  3746. -- Gossip Options
  3747. DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (1663,1664,1665);
  3748. INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`) VALUES
  3749. (1663,0,0, 'Amazing! I''ve never spoken to a ghost. I wish to learn!',1,1,1664),
  3750. (1664,0,0, 'Continue please.',1,1,1665),
  3751. (1665,0,0, 'Fascinating. Please, tell me more.',1,1,1666);
  3752. -- Ribbly Screwspigot
  3753. UPDATE `creature_template` SET `gossip_menu_id`=1970 WHERE `entry`=9543;
  3754. -- Gossip Menu
  3755. DELETE FROM `gossip_menu` WHERE `entry` IN (1970);
  3756. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (1970,2643);
  3757. -- Arei "npc has two text, possible scripting required"
  3758. UPDATE `creature_template` SET `gossip_menu_id`=2063 WHERE `entry`=9598;
  3759. -- Gossip Menu
  3760. DELETE FROM `gossip_menu` WHERE `entry` IN (2063);
  3761. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (2063,2726), (2063,2809);
  3762. -- Add SAI for Un'Goro Crystal Pylon Quests 4285, 4287, 4288
  3763. UPDATE `gameobject_template` SET `AIName`= 'SmartGameObjectAI',`ScriptName`= '' WHERE `entry` IN (164955,164957,164956);
  3764. DELETE FROM `smart_scripts` WHERE `entryorguid` IN (164955,164957,164956) AND `source_type`=1;
  3765. INSERT INTO `smart_scripts` (`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`) VALUES
  3766. (164955, 1, 0, 0, 62, 0, 100, 0, 2177, 0, 0, 0, 15, 4285, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Northern Crystal Pylon - Gossip Option 0 - Complete quest 4285'),
  3767. (164957, 1, 0, 0, 62, 0, 100, 0, 2178, 0, 0, 0, 15, 4287, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Eastern Crystal Pylon - Gossip Option 0 - Complete quest 4287'),
  3768. (164956, 1, 0, 0, 62, 0, 100, 0, 2179, 0, 0, 0, 15, 4288, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Western Crystal Pylon - Gossip Option 0 - Complete quest 4288');
  3769. -- Gossip Menu
  3770. DELETE FROM `gossip_menu` WHERE `entry` IN (2177,2178,2179,2180,2181,2182);
  3771. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES
  3772. (2177,2810),(2177,2933),(2178,2810),(2178,2933),(2179,2810),(2179,2933),(2180,2811),(2181,2812),(2182,2813);
  3773. -- Gossip Options
  3774. DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (2177,2178,2179);
  3775. INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`) VALUES
  3776. (2177,0,0, 'I want to examine this pylon.',1,1,2181),
  3777. (2178,0,0, 'I want to examine this pylon.',1,1,2180),
  3778. (2179,0,0, 'I want to examine this pylon.',1,1,2182);
  3779. -- Gossip Options Conditions
  3780. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup` IN (2177,2178,2179);
  3781. INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
  3782. (15,2177,0,0,0,9,0,4285,0,0,0,'','Gossip Option requires quest not complete'),
  3783. (15,2178,0,0,0,9,0,4287,0,0,0,'','Gossip Option requires quest not complete'),
  3784. (15,2179,0,0,0,9,0,4288,0,0,0,'','Gossip Option requires quest not complete');
  3785. /*
  3786. * sql\updates\world\2013_07_17_04_world_spell_script_names.sql
  3787. */
  3788. UPDATE `spell_script_names` SET `ScriptName`='spell_gen_clone' WHERE `ScriptName`='spell_generic_clone';
  3789. UPDATE `spell_script_names` SET `ScriptName`='spell_gen_clone_weapon' WHERE `ScriptName`='spell_generic_clone_weapon';
  3790. UPDATE `spell_script_names` SET `ScriptName`='spell_gen_30pct_count_pct_from_max_hp' WHERE `ScriptName`='spell_gen_touch_the_nightmare';
  3791. UPDATE `spell_script_names` SET `ScriptName`='spell_gen_creature_permanent_feign_death' WHERE `ScriptName`='spell_creature_permanent_feign_death';
  3792. /*
  3793. * sql\updates\world\2013_07_18_00_world_conditions.sql
  3794. */
  3795. -- Fix There's Something About the Squire
  3796. UPDATE `conditions` SET `ConditionTarget`=1 WHERE `SourceTypeOrReferenceId`=17 AND `SourceGroup`=0 AND `SourceEntry`=63126 AND `ConditionTypeOrReference`=9;
  3797. /*
  3798. * sql\updates\world\2013_07_18_01_world_koralon.sql
  3799. */
  3800. DELETE FROM `spell_script_names` WHERE `spell_id` IN (66725,68161,66808,68160,66765,67333,66809,67331);
  3801. INSERT INTO `spell_script_names` (`spell_id` ,`ScriptName`) VALUES
  3802. (66725, 'spell_koralon_meteor_fists'),
  3803. (68161, 'spell_koralon_meteor_fists'),
  3804. (66808, 'spell_flame_warder_meteor_fists'),
  3805. (68160, 'spell_flame_warder_meteor_fists'),
  3806. (66765, 'spell_koralon_meteor_fists_damage'),
  3807. (67333, 'spell_koralon_meteor_fists_damage'),
  3808. (66809, 'spell_koralon_meteor_fists_damage'),
  3809. (67331, 'spell_koralon_meteor_fists_damage');
  3810. DELETE FROM `spell_proc_event` WHERE `entry` IN (66808,68160);
  3811. INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`) VALUES
  3812. (66808,0,0,0,0,0,0x4,0,0,0,0),
  3813. (68160,0,0,0,0,0,0x4,0,0,0,0);
  3814. /*
  3815. * sql\updates\world\2013_07_18_02_world_spell_script_names.sql
  3816. */
  3817. DELETE FROM `spell_script_names` WHERE `spell_id` IN (69051,69023,69048);
  3818. INSERT INTO `spell_script_names` (`spell_id` ,`ScriptName`) VALUES
  3819. (69051, 'spell_devourer_of_souls_mirrored_soul'),
  3820. (69023, 'spell_devourer_of_souls_mirrored_soul_proc'),
  3821. (69048, 'spell_devourer_of_souls_mirrored_soul_target_selector');
  3822. /*
  3823. * sql\updates\world\2013_07_18_02_world_the_flesh_giant_slayer.sql
  3824. */
  3825. -- TEXT INSERTS
  3826. DELETE FROM `creature_text` WHERE `entry` IN (31301, 31428, 31306);
  3827. INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
  3828. (31301, 0, 0, "You dare to think you have thwarted my will? That you have broken my plans?", 12, 0, 100, 25, 0, 0, "LK SAY 1"),
  3829. (31301, 1, 0, "You have accomplished nothing!", 12, 0, 100, 22, 0, 0, "LK SAY 2"),
  3830. (31301, 2, 0, "Your feeble resistance has only hastened your doom.", 12, 0, 100, 25, 0, 0, "LK SAY 3"),
  3831. (31301, 3, 0, "So spout your platitudes and flail until you are spent. In the end, you will be mine, and Morbidus will be the harbinger of your death!", 12, 0, 100, 22, 0, 0, "LK SAY 4"),
  3832. (31301, 4, 0, "Morbidus, show them what happens to those who defy the will of their king!", 12, 0, 100, 25, 0, 0, "LK SAY 5"),
  3833. (31428, 0, 0, "You will pay for what you've done! For the Argent Crusade!", 12, 0, 100, 0, 0, 0, "OLAKIN SAY 1"),
  3834. (31306, 0, 0, "Knights of the Ebon Blade, prepare for battle!", 12, 0, 100, 1, 0, 0, 'DHAKAR SAY 1');
  3835. -- ScriptName Updates
  3836. UPDATE `creature_template` SET `ScriptName`='npc_margrave_dhakar' WHERE `entry`=31306;
  3837. UPDATE `creature_template` SET `ScriptName`='npc_morbidus' WHERE `entry`=30698;
  3838. -- Template updates
  3839. UPDATE `creature_template` SET `faction_A`=2102, `faction_H`=2102, `exp`=2, `minlevel`=80, `maxlevel`=80, `unit_flags`=`unit_flags`|832, `speed_run`=0.99206, `VehicleId`=271 WHERE `entry`=30698; -- Morbidus
  3840. UPDATE `creature_template` SET `faction_A`=1770, `faction_H`=1770, `npcflag`=`npcflag`|1, `gossip_menu_id`=10060 WHERE `entry`=31306; -- Margrave Dhakar
  3841. UPDATE `creature_model_info` SET `bounding_radius`=0.465,`combat_reach`=7.5,`gender`=0 WHERE `modelid`=31176; -- Morbidus
  3842. UPDATE `creature_model_info` SET `bounding_radius`=0.3825,`combat_reach`=1.875,`gender`=0 WHERE `modelid`=27558; -- Margrave Dhakar
  3843. DELETE FROM `creature_template_addon` WHERE `entry` IN (30698, 31306);
  3844. INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
  3845. (30698,0,0,1,0, NULL), -- Morbidus
  3846. (31306,0,0,1,0, NULL); -- Margrave Dhakar
  3847. /*
  3848. * sql\updates\world\2013_07_18_03_world_equipment.sql
  3849. */
  3850. -- equipment for Margrave Dhakar
  3851. DELETE FROM `creature_equip_template` WHERE `entry` = 31306;
  3852. INSERT INTO `creature_equip_template` (`entry`, `id`, `itemEntry1`, `itemEntry2`, `itemEntry3`) VALUES
  3853. (31306, 1, 41371, 0, 0);
  3854. /*
  3855. * sql\updates\world\2013_07_19_00_world_misc.sql
  3856. */
  3857. ALTER TABLE `gameobject` CHANGE `phaseMask` `phaseMask` int(10) unsigned NOT NULL DEFAULT '1';
  3858. ALTER TABLE `creature` CHANGE `phaseMask` `phaseMask` int(10) unsigned NOT NULL DEFAULT '1';
  3859. /*
  3860. * sql\updates\world\2013_07_20_00_world_gameonject.sql
  3861. */
  3862. -- DTK instance entrance portals
  3863. DELETE FROM `gameobject` WHERE `guid`=151225;
  3864. SET @OGUID := 6120; -- (need 3)
  3865. DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+2;
  3866. INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES
  3867. (@OGUID+0,192585,571,1,1,4774.532,-2020.723,232.3105,-1.579522,0,0,0.9999905,0.004363241,120,255,1),
  3868. (@OGUID+1,192776,571,1,1,4774.532,-2020.723,232.3105,-1.579522,0,0,0.9999905,0.004363241,120,255,1),
  3869. (@OGUID+2,192775,571,1,1,4774.532,-2020.723,232.3105,-1.579522,0,0,0.9999905,0.004363241,120,255,1);
  3870. -- Gundrak south instance entrance portals
  3871. SET @OGUID := 5287; -- (need 2)
  3872. DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+1;
  3873. INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES
  3874. (@OGUID+0,192635,571,1,1,6700.195,-4662.38,446.7864,3.909541,0,0,0.3746067,0.9271838,120,255,1),
  3875. (@OGUID+1,192170,571,1,1,6700.195,-4662.38,446.7864,3.909541,0,0,0.3746067,0.9271838,120,255,1);