chore(DB): import pending files

Referenced commit(s): 5d9913155c
This commit is contained in:
AzerothCoreBot
2022-12-06 12:13:29 +00:00
parent 5d9913155c
commit df3bcc2b11
4 changed files with 4 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
-- DB update 2022_12_06_07 -> 2022_12_06_08
-- Normal Mode regular creatures award 5 rep. Heroic awards 15
UPDATE `creature_onkill_reputation` SET `RewOnKillRepValue1` = 5, `RewOnKillRepValue2` = 5 WHERE `creature_id` IN (
17370, -- Laughing Skull Enforcer
17626, -- Laughing Skull Legionnaire
17624, -- Laughing Skull Warden
17397, -- Shadowmoon Adept
17491, -- Laughing Skull Rogue
17371, -- Shadowmoon Warlock
17395, -- Shadowmoon Summoner
17414, -- Shadowmoon Technician
17398, -- Nascent Fel Orc
17429, -- Fel Orc Neophyte
18894, -- Fel Guard Brute
17653 -- Shadowmoon Channeler
);
-- One of these heroic creatures awarded 1 instead of 3 and I forgot to check which
UPDATE `creature_onkill_reputation` SET `RewOnKillRepValue1` = 3, `RewOnKillRepValue2` = 3 WHERE `creature_id` IN (
18606, -- Hellfire Imp
21646 -- Hellfire Familiar
);

View File

@@ -0,0 +1,3 @@
-- DB update 2022_12_06_08 -> 2022_12_06_09
-- Set IMMUNE_TO_PC & IMMUNE_TO_NPC
UPDATE `creature_template` SET `unit_flags`=`unit_flags`|768 WHERE (`entry` = 18161);

View File

@@ -0,0 +1,3 @@
-- DB update 2022_12_06_09 -> 2022_12_06_10
-- NOT_SELECTABLE, IMMUNE_TO_PC, IMMUNE_TO_NPC
UPDATE `creature_template` SET `unit_flags`=`unit_flags`|33555200 WHERE `entry` IN (24222, 17378, 17407, 17408);

View File

@@ -0,0 +1,13 @@
-- DB update 2022_12_06_10 -> 2022_12_06_11
-- Adds stealth detect aura
DELETE FROM `creature_template_addon` WHERE (`entry` = 17624);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(17624, 0, 0, 0, 0, 0, 0, '18950');
DELETE FROM `creature_addon` WHERE (`guid` IN (138187));
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(138187, 1381870, 0, 0, 0, 0, 0, '18950');
-- Remove Stealth detect smartai and reorder
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 17624;
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 17624) AND (`source_type` = 0) AND (`id` IN (1, 2));
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
(17624, 0, 1, 0, 0, 0, 100, 0, 300, 1200, 15800, 15800, 0, 11, 9128, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Laughing Skull Warden - In Combat - Cast Battle Shout');