From 83c97205951e7f00ba8688c8dfb246523cabb1a5 Mon Sep 17 00:00:00 2001 From: Andrew <47818697+Nyeriah@users.noreply.github.com> Date: Sun, 22 Mar 2026 14:50:00 -0300 Subject: [PATCH] fix(DB/Conditions): Fix Ruthless Cunning banner target conditions (#25150) Co-authored-by: Claude Opus 4.6 --- .../rev_ruthless_cunning_conditions.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_ruthless_cunning_conditions.sql diff --git a/data/sql/updates/pending_db_world/rev_ruthless_cunning_conditions.sql b/data/sql/updates/pending_db_world/rev_ruthless_cunning_conditions.sql new file mode 100644 index 000000000..0b9f87610 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_ruthless_cunning_conditions.sql @@ -0,0 +1,12 @@ +-- +-- Fix Quest 9927 (Ruthless Cunning): banner spell 32307 conditions only checked for Kil'sorrow Deathsworn (17148) +-- Each ElseGroup should check a different Kil'sorrow creature so banners work on all applicable mobs +-- No double-banner check needed: SpellEffects.cpp already removes corpse after banner placement + +-- Remove old conditions for spell 32307 and insert corrected ones: CONDITION_NEAR_CREATURE (29) per mob +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 17 AND `SourceEntry` = 32307; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(17, 0, 32307, 0, 0, 29, 0, 17148, 5, 1, 0, 12, 0, '', 'Spell Place Kil''sorrow Banner requires nearby Kil''sorrow Deathsworn'), +(17, 0, 32307, 0, 1, 29, 0, 17147, 5, 1, 0, 12, 0, '', 'Spell Place Kil''sorrow Banner requires nearby Kil''sorrow Cultist'), +(17, 0, 32307, 0, 2, 29, 0, 17146, 5, 1, 0, 12, 0, '', 'Spell Place Kil''sorrow Banner requires nearby Kil''sorrow Spellbinder'), +(17, 0, 32307, 0, 3, 29, 0, 18391, 5, 1, 0, 12, 0, '', 'Spell Place Kil''sorrow Banner requires nearby Giselda the Crone');