diff options
author | Killyana <morphone1@gmail.com> | 2019-12-16 17:36:33 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-19 12:24:41 +0100 |
commit | fa01d75a38cdbab98a64b725a27aa2b0432cb3e1 (patch) | |
tree | 1b4c230028e46cf205ce6071217343331b52a42e | |
parent | 07015cc0525c7bd4ceaf513324d7b8c8aebcf25e (diff) |
DB: Fix some DB errors related to auras
(cherry picked from commit 091ff42064bacd35d98f37fd80a9328e298f2752)
-rw-r--r-- | sql/updates/world/master/2021_12_19_01_world_2019_12_16_00_world.sql | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_12_19_01_world_2019_12_16_00_world.sql b/sql/updates/world/master/2021_12_19_01_world_2019_12_16_00_world.sql new file mode 100644 index 00000000000..cdbcfcdb312 --- /dev/null +++ b/sql/updates/world/master/2021_12_19_01_world_2019_12_16_00_world.sql @@ -0,0 +1,19 @@ +-- +UPDATE `creature_template_addon` SET `auras`="" WHERE `entry` IN (13142,30681,17160,19415,30680,19952,19945,19985,20673,21453,21663,24497); +UPDATE `creature_template_addon` SET `auras`="16093" WHERE `entry` IN (19027,19030); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (19945,19985,21453,21663,20673,17160); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (19945,19985,21453,21663,20673,17160) AND `source_type`=0; +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 +(19945,0,0,0,23,0,100,0,12550,0,3000,3000,11,12550,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lashh'an Windwalker - On missing aura - Cast 'Lightning Shield'"), +(19945,0,1,0,0,0,100,0,1000,2000,3000,4000,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,"Lashh'an Windwalker - IC - Cast 'Lightning Bolt"), +(19985,0,0,0,23,0,100,0,12550,0,3000,3000,11,12550,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ruuan'ok Cloudgazer - On missing aura - Cast 'Lightning Shield'"), +(19985,0,1,0,0,0,100,0,1000,2000,3000,4000,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,"Ruuan'ok Cloudgazer - IC - Cast 'Lightning Bolt"), +(20673,0,0,0,23,0,100,0,12550,0,3000,3000,11,19514,0,0,0,0,0,1,0,0,0,0,0,0,0,"Swiftwing Shredder - On missing aura - Cast 'Lightning Shield'"), +(20673,0,1,0,0,0,100,0,2000,5000,3000,5000,11,36594,0,0,0,0,0,2,0,0,0,0,0,0,0,"Swiftwing Shredder - IC - Cast Lightning Breath"), +(21453,0,0,0,23,0,100,0,12550,0,3000,3000,11,12550,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ashtongue Shaman - On missing aura - Cast 'Lightning Shield'"), +(21453,0,1,0,0,0,100,0,8000,10000,30000,35000,11,36594,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ashtongue Shaman - IC - Cast bloodlust"), +(21663,0,0,0,23,0,100,0,12550,0,3000,3000,11,12550,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ashtongue Shaman - On missing aura - Cast 'Lightning Shield'"), +(21663,0,1,0,0,0,100,0,8000,10000,10000,15000,11,11986,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ashtongue Shaman - IC - Cast Healing Wave"), +(17160,0,0,0,23,0,100,0,12550,0,3000,3000,11,12550,0,0,0,0,0,1,0,0,0,0,0,0,0,"Living Cyclone - On missing aura - Cast 'Lightning Shield'"), +(17160,0,1,0,0,0,100,0,2000,4000,2000,4000,11,31705,0,0,0,0,0,2,0,0,0,0,0,0,0,"Living Cyclone - IC - Cast 'Magnetic Pull"); |