fix(Script/Ulduar): Mimiron - remove hardcode text and fix Computer broadcast. (#11725)

* Remove hardcode from Mimiron

And fix Computer broadcast text with the sql

* Remove unused ObjectAccessor

* Add plasma blast to creature_text (MK II)

And move all text into 1 enum

* cs
This commit is contained in:
avarishd
2022-05-22 00:26:35 +03:00
committed by GitHub
parent 75c65ce9b0
commit fbbb287c29
2 changed files with 68 additions and 146 deletions

View File

@@ -0,0 +1,8 @@
-- Ulduar/Mimiron, set Computer model to be female
UPDATE `creature_template` SET `modelid1` = 29101 WHERE `entry` = 34143;
-- Leviathan Mk II
DELETE FROM `creature_text` WHERE `CreatureID` = 33432;
-- Leviathan Mk II - Plasma Blast boss emote
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(33432, 0, 0, '%s begins to cast Plasma Blast!', 41, 0, 100, 0, 0, 15800, 0, 0, 'Leviathan Mk II - EMOTE_PLASMA_BLAST');