aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-08-22 03:48:48 +0300
committerShauren <shauren.trinity@gmail.com>2022-02-04 00:27:11 +0100
commit1f1583142e7cebfb3f7230dc13458a0610d7cb42 (patch)
treed222d2a37166dcc819c7e83c44df6b2c177f3f94
parent0715168bcedbbcbe23a8e902e4adf11360399aa3 (diff)
DB/SAI: Remove SMARTCAST_INTERRUPT_PREVIOUS from Invoker Cast, Cross Cast and Self Cast actions
Ref aae38bec116d5fb60d1f5900867cfe33388ed0bb Not needed at all for these action types, you can't interrupt player's spells by this event flag and there's no reason to interrupt creature's spells (cherry picked from commit e931bc11c25ce26074896115d45ee7f4d77e5071)
-rw-r--r--sql/updates/world/master/2022_02_03_05_world_2020_08_22_00_world.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_02_03_05_world_2020_08_22_00_world.sql b/sql/updates/world/master/2022_02_03_05_world_2020_08_22_00_world.sql
new file mode 100644
index 00000000000..6b32776d0d7
--- /dev/null
+++ b/sql/updates/world/master/2022_02_03_05_world_2020_08_22_00_world.sql
@@ -0,0 +1,2 @@
+-- Remove SMARTCAST_INTERRUPT_PREVIOUS from Invoker Cast, Cross Cast and Self Cast actions
+UPDATE `smart_scripts` SET `action_param2` = `action_param2` &~1 WHERE `action_type` IN (85,86,134) AND `action_param2` & 1;