fix(Scripts/Steamvault): Rework Kalithresh (#15883)

This commit is contained in:
Skjalf
2023-04-08 21:56:09 -03:00
committed by GitHub
parent 324ee93ebb
commit a695d00932
6 changed files with 166 additions and 91 deletions

View File

@@ -0,0 +1,21 @@
--
UPDATE `creature_template` SET `unit_flags` = `unit_flags` |33554432, `ScriptName` = '' WHERE `entry` IN (17954, 20631);
DELETE FROM `creature_template_addon` WHERE `entry` IN (17954, 20631);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(17954, 0, 0, 0, 0, 0, 0, '25900'),
(20631, 0, 0, 0, 0, 0, 0, '25900');
DELETE FROM `creature_template_movement` WHERE `CreatureId` IN (17954, 20631);
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Rooted`) VALUES
(17954, 1, 1), (20631, 1, 1);
SELECT * FROM creature_template_movement WHERE creatureid = 17954;
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_warlords_rage';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(31543, 'spell_warlords_rage');
DELETE FROM `creature_text` WHERE `CreatureId` = 17798 AND `GroupID` = 5;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(17798, 5, 0, '%s begins to channel from the nearby distiller...', 16, 0, 100, 0, 0, 0, 19166, 0, 'kalithresh EMOTE_DISTILLER');