mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-07 15:28:02 +00:00
21
data/sql/updates/db_world/2026_04_29_02.sql
Normal file
21
data/sql/updates/db_world/2026_04_29_02.sql
Normal 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;
|
||||
8
data/sql/updates/db_world/2026_04_29_03.sql
Normal file
8
data/sql/updates/db_world/2026_04_29_03.sql
Normal 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');
|
||||
Reference in New Issue
Block a user