AzeorthCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
boss_auriaya::boss_auriayaAI Struct Reference
Inheritance diagram for boss_auriaya::boss_auriayaAI:
ScriptedAI CreatureAI UnitAI

Public Member Functions

 boss_auriayaAI (Creature *pCreature)
 
void Reset () override
 
uint32 GetData (uint32 param) const override
 
void JustSummoned (Creature *cr) override
 
void SummonedCreatureDies (Creature *cr, Unit *) override
 
void JustReachedHome () override
 
void EnterCombat (Unit *) override
 
void KilledUnit (Unit *victim) override
 
void JustDied (Unit *) override
 
void DoAction (int32 param) override
 
void UpdateAI (uint32 diff) override
 
- Public Member Functions inherited from ScriptedAI
 ScriptedAI (Creature *creature)
 
 ~ScriptedAI () override
 
void AttackStartNoMove (Unit *target)
 
void DamageTaken (Unit *, uint32 &, DamageEffectType, SpellSchoolMask) override
 
void UpdateAI (uint32 diff) override
 
void JustDied (Unit *) override
 
void KilledUnit (Unit *) override
 
void JustSummoned (Creature *) override
 
void SummonedCreatureDespawn (Creature *) override
 
void SpellHit (Unit *, SpellInfo const *) override
 
void SpellHitTarget (Unit *, SpellInfo const *) override
 
void MovementInform (uint32, uint32) override
 
void OnPossess (bool)
 
bool IsInRoom (const Position *pos, Axis axis, bool above)
 
void Reset () override
 
void EnterCombat (Unit *) override
 
void AttackStart (Unit *) override
 
void DoStartMovement (Unit *target, float distance=0.0f, float angle=0.0f)
 
void DoStartNoMovement (Unit *target)
 
void DoStopAttack ()
 
void DoCastSpell (Unit *target, SpellInfo const *spellInfo, bool triggered=false)
 Cast Spell. More...
 
void DoPlaySoundToSet (WorldObject *source, uint32 soundId)
 Play sound. More...
 
void DoPlayMusic (uint32 soundId, bool zone)
 
void DoResetThreat ()
 Reset Threat. More...
 
float DoGetThreat (Unit *unit)
 
void DoModifyThreatPercent (Unit *unit, int32 pct)
 Modify Unit Threat. More...
 
void DoTeleportPlayer (Unit *unit, float x, float y, float z, float o)
 Teleport player. More...
 
void DoTeleportAll (float x, float y, float z, float o)
 Teleport all. More...
 
UnitDoSelectLowestHpFriendly (float range, uint32 minHPDiff=1)
 
std::list< Creature * > DoFindFriendlyCC (float range)
 
std::list< Creature * > DoFindFriendlyMissingBuff (float range, uint32 spellId)
 
PlayerGetPlayerAtMinimumRange (float minRange)
 
CreatureDoSpawnCreature (uint32 entry, float offsetX, float offsetY, float offsetZ, float angle, uint32 type, uint32 despawntime)
 
bool HealthBelowPct (uint32 pct) const
 
bool HealthAbovePct (uint32 pct) const
 
SpellInfo const * SelectSpell (Unit *target, uint32 school, uint32 mechanic, SelectTargetType targets, uint32 powerCostMin, uint32 powerCostMax, float rangeMin, float rangeMax, SelectEffect effect)
 
void SetEquipmentSlots (bool loadDefault, int32 mainHand=EQUIP_NO_CHANGE, int32 offHand=EQUIP_NO_CHANGE, int32 ranged=EQUIP_NO_CHANGE)
 
void SetCombatMovement (bool allowMovement)
 Set Combat Movement. More...
 
bool IsCombatMovementAllowed () const
 
virtual bool CheckEvadeIfOutOfCombatArea () const
 
bool IsHeroic () const
 
Difficulty GetDifficulty () const
 
bool Is25ManRaid () const
 
template<class T >
const T & DUNGEON_MODE (const T &normal5, const T &heroic10) const
 
template<class T >
const T & RAID_MODE (const T &normal10, const T &normal25) const
 
template<class T >
const T & RAID_MODE (const T &normal10, const T &normal25, const T &heroic10, const T &heroic25) const
 
PlayerSelectTargetFromPlayerList (float maxdist, uint32 excludeAura=0, bool mustBeInLOS=false) const
 
