diff options
| author | offl <11556157+offl@users.noreply.github.com> | 2025-05-17 14:22:45 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-17 13:22:45 +0200 |
| commit | e13dc980a22213fb127f3417ebc40edbd1cd7c5f (patch) | |
| tree | 0d73a31ff1f239d385a6c5c7df1b47edafe08f22 /sql | |
| parent | d5470b9ea78af3f725473023960e0509b0a2775d (diff) | |
Scripts/AuchenaiCrypts: Modernize Shirrak script (#30938)
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/updates/world/3.3.5/2025_05_17_06_world.sql | 11 |
1 files changed, 11 insertions, 0 deletions
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); |
