DB/Misc: 3.3.5a fixes

This commit is contained in:
Aokromes
2016-09-02 10:52:02 +02:00
parent 97a404803d
commit 214602a29d
7 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
-- fix random inhabittype
UPDATE `creature_template` SET `inhabittype`=`inhabittype`&~8 WHERE `entry`=18679;

View File

@@ -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);
*/

View File

@@ -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");

View File

@@ -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);

View File

@@ -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;

View File

@@ -0,0 +1 @@
UPDATE `smart_scripts` SET `action_param1`=52755 WHERE `entryorguid`=28580 AND `source_type`=0 AND `id`=3;

View File

@@ -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