From ba0cb53b0214ab3625830f7dac3c68d08a97e084 Mon Sep 17 00:00:00 2001 From: SnapperRy Date: Fri, 15 Jul 2016 18:37:17 +0200 Subject: Core/SmartAI: change SMART_ACTION_RISE_UP (114) to SMART_ACTION_MOVE_OFFSET and implement offset movement via target fields. (#17362) --- sql/updates/world/3.3.5/9999_99_99_99_world.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sql/updates/world/3.3.5/9999_99_99_99_world.sql (limited to 'sql/updates') diff --git a/sql/updates/world/3.3.5/9999_99_99_99_world.sql b/sql/updates/world/3.3.5/9999_99_99_99_world.sql new file mode 100644 index 00000000000..b44d7669386 --- /dev/null +++ b/sql/updates/world/3.3.5/9999_99_99_99_world.sql @@ -0,0 +1,2 @@ +UPDATE `smart_scripts` SET `action_type`=114, `target_z`=`action_param1`, `action_param1`=0 WHERE `action_type` = 114 AND `action_param1` != 0; +UPDATE `smart_scripts` SET `action_type`=114, `target_y`=`action_param1`, `action_param1`=0 WHERE `action_type` = 46 AND `action_param1` != 0; -- cgit v1.2.3