chore(DB): import pending files

Referenced commit(s): 4958c37943
This commit is contained in:
AzerothCoreBot
2023-03-07 17:47:21 +00:00
parent 4958c37943
commit 585679a18d
10 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
-- DB update 2023_03_06_00 -> 2023_03_07_00
-- Sha'ni Proudtusk's Remains GO SmartAI - Add condition for QUEST_STATE (Complete and rewarded) AND no Sha'ni Proudtusk within 10 yards.
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=1 AND `SourceEntry`=160445;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 1, 160445, 1, 0, 47, 0, 3821, 66, 0, 0, 0, 0, '', '(AND) Execute SmartAI for gameobject 160445 only if player has COMPLETE and REWARDED quest 3821'),
(22, 1, 160445, 1, 0, 29, 0, 9136, 10, 0, 1, 0, 0, '', '(AND) Execute SmartAI for gameobject 160445 only if no Sha\'ni Proudtusk is within 10y.');

View File

@@ -0,0 +1,6 @@
-- DB update 2023_03_07_00 -> 2023_03_07_01
-- Wailing Caverns - Serpentbloom Snake
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 3680;
DELETE FROM `smart_scripts` WHERE `entryorguid` = 3680;
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
(3680, 0, 0, 0, 54, 0, 100, 1, 0, 0, 0, 0, 0, 89, 10, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Serpentbloom Snake - On Just Summoned - Start Random Movement (No Repeat)');

View File

@@ -0,0 +1,13 @@
-- DB update 2023_03_07_01 -> 2023_03_07_02
--
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 19 AND `SourceEntry` IN (10641, 10668, 10669);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(19, 0, 10641, 0, 1, 47, 0, 10640, 64, 0, 0, 0, 0, '', 'Against the Legion - Require Quest 10640 OR 10689'),
(19, 0, 10669, 0, 1, 47, 0, 10640, 64, 0, 0, 0, 0, '', 'Against All Odds - Require Quest 10640 OR 10689'),
(19, 0, 10668, 0, 1, 47, 0, 10640, 64, 0, 0, 0, 0, '', 'Against the Illidari - Require Quest 10640 OR 10689'),
(19, 0, 10641, 0, 2, 47, 0, 10689, 64, 0, 0, 0, 0, '', 'Against the Legion - Require Quest 10640 OR 10689'),
(19, 0, 10668, 0, 2, 47, 0, 10689, 64, 0, 0, 0, 0, '', 'Against the Illidari - Require Quest 10640 OR 10689'),
(19, 0, 10669, 0, 2, 47, 0, 10689, 64, 0, 0, 0, 0, '', 'Against All Odds - Require Quest 10640 OR 10689');
UPDATE `quest_template_addon` SET `PrevQuestID` = 0 WHERE `ID` IN (10641, 10668, 10669);
UPDATE `quest_template_addon` SET `NextQuestID` = 0 WHERE `NextQuestID` IN (10641, 10668, 10669);

View File

@@ -0,0 +1,3 @@
-- DB update 2023_03_07_02 -> 2023_03_07_03
-- Lord Azrethoc - path with equiped melee weapon.
UPDATE `creature_addon` SET `bytes2` = 1 WHERE `guid` = 29062 AND `path_id` = 290620;

View File

@@ -0,0 +1,30 @@
-- DB update 2023_03_07_03 -> 2023_03_07_04
-- SFK Valentine
DELETE FROM `game_event_gameobject` WHERE `eventEntry` = 8 AND `guid` IN (9755,9764,9776,9814,9815,9816,9817,9818,9819,9827,9831,9832,9835,9836,9821,9823,9834,9837,9775,9788,9820,9822,9824,9825,9826,9829);
INSERT INTO `game_event_gameobject` (`eventEntry`, `guid`) VALUES
(8, 9755), -- Wall ornaments
(8, 9764),
(8, 9776),
(8, 9814),
(8, 9815),
(8, 9816),
(8, 9817),
(8, 9818),
(8, 9819),
(8, 9827),
(8, 9831),
(8, 9832),
(8, 9835),
(8, 9836),
(8, 9775), -- Candles
(8, 9788),
(8, 9820),
(8, 9822),
(8, 9824),
(8, 9825),
(8, 9826),
(8, 9829),
(8, 9821), -- Flower vase
(8, 9823),
(8, 9834),
(8, 9837);

View File

@@ -0,0 +1,7 @@
-- DB update 2023_03_07_04 -> 2023_03_07_05
-- Chimaerok
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 12800);
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
(12800, 0, 0, 0, 0, 0, 100, 512, 12000, 15000, 12000, 15000, 0, 11, 20629, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Chimaerok - In Combat - Cast \'Corrosive Venom Spit\''),
(12800, 0, 1, 0, 0, 0, 100, 512, 2000, 4000, 3000, 4000, 0, 11, 20627, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Chimaerok - In Combat - Cast \'Lightning Breath\''),
(12800, 0, 2, 0, 0, 0, 100, 512, 10000, 15000, 10000, 15000, 0, 11, 18144, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Chimaerok - In Combat - Cast \'Swoop\'');

View File

@@ -0,0 +1,4 @@
-- DB update 2023_03_07_05 -> 2023_03_07_06
--
-- This entry should not exist and appears to serve no purpose
DELETE FROM `creature_template` WHERE `entry`=138;

View File

@@ -0,0 +1,10 @@
-- DB update 2023_03_07_06 -> 2023_03_07_07
-- Sindragosa (NullCreature)
DELETE FROM `creature_template_movement` WHERE `CreatureId` = 37755;
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES
(37755, 0, 0, 2, 0, 0, 0, 0);
-- Column Ornament
DELETE FROM `creature_template_movement` WHERE `CreatureId` = 29754;
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES
(29754, 0, 0, 1, 0, 0, 0, 0);

View File

@@ -0,0 +1,3 @@
-- DB update 2023_03_07_07 -> 2023_03_07_08
-- Event: Pilgrim's Bounty - Few Wild Turkeys having npc gossip flag.
UPDATE `creature` SET `npcflag` = `npcflag`&~(1) WHERE `id1` = 32820 AND `guid` IN (241384,241659,241674,241862,241865,241944,241948,241961,242367,242369,242416,242952,243003,243102,243735,243736,243774,243775);

View File

@@ -0,0 +1,12 @@
-- DB update 2023_03_07_08 -> 2023_03_07_09
-- Avatar of Sathal
DELETE FROM `creature_text` WHERE `CreatureID`=21925;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(21925, 0, 0, 'Feel my wrath, $r scum! You will not get away with this!', 14, 0, 100, 0, 0, 0, 19598, 0, 'Avatar of Sathal SAY_AGGRO');
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 21925);
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
(21925, 0, 0, 1, 54, 0, 100, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Sathal - On Just Summoned - Start Attacking'),
(21925, 0, 1, 0, 61, 0, 100, 257, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Sathal - On Just Summoned - Say Line 0 (No Repeat/Reset)'),
(21925, 0, 2, 0, 0, 0, 100, 0, 2300, 3000, 8700, 9000, 0, 11, 12471, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Sathal - In Combat - Cast \'Shadow Bolt\''),
(21925, 0, 3, 0, 0, 0, 100, 0, 6000, 12000, 12000, 17000, 0, 11, 34017, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Sathal - In Combat - Cast \'Rain of Chaos\'');