- Public Member Functions inherited from CreatureAI
void Talk (uint8 id, WorldObject const *whisperTarget=nullptr)
 
 CreatureAI (Creature *creature)
 
 ~CreatureAI () override
 
void MoveCircleChecks ()
 
void MoveBackwardsChecks ()
 
void MoveInLineOfSight_Safe (Unit *who)
 == Reactions At ================================= More...
 
void TriggerAlert (Unit const *who) const
 
virtual bool CanRespawn ()
 
virtual void EnterEvadeMode (EvadeReason why=EVADE_REASON_OTHER)
 
virtual void EnterCombat (Unit *)
 
virtual void JustDied (Unit *)
 
virtual void KilledUnit (Unit *)
 
virtual void JustSummoned (Creature *)
 
virtual void IsSummonedBy (Unit *)
 
virtual void SummonedCreatureDespawn (Creature *)
 
virtual void SummonedCreatureDies (Creature *, Unit *)
 
virtual void SummonedCreatureDespawnAll ()
 
virtual void SpellHit (Unit *, SpellInfo const *)
 
virtual void SpellHitTarget (Unit *, SpellInfo const *)
 
virtual void AttackedBy (Unit *)
 
virtual bool IsEscorted ()
 
virtual void JustRespawned ()
 
virtual void MovementInform (uint32, uint32)
 
virtual void PathEndReached (uint32)
 
void OnCharmed (bool apply) override
 
virtual void JustReachedHome ()
 
void DoZoneInCombat (Creature *creature=nullptr, float maxRangeToNearestTarget=250.0f)
 
virtual void ReceiveEmote (Player *, uint32)
 
virtual void OwnerAttackedBy (Unit *)
 
virtual void OwnerAttacked (Unit *)
 
virtual void CorpseRemoved (uint32 &)
 == Triggered Actions Requested ================== More...
 
virtual void PassengerBoarded (Unit *, int8, bool)
 == Fields ======================================= More...
 
virtual bool BeforeSpellClick (Unit *)
 
virtual void OnSpellClick (Unit *, bool &)
 
virtual bool CanSeeAlways (WorldObject const *)
 
virtual bool CanBeSeen (Player const *)
 
virtual bool CanAlwaysBeDetectable (WorldObject const *)
 
virtual void PetStopAttack ()
 
virtual bool CheckInRoom ()
 
CreatureBoundary const * GetBoundary () const
 
void SetBoundary (CreatureBoundary const *boundary, bool negativeBoundaries=false)
 
bool IsInBoundary (Position const *who=nullptr) const
 
virtual void CalculateThreat (Unit *, float &, SpellInfo const *)
 
virtual bool OnTeleportUnreacheablePlayer (Player *)
 
- Public Member Functions inherited from UnitAI
 UnitAI (Unit *unit)
 
virtual ~UnitAI ()
 
virtual bool CanAIAttack (Unit const *) const
 
virtual void AttackStart (Unit *)
 
virtual void UpdateAI (uint32)=0
 
virtual void InitializeAI ()
 
virtual void Reset ()
 
virtual void OnCharmed (bool apply)=0
 
virtual void DoAction (int32)
 
virtual uint32 GetData (uint32) const
 
virtual void SetData (uint32, uint32)
 
virtual void SetGUID (ObjectGuid, int32=0)
 
virtual ObjectGuid GetGUID (int32=0) const
 
UnitSelectTarget (SelectTargetMethod targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
 
template<class PREDICATE >
UnitSelectTarget (SelectTargetMethod targetType, uint32 position, PREDICATE const &predicate)
 
void SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectTargetMethod targetType, float dist=0.0f, bool playerOnly=false, int32 aura=0)
 
template<class PREDICATE >
void SelectTargetList (std::list< Unit * > &targetList, PREDICATE const &predicate, uint32 maxTargets, SelectTargetMethod targetType)
 
virtual void DamageDealt (Unit *, uint32 &, DamageEffectType)
 
virtual void DamageTaken (Unit *, uint32 &, DamageEffectType, SpellSchoolMask)
 
virtual void HealReceived (Unit *, uint32 &)
 
virtual void HealDone (Unit *, uint32 &)
 
void AttackStartCaster (Unit *victim, float dist)
 
SpellCastResult DoAddAuraToAllHostilePlayers (uint32 spellid)
 
SpellCastResult DoCast (uint32 spellId)
 
