From 214602a29daa7226efcedd302a498d10f8bba967 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Fri, 2 Sep 2016 10:52:02 +0200 Subject: [PATCH] DB/Misc: 3.3.5a fixes --- ...02_01_world_from_335_was_2016_08_31_00_world.sql | 2 ++ ...2_world_from_335_was_2016_08_31_01_world_335.sql | 7 +++++++ ...02_03_world_from_335_was_2016_09_01_00_world.sql | 5 +++++ ...02_04_world_from_335_was_2016_09_01_01_world.sql | 13 +++++++++++++ ...02_05_world_from_335_was_2016_09_02_00_world.sql | 2 ++ ...02_06_world_from_335_was_2016_09_02_01_world.sql | 1 + ...02_07_world_from_335_was_2016_09_02_02_world.sql | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 sql/updates/world/4.3.4/2016_09_02_01_world_from_335_was_2016_08_31_00_world.sql create mode 100644 sql/updates/world/4.3.4/2016_09_02_02_world_from_335_was_2016_08_31_01_world_335.sql create mode 100644 sql/updates/world/4.3.4/2016_09_02_03_world_from_335_was_2016_09_01_00_world.sql create mode 100644 sql/updates/world/4.3.4/2016_09_02_04_world_from_335_was_2016_09_01_01_world.sql create mode 100644 sql/updates/world/4.3.4/2016_09_02_05_world_from_335_was_2016_09_02_00_world.sql create mode 100644 sql/updates/world/4.3.4/2016_09_02_06_world_from_335_was_2016_09_02_01_world.sql create mode 100644 sql/updates/world/4.3.4/2016_09_02_07_world_from_335_was_2016_09_02_02_world.sql diff --git a/sql/updates/world/4.3.4/2016_09_02_01_world_from_335_was_2016_08_31_00_world.sql b/sql/updates/world/4.3.4/2016_09_02_01_world_from_335_was_2016_08_31_00_world.sql new file mode 100644 index 00000000000..f36064ae6f2 --- /dev/null +++ b/sql/updates/world/4.3.4/2016_09_02_01_world_from_335_was_2016_08_31_00_world.sql @@ -0,0 +1,2 @@ +-- fix random inhabittype +UPDATE `creature_template` SET `inhabittype`=`inhabittype`&~8 WHERE `entry`=18679; diff --git a/sql/updates/world/4.3.4/2016_09_02_02_world_from_335_was_2016_08_31_01_world_335.sql b/sql/updates/world/4.3.4/2016_09_02_02_world_from_335_was_2016_08_31_01_world_335.sql new file mode 100644 index 00000000000..cde136f777a --- /dev/null +++ b/sql/updates/world/4.3.4/2016_09_02_02_world_from_335_was_2016_08_31_01_world_335.sql @@ -0,0 +1,7 @@ +/* +DELETE FROM `spell_proc_event` WHERE `entry` IN (44401, 48108, 57761); +INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES +(44401, 0, 3, 0x00000800, 0x00000000, 0x00000000, 4096, 0, 0, 0, 0), +(48108, 0, 3, 0x00400000, 0x00000000, 0x00000000, 65536, 0, 0, 0, 0), +(57761, 0, 3, 0x00000001, 0x00001000, 0x00000000, 65536, 0, 0, 0, 0); +*/ diff --git a/sql/updates/world/4.3.4/2016_09_02_03_world_from_335_was_2016_09_01_00_world.sql b/sql/updates/world/4.3.4/2016_09_02_03_world_from_335_was_2016_09_01_00_world.sql new file mode 100644 index 00000000000..ccb48a9c87a --- /dev/null +++ b/sql/updates/world/4.3.4/2016_09_02_03_world_from_335_was_2016_09_01_00_world.sql @@ -0,0 +1,5 @@ +-- Fix Cabal Abjurist SAI +DELETE FROM `smart_scripts` WHERE `entryorguid`=21660 AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`event_type`,`event_chance`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`target_type`,`target_param1`,`comment`) VALUES +(21660,0,0,0,100,0,0,2000,3000,11,34447,2,0,"Cabal Abjurist - In Combat - Cast 'Arcane Missiles' at Victim"), +(21660,0,1,0,100,5000,9000,13000,18000,11,11831,25,10,"Cabal Abjurist - In Combat - Cast 'Frost Nova' if enemy within 10yd"); diff --git a/sql/updates/world/4.3.4/2016_09_02_04_world_from_335_was_2016_09_01_01_world.sql b/sql/updates/world/4.3.4/2016_09_02_04_world_from_335_was_2016_09_01_01_world.sql new file mode 100644 index 00000000000..7f361c68f1e --- /dev/null +++ b/sql/updates/world/4.3.4/2016_09_02_04_world_from_335_was_2016_09_01_01_world.sql @@ -0,0 +1,13 @@ +-- Fix Cabal Abjurist SAI even more +UPDATE `smart_scripts` SET `action_param1`=34446,`action_param2`=0x40,`event_param3`=5500,`event_param4`=6500 WHERE `entryorguid`=21660 AND `source_type`=0 AND `id`=0; + +-- Same treatment for Bleeding Hollow Darkcaster +DELETE FROM `smart_scripts` WHERE `entryorguid`=17269 AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`event_type`,`event_chance`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`target_type`,`comment`) VALUES +(17269,0,0,0,100,300,450,1800,2100,11,15241,0x40,2,"Bleeding Hollow Darkcaster - In Combat - Cast 'Scorch' at Victim"), +(17269,0,1,0,100,11600,23300,22700,33400,11,20754,0x41,6,"Bleeding Hollow Darkcaster - In Combat - Cast 'Rain of Fire' at Random Hostile"); + +DELETE FROM `spelldifficulty_dbc` WHERE `id` IN (15241,20754); +INSERT INTO `spelldifficulty_dbc` (`id`,`spellid0`,`spellid1`) VALUES +(15241,15241,36807), +(20754,20754,36808); diff --git a/sql/updates/world/4.3.4/2016_09_02_05_world_from_335_was_2016_09_02_00_world.sql b/sql/updates/world/4.3.4/2016_09_02_05_world_from_335_was_2016_09_02_00_world.sql new file mode 100644 index 00000000000..32e9f51bbaa --- /dev/null +++ b/sql/updates/world/4.3.4/2016_09_02_05_world_from_335_was_2016_09_02_00_world.sql @@ -0,0 +1,2 @@ +-- Proper spellcast for Coldarra Spellweaver +UPDATE `smart_scripts` SET `action_param1`=34446, `event_param3`=5250, `event_param4`=5750 WHERE `entryorguid`=25722 AND `source_type`=0 AND `id`=0; diff --git a/sql/updates/world/4.3.4/2016_09_02_06_world_from_335_was_2016_09_02_01_world.sql b/sql/updates/world/4.3.4/2016_09_02_06_world_from_335_was_2016_09_02_01_world.sql new file mode 100644 index 00000000000..08571cd4ea4 --- /dev/null +++ b/sql/updates/world/4.3.4/2016_09_02_06_world_from_335_was_2016_09_02_01_world.sql @@ -0,0 +1 @@ +UPDATE `smart_scripts` SET `action_param1`=52755 WHERE `entryorguid`=28580 AND `source_type`=0 AND `id`=3; diff --git a/sql/updates/world/4.3.4/2016_09_02_07_world_from_335_was_2016_09_02_02_world.sql b/sql/updates/world/4.3.4/2016_09_02_07_world_from_335_was_2016_09_02_02_world.sql new file mode 100644 index 00000000000..14076c60b5d --- /dev/null +++ b/sql/updates/world/4.3.4/2016_09_02_07_world_from_335_was_2016_09_02_02_world.sql @@ -0,0 +1,5 @@ +DELETE FROM `player_factionchange_spells` WHERE `horde_id` IN (23248,35018,35028); +INSERT INTO `player_factionchange_spells` (`horde_id`, `alliance_id`) VALUES +(23248, 17454), -- Great Gray Kodo <-> Unpainted Mechanostrider +(35018, 49908), -- Purple Hawkstrider <-> Pink Elekk +(35028, 48027); -- Swift Warstrider <-> Black War Elekk