Scripts/Spells: Fix support for 'Teleport This!' (10857) (#26789)

Co-authored-by: offl <offl@users.noreply.github.com>
This commit is contained in:
offl
2021-08-10 11:18:28 +03:00
committed by GitHub
parent c7ae9d761a
commit 8186e6deca
2 changed files with 81 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
--
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (16943,20928) AND `source_type` = 0 AND `id` IN (3,4,5);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (22348,22350,22351) AND `source_type` = 0;
UPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (22348,22350,22351);
DELETE FROM `spell_script_names` WHERE `spell_id` = 38920 AND `ScriptName` = 'spell_detonate_teleporter';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(38920,'spell_detonate_teleporter');