aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorSnapperRy <snapperryen@gmail.com>2016-07-15 18:37:17 +0200
committerGitHub <noreply@github.com>2016-07-15 18:37:17 +0200
commitba0cb53b0214ab3625830f7dac3c68d08a97e084 (patch)
treeed6501daf5f4bf2f3a164f5a6359e74e978a6011 /sql/updates
parentd7e47de264a20dc689b4b30663c2de09613b791f (diff)
Core/SmartAI: change SMART_ACTION_RISE_UP (114) to SMART_ACTION_MOVE_OFFSET and implement offset movement via target fields. (#17362)
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/world/3.3.5/9999_99_99_99_world.sql2
1 files changed, 2 insertions, 0 deletions
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;