aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2016-08-19 15:23:19 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-02-12 15:50:43 +0100
commit7b13e98327b043745538ccce75e4b4216361015f (patch)
treeae1721eb3ea5fa05c6d7b9991e1f3a7adf73e418 /sql/updates
parentb18b05ee4af3b8ca64448f0c68c126ed711a579d (diff)
AI/SmartScripts: Add param3 to SMART_ACTION_CAST and SMART_ACTION_INVOKER_CAST that allows specific triggered flags to be set (rather than all-or-nothing). Ignored if SMARTCAST_TRIGGERED is not set.
(cherry picked from commit 9072e0221b39c19fb6be154c623f45d6a9433db0)
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/world/master/2017_02_12_09_world_2016_08_19_01_world.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/updates/world/master/2017_02_12_09_world_2016_08_19_01_world.sql b/sql/updates/world/master/2017_02_12_09_world_2016_08_19_01_world.sql
new file mode 100644
index 00000000000..2cdb65bdeb3
--- /dev/null
+++ b/sql/updates/world/master/2017_02_12_09_world_2016_08_19_01_world.sql
@@ -0,0 +1,2 @@
+-- remove old (never used) param values from _CAST and _INVOKER_CAST
+UPDATE `smart_scripts` SET `action_param3`=0,`action_param4`=0,`action_param5`=0,`action_param6`=0 WHERE `action_type` IN (11,85);