TrinityCore
Loading...
Searching...
No Matches
boss_aqusirr.cpp
Go to the documentation of this file.
1/*
2 * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#include "AreaTrigger.h"
19#include "AreaTriggerAI.h"
20#include "Creature.h"
21#include "GridNotifiers.h"
22#include "InstanceScript.h"
23#include "Map.h"
24#include "ObjectAccessor.h"
25#include "ScriptMgr.h"
26#include "ScriptedCreature.h"
27#include "SpellAuraEffects.h"
28#include "SpellScript.h"
29#include "TaskScheduler.h"
30#include "shrine_of_the_storm.h"
31
61
70
75
81
87
88constexpr Position RequiemOfTheAbyssPosition = { 3932.82f, -1243.81f, 128.368f };
89constexpr Position EruptingWatersSummonPosition1 = { 3917.31f, -1234.08f, 128.130f };
90constexpr Position EruptingWatersSummonPosition2 = { 3924.02f, -1259.52f, 128.141f };
91constexpr Position EruptingWatersSummonPosition3 = { 3950.80f, -1238.47f, 127.831f };
92
94{
95 void Schedule(Creature* me, EventMap& events)
96 {
98 if (me->GetMap()->GetPlayersCountExceptGMs() > 1)
99 events.ScheduleEvent(EVENT_CHOKING_BRINE, 8900ms);
100 events.ScheduleEvent(EVENT_UNDERTOW, 36800ms);
101 events.ScheduleEvent(EVENT_SEA_BLAST, 1s);
102
103 if (me->GetMap()->IsHeroicOrHigher())
105 }
106
107 void Execute(Creature* me, EventMap& events, uint32 eventId)
108 {
109 switch (eventId)
110 {
111 case EVENT_SEA_BLAST:
112 {
114 {
116 me->CastSpell(target, SPELL_SEA_BLAST);
117 events.Repeat(2400ms);
118 }
119 events.Repeat(1s);
120 break;
121 }
123 {
125 me->CastSpell(target, SPELL_CHOKING_BRINE);
126 events.Repeat(34s, 39s);
127 break;
128 }
130 {
132 events.RescheduleEvent(EVENT_SEA_BLAST, 10s);
133 events.Repeat(31500ms, 39300ms);
134 break;
135 }
136 case EVENT_UNDERTOW:
137 {
139 me->CastSpell(target, SPELL_UNDERTOW);
140 events.Repeat(32400ms, 34s);
141 break;
142 }
144 {
146 events.Repeat(38s);
147 break;
148 }
149 default:
150 break;
151 }
152 }
153}
154
155// 134056 - Aqu'sirr
156struct boss_aqusirr : public BossAI
157{
159
160 void JustAppeared() override
161 {
163 }
164
172
173 void Reset() override
174 {
175 events.Reset();
176 _triggeredSplit = false;
178 }
179
193
194 void JustDied(Unit* /*killer*/) override
195 {
196 _JustDied();
200
201 if (Creature* shrineDummy = GetClosestCreatureWithOptions(me, 50.0f, { .CreatureId = NPC_SHRINE_OF_THE_STORM_DUMMY, .IgnorePhases = true }))
202 shrineDummy->CastSpell(shrineDummy, instance->instance->GetTeamInInstance() == HORDE ? SPELL_CONVERSATION_HORDE : SPELL_CONVERSATION_ALLIANCE, true);
203 }
204
222
223 void DamageTaken(Unit* /*attacker*/, uint32& damage, DamageEffectType /*damageType*/, SpellInfo const* /*spellInfo = nullptr*/) override
224 {
225 if (me->HealthBelowPctDamaged(50, damage) && !_triggeredSplit)
226 {
227 _triggeredSplit = true;
228 ToggleSplit(true);
229 }
230 }
231
232 void SpellHit(WorldObject* /*caster*/, SpellInfo const* spellInfo) override
233 {
234 if (spellInfo->Id == SPELL_ERUPTING_WATERS_AQUALING)
235 {
237
239
240 if (_aqualingDefeatedCount == 3)
241 ToggleSplit(false);
242 }
243 }
244
245 void UpdateAI(uint32 diff) override
246 {
247 if (!UpdateVictim())
248 return;
249
250 events.Update(diff);
251
253 return;
254
255 while (uint32 eventId = events.ExecuteEvent())
256 {
259 return;
260 }
261 }
262
263private:
266};
267
268// 134828 - Aqualing
270{
275
276 void JustAppeared() override
277 {
279 }
280
288
289 void EnterEvadeMode(EvadeReason why) override
290 {
292 aqusirr->AI()->EnterEvadeMode(why);
293 }
294
300
301 void UpdateAI(uint32 diff) override
302 {
303 if (!UpdateVictim())
304 return;
305
306 events.Update(diff);
307
309 return;
310
311 while (uint32 eventId = events.ExecuteEvent())
312 {
315 return;
316 }
317 }
318
319private:
321};
322
323// 139737 - Lord Stormsong
325{
327
328 void DoAction(int32 action) override
329 {
330 if (action == ACTION_START_INTRO)
331 {
333
334 Milliseconds delay = 1s;
335
336 _scheduler.Schedule(delay, [this](TaskContext const&)
337 {
338 me->SetFacingTo(0.1939797f);
339 });
340
341 delay += 3s;
342
343 _scheduler.Schedule(delay, [this](TaskContext const&)
344 {
346 });
347
348 delay += 6s;
349
350 _scheduler.Schedule(delay, [this](TaskContext const&)
351 {
353 });
354
355 delay += 6s;
356
357 _scheduler.Schedule(delay, [this](TaskContext const&)
358 {
360 });
361
362 delay += 1s;
363
364 _scheduler.Schedule(delay, [this](TaskContext const&)
365 {
367 });
368
369 delay += 6s;
370
371 _scheduler.Schedule(delay, [this](TaskContext const&)
372 {
374 });
375
376 delay += 3800ms;
377
378 _scheduler.Schedule(delay, [this](TaskContext const&)
379 {
381 });
382 }
383 }
384
385 void SpellHit(WorldObject* /*caster*/, SpellInfo const* spellInfo) override
386 {
387 if (spellInfo->Id == SPELL_SPLASHING_WATERS)
389 }
390
391 void UpdateAI(uint32 diff) override
392 {
393 _scheduler.Update(diff);
394 }
395
396private:
398};
399
400// 274365 - Requiem of the Abyss (Visual)
401// 274367 - Requiem of the Abyss (Knockback)
414
415// 274364 - Requiem of the Abyss
417{
418 bool Validate(SpellInfo const* /*spellInfo*/) override
419 {
421 }
422
423 void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
424 {
425 Creature* creature = GetTarget()->ToCreature();
426 if (!creature)
427 return;
428
429 creature->CastSpell(nullptr, SPELL_REQUIEM_OF_THE_ABYSS_KNOCKBACK, false);
430 }
431
436};
437
438// 264903 - Erupting Waters
440{
441 void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
442 {
443 Creature* target = GetTarget()->ToCreature();
444 if (!target)
445 return;
446
447 target->SetUnkillable(true);
448 target->SetImmuneToPC(true);
449 target->SetUninteractible(true);
450 }
451
452 void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
453 {
454 Creature* target = GetTarget()->ToCreature();
455 if (!target)
456 return;
457
458 target->SetUnkillable(false);
459 target->SetImmuneToPC(false);
460 target->SetUninteractible(false);
461 }
462
468};
469
470// 264911 - Erupting Waters
483
484// 264912 - Erupting Waters
497
498// 264913 - Erupting Waters
511
512// 264941 - Erupting Waters
514{
515 void HandleDamage(SpellEffIndex /*effIndex*/)
516 {
517 Unit* caster = GetCaster();
518 caster->SetHealth(caster->GetHealth() - caster->CountPctFromMaxHealth(GetEffectValue()));
519 }
520
525};
526
527// 264560 - Choking Brine
529{
530 bool Validate(SpellInfo const* /*spellInfo*/) override
531 {
533 }
534
535 void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
536 {
537 if (GetTargetApplication()->GetRemoveMode() != AURA_REMOVE_BY_ENEMY_SPELL)
538 return;
539
540 Unit* target = GetTarget();
542
543 for (uint8 i = 0; i < 5; ++i)
545 }
546
551};
552
553// 274260 - Surging Rush
555{
556 void HandleScript(SpellEffIndex /*effIndex*/)
557 {
558 Creature* creatureTarget = GetHitCreature();
559 if (!creatureTarget)
560 return;
561
563 creatureTarget->SetDisableGravity(true);
564 creatureTarget->AddUnitState(UNIT_STATE_ROOT);
566 }
567
572};
573
574// 264102 - Surging Rush
576{
577 bool Validate(SpellInfo const* /*spellInfo*/) override
578 {
580 }
581
582 void HandleScript(SpellEffIndex /*effIndex*/)
583 {
584 static constexpr float MAX_DISTANCE = 40.0f;
585 constexpr Position CenterPosition = { 3935.63f, -1243.41f, 128.40f };
586
587 float angle = GetCaster()->GetEntry() == NPC_AQUALING ? GetCaster()->GetAbsoluteAngle(CenterPosition) + frand(-float(M_PI) / 3, float(M_PI) / 3) : GetCaster()->GetAbsoluteAngle(GetHitUnit());
588 Position dest = GetCaster()->GetPosition();
589
590 GetCaster()->MovePosition(dest, MAX_DISTANCE, angle - GetCaster()->GetOrientation(), 2.5f);
591
592 GetCaster()->CastSpell(dest, SPELL_SURGING_RUSH, false);
593 }
594
596 {
597 Creature* creatureTarget = GetHitCreature();
598 if (!creatureTarget)
599 return;
600
601 creatureTarget->SetDisableGravity(false);
602 creatureTarget->ClearUnitState(UNIT_STATE_ROOT);
603 }
604
610};
611
612// 264477 - Grasp from the Depths
630
631// 264526 - Grasp from the Depths
633{
634 void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
635 {
637 if (!caster)
638 return;
639
640 caster->DespawnOrUnsummon();
641 }
642
647};
648
649// 95 - Areatrigger
651{
652 at_aqusirr_intro(AreaTrigger* areatrigger) : AreaTriggerAI(areatrigger) { }
653
654 void OnUnitEnter(Unit* unit) override
655 {
656 Player* player = unit->ToPlayer();
657 if (!player)
658 return;
659
660 if (player->IsGameMaster())
661 return;
662
663 Creature* lordSongstorm = unit->FindNearestCreature(NPC_LORD_SONGSTORM_AQUSIRR, 50.0f);
664 if (!lordSongstorm)
665 return;
666
667 lordSongstorm->AI()->DoAction(ACTION_START_INTRO);
668 at->Remove();
669 }
670};
671
672// 264144 - Undertow
674{
675 at_aqusirr_undertow(AreaTrigger* areatrigger) : AreaTriggerAI(areatrigger) { }
676
677 void OnUnitEnter(Unit* unit) override
678 {
679 if (!unit->IsPlayer())
680 return;
681
683 }
684
685 void OnUnitExit(Unit* unit, AreaTriggerExitReason /*reason*/) override
686 {
687 if (!unit->IsPlayer())
688 return;
689
691 }
692};
693
694// 264101 - Surging Rush
696{
697 at_aqusirr_surging_rush(AreaTrigger* areatrigger) : AreaTriggerAI(areatrigger) { }
698
699 void OnUnitEnter(Unit* unit) override
700 {
701 if (!unit->IsPlayer())
702 return;
703
704 Unit* caster = at->GetCaster();
705 if (!caster)
706 return;
707
708 caster->CastSpell(unit, SPELL_SURGING_RUSH_DAMAGE, false);
709 }
710};
711
AreaTriggerExitReason
Definition AreaTrigger.h:69
#define M_PI
Definition Common.h:118
uint8_t uint8
Definition Define.h:156
int32_t int32
Definition Define.h:150
uint32_t uint32
Definition Define.h:154
std::chrono::milliseconds Milliseconds
Milliseconds shorthand typedef.
Definition Duration.h:24
@ FAIL
@ DONE
@ ENCOUNTER_FRAME_DISENGAGE
@ ENCOUNTER_FRAME_ENGAGE
float frand(float min, float max)
Definition Random.cpp:55
#define RegisterAreaTriggerAI(ai_name)
Definition ScriptMgr.h:1428
#define RegisterSpellScript(spell_script)
Definition ScriptMgr.h:1383
Creature * GetClosestCreatureWithOptions(WorldObject *source, float maxSearchRange, FindCreatureOptions const &options)
SpellEffIndex
@ EFFECT_1
@ EFFECT_0
@ EFFECT_2
@ TARGET_DEST_DEST
@ SPELL_EFFECT_DUMMY
@ SPELL_EFFECT_TRIGGER_ACTION_SET
@ HORDE
AuraEffectHandleModes
@ AURA_EFFECT_HANDLE_REAL
@ AURA_REMOVE_BY_ENEMY_SPELL
@ SPELL_AURA_PERIODIC_DAMAGE
@ SPELL_AURA_DUMMY
@ SPELL_AURA_PERIODIC_TRIGGER_SPELL
@ SPELL_AURA_MOD_STUN
@ TRIGGERED_IGNORE_CAST_IN_PROGRESS
Will not check if a current cast is in progress.
#define SpellEffectFn(F, I, N)
#define SpellDestinationTargetSelectFn(F, I, N)
#define AuraEffectApplyFn(F, I, N, M)
#define AuraEffectRemoveFn(F, I, N, M)
EvadeReason
@ REACT_PASSIVE
@ REACT_AGGRESSIVE
DamageEffectType
@ CURRENT_CHANNELED_SPELL
Definition Unit.h:599
@ UNIT_STATE_ROOT
Definition Unit.h:271
@ UNIT_STATE_CASTING
Definition Unit.h:276
void AddSC_boss_aqusirr()
constexpr Position EruptingWatersSummonPosition1
constexpr Position EruptingWatersSummonPosition2
AqusirrMisc
@ ANIM_KIT_SURGING_RUSH
@ SPAWN_GROUP_ID_AQUSIRR
constexpr Position RequiemOfTheAbyssPosition
AqusirrTexts
@ SAY_AQUSIRR_INTRO_1
@ SAY_AQUSIRR_INTRO_2
AqusirrActions
@ ACTION_START_INTRO
constexpr Position EruptingWatersSummonPosition3
AqusirrEvents
@ EVENT_SURGING_RUSH
@ EVENT_UNDERTOW
@ EVENT_SEA_BLAST
@ EVENT_GRASP_FROM_THE_DEPTHS
@ EVENT_CHOKING_BRINE
AqusirrSpells
@ SPELL_REQUIEM_OF_THE_ABYSS_PERIODIC
@ SPELL_CONVERSATION_ALLIANCE
@ SPELL_SURGING_RUSH
@ SPELL_GRASP_FROM_THE_DEPTHS_SUMMON
@ SPELL_GRASP_FROM_THE_DEPTHS_SELECTOR
@ SPELL_SEA_BLAST
@ SPELL_REQUIEM_OF_THE_ABYSS
@ SPELL_CHOKING_BRINE_MISSILE_2
@ SPELL_UNDERTOW
@ SPELL_SURGING_RUSH_DAMAGE
@ SPELL_EMERGE_VISUAL
@ SPELL_ERUPTING_WATERS_DAMAGE
@ SPELL_SURGING_RUSH_SELECTOR
@ SPELL_CONVERSATION_HORDE
@ SPELL_REQUIEM_OF_THE_ABYSS_KNOCKBACK
@ SPELL_GRASP_FROM_THE_DEPTHS_DAMAGE
@ SPELL_CHOKING_BRINE_MISSILE
@ SPELL_ERUPTING_WATERS_SPLIT
@ SPELL_CHOKING_BRINE
@ SPELL_SPLASHING_WATERS
@ SPELL_ERUPTING_WATERS_AQUALING
@ SPELL_WATER_RITUAL
Position const CenterPosition
AreaTrigger *const at
Unit * GetCaster() const
AuraApplication const * GetTargetApplication() const
HookList< EffectApplyHandler > AfterEffectRemove
HookList< EffectApplyHandler > AfterEffectApply
Unit * GetCaster() const
Unit * GetTarget() const
ObjectGuid const & GetGUID() const
Definition BaseEntity.h:163
bool IsPlayer() const
Definition BaseEntity.h:173
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void _DespawnAtEvade(Seconds delayToRespawn=30s, Creature *who=nullptr)
SummonList summons
EventMap events
void DoZoneInCombat()
Definition CreatureAI.h:169
bool _EnterEvadeMode(EvadeReason why=EvadeReason::Other)
bool UpdateVictim()
void SetBoundary(CreatureBoundary const *boundary, bool negativeBoundaries=false)
Creature *const me
Definition CreatureAI.h:63
void SetUnkillable(bool unkillable)
Definition Creature.h:189
void SetImmuneToPC(bool apply) override
Definition Creature.h:184
void SetReactState(ReactStates st)
Definition Creature.h:174
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
bool IsInEvadeMode() const
Definition Creature.h:217
CreatureAI * AI() const
Definition Creature.h:228
uint32 ExecuteEvent()
Definition EventMap.cpp:77
void Update(uint32 time)
Definition EventMap.h:61
void Repeat(Milliseconds time)
Definition EventMap.cpp:67
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
Definition EventMap.cpp:40
void RescheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
Definition EventMap.cpp:56
void Reset()
Definition EventMap.cpp:25
Team GetTeamInInstance() const
Definition Map.h:903
virtual bool SetBossState(uint32 id, EncounterState state)
void DoRemoveAurasDueToSpellOnPlayers(uint32 spell, bool includePets=false, bool includeControlled=false)
Creature * GetCreature(uint32 type)
InstanceMap * instance
CreatureBoundary const * GetBossBoundary(uint32 id) const
void SendEncounterUnit(EncounterFrameType type, Unit const *unit, Optional< int32 > param1={}, Optional< int32 > param2={})
bool SpawnGroupSpawn(uint32 groupId, bool ignoreRespawn=false, bool force=false, std::vector< WorldObject * > *spawnedObjects=nullptr)
Definition Map.cpp:2350
bool IsHeroicOrHigher() const
Definition Map.cpp:3344
uint32 GetPlayersCountExceptGMs() const
Definition Map.cpp:2679
Player * ToPlayer()
Definition Object.h:126
uint32 GetEntry() const
Definition Object.h:89
Creature * ToCreature()
Definition Object.h:121
bool IsGameMaster() const
Definition Player.h:1309
uint32 const Id
Definition SpellInfo.h:328
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
Creature * GetHitCreature() const
Unit * GetCaster() const
SpellEffectValue GetEffectValue() const
HookList< DestinationTargetSelectHandler > OnDestinationTargetSelect
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
TaskScheduler & Schedule(duration_t time, task_handler_t task)
TaskScheduler & Update()
Update the scheduler to the current time.
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
Definition UnitAI.h:160
virtual void DoAction(int32 param)
Definition UnitAI.h:73
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
Definition UnitAI.cpp:79
SpellCastResult DoCast(uint32 spellId)
Definition UnitAI.cpp:89
Definition Unit.h:635
void ClearUnitState(uint32 f)
Definition Unit.h:744
bool IsWithinMeleeRange(Unit const *obj) const
Definition Unit.h:710
void ApplyMovementForce(ObjectGuid id, Position origin, float magnitude, MovementForceType type, Position direction={}, ObjectGuid transportGuid=ObjectGuid::Empty)
Definition Unit.cpp:14049
void SetHealth(uint64 val)
Definition Unit.cpp:9973
uint64 CountPctFromMaxHealth(float pct) const
Definition Unit.h:797
void PlayOneShotAnimKitId(uint16 animKitId)
Definition Unit.cpp:11160
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
Definition Unit.cpp:3231
UnitAI * GetAI() const
Definition Unit.h:668
bool SetDisableGravity(bool disable, bool updateAnimTier=true)
Definition Unit.cpp:13361
void SetUninteractible(bool apply)
Definition Unit.cpp:8564
void AddUnitState(uint32 f)
Definition Unit.h:742
uint64 GetHealth() const
Definition Unit.h:788
bool HealthBelowPctDamaged(float pct, uint32 damage) const
Definition Unit.h:793
void RemoveMovementForce(ObjectGuid id)
Definition Unit.cpp:14084
Unit * GetVictim() const
Definition Unit.h:726
void SetFacingTo(float const ori, bool force=true)
Definition Unit.cpp:13289
bool HasUnitState(const uint32 f) const
Definition Unit.h:743
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition Unit.cpp:3974
Spell * GetCurrentSpell(CurrentSpellTypes spellType) const
Definition Unit.h:1466
void MovePosition(Position &pos, float dist, float angle, float maxHeightChange=6.0f) const
Definition Object.cpp:2782
Map * GetMap() const
Definition Object.h:411
InstanceScript * GetInstanceScript() const
Definition Object.cpp:396
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
Definition Object.cpp:2217
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition Object.cpp:1517
void OnRemove(AuraEffect const *, AuraEffectHandleModes)
bool Validate(SpellInfo const *) override
void OnRemove(AuraEffect const *, AuraEffectHandleModes)
void OnApply(AuraEffect const *, AuraEffectHandleModes)
void SetDest(SpellDestination &dest)
void SetDest(SpellDestination &dest)
void SetDest(SpellDestination &dest)
void HandleDamage(SpellEffIndex)
void OnRemove(AuraEffect const *, AuraEffectHandleModes)
bool Validate(SpellInfo const *) override
void OnRemove(AuraEffect const *, AuraEffectHandleModes)
bool Validate(SpellInfo const *) override
void SetDest(SpellDestination &dest)
bool Validate(SpellInfo const *) override
void HandleScript(SpellEffIndex)
void Schedule(Creature *me, EventMap &events)
void Execute(Creature *me, EventMap &events, uint32 eventId)
#define RegisterShrineOfTheStormCreatureAI(ai_name)
@ DATA_AQUSIRR
@ NPC_SHRINE_OF_THE_STORM_DUMMY
@ NPC_AQUALING
@ NPC_LORD_SONGSTORM_AQUSIRR
float GetAbsoluteAngle(float x, float y) const
Definition Position.h:136
constexpr void GetPosition(float &x, float &y) const
Definition Position.h:92
void Relocate(Position const &pos)
Definition Spell.cpp:82
void OnUnitEnter(Unit *unit) override
at_aqusirr_intro(AreaTrigger *areatrigger)
void OnUnitEnter(Unit *unit) override
at_aqusirr_surging_rush(AreaTrigger *areatrigger)
void OnUnitExit(Unit *unit, AreaTriggerExitReason) override
at_aqusirr_undertow(AreaTrigger *areatrigger)
void OnUnitEnter(Unit *unit) override
void JustAppeared() override
void JustDied(Unit *) override
boss_aqusirr_aqualing(Creature *creature)
void UpdateAI(uint32 diff) override
void EnterEvadeMode(EvadeReason why) override
void JustEngagedWith(Unit *) override
void JustAppeared() override
void JustDied(Unit *) override
void EnterEvadeMode(EvadeReason) override
boss_aqusirr(Creature *creature)
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void JustEngagedWith(Unit *who) override
void ToggleSplit(bool toggle)
uint8 _aqualingDefeatedCount
void Reset() override
void UpdateAI(uint32 diff) override
void SpellHit(WorldObject *, SpellInfo const *spellInfo) override
void UpdateAI(uint32 diff) override
npc_aqusirr_intro_lord_stormsong(Creature *creature)
void DoAction(int32 action) override
void SpellHit(WorldObject *, SpellInfo const *spellInfo) override