From fcf344b538089a815a51ae12e78067737542bce6 Mon Sep 17 00:00:00 2001 From: Zenslash <34547317+Zenslash@users.noreply.github.com> Date: Mon, 16 Aug 2021 17:32:55 +0300 Subject: [PATCH] fix(DB/Quest): "Sturdy Rope" Quest Item Despawns Any Low Health NPC, Including Dungeon/Raid Bosses (#7304) - Closes #7267 --- .../updates/pending_db_world/rev_1628543691784458000.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1628543691784458000.sql diff --git a/data/sql/updates/pending_db_world/rev_1628543691784458000.sql b/data/sql/updates/pending_db_world/rev_1628543691784458000.sql new file mode 100644 index 000000000..20a4d595f --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1628543691784458000.sql @@ -0,0 +1,7 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1628543691784458000'); + +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 17) AND (`SourceGroup` = 0) AND (`SourceEntry` = 42325) AND (`SourceId` = 0) AND (`ConditionTypeOrReference` = 31) AND (`ConditionTarget` = 1) AND (`ConditionValue1` = 3) AND (`ConditionValue2` = 4351) AND (`ConditionValue3` = 0); +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 17) AND (`SourceGroup` = 0) AND (`SourceEntry` = 42325) AND (`SourceId` = 0) AND (`ConditionTypeOrReference` = 31) AND (`ConditionTarget` = 1) AND (`ConditionValue1` = 3) AND (`ConditionValue2` = 4352) AND (`ConditionValue3` = 0); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(17, 0, 42325, 0, 1, 31, 1, 3, 4351, 0, 0, 0, 0, '', 'Casting a spell only on a Bloodfen Raptor '), +(17, 0, 42325, 0, 2, 31, 1, 3, 4352, 0, 0, 0, 0, '', 'Casting a spell only on a Bloodfen Screecher');