/updates/335.11/36_01_corepatch_world_10366_10818.sql

https://code.google.com/p/trinitydb/ · SQL · 343 lines · 244 code · 42 blank · 57 comment · 0 complexity · 82d3e836a628361d70b515ff09fcb18a MD5 · raw file

  1. -- Updated to Revision 10818
  2. -- -------------------------------
  3. -- TrinityCore --
  4. -- -------------------------------
  5. -- 10383_world_version.sql
  6. ALTER TABLE `version` CHANGE `core_revision` `core_revision` varchar(120) DEFAULT NULL;
  7. -- 10392_world_spell_bonus_data.sql
  8. DELETE FROM `spell_bonus_data` WHERE `entry`=53600;
  9. INSERT INTO `spell_bonus_data` (`entry`,`direct_bonus`,`dot_bonus`,`ap_bonus`,`ap_dot_bonus`,`comments`) VALUES
  10. (53600,0,0,0,0, 'Paladin - Shield of Righteousness');
  11. -- 10393_world_spell_proc_event.sql
  12. DELETE FROM `spell_proc_event` WHERE `entry` IN(12281,12812,12813,12814,12815);
  13. INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`)VALUES
  14. (12281,0x00,4,0xAA600444,0x00400105,0x00000000,0x00000000,0x00000000,0,0,6), -- SwordSpecialization (Rank 1)
  15. (12812,0x00,4,0xAA600444,0x00400105,0x00000000,0x00000000,0x00000000,0,0,6), -- SwordSpecialization (Rank 2)
  16. (12813,0x00,4,0xAA600444,0x00400105,0x00000000,0x00000000,0x00000000,0,0,6), -- SwordSpecialization (Rank 3)
  17. (12814,0x00,4,0xAA600444,0x00400105,0x00000000,0x00000000,0x00000000,0,0,6), -- SwordSpecialization (Rank 4)
  18. (12815,0x00,4,0xAA600444,0x00400105,0x00000000,0x00000000,0x00000000,0,0,6); -- SwordSpecialization (Rank 5)
  19. -- 10397_world_command.sql
  20. -- Rename changed learn commands
  21. DELETE FROM `command` WHERE `name` LIKE 'learn%';
  22. INSERT INTO `command` (`name`,`security`,`help`) VALUES
  23. ('learn',3, 'Syntax: .learn #spell [all]\r\n\r\nSelected character learn a spell of id #spell. If ''all'' provided then all ranks learned.'),
  24. ('learn all',3, 'Syntax: .learn all\r\n\r\nLearn all big set different spell maybe useful for Administaror.'),
  25. ('learn all crafts',2, 'Syntax: .learn crafts\r\n\r\nLearn all professions and recipes.'),
  26. ('learn all default',1, 'Syntax: .learn all default [$playername]\r\n\r\nLearn for selected/$playername player all default spells for his race/class and spells rewarded by completed quests.'),
  27. ('learn all gm',2, 'Syntax: .learn all gm\r\n\r\nLearn all default spells for Game Masters.'),
  28. ('learn all lang',1, 'Syntax: .learn all lang\r\n\r\nLearn all languages'),
  29. ('learn all my class',3, 'Syntax: .learn all my class\r\n\r\nLearn all spells and talents available for his class.'),
  30. ('learn all my pettalents',3, 'Syntax: .learn all my pettalents\r\n\r\nLearn all talents for your pet available for his creature type (only for hunter pets).'),
  31. ('learn all my spells',3, 'Syntax: .learn all my spells\r\n\r\nLearn all spells (except talents and spells with first rank learned as talent) available for his class.'),
  32. ('learn all my talents',3, 'Syntax: .learn all my talents\r\n\r\nLearn all talents (and spells with first rank learned as talent) available for his class.'),
  33. ('learn all recipes',2, 'Syntax: .learn all recipes [$profession]\r\rLearns all recipes of specified profession and sets skill level to max.\rExample: .learn all recipes enchanting');
  34. -- Rename changed npc commands
  35. DELETE FROM `command` WHERE `name` LIKE 'npc%';
  36. INSERT INTO `command` (`name`,`security`,`help`) VALUES
  37. ('npc',1, 'Syntax: .npc $subcommand\nType .npc to see the list of possible subcommands or .help npc $subcommand to see info on subcommands'),
  38. ('npc add',2, 'Syntax: .npc add #creatureid\r\n\r\nSpawn a creature by the given template id of #creatureid.'),
  39. ('npc add formation',1, 'Syntax: .npc add formation $leader\nAdd selected creature to a leader''s formation.'),
  40. ('npc add item',2, 'Syntax: .npc add item #itemId <#maxcount><#incrtime><#extendedcost>r\r\n\r\nAdd item #itemid to item list of selected vendor. Also optionally set max count item in vendor item list and time to item count restoring and items ExtendedCost.'),
  41. ('npc add move',2, 'Syntax: .npc add move #creature_guid [#waittime]\r\n\r\nAdd your current location as a waypoint for creature with guid #creature_guid. And optional add wait time.'),
  42. ('npc set allowmove',3, 'Syntax: .npc set allowmove\r\n\r\nEnable or disable movement creatures in world. Not implemented.'),
  43. ('npc set entry',3, 'Syntax: .npc set entry $entry\nSwitch selected creature with another entry from creature_template. - New creature.id value not saved to DB.'),
  44. ('npc set level',2, 'Syntax: .npc set level #level\r\n\r\nChange the level of the selected creature to #level.\r\n\r\n#level may range from 1 to (CONFIG_MAX_PLAYER_LEVEL) + 3.'),
  45. ('npc delete',2, 'Syntax: .npc delete [#guid]\r\n\r\nDelete creature with guid #guid (or the selected if no guid is provided)'),
  46. ('npc delete item',2, 'Syntax: .npc delete item #itemId\r\n\r\nRemove item #itemid from item list of selected vendor.'),
  47. ('npc set factionid',2, 'Syntax: .npc set factionid #factionid\r\n\r\nSet the faction of the selected creature to #factionid.'),
  48. ('npc set flag',2, 'Syntax: .npc set flag #npcflag\r\n\r\nSet the NPC flags of creature template of the selected creature and selected creature to #npcflag. NPC flags will applied to all creatures of selected creature template after server restart or grid unload/load.'),
  49. ('npc follow',2, 'Syntax: .npc follow start\r\n\r\nSelected creature start follow you until death/fight/etc.'),
  50. ('npc follow stop',2, 'Syntax: .npc follow stop\r\n\r\nSelected creature (non pet) stop follow you.'),
  51. ('npc info',3, 'Syntax: .npc info\r\n\r\nDisplay a list of details for the selected creature.\r\n\r\nThe list includes:\r\n- GUID, Faction, NPC flags, Entry ID, Model ID,\r\n- Level,\r\n- Health (current/maximum),\r\n\r\n- Field flags, dynamic flags, faction template, \r\n- Position information,\r\n- and the creature type, e.g. if the creature is a vendor.'),
  52. ('npc move',2, 'Syntax: .npc move [#creature_guid]\r\n\r\nMove the targeted creature spawn point to your coordinates.'),
  53. ('npc playemote',3, 'Syntax: .npc playemote #emoteid\r\n\r\nMake the selected creature emote with an emote of id #emoteid.'),
  54. ('npc say',1, 'Syntax: .npc say $message\nMake selected creature say specified message.'),
  55. ('npc set deathstate',2, 'Syntax: .npc set deathstate on/off\r\n\r\nSet default death state (dead/alive) for npc at spawn.'),
  56. ('npc set link',2, 'Syntax: .npc set link $creatureGUID\r\n\r\nLinks respawn of selected creature to the condition that $creatureGUID defined is alive.'),
  57. ('npc set model',2, 'Syntax: .npc set model #displayid\r\n\r\nChange the model id of the selected creature to #displayid.'),
  58. ('npc set movetype',2, 'Syntax: .npc set movetype [#creature_guid] stay/random/way [NODEL]\r\n\r\nSet for creature pointed by #creature_guid (or selected if #creature_guid not provided) movement type and move it to respawn position (if creature alive). Any existing waypoints for creature will be removed from the database if you do not use NODEL. If the creature is dead then movement type will applied at creature respawn.\r\nMake sure you use NODEL, if you want to keep the waypoints.'),
  59. ('npc set phase',2, 'Syntax: .npc set phase #phasemask\r\n\r\nSelected unit or pet phasemask changed to #phasemask with related world vision update for players. In creature case state saved to DB and persistent. In pet case change active until in game phase changed for owner, owner re-login, or GM-mode enable/disable..'),
  60. ('npc set spawndist',2, 'Syntax: .npc set spawndist #dist\r\n\r\nAdjust spawndistance of selected creature to dist.'),
  61. ('npc set spawntime',2, 'Syntax: .npc set spawntime #time \r\n\r\nAdjust spawntime of selected creature to time.'),
  62. ('npc add temp',2, 'Syntax: .npc add temp\r\n\r\nAdds temporary NPC, not saved to database.'),
  63. ('npc textemote',1, 'Syntax: .npc textemote #emoteid\r\n\r\nMake the selected creature to do textemote with an emote of id #emoteid.'),
  64. ('npc whisper',1, 'Syntax: .npc whisper #playerguid #text\r\nMake the selected npc whisper #text to #playerguid.'),
  65. ('npc yell',1, 'Syntax: .npc yell $message\nMake selected creature yell specified message.');
  66. -- 10419_world_spell_linked_spell.sql
  67. DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (58984);
  68. INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES
  69. (58984,59646,0, 'Shadowmeld: Sanctuary'),
  70. (58984,62196,0, 'Shadowmeld: Force deselect');
  71. -- 10431_world_trinity_string.sql
  72. DELETE FROM `trinity_string` WHERE `entry` IN (1134,1135);
  73. INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES
  74. (1134, 'Sending tickets is allowed.'),
  75. (1135, 'Sending tickets is not allowed.');
  76. -- 10460_world_command.sql
  77. -- Rename changed gobject commands
  78. DELETE FROM `command` WHERE `name` IN ('gobject setphase','gobject tempadd','gobject set phase','gobject add temp');
  79. INSERT INTO `command` (`name`,`security`,`help`) VALUES
  80. ('gobject set phase',2, 'Syntax: .gobject set phase #guid #phasemask\r\n\r\nGameobject with DB guid #guid phasemask changed to #phasemask with related world vision update for players. Gameobject state saved to DB and persistent.'),
  81. ('gobject add temp',2, 'Adds a temporary gameobject that is not saved to DB.');
  82. -- Rename changed honor commands
  83. DELETE FROM `command` WHERE `name` IN ('honor addkill','honor add kill');
  84. INSERT INTO `command` (`name`,`security`,`help`) VALUES
  85. ('honor add kill',2, 'Syntax: .honor add kill\r\n\r\nAdd the targeted unit as one of your pvp kills today (you only get honor if it''s a racial leader or a player)');
  86. -- Add wp add command
  87. DELETE FROM `command` WHERE `name` IN ('wp add','wp addwp');
  88. INSERT INTO `command` (`name`,`security`,`help`) VALUES
  89. ('wp add',2, 'Syntax: .wp add\r\n\r\nAdd a waypoint for the selected creature at your current position.');
  90. -- Rename changed loadpath command and move it to wp reload
  91. DELETE FROM `command` WHERE `name` IN ('loadpath','wp reload');
  92. INSERT INTO `command` (`name`,`security`,`help`) VALUES
  93. ('wp reload',3, 'Syntax: .wp reload $pathid\nLoad path changes ingame - IMPORTANT: must be applied first for new paths before .wp load #pathid ');
  94. DELETE FROM `command` WHERE `name` LIKE 'reload all%';
  95. INSERT INTO `command` (`name`,`security`,`help`) VALUES
  96. ('reload all',3, 'Syntax: .reload all\r\n\r\nReload all tables with reload support added and that can be _safe_ reloaded.'),
  97. ('reload all gossips',3, 'Syntax: .reload all gossips\nReload gossip_menu, gossip_menu_option, gossip_scripts, npc_gossip, points_of_interest tables.'),
  98. ('reload all item',3, 'Syntax: .reload all item\nReload page_text, item_enchantment_table tables.'),
  99. ('reload all locales',3, 'Syntax: .reload all locales\r\n\r\nReload all `locales_*` tables with reload support added and that can be _safe_ reloaded.'),
  100. ('reload all loot',3, 'Syntax: .reload all loot\r\n\r\nReload all `*_loot_template` tables. This can be slow operation with lags for server run.'),
  101. ('reload all npc',3, 'Syntax: .reload all npc\nReload npc_gossip, npc_option, npc_trainer, npc vendor, points of interest tables.'),
  102. ('reload all quest',3, 'Syntax: .reload all quest\r\n\r\nReload all quest related tables if reload support added for this table and this table can be _safe_ reloaded.'),
  103. ('reload all scripts',3, 'Syntax: .reload all scripts\nReload gameobject_scripts, event_scripts, quest_end_scripts, quest_start_scripts, spell_scripts, db_script_string, waypoint_scripts tables.'),
  104. ('reload all spell',3, 'Syntax: .reload all spell\r\n\r\nReload all `spell_*` tables with reload support added and that can be _safe_ reloaded.');
  105. DELETE FROM `command` WHERE `name` IN ('titles setmask','titles set mask');
  106. INSERT INTO `command` (`name`, `security`, `help`) VALUES
  107. ('titles set mask',2, 'Syntax: .titles set mask #mask\r\n\r\nAllows user to use all titles from #mask.\r\n\r\n #mask=0 disables the title-choose-field');
  108. -- 10470_world_command.sql
  109. DELETE FROM `command` WHERE `name` LIKE 'server togglequerylog';
  110. INSERT INTO `command` (`name`,`security`,`help`) VALUES
  111. ('server togglequerylog',4, 'Toggle SQL driver query logging.');
  112. -- 10470_world_trinity_string.sql
  113. DELETE FROM `trinity_string` WHERE `entry` IN (1027, 1028);
  114. INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES
  115. (1027, 'SQL driver query logging enabled.'),
  116. (1028, 'SQL driver query logging disabled.');
  117. -- 10548_world_command.sql
  118. DELETE FROM `command` WHERE `name` LIKE 'channel set public';
  119. DELETE FROM `command` WHERE `name` LIKE 'channel set ownership';
  120. INSERT INTO `command` (`name`,`security`,`help`) VALUES
  121. ('channel set ownership', 3, 'Syntax: .channel set ownership $channel [on/off]\n\n\Grant ownership to the first person that joins the channel.');
  122. -- 10548_world_trinity_string.sql
  123. DELETE FROM `trinity_string` WHERE `entry` IN (5022, 5023);
  124. INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES
  125. (5022, 'Granting ownership to first person that joins the channel \"%s\": Enabled.'),
  126. (5023, 'Granting ownership to first person that joins the channel \"%s\": Disabled.');
  127. -- 10561_world_achievement_criteria_data.sql
  128. DELETE FROM `achievement_criteria_data` WHERE `criteria_id` IN (12780,13012,13011,13013) AND `type` IN (0,11);
  129. INSERT INTO `achievement_criteria_data` (`criteria_id`,`type`,`value1`,`value2`,`ScriptName`) VALUES
  130. (12780,11,0,0, 'achievement_once_bitten_twice_shy_n'),
  131. (13012,11,0,0, 'achievement_once_bitten_twice_shy_n'),
  132. (13011,11,0,0, 'achievement_once_bitten_twice_shy_v'),
  133. (13013,11,0,0, 'achievement_once_bitten_twice_shy_v');
  134. -- 10561_world_spell_linked_spell.sql
  135. DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (70867,71473,71532,71533,70879,71525,71530,71531,70877,71474,70923,71446,71478,71479,71480,71952,71390);
  136. INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES
  137. (70867,70871,2, 'Blood-Queen: Essence of the Blood Queen'),
  138. (71473,70871,2, 'Blood-Queen: Essence of the Blood Queen'),
  139. (71532,70871,2, 'Blood-Queen: Essence of the Blood Queen'),
  140. (71533,70871,2, 'Blood-Queen: Essence of the Blood Queen'),
  141. (70879,70871,2, 'Blood-Queen: Essence of the Blood Queen'),
  142. (71525,70871,2, 'Blood-Queen: Essence of the Blood Queen'),
  143. (71530,70871,2, 'Blood-Queen: Essence of the Blood Queen'),
  144. (71531,70871,2, 'Blood-Queen: Essence of the Blood Queen'),
  145. (70877,72649,2, 'Blood-Queen: Frenzied Bloodthirst 10man'),
  146. (70877,72151,2, 'Blood-Queen: Frenzied Bloodthirst 10man'),
  147. (71474,72648,2, 'Blood-Queen: Frenzied Bloodthirst 25man'),
  148. (71474,72650,2, 'Blood-Queen: Frenzied Bloodthirst 25man'),
  149. (70923,70924,2, 'Blood-Queen: Uncontrollable Frenzy'),
  150. (71446,71447,1, 'Blood-Queen: Bloodbolt Splash'),
  151. (71478,71481,1, 'Blood-Queen: Bloodbolt Splash'),
  152. (71479,71482,1, 'Blood-Queen: Bloodbolt Splash'),
  153. (71480,71483,1, 'Blood-Queen: Bloodbolt Splash'),
  154. (71952,70995,1, 'Blood-Queen: Presence of the Darkfallen'),
  155. (71390,71341,0, 'Blood-Queen: Pact of the Darkfallen');
  156. -- 10570_world_disables.sql
  157. ALTER TABLE `disables`
  158. ADD COLUMN params_0 varchar (255) NOT NULL default '' AFTER flags,
  159. ADD COLUMN params_1 VARCHAR (255) NOT NULL default '' AFTER params_0;
  160. -- 10623_world_spell_bonus_data.sql
  161. DELETE FROM `spell_bonus_data` WHERE `entry` IN (66922);
  162. INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
  163. (66922,0,0,0,0, 'Paladin - Flash of Light');
  164. -- 10681_world_command.sql
  165. DELETE FROM `command` WHERE `name` IN ('reload access_requirement','reload achievement_criteria_data','reload achievement_reward','reload all achievement','reload all area','reload all eventai','reload auctions','reload mail_level_reward','reload smart_scripts');
  166. INSERT INTO `command` (`name`,`security`,`help`) VALUES
  167. ('reload access_requirement',3, 'Syntax: .reload access_requirement\nReload access_requirement table.'),
  168. ('reload achievement_criteria_data',3, 'Syntax: .reload achievement_criteria_data\nReload achievement_criteria_data table.'),
  169. ('reload achievement_reward',3, 'Syntax: .reload achievement_reward\nReload achievement_reward table.'),
  170. ('reload all achievement',3, 'Syntax: .reload all achievement\r\n\r\nReload achievement_reward, achievement_criteria_data tables.'),
  171. ('reload all area',3, 'Syntax: .reload all area\r\n\r\nReload areatrigger_teleport, areatrigger_tavern, game_graveyard_zone tables.'),
  172. ('reload all eventai',3, 'Syntax: .reload all eventai\r\n\r\nReload creature_ai_scripts, creature_ai_summons, creature_ai_texts tables.'),
  173. ('reload auctions',3, 'Syntax: .reload auctions\nReload dynamic data tables from the database.'),
  174. ('reload mail_level_reward',3, 'Syntax: .reload mail_level_reward\nReload mail_level_reward table.'),
  175. ('reload smart_scripts',3, 'Syntax: .reload smart_scripts\nReload smart_scripts table.');
  176. -- 10733_world_spell_proc_event.sql
  177. DELETE FROM `spell_proc_event` WHERE `entry` IN (15337,15338);
  178. INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
  179. (15337,0,6,8396800,2,0,0,2,0,0,0), -- Improved Spirit Tap (Rank 1)
  180. (15338,0,6,8396800,2,0,0,2,0,0,0); -- Improved Spirit Tap (Rank 2)
  181. -- 10801_world_creature_linked_respawn.sql
  182. ALTER table `creature_linked_respawn`
  183. RENAME TO `linked_respawn`,
  184. ADD COLUMN linkType tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
  185. DROP PRIMARY KEY,
  186. ADD PRIMARY KEY(`guid`, `linkType`);
  187. -- -------------------
  188. -- -- TrinityScript --
  189. -- -------------------
  190. -- 10402_world_spell_script_names.sql
  191. DELETE FROM `spell_script_names` WHERE `spell_id`=46221 AND `ScriptName`='spell_gen_animal_blood';
  192. INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
  193. (46221, 'spell_gen_animal_blood');
  194. -- 10418_world_spell_script_names.sql
  195. DELETE FROM spell_script_names WHERE spell_id = 10848 AND `ScriptName`='spell_gen_shroud_of_death';
  196. INSERT INTO spell_script_names (`spell_id`,`ScriptName`) VALUES
  197. (10848, 'spell_gen_shroud_of_death');
  198. -- 10436_world_script_texts.sql
  199. -- Quest Discrediting the Deserters (11133)
  200. -- Script Texts
  201. DELETE FROM `script_texts` WHERE `entry` BETWEEN (-1603510) AND (-1603502);
  202. INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`)
  203. VALUES
  204. (4979,-1603502, 'Hey, thanks.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0, 'Theramore Guard - SAY_QUEST1'),
  205. (4979,-1603503, '...receive 50 percent off deserter undergarments? What is this garbage?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'Theramore Guard - SAY_QUEST2'),
  206. (4979,-1603504, '...to establish a fund for the purchase of hair gel? I like my hair the way it is, thanks!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'Theramore Guard - SAY_QUEST3'),
  207. (4979,-1603505, '...the deserters seek a Theramore where citizens will be free to juggle at all hours of the day? What is this nonsense?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'Theramore Guard - SAY_QUEST4'),
  208. (4979,-1603506, '...to establish the chicken as the official symbol of Theramore?! These guys are nuts!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'Theramore Guard - SAY_QUEST5'),
  209. (4979,-1603507, '...as a deserter, you\'ll enjoy activities like tethered swimming and dog grooming? How ridiculous!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'Theramore Guard - SAY_QUEST6'),
  210. (4979,-1603508, 'This... this is a joke, right?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'Theramore Guard - SAY_QUEST7'),
  211. (4979,-1603509, 'I\'d never join anything like this. Better keep this, though. It\'ll come in handy in the privy...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'Theramore Guard - SAY_QUEST8'),
  212. (4979,-1603510, 'What a bunch of lunatics! You actually believe this stuff?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'Theramore Guard - SAY_QUEST9');
  213. -- 10436_world_scriptname.sql
  214. UPDATE `creature_template` SET `ScriptName`='npc_theramore_guard' WHERE `entry`=4979; -- Theramore Guard
  215. -- 10453_world_script_text.sql
  216. -- Quest Smoke Em Out
  217. DELETE FROM `script_texts` WHERE `entry` BETWEEN (-1603539) AND (-1603535);
  218. INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
  219. (27570,-1603535, 'We\'re all gonna die!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0, 'Smoke \'Em Out - Say1'),
  220. (27570,-1603536, 'Gotta get out of here!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0, 'Smoke \'Em Out - Say2'),
  221. (27570,-1603537, 'No way I\'m stickin\' around!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0, 'Smoke \'Em Out - Say3'),
  222. (27570,-1603538, 'Forget this! I\'m going home!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0, 'Smoke \'Em Out - Say4'),
  223. (27570,-1603539, 'I didn\'t sign up for this!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0, 'Smoke \'Em Out - Say5');
  224. -- 10453_world_creature_template.sql
  225. -- Quest ...Or Maybe We Don't (12138, 12198) & Quest Smoke 'Em Out (12323, 12324)
  226. UPDATE `creature_template` SET `ScriptName`='npc_lightning_sentry' WHERE `entry`=26407; -- Lightning Sentry
  227. UPDATE `creature_template` SET `ScriptName`='npc_venture_co_straggler',`AIName`='' WHERE `entry`=27570;
  228. -- 10462_world_spell_script_names.sql
  229. DELETE FROM `spell_script_names` WHERE `spell_id`=6474;
  230. INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (6474, 'spell_sha_earthbind_totem');
  231. -- 10468_world_script_texts.sql
  232. DELETE FROM `script_texts` WHERE `entry` BETWEEN -1631139 AND -1631000;
  233. -- 10468_world_spell_script_names.sql
  234. DELETE FROM `spell_script_names` WHERE `spell_id` IN (69057,70826,72088,72089) AND `ScriptName`='spell_marrowgar_bone_spike_graveyard';
  235. DELETE FROM `spell_script_names` WHERE `spell_id` IN (70903,72498,72499,72500,71236,72495,72496,72497) AND `ScriptName`='spell_cultist_dark_martyrdrom';
  236. INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
  237. (69057, 'spell_marrowgar_bone_spike_graveyard'),
  238. (70826, 'spell_marrowgar_bone_spike_graveyard'),
  239. (72088, 'spell_marrowgar_bone_spike_graveyard'),
  240. (72089, 'spell_marrowgar_bone_spike_graveyard'),
  241. (70903, 'spell_cultist_dark_martyrdrom'),
  242. (72498, 'spell_cultist_dark_martyrdrom'),
  243. (72499, 'spell_cultist_dark_martyrdrom'),
  244. (72500, 'spell_cultist_dark_martyrdrom'),
  245. (71236, 'spell_cultist_dark_martyrdrom'),
  246. (72495, 'spell_cultist_dark_martyrdrom'),
  247. (72496, 'spell_cultist_dark_martyrdrom'),
  248. (72497, 'spell_cultist_dark_martyrdrom');
  249. -- 10490_world_scriptname.sql
  250. UPDATE `item_template` SET `ScriptName`= 'item_captured_frog' WHERE `entry`=53510; -- ScriptName for Captured Frog
  251. -- 10545_world_script_texts.sql
  252. DELETE FROM `script_texts` WHERE `npc_entry` IN (25828,25248,25827);
  253. INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
  254. (25248,-1571044, 'Well...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0, 'npc_hidden_cultist SAY_HIDDEN_CULTIST_1'),
  255. (25828,-1571045, 'Finally! This charade is over... Arthas give me strength!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0, 'npc_hidden_cultist SAY_HIDDEN_CULTIST_2'),
  256. (25827,-1571046, 'You don''t know who you''re messing with! Death beckons!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0, 'npc_hidden_cultist SAY_HIDDEN_CULTIST_3'),
  257. (25248,-1571047, 'I suppose this is it, then? I won''t go down quietly!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0, 'npc_hidden_cultist SAY_HIDDEN_CULTIST_4');
  258. -- 10545_world_scriptname.sql
  259. UPDATE `creature_template` SET `ScriptName`='npc_hidden_cultist' WHERE `entry` IN (25828,25248,25827);
  260. -- 10561_world_spell_script_names.sql
  261. DELETE FROM `spell_script_names` WHERE `spell_id` IN (70877,71474) AND `ScriptName`='spell_blood_queen_frenzied_bloodthirst';
  262. DELETE FROM `spell_script_names` WHERE `spell_id` IN (70946,71475,71476,71477) AND `ScriptName`='spell_blood_queen_vampiric_bite';
  263. DELETE FROM `spell_script_names` WHERE `spell_id` IN (71899,71900,71901,71902) AND `ScriptName`='spell_blood_queen_bloodbolt';
  264. INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
  265. (70877, 'spell_blood_queen_frenzied_bloodthirst'),
  266. (71474, 'spell_blood_queen_frenzied_bloodthirst'),
  267. (70946, 'spell_blood_queen_vampiric_bite'),
  268. (71475, 'spell_blood_queen_vampiric_bite'),
  269. (71476, 'spell_blood_queen_vampiric_bite'),
  270. (71477, 'spell_blood_queen_vampiric_bite'),
  271. (71899, 'spell_blood_queen_bloodbolt'),
  272. (71900, 'spell_blood_queen_bloodbolt'),
  273. (71901, 'spell_blood_queen_bloodbolt'),
  274. (71902, 'spell_blood_queen_bloodbolt');
  275. -- 10561_world_scriptname.sql
  276. UPDATE `creature_template` SET `ScriptName`='boss_blood_queen_lana_thel' WHERE `entry`=37955;
  277. -- 10563_world_scriptname.sql
  278. UPDATE `creature_template` SET `ScriptName`='npc_daegarn' WHERE `entry`=24151;
  279. -- 10619_world_spell_script_names.sql
  280. DELETE FROM `spell_script_names` WHERE `spell_id`=43874 AND `ScriptName`='spell_q11396_11399_force_shield_arcane_purple_x3';
  281. DELETE FROM `spell_script_names` WHERE `spell_id`=50133 AND `ScriptName`='spell_q11396_11399_scourging_crystal_controller';
  282. DELETE FROM `spell_script_names` WHERE `spell_id`=43882 AND `ScriptName`='spell_q11396_11399_scourging_crystal_controller_dummy';
  283. INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
  284. (43874, 'spell_q11396_11399_force_shield_arcane_purple_x3'),
  285. (43882, 'spell_q11396_11399_scourging_crystal_controller_dummy'),
  286. (50133, 'spell_q11396_11399_scourging_crystal_controller');
  287. -- 10646_world_scriptname.sql
  288. UPDATE `creature_template` SET `ScriptName`='npc_bone_spike' WHERE `entry` IN (36619,38711,38712);
  289. -- 10736_world_scriptname.sql
  290. UPDATE `creature_template` SET `ScriptName`='' WHERE `entry`=28823;
  291. -- 10765_world_scriptname.sql
  292. UPDATE `creature_template` SET `ScriptName`= 'mob_rune_of_power' WHERE entry = 33705;
  293. -- 10765_world_spell_dbc.sql
  294. DELETE FROM spell_dbc WHERE `Id`=3617;
  295. INSERT INTO spell_dbc (`Id`, `Effect1`, `Comment`) VALUES (3617, 1, 'NPC 32958 suicide spell');
  296. -- 10806_world_scriptname.sql
  297. UPDATE `creature_template` SET `ScriptName`='' WHERE `entry`=3216; -- Neeru Fireblade
  298. -- 10815_world_spell_script_names.sql
  299. DELETE FROM `spell_script_names` WHERE `spell_id`=67533 AND `ScriptName`='spell_item_red_rider_air_rifle';
  300. INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
  301. (67533, 'spell_item_red_rider_air_rifle');