aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2016-08-19 15:23:19 +0200
committertreeston <treeston.mmoc@gmail.com>2016-08-19 15:23:19 +0200
commit9072e0221b39c19fb6be154c623f45d6a9433db0 (patch)
tree6b305835f0b70c27125b6ec51a38804da5544f14 /sql
parent14b44af38d33be0cab4cb081c1f911b20db8884c (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.
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/3.3.5/2016_08_19_01_world.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2016_08_19_01_world.sql b/sql/updates/world/3.3.5/2016_08_19_01_world.sql
new file mode 100644
index 00000000000..2cdb65bdeb3
--- /dev/null
+++ b/sql/updates/world/3.3.5/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);