From a177beb7b9d91a62d187e4a6d75102e98e0748fc Mon Sep 17 00:00:00 2001 From: Andrew <47818697+Nyeriah@users.noreply.github.com> Date: Thu, 20 Jun 2024 14:23:40 -0300 Subject: [PATCH] fix(DB/Conditions): Spell Protection of Elune only targets players (#19094) --- data/sql/updates/pending_db_world/rev_1718844992509230300.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1718844992509230300.sql diff --git a/data/sql/updates/pending_db_world/rev_1718844992509230300.sql b/data/sql/updates/pending_db_world/rev_1718844992509230300.sql new file mode 100644 index 000000000..2d2d93e24 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1718844992509230300.sql @@ -0,0 +1,4 @@ +-- +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 13) AND (`SourceGroup` = 1) AND (`SourceEntry` = 38528) AND (`SourceId` = 0) AND (`ElseGroup` = 0) AND (`ConditionTypeOrReference` = 32) AND (`ConditionTarget` = 0) AND (`ConditionValue1` = 16) AND (`ConditionValue2` = 0) AND (`ConditionValue3` = 0); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 38528, 0, 0, 32, 0, 16, 0, 0, 0, 0, 0, '', 'Protection of Elune only targets players');