aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-08-08 02:24:41 +0300
committeroffl <offl@users.noreply.github.com>2020-08-08 02:24:41 +0300
commit6ca6a540831a29ded8bd569e395ccdff0ab3e336 (patch)
tree1c2bd5a79b07447fa406b3ff28373f8185f40d12
parenta4ab8116c3f6ddc3b9d318ab95d548ab15994104 (diff)
DB/SAI: Remove useless param inside SMART_ACTION_CALL_TIMED_ACTIONLIST for gameobject scripts
-rw-r--r--sql/updates/world/3.3.5/2020_08_08_03_world.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2020_08_08_03_world.sql b/sql/updates/world/3.3.5/2020_08_08_03_world.sql
new file mode 100644
index 00000000000..4e319eb3247
--- /dev/null
+++ b/sql/updates/world/3.3.5/2020_08_08_03_world.sql
@@ -0,0 +1,3 @@
+-- Remove useless param inside SMART_ACTION_CALL_TIMED_ACTIONLIST for gameobject scripts
+-- Gameobjects cannot be in combat so no reason to change timer update type to 2 (update always)
+UPDATE `smart_scripts` SET `action_param2` = 0 WHERE `action_type` = 80 AND `source_type` = 1 AND `target_type` = 1;