Scripts/Karazhan: Rewrite Moroes (#31164)

* Add missing Frenzy emote
 * Implement & use Garrote Remove spell
 * Use BossAI for Moroes
 * Use EventMap & TaskScheduler instead of old events
 * Handle special emotes in OnSpellCast
 * Update enums
 * Add comments for script names
 * Update timers and targets of spells
 * Garrote now correctly applies on players
 * Improve GuestBaseAI & guest scripts
 * Use new register model for all scripts
This commit is contained in:
offl
2025-09-09 13:20:45 +03:00
committed by GitHub
parent e8b921886f
commit 9625ef1daa
2 changed files with 406 additions and 677 deletions

View File

@@ -0,0 +1,8 @@
--
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_moroes_garrote_remove';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(37870, 'spell_moroes_garrote_remove');
DELETE FROM `creature_text` WHERE `CreatureID` = 15687 AND `GroupID` = 4;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(15687,4,0,"%s goes into a frenzy!",16,0,100,0,0,0,1191,0,"moroes EMOTE_FRENZY");

File diff suppressed because it is too large Load Diff