Full Rework of Nefarian encounter

* Handle separately Nefarian phase 1 and phase 2 as it is done in retail
* Clean-up Lord Victor Nefarius and Nefarian scripts accordingly (they
only take care of their own stuff/phase)
* Move the encounter coordination/reset/clean-up to the instance script
* Rework of phase 1:
- Rework and use proper mechanics for tunnels/drakonids selection (the
selection is now saved in instance script for the instance lifetime,
like Chromaggus breaths)
- Use proper spells for summoning the drakonids
- Make normal and chromatic drakonids use separate timers as they should
- Fix timers
- Move to ACID stuff that should be handled there (corpse despawn,
drakonid bones GO summoning...)
- Add support for Shadowblink ability
- Add 5 sec delay before starting phase 2 when phase 1 ends
* Rework of phase 2:
- Add proper waypoints for Nefarian so he will now enter the stage by
flying like expected
- Fix yells
- Add missing aura/move related one to DB for phase 2 intro
- Fix Shadow Flame that was not working when Nefarian lands
- Fix timers
- Make class calls only call for classes that are indeed present in the
raid (no more shaman call for Alliance classic raids)
- Use proper spell to raise dead drakonids
* Code clean-up
This commit is contained in:
cala 2017-12-14 13:06:36 +01:00
parent eb9f385e18
commit 103a9bc15c
7 changed files with 433 additions and 332 deletions

View file

@ -216,7 +216,18 @@ INSERT INTO scripted_event_id VALUES
(8452, 'event_weekly_chromatic_selection'),
(8453, 'event_weekly_chromatic_selection'),
(8454, 'event_weekly_chromatic_selection'),
(8455, 'event_weekly_chromatic_selection');
(8455, 'event_weekly_chromatic_selection'),
(8520, 'event_weekly_chromatic_selection'),
(8521, 'event_weekly_chromatic_selection'),
(8522, 'event_weekly_chromatic_selection'),
(8523, 'event_weekly_chromatic_selection'),
(8524, 'event_weekly_chromatic_selection'),
(8525, 'event_weekly_chromatic_selection'),
(8526, 'event_weekly_chromatic_selection'),
(8527, 'event_weekly_chromatic_selection'),
(8528, 'event_weekly_chromatic_selection'),
(8529, 'event_weekly_chromatic_selection');
/* BLASTED LANDS */
UPDATE creature_template SET ScriptName='npc_fallen_hero_of_horde' WHERE entry=7572;
@ -2094,9 +2105,9 @@ INSERT INTO script_texts (entry,content_default,sound,type,language,emote,commen
(-1469005,'Let the games begin!',8280,1,0,22,'victor_nefarius SAY_GAMESBEGIN_2'),
(-1469006,'Ah...the heroes. You are persistent, aren\'t you? Your ally here attempted to match his power against mine - and paid the price. Now he shall serve me...by slaughtering you.',8279,1,0,23,'victor_nefarius SAY_NEFARIUS_CORRUPT'),
(-1469007,'Well done, my minions. The mortals\' courage begins to wane! Now, let\'s see how they contend with the true Lord of Blackrock Spire!',8288,1,0,0,'nefarian SAY_AGGRO'),
(-1469007,'Well done, my minions. The mortals\' courage begins to wane! Now, let\'s see how they contend with the true Lord of Blackrock Spire!',8288,6,0,0,'nefarian SAY_AGGRO'),
(-1469008,'Enough! Now you vermin shall feel the force of my birthright, the fury of the earth itself.',8289,1,0,0,'nefarian SAY_XHEALTH'),
(-1469009,'BURN! You wretches! BURN!',8290,1,0,0,'nefarian SAY_SHADOWFLAME'),
(-1469009,'BURN! You wretches! BURN!',8290,6,0,0,'nefarian SAY_SHADOWFLAME'),
(-1469010,'Impossible! Rise my minions! Serve your master once more!',8291,1,0,0,'nefarian SAY_RAISE_SKELETONS'),
(-1469011,'Worthless $N! Your friends will join you soon enough!',8293,1,0,0,'nefarian SAY_SLAY'),
(-1469012,'This cannot be! I am the master here! You mortals are nothing to my kind! Do you hear me? Nothing!',8292,1,0,0,'nefarian SAY_DEATH'),