SpellCastResult DoCast (Unit *victim, uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastSelf (uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastToAllHostilePlayers (uint32 spellid, bool triggered=false)
 
SpellCastResult DoCastVictim (uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastAOE (uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastRandomTarget (uint32 spellId, uint32 threatTablePosition=0, float dist=0.0f, bool playerOnly=true, bool triggered=false)
 
float DoGetSpellMaxRange (uint32 spellId, bool positive=false)
 
void DoMeleeAttackIfReady ()
 
bool DoSpellAttackIfReady (uint32 spell)
 
void DoSpellAttackToRandomTargetIfReady (uint32 spell, uint32 threatTablePosition=0, float dist=0.f, bool playerOnly=true)
 
virtual void SummonMovementInform (Creature *, uint32, uint32)
 
virtual void sGossipHello (Player *)
 
virtual void sGossipSelect (Player *, uint32, uint32)
 
virtual void sGossipSelectCode (Player *, uint32, uint32, char const *)
 
virtual void sQuestAccept (Player *, Quest const *)
 
virtual void sQuestSelect (Player *, Quest const *)
 
virtual void sQuestComplete (Player *, Quest const *)
 
virtual void sQuestReward (Player *, Quest const *, uint32)
 
virtual void sOnGameEvent (bool, uint16)
 
virtual std::string GetDebugInfo () const
 

Public Attributes

InstanceScriptm_pInstance
 
EventMap events
 
SummonList summons
 
bool _feralDied
 
bool _nineLives
 
- Public Attributes inherited from ScriptedAI
Creatureme
 
bool IsFleeing
 

Additional Inherited Members

- Public Types inherited from ScriptedAI
enum class  Axis {
  AXIS_X ,
  AXIS_Y
}
 
- Public Types inherited from CreatureAI
enum  EvadeReason {
  EVADE_REASON_NO_HOSTILES ,
  EVADE_REASON_BOUNDARY ,
  EVADE_REASON_SEQUENCE_BREAK ,
  EVADE_REASON_NO_PATH ,
  EVADE_REASON_OTHER
}
 
- Static Public Member Functions inherited from CreatureAI
static bool IsInBounds (CreatureBoundary const &boundary, Position const *who)
 
- Static Public Member Functions inherited from UnitAI
static void FillAISpellInfo ()
 
- Static Public Attributes inherited from UnitAI
static AISpellInfoTypeAISpellInfo
 
- Protected Member Functions inherited from CreatureAI
bool UpdateVictim ()
 
bool UpdateVictimWithGaze ()
 
void SetGazeOn (Unit *target)
 
CreatureDoSummon (uint32 entry, Position const &pos, uint32 despawnTime=30000, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
 
CreatureDoSummon (uint32 entry, WorldObject *obj, float radius=5.0f, uint32 despawnTime=30000, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
 
CreatureDoSummonFlyer (uint32 entry, WorldObject *obj, float flightZ, float radius=5.0f, uint32 despawnTime=30000, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
 
virtual void MoveInLineOfSight (Unit *)
 
bool _EnterEvadeMode (EvadeReason why=EVADE_REASON_OTHER)
 
- Protected Attributes inherited from CreatureAI
Creature *const me
 
EventMap events
 
CreatureBoundary const * _boundary
 
bool _negateBoundary
 
- Protected Attributes inherited from UnitAI
Unit *const me
 

Detailed Description

Constructor & Destructor Documentation

◆ boss_auriayaAI()

boss_auriaya::boss_auriayaAI::boss_auriayaAI ( Creature pCreature)
inline
116 : ScriptedAI(pCreature), summons(pCreature)
117 {
118 m_pInstance = pCreature->GetInstanceScript();
119 }
Definition: ScriptedCreature.h:177
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1194
InstanceScript * m_pInstance
Definition: boss_auriaya.cpp:121
SummonList summons
Definition: boss_auriaya.cpp:123

References WorldObject::GetInstanceScript(), and m_pInstance.

Member Function Documentation

◆ DoAction()

void boss_auriaya::boss_auriayaAI::DoAction ( int32  param)
inlineoverridevirtual

Reimplemented from UnitAI.

213 {
215 events.ScheduleEvent(EVENT_RESPAWN_FERAL_DEFENDER, 25000);
216 else if (param == ACTION_FERAL_DEATH)
217 _nineLives = true;
218 }
events
Definition: boss_sartura.cpp:43
@ ACTION_FERAL_DEATH_WITH_STACK
Definition: boss_auriaya.cpp:98
@ ACTION_FERAL_DEATH
Definition: boss_auriaya.cpp:96
@ EVENT_RESPAWN_FERAL_DEFENDER
Definition: boss_auriaya.cpp:79
bool _nineLives
Definition: boss_auriaya.cpp:126

References _nineLives, ACTION_FERAL_DEATH, ACTION_FERAL_DEATH_WITH_STACK, and EVENT_RESPAWN_FERAL_DEFENDER.

◆ EnterCombat()

void boss_auriaya::boss_auriayaAI::EnterCombat ( Unit )
inlineoverridevirtual

Reimplemented from ScriptedAI.

176 {
177 if (m_pInstance)
179
180 events.ScheduleEvent(EVENT_TERRIFYING_SCREECH, 35000);
181 events.ScheduleEvent(EVENT_SONIC_SCREECH, 45000);
182 events.ScheduleEvent(EVENT_GUARDIAN_SWARM, 70000);
183 events.ScheduleEvent(EVENT_SUMMON_FERAL_DEFENDER, 60000);
184 events.ScheduleEvent(EVENT_SENTINEL_BLAST, 36000);
185 events.ScheduleEvent(EVENT_ENRAGE, 600000);
186
188
190 me->setActive(true);
191 }
@ IN_PROGRESS
Definition: InstanceScript.h:57
@ EVENT_SENTINEL_BLAST
Definition: boss_auriaya.cpp:76
@ EVENT_ENRAGE
Definition: boss_auriaya.cpp:80
@ EVENT_SONIC_SCREECH
Definition: boss_auriaya.cpp:74
@ EVENT_GUARDIAN_SWARM
Definition: boss_auriaya.cpp:75
@ EVENT_TERRIFYING_SCREECH
Definition: boss_auriaya.cpp:73
@ EVENT_SUMMON_FERAL_DEFENDER
Definition: boss_auriaya.cpp:72
@ SAY_AGGRO
Definition: boss_auriaya.cpp:85
@ NPC_SANCTUM_SENTRY
Definition: boss_auriaya.cpp:66
@ TYPE_AURIAYA
Definition: ulduar.h:39
Talk
Definition: boss_fathomlord_karathress.cpp:23
void DoZoneInCombat(uint32 entry=0)
Definition: ScriptedCreature.cpp:36
Creature * me
Definition: ScriptedCreature.h:267
void setActive(bool isActiveObject)
Definition: Object.cpp:1087
virtual void SetData(uint32, uint32)
Definition: ZoneScript.h:53

References SummonList::DoZoneInCombat(), EVENT_ENRAGE, EVENT_GUARDIAN_SWARM, EVENT_SENTINEL_BLAST, EVENT_SONIC_SCREECH, EVENT_SUMMON_FERAL_DEFENDER, EVENT_TERRIFYING_SCREECH, IN_PROGRESS, m_pInstance, ScriptedAI::me, NPC_SANCTUM_SENTRY, SAY_AGGRO, WorldObject::setActive(), ZoneScript::SetData(), summons, and TYPE_AURIAYA.

◆ GetData()

uint32 boss_auriaya::boss_auriayaAI::GetData ( uint32  param) const
inlineoverridevirtual

Reimplemented from UnitAI.

148 {
149 if (param == DATA_CRAZY_CAT)
150 return !_feralDied;
151 else if (param == DATA_NINE_LIVES)
152 return _nineLives;
153
154 return 0;
155 }
@ DATA_NINE_LIVES
Definition: boss_auriaya.cpp:101
@ DATA_CRAZY_CAT
Definition: boss_auriaya.cpp:100
bool _feralDied
Definition: boss_auriaya.cpp:125

References _feralDied, _nineLives, DATA_CRAZY_CAT, and DATA_NINE_LIVES.

◆ JustDied()

void boss_auriaya::boss_auriayaAI::JustDied ( Unit )
inlineoverridevirtual

Reimplemented from ScriptedAI.

202 {
203 if (m_pInstance)
205
210 }
@ DONE
Definition: InstanceScript.h:59
@ ACTION_DESPAWN_ADDS
Definition: boss_auriaya.cpp:97
@ EMOTE_DEATH
Definition: boss_auriaya.cpp:88
@ NPC_FERAL_DEFENDER
Definition: boss_auriaya.cpp:65
void DespawnAll(uint32 delay=0)
Definition: ScriptedCreature.cpp:67
void DoAction(int32 info, uint16 max=0)
Definition: ScriptedCreature.h:103
Definition: ScriptedCreature.h:154

References ACTION_DESPAWN_ADDS, SummonList::DespawnAll(), SummonList::DoAction(), DONE, EMOTE_DEATH, m_pInstance, NPC_FERAL_DEFENDER, ZoneScript::SetData(), summons, and TYPE_AURIAYA.

◆ JustReachedHome()

void boss_auriaya::boss_auriayaAI::JustReachedHome ( )
inlineoverridevirtual

Reimplemented from CreatureAI.

173{ me->setActive(false); }

References ScriptedAI::me, and WorldObject::setActive().

◆ JustSummoned()

void boss_auriaya::boss_auriayaAI::JustSummoned ( Creature cr)
inlineoverridevirtual

Reimplemented from ScriptedAI.

158 {
159 if (cr->GetEntry() == NPC_SANCTUM_SENTRY)
160 cr->GetMotionMaster()->MoveFollow(me, 6, rand_norm() * 2 * 3.14f);
161 else
163
164 summons.Summon(cr);
165 }
double rand_norm()
Definition: Random.cpp:77
void Summon(Creature const *summon)
Definition: ScriptedCreature.h:89
void SetInCombatWithZone()
Definition: Creature.cpp:2810
uint32 GetEntry() const
Definition: Object.h:109
MotionMaster * GetMotionMaster()
Definition: Unit.h:2530
void MoveFollow(Unit *target, float dist, float angle, MovementSlot slot=MOTION_SLOT_ACTIVE)
Definition: MotionMaster.cpp:367

References Object::GetEntry(), Unit::GetMotionMaster(), ScriptedAI::me, MotionMaster::MoveFollow(), NPC_SANCTUM_SENTRY, rand_norm(), Creature::SetInCombatWithZone(), SummonList::Summon(), and summons.

◆ KilledUnit()

void boss_auriaya::boss_auriayaAI::KilledUnit ( Unit victim)
inlineoverridevirtual

Reimplemented from ScriptedAI.

194 {
195 if (victim->GetTypeId() != TYPEID_PLAYER || urand(0, 2))
196 return;
197
198 Talk(SAY_SLAY);
199 }
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:44
@ TYPEID_PLAYER
Definition: ObjectGuid.h:38
@ SAY_SLAY
Definition: boss_auriaya.cpp:86
TypeID GetTypeId() const
Definition: Object.h:121

References Object::GetTypeId(), SAY_SLAY, TYPEID_PLAYER, and urand().

◆ Reset()

void boss_auriaya::boss_auriayaAI::Reset ( )
inlineoverridevirtual

Reimplemented from ScriptedAI.

129 {
130 _feralDied = false;
131 _nineLives = false;
132
133 events.Reset();
137
138 if (m_pInstance)
140
141 for (uint8 i = 0; i < RAID_MODE(2, 4); ++i)
143
145 }
std::uint8_t uint8
Definition: Define.h:110
@ NOT_STARTED
Definition: InstanceScript.h:56
@ SPELL_EFFECT_INTERRUPT_CAST
Definition: SharedDefines.h:818
@ IMMUNITY_EFFECT
Definition: SharedDefines.h:1366
const T & RAID_MODE(const T &normal10, const T &normal25) const
Definition: ScriptedCreature.h:380
TempSummon * SummonCreature(uint32 id, const Position &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0, SummonPropertiesEntry const *properties=nullptr) const
Definition: Object.cpp:2303
float GetPositionZ() const
Definition: Position.h:119
float GetPositionX() const
Definition: Position.h:117
float GetPositionY() const
Definition: Position.h:118
void ApplySpellImmune(uint32 spellId, uint32 op, uint32 type, bool apply, SpellImmuneBlockType blockType=SPELL_BLOCK_TYPE_ALL)
Definition: Unit.cpp:14149

References _feralDied, _nineLives, ACTION_DESPAWN_ADDS, Unit::ApplySpellImmune(), SummonList::DespawnAll(), SummonList::DoAction(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), IMMUNITY_EFFECT, m_pInstance, ScriptedAI::me, NOT_STARTED, NPC_FERAL_DEFENDER, NPC_SANCTUM_SENTRY, ScriptedAI::RAID_MODE(), ZoneScript::SetData(), SPELL_EFFECT_INTERRUPT_CAST, WorldObject::SummonCreature(), summons, TYPE_AURIAYA, and urand().

◆ SummonedCreatureDies()

void boss_auriaya::boss_auriayaAI::SummonedCreatureDies ( Creature cr,
Unit  
)
inlineoverridevirtual

Reimplemented from CreatureAI.

168 {
169 if (cr->GetEntry() == NPC_SANCTUM_SENTRY)
170 _feralDied = true;
171 }

References _feralDied, Object::GetEntry(), and NPC_SANCTUM_SENTRY.

◆ UpdateAI()

void boss_auriaya::boss_auriayaAI::UpdateAI ( uint32  diff)
inlineoverridevirtual

Reimplemented from ScriptedAI.

221 {
222 if (!UpdateVictim())
223 return;
224
225 events.Update(diff);
227 return;
228
229 switch (events.ExecuteEvent())
230 {
235 events.ScheduleEvent(EVENT_REMOVE_IMMUNE, 3000);
236 break;
239 break;
243 events.RepeatEvent(35000);
244 break;
247 events.RepeatEvent(50000);
248 break;
251 events.RepeatEvent(40000);
252 break;
255 events.RepeatEvent(35000);
256 events.DelayEvents(5000, 0);
257 break;
259 {
262 break;
263 }
264 case EVENT_ENRAGE:
266 me->CastSpell(me, SPELL_ENRAGE, true);
267 break;
268 }
269
271 }
@ UNIT_STATE_CASTING
Definition: Unit.h:340
@ SPELL_ENRAGE
Definition: boss_auriaya.cpp:34
@ SPELL_GUARDIAN_SWARM
Definition: boss_auriaya.cpp:33
@ SPELL_ACTIVATE_FERAL_DEFENDER
Definition: boss_auriaya.cpp:35
@ SPELL_TERRIFYING_SCREECH
Definition: boss_auriaya.cpp:28
@ ACTION_FERAL_RESPAWN
Definition: boss_auriaya.cpp:95
#define SPELL_SENTINEL_BLAST
Definition: boss_auriaya.cpp:56
@ EVENT_REMOVE_IMMUNE
Definition: boss_auriaya.cpp:77
@ EMOTE_FEAR
Definition: boss_auriaya.cpp:89
@ EMOTE_DEFFENDER
Definition: boss_auriaya.cpp:90
@ SAY_BERSERK
Definition: boss_auriaya.cpp:87
#define SPELL_SONIC_SCREECH
Definition: boss_auriaya.cpp:55
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:40
bool UpdateVictim()
Definition: CreatureAI.cpp:268
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1428
Unit * GetVictim() const
Definition: Unit.h:1386
bool HasUnitState(const uint32 f) const
Definition: Unit.h:1398

References ACTION_FERAL_RESPAWN, Unit::ApplySpellImmune(), Unit::CastSpell(), SummonList::DoAction(), UnitAI::DoMeleeAttackIfReady(), EMOTE_DEFFENDER, EMOTE_FEAR, EVENT_ENRAGE, EVENT_GUARDIAN_SWARM, EVENT_REMOVE_IMMUNE, EVENT_RESPAWN_FERAL_DEFENDER, EVENT_SENTINEL_BLAST, EVENT_SONIC_SCREECH, EVENT_SUMMON_FERAL_DEFENDER, EVENT_TERRIFYING_SCREECH, Unit::GetVictim(), Unit::HasUnitState(), IMMUNITY_EFFECT, ScriptedAI::me, NPC_FERAL_DEFENDER, SAY_BERSERK, SPELL_ACTIVATE_FERAL_DEFENDER, SPELL_EFFECT_INTERRUPT_CAST, SPELL_ENRAGE, SPELL_GUARDIAN_SWARM, SPELL_SENTINEL_BLAST, SPELL_SONIC_SCREECH, SPELL_TERRIFYING_SCREECH, summons, UNIT_STATE_CASTING, and CreatureAI::UpdateVictim().

Member Data Documentation

◆ _feralDied

bool boss_auriaya::boss_auriayaAI::_feralDied

◆ _nineLives

bool boss_auriaya::boss_auriayaAI::_nineLives

Referenced by DoAction(), GetData(), and Reset().

◆ events

EventMap boss_auriaya::boss_auriayaAI::events

◆ m_pInstance

InstanceScript* boss_auriaya::boss_auriayaAI::m_pInstance

◆ summons

SummonList boss_auriaya::boss_auriayaAI::summons