tc_434 fix console errors
PHP код:
-- fix gameobject_template console errors
UPDATE `gameobject_template` SET `type`=0, `data1`=0 WHERE `entry`=207350;
UPDATE `gameobject_template` SET `type`=0, `data1`=0 WHERE `entry`=207326;
UPDATE `gameobject_template` SET `type`=0, `data1`=0 WHERE `entry`=207285;
UPDATE `gameobject_template` SET `type`=0, `data1`=0 WHERE `entry`=207284;
UPDATE `gameobject_template` SET `type`=0, `data1`=0 WHERE `entry`=207283;
UPDATE `gameobject_template` SET `type`=0, `data1`=0 WHERE `entry`=207282;
-- fix spell_script_names console errors
DELETE FROM `spell_script_names` WHERE `spell_id`=-1463 AND `ScriptName`='spell_mage_mana_shield';
DELETE FROM `spell_script_names` WHERE `spell_id`=-11426 AND `ScriptName`='spell_mage_ice_barrier';
-- fix smart_scripts console errors
UPDATE `smart_scripts` SET `action_param1`=19750 WHERE `entryorguid`=17809 AND `source_type`=0 AND `id`=4 AND `link`=0;
UPDATE `smart_scripts` SET `action_param1`=19750 WHERE `entryorguid`=17811 AND `source_type`=0 AND `id`=6 AND `link`=0;
UPDATE `smart_scripts` SET `action_param1`=33127 WHERE `entryorguid`=17812 AND `source_type`=0 AND `id`=6 AND `link`=0;
UPDATE `smart_scripts` SET `action_param1`=19750 WHERE `entryorguid`=17812 AND `source_type`=0 AND `id`=7 AND `link`=0;