fix(Core/Spells): Improved Drain Soul triggering from every target … (#8144)

...that dies and not just the one affected by Drain Soul and move the Drain Soul code to spell scripts

- TC Ports: https://github.com/TrinityCore/TrinityCore/commit/d9743c984f11069bddab9d7f006293c18a400765#diff-ea612aafadff90005e88b243eb000369be9e5cb6f8dc85a008d31e42b156e0ec and  https://github.com/TrinityCore/TrinityCore/commit/2b1b36f5617ac10dc373410b69957eadb2766453#diff-ea612aafadff90005e88b243eb000369be9e5cb6f8dc85a008d31e42b156e0ec
This commit is contained in:
Skjalf
2021-10-07 13:58:46 -03:00
committed by GitHub
parent d0ff62a1ab
commit 99cc428511
4 changed files with 100 additions and 56 deletions
@@ -0,0 +1,5 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1632872192462777000');
DELETE FROM `spell_script_names` WHERE `spell_id` = -1120 AND `ScriptName` = 'spell_warl_drain_soul';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(-1120, 'spell_warl_drain_soul');