chore(DB): import pending files

Referenced commit(s): 3edb5822b2
This commit is contained in:
AzerothCoreBot
2022-06-29 19:52:07 +00:00
parent 3edb5822b2
commit 30b0516544
6 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
-- DB update 2022_06_28_05 -> 2022_06_29_00
-- fixed `Escape from Silverbrook` quest
UPDATE `smart_scripts` SET `event_flags`=512 WHERE `entryorguid`=2740900;

View File

@@ -0,0 +1,9 @@
-- DB update 2022_06_29_00 -> 2022_06_29_01
--
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (237, 238);
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 237) AND (`source_type` = 0) AND (`id` IN (0));
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 238) AND (`source_type` = 0) AND (`id` IN (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`, `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
(237, 0, 0, 0, 1, 0, 100, 0, 10000, 10000, 180000, 180000, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Farmer Furlbrow - Out of Combat - Say Line 0'),
(238, 0, 0, 0, 1, 0, 100, 0, 6000, 8000, 240000, 240000, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Verna Furlbrow - Out of Combat - Say Line 0');

View File

@@ -0,0 +1,3 @@
-- DB update 2022_06_29_01 -> 2022_06_29_02
--
UPDATE `creature_template` SET `npcflag`=`npcflag`&~1, `gossip_menu_id` = 0 WHERE `entry` = 15187;

View File

@@ -0,0 +1,4 @@
-- DB update 2022_06_29_02 -> 2022_06_29_03
--
UPDATE `quest_offer_reward` SET `RewardText` = 'Here, take the egg... better you have it so it bonds to you and looks to you to be its $gdadda:momma;.$B$BCongrats, $N. You''re a parent... kinda.' WHERE `ID` = 4298;
UPDATE `quest_offer_reward` SET `RewardText` = 'These''ll do nicely, and if I''m not mistaken, your little egg''s just about ready to hatch. How does it feel? You know, you about to be a $gfather:mother;? Haha, didn''t think ya''d have to deal with such responsibility, now did ya?' WHERE `ID` = 4297;

View File

@@ -0,0 +1,4 @@
-- DB update 2022_06_29_03 -> 2022_06_29_04
--
UPDATE `creature_template` SET `lootid` = 0 WHERE `entry` = 2775;
DELETE FROM `creature_loot_template` WHERE `entry` = 2775;

View File

@@ -0,0 +1,33 @@
-- DB update 2022_06_29_04 -> 2022_06_29_05
--
SET @NPC := 300758; # Actual GUID is unknown, but this is the same placeholder GUID used by Vmangos and is available
SET @PATH := @NPC * 10;
DELETE FROM `creature` WHERE `guid`=@NPC;
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`) VALUES
(@NPC, 8924, 0, 0, 0, -7404.57, -894.073, 171.873, 2.89516, 108000, 0, 2);
DELETE FROM `creature_addon` WHERE `guid` = @NPC;
INSERT INTO `creature_addon` (`guid`, `path_id`) VALUES (@NPC, @PATH);
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`) VALUES
(@PATH, 1, -7404.57, -894.073, 171.873, 100, 0),
(@PATH, 2, -7397.19, -934.067, 169.109, 100, 0),
(@PATH, 3, -7397.22, -957.259, 170.151, 100, 0),
(@PATH, 4, -7406.08, -992.606, 173.821, 100, 0),
(@PATH, 5, -7378.71, -995.416, 171.25, 100, 0),
(@PATH, 6, -7348, -986.191, 171.532, 100, 0),
(@PATH, 7, -7346.79, -1017.81, 177.942, 100, 0),
(@PATH, 8, -7371.64, -1036.28, 177.966, 100, 0),
(@PATH, 9, -7390.05, -1044.6, 176.843, 100, 0),
(@PATH, 10, -7406.18, -1044.51, 176.751, 100, 0),
(@PATH, 11, -7390.37, -1044.6, 176.823, 100, 0),
(@PATH, 12, -7371.64, -1036.28, 177.966, 100, 0),
(@PATH, 13, -7346.79, -1017.81, 177.942, 100, 0),
(@PATH, 14, -7348, -986.191, 171.532, 100, 0),
(@PATH, 15, -7378.71, -995.416, 171.25, 100, 0),
(@PATH, 16, -7406.08, -992.606, 173.821, 100, 0),
(@PATH, 17, -7397.25, -957.381, 170.135, 100, 0),
(@PATH, 18, -7397.19, -934.067, 169.109, 100, 0),
(@PATH, 19, -7404.57, -894.073, 171.873, 100, 0),
(@PATH, 20, -7438.96, -892.375, 171.973, 100, 0);