fix(Core/Spells): Fix Cold Blood not consumed when Mutilate kills target (#24909)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: ariel- <ariel-@users.noreply.github.com>
This commit is contained in:
blinkysc
2026-02-28 08:14:25 -06:00
committed by GitHub
parent 0b952192c1
commit 7b89dac055
4 changed files with 77 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
-- Cold Blood: Bind AuraScript to prevent charge consumption on Mutilate MH/OH,
-- so both sub-spells get the guaranteed crit.
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_rog_cold_blood';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(14177, 'spell_rog_cold_blood');
-- Mutilate (parent): remove Cold Blood in AfterCast after both sub-spells
-- have executed their crit rolls. Negative spell_id covers all ranks.
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_rog_mutilate', 'spell_rog_mutilate_strike');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(-1329, 'spell_rog_mutilate');