From 4c0a8ad3b3f9960fa15504cf32a84218807ac9d5 Mon Sep 17 00:00:00 2001 From: offl Date: Tue, 19 Jan 2021 10:16:44 +0200 Subject: [PATCH] DB/Conditions: Fix Throw Doomhammer spell cast fail Ref 8c43abaeb291eba1d46a00f3412487856f444e2d --- sql/updates/world/3.3.5/2021_01_19_01_world.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sql/updates/world/3.3.5/2021_01_19_01_world.sql diff --git a/sql/updates/world/3.3.5/2021_01_19_01_world.sql b/sql/updates/world/3.3.5/2021_01_19_01_world.sql new file mode 100644 index 00000000000..0acb5e42d19 --- /dev/null +++ b/sql/updates/world/3.3.5/2021_01_19_01_world.sql @@ -0,0 +1,5 @@ +-- +UPDATE `smart_scripts` SET `target_type` = 1, `target_param1` = 0 WHERE `entryorguid` = 1807500 AND `source_type` = 9 AND `id` = 7; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 17 AND `SourceEntry` = 34389; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(17,0,34389,0,0,31,1,3,18075,0,0,0,0,"","Group 0: Spell 'Throw Doomhammer' targets creature 'Mannoroth'");