chore(DB): import pending files

Referenced commit(s): e32249f926
This commit is contained in:
github-actions[bot]
2026-04-29 00:32:06 +00:00
parent 797628e7a5
commit 7fac1fca9a
2 changed files with 2 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
-- DB update 2026_04_29_01 -> 2026_04_29_02
--
-- Quest 12943 "Shadow Vault Decree" - Thane Ufrang the Mighty (29919)
--
-- The CheckCast "Thane is nearby" check moves out of spell_q12943_shadow_vault_decree
-- and into a CONDITION_NEAR_CREATURE on spell 31696. The script now also clears
-- Thane's idle unit flags via ReplaceAllUnitFlags before calling AttackStart, so
-- combat actually engages instead of the player getting stuck unable to attack.
--
-- The old SAI "Remove Unit Flags" action (id 6) chained off the 12s "Say Line 4"
-- timer is removed - the C++ handles flag removal at cast time.
--
-- Cast-time precondition: Thane (alive) must be within 30y of the caster.
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 17 AND `SourceEntry` = 31696;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(17, 0, 31696, 0, 0, 29, 0, 29919, 30, 0, 0, 12, 0, '', 'Spell Shadow Vault Decree requires nearby Thane Ufrang the Mighty');
-- Drop the now-redundant linked Remove-Unit-Flags action and its parent's link to it.
UPDATE `smart_scripts` SET `link` = 0 WHERE `entryorguid` = 29919 AND `source_type` = 0 AND `id` = 5;
DELETE FROM `smart_scripts` WHERE `entryorguid` = 29919 AND `source_type` = 0 AND `id` = 6;

View File

@@ -0,0 +1,8 @@
-- DB update 2026_04_29_02 -> 2026_04_29_03
-- Allow Eye of Dominion (Rise of Suffering, GO 193424 / gossip menu 10111) to
-- show its "Seize control of a Lithe Stalker" gossip option for quest 13160
-- (Stunning View). Without this row players who have only Stunning View active
-- see no gossip option and cannot progress the quest.
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 15) AND (`SourceGroup` = 10111) AND (`SourceEntry` = 0) AND (`SourceId` = 0) AND (`ElseGroup` = 3) AND (`ConditionTypeOrReference` = 9) AND (`ConditionValue1` = 13160);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(15, 10111, 0, 0, 3, 9, 0, 13160, 0, 0, 0, 0, 0, '', 'Show Gossip option only if player has quest Stunning View active');