Finalize Chromaggus script

* Full rework of Chromaggus breaths:
- now use proper spell mechanics in core
- breath selection spell effect is moved to core
- implement events for breaths in instance script so the breath
selection lasts for all the instance duration. This will prevent
breaths to be rerolled in case of hard reset of the instance
- implement breath laterality (Chromaggus has two heads...)
* Fix enrage timer
* Fix a specific case where mutated players can receive the last brood
affliction when there are less than 15 eligible targets
This commit is contained in:
Cala 2017-11-05 15:33:42 +01:00
parent 5066fb3a1c
commit 525f0f3844
6 changed files with 167 additions and 48 deletions

View file

@ -206,6 +206,17 @@ UPDATE creature_template SET ScriptName='boss_flamegor' WHERE entry=11981;
UPDATE creature_template SET ScriptName='boss_chromaggus' WHERE entry=14020;
UPDATE creature_template SET ScriptName='boss_victor_nefarius' WHERE entry=10162;
UPDATE creature_template SET ScriptName='boss_nefarian' WHERE entry=11583;
INSERT INTO scripted_event_id VALUES
(8446, 'event_weekly_chromatic_selection'),
(8447, 'event_weekly_chromatic_selection'),
(8448, 'event_weekly_chromatic_selection'),
(8449, 'event_weekly_chromatic_selection'),
(8450, 'event_weekly_chromatic_selection'),
(8451, 'event_weekly_chromatic_selection'),
(8452, 'event_weekly_chromatic_selection'),
(8453, 'event_weekly_chromatic_selection'),
(8454, 'event_weekly_chromatic_selection'),
(8455, 'event_weekly_chromatic_selection');
/* BLASTED LANDS */
UPDATE creature_template SET ScriptName='npc_fallen_hero_of_horde' WHERE entry=7572;