aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-08-08 02:24:41 +0300
committerShauren <shauren.trinity@gmail.com>2022-01-26 18:58:29 +0100
commit1503c84d3a21a2ffca8016c8c29958077fe2c2d7 (patch)
tree11690ba9594a3f240bfdb64be09835a3a3846d4c
parentf16608d9866faf0920aed9d39fac80d610332a92 (diff)
DB/SAI: Remove useless param inside SMART_ACTION_CALL_TIMED_ACTIONLIST for gameobject scripts
(cherry picked from commit 6ca6a540831a29ded8bd569e395ccdff0ab3e336)
-rw-r--r--sql/updates/world/master/2022_01_26_20_world_2020_08_08_03_world.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_01_26_20_world_2020_08_08_03_world.sql b/sql/updates/world/master/2022_01_26_20_world_2020_08_08_03_world.sql
new file mode 100644
index 00000000000..4e319eb3247
--- /dev/null
+++ b/sql/updates/world/master/2022_01_26_20_world_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;