From c6a1c2c985d8cb97e47078f94fbfc484b08a3d2f Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Mon, 6 Dec 2021 15:10:45 +0100 Subject: [PATCH] fix(DB/Creature): Metzen the Reindeer (#9460) * closes https://github.com/azerothcore/azerothcore-wotlk/issues/9444 --- .../rev_1638445356401170100.sql | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1638445356401170100.sql diff --git a/data/sql/updates/pending_db_world/rev_1638445356401170100.sql b/data/sql/updates/pending_db_world/rev_1638445356401170100.sql new file mode 100644 index 000000000..57786ecf7 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1638445356401170100.sql @@ -0,0 +1,20 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1638445356401170100'); + +UPDATE `creature` SET `spawntimesecs`=60 WHERE `id`=15664; +UPDATE `smart_scripts` SET `event_param1`=6763 WHERE `entryorguid` IN (15664) AND `source_type`=0 AND `id` IN (0,1); +UPDATE `conditions` SET `SourceGroup`=6763 WHERE `SourceTypeOrReferenceId`=15 AND `ConditionTypeOrReference`=2 AND `ConditionValue1`=21211; +DELETE FROM `gossip_menu` WHERE `MenuID`=21252 AND `TextID`=8077; +DELETE FROM `gossip_menu_option` WHERE `MenuID` = 21251 AND `OptionID` = 0; +UPDATE `creature_template` SET `gossip_menu_id`=6763 WHERE `entry`=15664; + +DELETE FROM `gossip_menu` WHERE `MenuID` = 6763; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`) VALUES +(6763, 8076); + +DELETE FROM `gossip_menu_option` WHERE `MenuID` = 6763; +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`) VALUES +(6763, 0, 0, 'Sprinkle some of the reindeer dust onto Metzen.', 0, 1, 1, 6761); + +DELETE FROM `spell_scripts` WHERE `id`=25952; +INSERT INTO `spell_scripts` (`id`,`effIndex`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES +(25952,0,0,18,0,0,0,0,0,0,0);