From f65dd33cfcda284d84d828b5ad6b83669bc5b3a5 Mon Sep 17 00:00:00 2001 From: offl Date: Sun, 11 Jul 2021 18:47:59 +0300 Subject: DB/SAI: Remove unused in core target params Ref #26628 (cherry picked from commit ae7b6fbabb6c32fd4a7f93535aaba88b21d20534) --- .../2022_03_11_21_world_2021_07_11_00_world.sql | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 sql/updates/world/master/2022_03_11_21_world_2021_07_11_00_world.sql diff --git a/sql/updates/world/master/2022_03_11_21_world_2021_07_11_00_world.sql b/sql/updates/world/master/2022_03_11_21_world_2021_07_11_00_world.sql new file mode 100644 index 00000000000..8553fbedea7 --- /dev/null +++ b/sql/updates/world/master/2022_03_11_21_world_2021_07_11_00_world.sql @@ -0,0 +1,32 @@ +-- +UPDATE `smart_scripts` SET `target_param1` = 0 WHERE `entryorguid` = -75734 AND `source_type` = 0 AND `id` = 0 AND `action_type` = 11; +UPDATE `smart_scripts` SET `target_param1` = 0 WHERE `entryorguid` = -75106 AND `source_type` = 0 AND `id` = 0 AND `action_type` = 11; +UPDATE `smart_scripts` SET `target_param1` = 0 WHERE `entryorguid` = -75105 AND `source_type` = 0 AND `id` = 0 AND `action_type` = 11; +UPDATE `smart_scripts` SET `target_param1` = 0 WHERE `entryorguid` = -75104 AND `source_type` = 0 AND `id` = 0 AND `action_type` = 11; +UPDATE `smart_scripts` SET `target_param2` = 0 WHERE `entryorguid` = 6557 AND `source_type` = 0 AND `id` = 3 AND `action_type` = 47; +UPDATE `smart_scripts` SET `target_param1` = 0 WHERE `entryorguid` = 10043 AND `source_type` = 0 AND `id` = 5 AND `action_type` = 11; +UPDATE `smart_scripts` SET `target_param3` = 0 WHERE `entryorguid` = 17826 AND `source_type` = 0 AND `id` = 13 AND `action_type` = 133; +UPDATE `smart_scripts` SET `target_param3` = 0 WHERE `entryorguid` = 18399 AND `source_type` = 0 AND `id` = 7 AND `action_type` = 41; +UPDATE `smart_scripts` SET `target_param1` = 0 WHERE `entryorguid` = 18955 AND `source_type` = 0 AND `id` = 1 AND `action_type` = 85; +UPDATE `smart_scripts` SET `target_param1` = 0 WHERE `entryorguid` = 27229 AND `source_type` = 0 AND `id` = 0 AND `action_type` = 85; +UPDATE `smart_scripts` SET `target_param2` = 0 WHERE `entryorguid` = 28948 AND `source_type` = 0 AND `id` = 6 AND `action_type` = 1; +UPDATE `smart_scripts` SET `target_param1` = 0 WHERE `entryorguid` = 30630 AND `source_type` = 0 AND `id` = 0 AND `action_type` = 85; +UPDATE `smart_scripts` SET `target_param2` = 0 WHERE `entryorguid` = 30830 AND `source_type` = 0 AND `id` = 4 AND `action_type` = 11; + +UPDATE `smart_scripts` SET `target_param1` = 0 WHERE `entryorguid` = 328900 AND `source_type` = 9 AND `id` = 1 AND `action_type` = 5; +UPDATE `smart_scripts` SET `target_param2` = 0 WHERE `entryorguid` = 328900 AND `source_type` = 9 AND `id` = 1 AND `action_type` = 5; +UPDATE `smart_scripts` SET `target_param1` = 0 WHERE `entryorguid` = 369201 AND `source_type` = 9 AND `id` = 2 AND `action_type` = 1; +UPDATE `smart_scripts` SET `target_param1` = 0 WHERE `entryorguid` = 479200 AND `source_type` = 9 AND `id` = 2 AND `action_type` = 12; +UPDATE `smart_scripts` SET `target_param1` = 0 WHERE `entryorguid` = 2361600 AND `source_type` = 9 AND `id` = 0 AND `action_type` = 54; +UPDATE `smart_scripts` SET `target_param2` = 0 WHERE `entryorguid` = 2361600 AND `source_type` = 9 AND `id` = 0 AND `action_type` = 54; + +UPDATE `smart_scripts` SET `target_type` = 1 WHERE `entryorguid` IN (2471000,2471100) AND `source_type` = 9 AND `id` IN (1,2,3); +UPDATE `smart_scripts` SET `target_param1` = 0 WHERE `entryorguid` IN (2471000,2471100) AND `source_type` = 9; + +UPDATE `smart_scripts` SET `target_param2` = 0 WHERE `entryorguid` = 2483500 AND `source_type` = 9 AND `id` = 1 AND `action_type` = 1; +UPDATE `smart_scripts` SET `target_param1` = 0 WHERE `entryorguid` = 2719901 AND `source_type` = 9 AND `id` = 7 AND `action_type` = 41; + +UPDATE `smart_scripts` SET `target_param3` = 0 WHERE `entryorguid` = 3784600 AND `source_type` = 9 AND `id` = 2 AND `action_type` = 1; +UPDATE `smart_scripts` SET `target_param3` = 0 WHERE `entryorguid` = 3784600 AND `source_type` = 9 AND `id` = 3 AND `action_type` = 11; +UPDATE `smart_scripts` SET `target_param3` = 0 WHERE `entryorguid` = 3784600 AND `source_type` = 9 AND `id` = 6 AND `action_type` = 1; +UPDATE `smart_scripts` SET `target_param3` = 0 WHERE `entryorguid` = 3784600 AND `source_type` = 9 AND `id` = 7 AND `action_type` = 1; -- cgit v1.2.3