mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-16 16:56:07 +00:00
fix(Scripts/RuinsOfAhnQiraj): Rewrite Moam (#12539)
* fix(Scripts/RuinsOfAhnQiraj): Rewrite Moam * serverside spell for summons, as well as summon phase handling * end stone phase if he reaches full mana * add missing emote * remove unused variable * move script to the new model * Update boss_moam.cpp * should not drain mana while stoned
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
--
|
||||
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_moam_mana_drain_filter';
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(25676, 'spell_moam_mana_drain_filter');
|
||||
|
||||
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_moam_summon_mana_fiends';
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(25684, 'spell_moam_summon_mana_fiends');
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` = 15340 AND `GroupID` = 2;
|
||||
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
|
||||
(15340, 2, 0, '%s drains your mana and turns to stone.', 16, 0, 100, 0, 0, 0, 11474, 0, 'moam EMOTE_STONE_PHASE');
|
||||
Reference in New Issue
Block a user