fix(Scripts/TempleofAhnQiraj): Moved Obsidian Nullifier script from… (#12949)

... DB to C++.
This commit is contained in:
UltraNix
2022-09-19 02:47:36 +02:00
committed by GitHub
parent 65924ca3fe
commit 23c3b184c1
2 changed files with 148 additions and 66 deletions

View File

@@ -0,0 +1,10 @@
--
UPDATE `creature_template` SET `unit_flags2`=0, `AiName`='', `ScriptName`='npc_obsidian_nullifier' WHERE `entry`=15312;
DELETE FROM `smart_scripts` WHERE `entryorguid`=15312 AND `source_type`=0;
DELETE FROM `spell_script_names` WHERE `spell_id` IN (25671,26552);
INSERT INTO `spell_script_names` VALUES
(25671,'spell_drain_mana'),
(26552,'spell_nullify');
UPDATE `creature_formations` SET `groupAI`=`groupAI`|0x008 WHERE `memberguid` BETWEEN 88022 AND 88029;