diff --git a/sql/migrations/20230623143144_world.sql b/sql/migrations/20230623143144_world.sql index a4543f3a67d..209de6a0ff6 100644 --- a/sql/migrations/20230623143144_world.sql +++ b/sql/migrations/20230623143144_world.sql @@ -235,6 +235,12 @@ UPDATE `creature_questrelation` SET `patch_max` = 6 WHERE `id` = 2500 AND `quest -- Remove Incorrect Creatures DELETE FROM `creature` WHERE `guid` IN (21707, 21708); +-- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ +-- Set Correct Target For Script +DELETE FROM `creature_ai_scripts` WHERE `id`=852401; +INSERT INTO `creature_ai_scripts` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES +(852401, 0, 0, 15, 16567, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Cursed Mage - Cast Spell Tainted Mind'); + -- End of migration. END IF;