DB/Misc: 3.3.5a fixes

This commit is contained in:
Aokromes committed 2016-06-05 04:30:31 +02:00
1 parent 0a50feb9ec
commit a37a290ba8
4 files changed
+61

No files matched your search

@@ -0,0 +1,20 @@
DELETE FROM `spell_script_names` where `ScriptName` IN ('spell_jormungars_burning_spray','spell_jormungars_paralytic_spray','spell_jormungars_paralytic_toxin','spell_jormungars_paralysis');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(66902,'spell_jormungars_burning_spray'), -- Burning Spray 10m normal
(67627,'spell_jormungars_burning_spray'), -- Burning Spray 25m normal
(67628,'spell_jormungars_burning_spray'), -- Burning Spray 10m heroic
(67629,'spell_jormungars_burning_spray'), -- Burning Spray 25m heroic
(66901,'spell_jormungars_paralytic_spray'), -- Paralytic Spray 10m normal
(67615,'spell_jormungars_paralytic_spray'), -- Paralytic Spray 25m normal
(67616,'spell_jormungars_paralytic_spray'), -- Paralytic Spray 10m heroic
(67617,'spell_jormungars_paralytic_spray'), -- Paralytic Spray 25m heroic
(66823,'spell_jormungars_paralytic_toxin'), -- Paralytic Toxin 10m normal
(67618,'spell_jormungars_paralytic_toxin'), -- Paralytic Toxin 25m normal
(67619,'spell_jormungars_paralytic_toxin'), -- Paralytic Toxin 10m heroic
(67620,'spell_jormungars_paralytic_toxin'), -- Paralytic Toxin 25m heroic
(66830,'spell_jormungars_paralysis'); -- Paralysis
-- Acidmaw missing text
DELETE FROM `creature_text` where entry = 35144 AND groupid = 1;
INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(35144,1,0,'You have been infected with a Paralytic Toxin!',42,0,100,0,0,0,36323,0,'Acidmaw - Special Attack');
@@ -0,0 +1,10 @@
DELETE FROM `spell_script_names` where `ScriptName` IN ('spell_fel_streak_visual');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(66493,'spell_fel_streak_visual');
DELETE FROM `creature_template_addon` WHERE `entry` IN (34815,35262,35263,35264);
INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
(34815,0,0,0,1,0,'66327'),
(35262,0,0,0,1,0,'66327'),
(35263,0,0,0,1,0,'66327'),
(35264,0,0,0,1,0,'66327');
@@ -0,0 +1,19 @@
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=6556;
DELETE FROM `smart_scripts` WHERE `entryorguid`=6556 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=6557 AND `source_type`=0 AND `id`=7;
DELETE FROM `smart_scripts` WHERE `entryorguid`=6559 AND `source_type`=0 AND `id`=1;
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
(6556, 0, 0, 0, 8, 0, 100, 1, 15702, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Muculent Ooze - On Spell Hit (Filling Empty Jar) - Despawn'),
(6557, 0, 7, 0, 8, 0, 100, 1, 15702, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Primal Ooze - On Spell Hit (Filling Empty Jar) - Despawn'),
(6559, 0, 1, 0, 8, 0, 100, 1, 15702, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Glutinous Ooze - On Spell Hit (Filling Empty Jar) - Despawn');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=15702;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(17, 0, 15702, 0, 0, 31, 1, 3, 6556, 0, 0, 0, 0, '', 'Filling Empty Jar can be used on Muculent Ooze'),
(17, 0, 15702, 0, 1, 31, 1, 3, 6557, 0, 0, 0, 0, '', 'Filling Empty Jar can be used on Muculent Ooze'),
(17, 0, 15702, 0, 2, 31, 1, 3, 6559, 0, 0, 0, 0, '', 'Filling Empty Jar can be used on Muculent Ooze'),
(17, 0, 15702, 0, 0, 36, 1, 0, 0, 0, 1, 0, 0, '', 'Target must be dead'),
(17, 0, 15702, 0, 1, 36, 1, 0, 0, 0, 1, 0, 0, '', 'Target must be dead'),
(17, 0, 15702, 0, 2, 36, 1, 0, 0, 0, 1, 0, 0, '', 'Target must be dead');
@@ -0,0 +1,12 @@
DROP TABLE IF EXISTS `playercreateinfo_cast_spell`;
CREATE TABLE IF NOT EXISTS `playercreateinfo_cast_spell` (
`raceMask` INT(10) UNSIGNED NOT NULL DEFAULT '0',
`classMask` INT(10) UNSIGNED NOT NULL DEFAULT '0',
`spell` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
`note` VARCHAR(255) DEFAULT NULL
) ENGINE=MYISAM DEFAULT CHARSET=utf8;
DELETE FROM `playercreateinfo_cast_spell` WHERE `spell` IN (48266, 2457);
INSERT INTO `playercreateinfo_cast_spell` (`racemask`, `classmask`, `spell`, `note`) VALUES
(0, 32, 48266, 'Death Knight - Blood Presence'),
(0, 1, 2457, 'Warrior - Battle Stance');