From 0c3c6df36821898190690f45842a8510c5efcf47 Mon Sep 17 00:00:00 2001 From: Skjalf <47818697+Nyeriah@users.noreply.github.com> Date: Sat, 27 May 2023 15:32:55 -0300 Subject: [PATCH] chore(SQL): fix delete query (#16378) * chore(SQL): fix delete query * Update 2023_05_21_01.sql --- data/sql/updates/db_world/2023_05_21_01.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/sql/updates/db_world/2023_05_21_01.sql b/data/sql/updates/db_world/2023_05_21_01.sql index c083fbc57..b58814fd6 100644 --- a/data/sql/updates/db_world/2023_05_21_01.sql +++ b/data/sql/updates/db_world/2023_05_21_01.sql @@ -37,7 +37,7 @@ DELETE FROM `spell_script_names` WHERE `spell_id` = 30745; INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (30745, 'spell_target_fissures'); -DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 13) AND (`SourceGroup` = 3) AND (`SourceEntry` = 30745); +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 13) AND (`SourceGroup` = 1) AND (`SourceEntry` = 30745); INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES (13, 1, 30745, 0, 0, 31, 0, 3, 17083, 151090, 0, 0, 0, '', 'Target Fissures (30745) can only target Fel Orc Convert (17083) of specific guids'), (13, 1, 30745, 0, 1, 31, 0, 3, 17083, 151091, 0, 0, 0, '', 'Target Fissures (30745) can only target Fel Orc Convert (17083) of specific guids'),