refactor(SmartAI): move AC-only SMART_ACTIONs to avoid conflicts with TC

This commit is contained in:
Francesco Borzì
2019-01-20 19:57:21 +01:00
committed by GitHub
parent 3b02050e5b
commit 8931ae74ba
3 changed files with 78 additions and 19 deletions

View File

@@ -0,0 +1,47 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1547990516486417003');
-- SMART_ACTION_MOVE_TO_POS_TARGET
UPDATE `smart_scripts` SET `action_type` = 201 WHERE `action_type` = 130;
-- SMART_ACTION_SET_GO_STATE
UPDATE `smart_scripts` SET `action_type` = 202 WHERE `action_type` = 131;
-- SMART_ACTION_EXIT_VEHICLE
UPDATE `smart_scripts` SET `action_type` = 203 WHERE `action_type` = 132;
-- SMART_ACTION_SET_UNIT_MOVEMENT_FLAGS
UPDATE `smart_scripts` SET `action_type` = 204 WHERE `action_type` = 133;
-- SMART_ACTION_SET_COMBAT_DISTANCE
UPDATE `smart_scripts` SET `action_type` = 205 WHERE `action_type` = 134;
-- SMART_ACTION_SET_CASTER_COMBAT_DIST
UPDATE `smart_scripts` SET `action_type` = 206 WHERE `action_type` = 135;
-- SMART_ACTION_SET_HOVER
UPDATE `smart_scripts` SET `action_type` = 207 WHERE `action_type` = 141;
-- SMART_ACTION_ADD_IMMUNITY
UPDATE `smart_scripts` SET `action_type` = 208 WHERE `action_type` = 142;
-- SMART_ACTION_REMOVE_IMMUNITY
UPDATE `smart_scripts` SET `action_type` = 209 WHERE `action_type` = 143;
-- SMART_ACTION_FALL
UPDATE `smart_scripts` SET `action_type` = 210 WHERE `action_type` = 144;
-- SMART_ACTION_SET_EVENT_FLAG_RESET
UPDATE `smart_scripts` SET `action_type` = 211 WHERE `action_type` = 145;
-- SMART_ACTION_STOP_MOTION
UPDATE `smart_scripts` SET `action_type` = 212 WHERE `action_type` = 147;
-- SMART_ACTION_NO_ENVIRONMENT_UPDATE
UPDATE `smart_scripts` SET `action_type` = 213 WHERE `action_type` = 148;
-- SMART_ACTION_ZONE_UNDER_ATTACK
UPDATE `smart_scripts` SET `action_type` = 214 WHERE `action_type` = 149;
-- SMART_ACTION_LOAD_GRID
UPDATE `smart_scripts` SET `action_type` = 215 WHERE `action_type` = 150;