From e13dc980a22213fb127f3417ebc40edbd1cd7c5f Mon Sep 17 00:00:00 2001 From: offl <11556157+offl@users.noreply.github.com> Date: Sat, 17 May 2025 14:22:45 +0300 Subject: Scripts/AuchenaiCrypts: Modernize Shirrak script (#30938) --- sql/updates/world/3.3.5/2025_05_17_06_world.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sql/updates/world/3.3.5/2025_05_17_06_world.sql (limited to 'sql') diff --git a/sql/updates/world/3.3.5/2025_05_17_06_world.sql b/sql/updates/world/3.3.5/2025_05_17_06_world.sql new file mode 100644 index 00000000000..f6acdd50f24 --- /dev/null +++ b/sql/updates/world/3.3.5/2025_05_17_06_world.sql @@ -0,0 +1,11 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` = 32301; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,32301,0,0,31,0,3,18371,0,0,0,0,"","Group 0: Spell 'Ping Shirrak' (Effect 0) targets creature 'Shirrak the Dead Watcher'"); + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN('spell_shirrak_ping_shirrak', 'spell_shirrak_inhibit_magic'); +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(32301, 'spell_shirrak_ping_shirrak'), +(32264, 'spell_shirrak_inhibit_magic'); + +UPDATE `creature_template` SET `flags_extra` = `flags_extra` | 128 WHERE `entry` IN (18374,20308); -- cgit v1.2.3