mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-07 07:17:57 +00:00
27
data/sql/updates/db_world/2026_06_30_01.sql
Normal file
27
data/sql/updates/db_world/2026_06_30_01.sql
Normal file
@@ -0,0 +1,27 @@
|
||||
-- DB update 2026_06_30_00 -> 2026_06_30_01
|
||||
-- Fix Aces High! quest issues (https://github.com/azerothcore/azerothcore-wotlk/issues/23834)
|
||||
|
||||
-- 1. Update Wyrmrest Skytalon (32535) spells per sniff (build 46368)
|
||||
-- Update VerifiedBuild for confirmed spells, add missing Blazing Speed, remove Flight aura (57403)
|
||||
UPDATE `creature_template_spell` SET `VerifiedBuild` = 46368 WHERE `CreatureID` = 32535 AND `Index` IN (0, 1, 2, 3, 4);
|
||||
DELETE FROM `creature_template_spell` WHERE `CreatureID` = 32535 AND `Index` IN (5, 6);
|
||||
INSERT INTO `creature_template_spell` (`CreatureID`, `Index`, `Spell`, `VerifiedBuild`) VALUES
|
||||
(32535, 5, 57092, 46368); -- Blazing Speed
|
||||
-- Add 57403 Flight aura
|
||||
UPDATE `creature_template_addon` SET `auras` = '57403' WHERE (`entry` = 32535);
|
||||
|
||||
-- 2. Set Scalesworn Elite (32534) to use SmartAI for combat abilities
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 32534;
|
||||
|
||||
-- 3. Add SmartAI scripts for Scalesworn Elite to cast Ice Shard (61269) and Arcane Surge (61272)
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = 32534 AND `source_type` = 0;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(32534, 0, 0, 0, 0, 0, 100, 0, 1000, 2000, 2000, 3000, 0, 0, 11, 61269, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Scalesworn Elite - In Combat - Cast Ice Shard'),
|
||||
(32534, 0, 1, 0, 0, 0, 100, 0, 8000, 12000, 15000, 20000, 0, 0, 11, 61272, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Scalesworn Elite - In Combat - Cast Arcane Surge');
|
||||
|
||||
-- 4. Fix Corastrasza SmartAI to cast ride periodic on player (target_type 7) instead of self (target_type 1)
|
||||
UPDATE `smart_scripts` SET `target_type` = 7 WHERE `entryorguid` = 32548 AND `source_type` = 0 AND `id` = 3;
|
||||
|
||||
-- 5. Register Wyrmrest Skytalon Ride Periodic spell script (fixes auto-mount)
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 61244;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (61244, 'spell_q13413_wyrmrest_skytalon_ride_periodic');
|
||||
27
data/sql/updates/db_world/2026_06_30_02.sql
Normal file
27
data/sql/updates/db_world/2026_06_30_02.sql
Normal file
@@ -0,0 +1,27 @@
|
||||
-- DB update 2026_06_30_01 -> 2026_06_30_02
|
||||
--
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` = 31028 AND `GroupID` IN (0, 1);
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` = 31126 AND `GroupID` = 2;
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` = 31127 AND `GroupID` = 0;
|
||||
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
|
||||
-- Patricia O'Reilly (31028) - Ambient lines (GroupID 0)
|
||||
(31028, 0, 0, 'The magistrate is very busy.', 12, 0, 100, 1, 0, 0, 32068, 0, 'Patricia O\'Reilly - Ambient'),
|
||||
(31028, 0, 1, 'Please, return to your homes.', 12, 0, 100, 1, 0, 0, 32069, 0, 'Patricia O\'Reilly - Ambient'),
|
||||
(31028, 0, 2, 'Everyone, please remain calm...', 12, 0, 100, 1, 0, 0, 32070, 0, 'Patricia O\'Reilly - Ambient'),
|
||||
(31028, 0, 3, 'Magistrate Barthilas is unavailable at the moment...', 12, 0, 100, 1, 0, 0, 32071, 0, 'Patricia O\'Reilly - Ambient'),
|
||||
-- Patricia O'Reilly (31028) - Player enters building (GroupID 1)
|
||||
(31028, 1, 0, 'Please don\'t go back there!', 12, 0, 100, 274, 0, 0, 32073, 0, 'Patricia O\'Reilly - Player Enters'),
|
||||
(31028, 1, 1, 'Don\'t disturb the magistrate, please!', 12, 0, 100, 274, 0, 0, 32074, 0, 'Patricia O\'Reilly - Player Enters'),
|
||||
-- Agitated Stratholme Citizen (31126) - Ambient crowd (GroupID 2)
|
||||
(31126, 2, 0, 'Where\'s Barthilas?!', 12, 0, 100, 6, 0, 0, 32057, 0, 'Agitated Stratholme Citizen - Ambient'),
|
||||
(31126, 2, 1, 'What are we supposed to do?!', 12, 0, 100, 6, 0, 0, 32059, 0, 'Agitated Stratholme Citizen - Ambient'),
|
||||
(31126, 2, 2, 'We need leadership!', 12, 0, 100, 5, 0, 0, 32060, 0, 'Agitated Stratholme Citizen - Ambient'),
|
||||
(31126, 2, 3, 'Stop hiding, Barthilas!', 12, 0, 100, 5, 0, 0, 32061, 0, 'Agitated Stratholme Citizen - Ambient'),
|
||||
(31126, 2, 4, 'Let us through!', 12, 0, 100, 25, 0, 0, 32062, 0, 'Agitated Stratholme Citizen - Ambient'),
|
||||
(31126, 2, 5, 'We\'ll drag you out here if we have to!', 12, 0, 100, 5, 0, 0, 32063, 0, 'Agitated Stratholme Citizen - Ambient'),
|
||||
-- Agitated Stratholme Resident (31127) - Ambient crowd (GroupID 0)
|
||||
(31127, 0, 0, 'Where\'s Barthilas?!', 12, 0, 100, 6, 0, 0, 32057, 0, 'Agitated Stratholme Resident - Ambient'),
|
||||
(31127, 0, 1, 'We want to speak to the magistrate!', 12, 0, 100, 5, 0, 0, 32058, 0, 'Agitated Stratholme Resident - Ambient'),
|
||||
(31127, 0, 2, 'What are we supposed to do?!', 12, 0, 100, 6, 0, 0, 32059, 0, 'Agitated Stratholme Resident - Ambient'),
|
||||
(31127, 0, 3, 'We need leadership!', 12, 0, 100, 5, 0, 0, 32060, 0, 'Agitated Stratholme Resident - Ambient'),
|
||||
(31127, 0, 4, 'Let us through!', 12, 0, 100, 25, 0, 0, 32062, 0, 'Agitated Stratholme Resident - Ambient');
|
||||
Reference in New Issue
Block a user