Core/SAI: Split set/remove unit_flags actions (#26954)

This commit is contained in:
offl
2021-09-27 19:00:55 +03:00
committed by GitHub
parent 5f71c40b96
commit 0a2fca1aed
4 changed files with 102 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
--
UPDATE `smart_scripts` SET `action_type` = 144, `action_param1` = 1 WHERE `action_type` = 18 AND `action_param1` = 256;
UPDATE `smart_scripts` SET `action_type` = 144, `action_param1` = 0 WHERE `action_type` = 19 AND `action_param1` = 256;
UPDATE `smart_scripts` SET `action_type` = 145, `action_param1` = 1 WHERE `action_type` = 18 AND `action_param1` = 512;
UPDATE `smart_scripts` SET `action_type` = 145, `action_param1` = 0 WHERE `action_type` = 19 AND `action_param1` = 512;
UPDATE `smart_scripts` SET `action_type` = 146, `action_param1` = 1 WHERE `action_type` = 18 AND `action_param1` = 33554432;
UPDATE `smart_scripts` SET `action_type` = 146, `action_param1` = 0 WHERE `action_type` = 19 AND `action_param1` = 33554432;