AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
boss_freya::boss_freyaAI Struct Reference
Inheritance diagram for boss_freya::boss_freyaAI:
ScriptedAI CreatureAI UnitAI

Public Member Functions

 boss_freyaAI (Creature *pCreature)
 
void Reset () override
 
void KilledUnit (Unit *victim) override
 
void DamageTaken (Unit *, uint32 &damage, DamageEffectType, SpellSchoolMask) override
 Called at any Damage from any attacker (before damage apply) More...
 
void SpellHit (Unit *, SpellInfo const *spellInfo) override
 
void JustSummoned (Creature *cr) override
 
void SpawnWave ()
 
void DoAction (int32 param) override
 
uint32 GetData (uint32 param) const override
 
void JustReachedHome () override
 
void JustEngagedWith (Unit *) override
 Called for reaction when initially engaged. More...
 
void SpellHitTarget (Unit *target, SpellInfo const *spell) override
 
void UpdateAI (uint32 diff) override
 Use to start attacking a target. Called just before JustEngagedWith() More...
 
bool CheckEvadeIfOutOfCombatArea () const override
 
- Public Member Functions inherited from ScriptedAI
 ScriptedAI (Creature *creature)
 
 ~ScriptedAI () override
 
void AttackStartNoMove (Unit *target)
 
void DamageTaken (Unit *, uint32 &, DamageEffectType, SpellSchoolMask) override
 Called at any Damage from any attacker (before damage apply) More...
 
void UpdateAI (uint32 diff) override
 Use to start attacking a target. Called just before JustEngagedWith() More...
 
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 JustEngagedWith (Unit *) override
 Called for reaction when initially engaged. More...
 
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)
 
void DoPlaySoundToSet (WorldObject *source, uint32 soundId)
 
void DoPlayMusic (uint32 soundId, bool zone)
 
void DoAddThreat (Unit *unit, float amount)
 
void DoModifyThreatByPercent (Unit *unit, int32 pct)
 
void DoResetThreat (Unit *unit)
 
void DoResetThreatList ()
 
float DoGetThreat (Unit *unit)
 
void DoTeleportPlayer (Unit *unit, float x, float y, float z, float o)
 
void DoTeleportPlayer (Unit *unit, Position pos)
 
void DoTeleportAll (float x, float y, float z, float o)
 
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 IsUniqueTimedEventDone (uint32 id) const
 
void SetUniqueTimedEventDone (uint32 id)
 
void ResetUniqueTimedEvent (uint32 id)
 
void ClearUniqueTimedEventsDone ()
 
void ScheduleTimedEvent (Milliseconds timerMin, Milliseconds timerMax, std::function< void()> exec, Milliseconds repeatMin, Milliseconds repeatMax=0s, uint32 uniqueId=0)
 
void ScheduleTimedEvent (Milliseconds timerMax, std::function< void()> exec, Milliseconds repeatMin, Milliseconds repeatMax=0s, uint32 uniqueId=0)
 
void ScheduleUniqueTimedEvent (Milliseconds timer, std::function< void()> exec, uint32 uniqueId)
 
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)
 
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
 
void SetInvincibility (bool apply)
 
bool IsInvincible () const
 
void SetAutoAttackAllowed (bool allow)
 
bool IsAutoAttackAllowed () const
 
- Public Member Functions inherited from CreatureAI
void Talk (uint8 id, WorldObject const *whisperTarget=nullptr, Milliseconds delay=0s)
 Causes the creature to talk/say the text assigned to their entry in the creature_text database table. More...
 
void Talk (uint8 id, Milliseconds delay)
 
WorldObjectGetSummoner () const
 Returns the summoner creature/object, if the creature is a temporary summon. More...
 
 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 JustEngagedWith (Unit *)
 Called for reaction when initially engaged. More...
 
virtual void JustDied (Unit *)
 
virtual void KilledUnit (Unit *)
 
virtual void JustSummoned (Creature *)
 
virtual void IsSummonedBy (WorldObject *)
 
virtual void SummonedCreatureDespawn (Creature *)
 
virtual void SummonedCreatureDies (Creature *, Unit *)
 
virtual void SummonedCreatureDespawnAll ()
 
virtual void SummonedCreatureEvade (Creature *)
 
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
 Called when unit is charmed. More...
 
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 *)
 
virtual void OnAuraRemove (AuraApplication *, AuraRemoveMode)
 
- 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
 Use to start attacking a target. Called just before JustEngagedWith() More...
 
virtual void InitializeAI ()
 
virtual void Reset ()
 
virtual void OnCharmed (bool apply)=0
 Called when unit is charmed. More...
 
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, bool withTank=true, int32 aura=0)
 
template<class PREDICATE >
UnitSelectTarget (SelectTargetMethod targetType, uint32 position, PREDICATE const &predicate)
 
void SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectTargetMethod targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
 Select the best (up to) <num> targets (in <targetType> order) from the threat list that fulfill the following: More...
 
template<class PREDICATE >
void SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectTargetMethod targetType, uint32 position, PREDICATE const &predicate)
 
virtual void JustEnteredCombat (Unit *)
 Called when the unit enters combat. More...
 
virtual void JustExitedCombat ()
 Called when the unit leaves combat. More...
 
virtual void DamageDealt (Unit *, uint32 &, DamageEffectType)
 Called at any Damage to any victim (before damage apply) More...
 
virtual void DamageTaken (Unit *, uint32 &, DamageEffectType, SpellSchoolMask)
 Called at any Damage from any attacker (before damage apply) More...
 
virtual void HealReceived (Unit *, uint32 &)
 Called when the creature receives heal. More...
 
virtual void OnPowerUpdate (Powers, int32, int32, uint32)
 Called when the creature power updates. More...
 
virtual void HealDone (Unit *, uint32 &)
 Called when the unit heals. More...
 
virtual void OnCalculateMeleeDamageReceived (uint32 &, Unit *)
 Called during damage calculations. More...
 
virtual void OnCalculateSpellDamageReceived (int32 &, Unit *)
 
virtual void OnCalculatePeriodicTickReceived (uint32 &, Unit *)
 Called during calculation when receiving periodic healing or damage (DoT or HoT) More...
 
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)
 To specify the caster as target if the spell is self-cast. More...
 
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, bool withTank=true)
 Cast the spell on a random unit from the threat list. More...
 
SpellCastResult DoCastMaxThreat (uint32 spellId, uint32 threatTablePosition=0, float dist=0.0f, bool playerOnly=true, bool triggered=false)
 Cast spell on the top threat target, which may not be the current victim. More...
 
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)
 Called when a summon reaches a waypoint or point movement finished. More...
 
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
 
uint8 _waveNumber
 
uint8 _trioKilled
 
uint8 _spawnedAmount
 
uint8 _lumberjacked
 
bool _respawningTrio
 
bool _backToNature
 
uint8 _deforestation
 
ObjectGuid _elderGUID [3]
 
- Public Attributes inherited from ScriptedAI
Creatureme
 

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
 
TaskScheduler scheduler
 
CreatureBoundary const * _boundary
 
bool _negateBoundary
 
- Protected Attributes inherited from UnitAI
Unit *const me
 

Detailed Description

Constructor & Destructor Documentation

◆ boss_freyaAI()

boss_freya::boss_freyaAI::boss_freyaAI ( Creature pCreature)
inline
258 : ScriptedAI(pCreature), summons(me)
259 {
260 m_pInstance = pCreature->GetInstanceScript();
261 if (!me->IsAlive())
262 if (m_pInstance)
264 }
@ TYPE_FREYA
Definition: ulduar.h:39
@ DONE
Definition: InstanceScript.h:60
Definition: ScriptedCreature.h:190
Creature * me
Definition: ScriptedCreature.h:280
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1203
bool IsAlive() const
Definition: Unit.h:1654
virtual void SetData(uint32, uint32)
Definition: ZoneScript.h:52
SummonList summons
Definition: boss_freya.cpp:268
InstanceScript * m_pInstance
Definition: boss_freya.cpp:266

References DONE, WorldObject::GetInstanceScript(), Unit::IsAlive(), m_pInstance, ScriptedAI::me, ZoneScript::SetData(), and TYPE_FREYA.

Member Function Documentation

◆ CheckEvadeIfOutOfCombatArea()

bool boss_freya::boss_freyaAI::CheckEvadeIfOutOfCombatArea ( ) const
inlineoverridevirtual

Reimplemented from ScriptedAI.

665 {
666 return me->GetPositionX() < 2135.0f;
667 }
float GetPositionX() const
Definition: Position.h:116

References Position::GetPositionX(), and ScriptedAI::me.

◆ DamageTaken()

void boss_freya::boss_freyaAI::DamageTaken ( Unit ,
uint32 ,
DamageEffectType  ,
SpellSchoolMask   
)
inlineoverridevirtual

Called at any Damage from any attacker (before damage apply)

Note
It use for recalculation damage or special reaction at damage for attack reaction use AttackedBy called for non DOT damage in Unit::DealDamage also

Reimplemented from ScriptedAI.

317 {
318 if (damage >= me->GetHealth())
319 {
320 damage = 0;
322 {
324
329 me->AttackStop();
330 events.Reset();
331
333 events.Reset();
334
335 uint8 _elderCount = 0;
336 for (uint8 i = 0; i < 3; ++i)
337 {
338 if (!_elderGUID[i])
339 continue;
340
342 e->DespawnOrUnsummon();
343
344 ++_elderCount;
345 }
346
348 chestId -= 2 * _elderCount; // offset
349
350 if (GameObject* go = me->SummonGameObject(chestId, 2345.61f, -71.20f, 425.104f, 3.0f, 0, 0, 0, 0, 0))
351 {
352 go->ReplaceAllGameObjectFlags((GameObjectFlags)0);
353 go->SetLootRecipient(me->GetMap());
354 }
355
356 // Defeat credit
357 if (m_pInstance)
358 {
359 me->CastSpell(me, 65074, true); // credit
361 }
362
363 scheduler.Schedule(14s, [this](TaskContext /*context*/)
364 {
366 });
367 }
368 }
369 }
std::uint8_t uint8
Definition: Define.h:109
std::uint32_t uint32
Definition: Define.h:107
events
Definition: boss_sartura.cpp:43
Talk
Definition: hyjal.cpp:82
@ GO_FREYA_CHEST_HERO
Definition: ulduar.h:185
@ GO_FREYA_CHEST
Definition: ulduar.h:184
@ SAY_DEATH
Definition: boss_freya.cpp:198
@ SPELL_TELEPORT
Definition: karazhan.cpp:48
GameObjectFlags
Definition: SharedDefines.h:1602
@ FACTION_FRIENDLY
Definition: SharedDefines.h:201
@ REACT_PASSIVE
Definition: Unit.h:548
@ UNIT_FLAG_NON_ATTACKABLE
Definition: UnitDefines.h:230
Creature * GetCreature(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:210
TaskScheduler & Schedule(std::chrono::duration< _Rep, _Period > const &time, task_handler_t const &task)
Definition: TaskScheduler.h:232
Definition: TaskScheduler.h:421
SpellCastResult DoCastSelf(uint32 spellId, bool triggered=false)
Definition: UnitAI.h:392
TaskScheduler scheduler
Definition: CreatureAI.h:75
void DespawnAll(uint32 delay=0)
Definition: ScriptedCreature.cpp:71
const T & RAID_MODE(const T &normal10, const T &normal25) const
Definition: ScriptedCreature.h:404
Definition: Creature.h:43
void SetReactState(ReactStates state)
A creature can have 3 ReactStates : Agressive, Passive, Neutral.
Definition: Creature.h:94
Definition: GameObject.h:120
Map * GetMap() const
Definition: Object.h:536
GameObject * SummonGameObject(uint32 entry, float x, float y, float z, float ang, float rotation0, float rotation1, float rotation2, float rotation3, uint32 respawnTime, bool checkTransport=true, GOSummonType summonType=GO_SUMMON_TIMED_OR_CORPSE_DESPAWN)
Definition: Object.cpp:2380
void SetFaction(uint32 faction)
Definition: Unit.cpp:10056
uint32 GetHealth() const
Definition: Unit.h:1029
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:1167
void RemoveAllAuras()
Definition: Unit.cpp:5319
void SetUnitFlag(UnitFlags flags)
UnitFlags available in UnitDefines.h.
Definition: Unit.h:713
bool AttackStop()
Force the unit to stop attacking. This will clear UNIT_STATE_MELEE_ATTACKING, Interrupt current spell...
Definition: Unit.cpp:10403
virtual uint32 GetData(uint32) const
Definition: ZoneScript.h:51
ObjectGuid _elderGUID[3]
Definition: boss_freya.cpp:278

References _elderGUID, Unit::AttackStop(), Unit::CastSpell(), SummonList::DespawnAll(), UnitAI::DoCastSelf(), DONE, FACTION_FRIENDLY, ObjectAccessor::GetCreature(), ZoneScript::GetData(), Unit::GetHealth(), WorldObject::GetMap(), GO_FREYA_CHEST, GO_FREYA_CHEST_HERO, m_pInstance, ScriptedAI::me, ScriptedAI::RAID_MODE(), REACT_PASSIVE, Unit::RemoveAllAuras(), SAY_DEATH, TaskScheduler::Schedule(), CreatureAI::scheduler, ZoneScript::SetData(), Unit::SetFaction(), Creature::SetReactState(), Unit::SetUnitFlag(), SPELL_TELEPORT, WorldObject::SummonGameObject(), summons, TYPE_FREYA, and UNIT_FLAG_NON_ATTACKABLE.

◆ DoAction()

void boss_freya::boss_freyaAI::DoAction ( int32  param)
inlineoverridevirtual

Reimplemented from UnitAI.

419 {
420 if (param == ACTION_LUMBERJACKED)
421 {
422 if (!m_pInstance)
423 return;
424
426 if (_lumberjacked == 1)
428 else if (_lumberjacked == 3)
430 return;
431 }
432
433 if (param == ACTION_RESPAWN_TRIO)
434 {
435 if (!_respawningTrio)
436 {
437 _respawningTrio = true;
438 events.ScheduleEvent(EVENT_FREYA_RESPAWN_TRIO, 10s);
439 }
440
441 ++_trioKilled;
442 return;
443 }
444
445 // Deforestation Achievement Counter
446 if (param == ACTION_REMOVE_10_STACK)
447 {
449 if (_deforestation >= 6 && m_pInstance)
451 // do not return
452 }
453
455 {
456 // Back to Nature achievement
457 if (aur->GetStackAmount() - param < 25)
458 _backToNature = false;
459
460 if (aur->GetStackAmount() > param)
461 aur->SetStackAmount(aur->GetStackAmount() - param);
462 else // Aura out of stack
463 {
464 events.ScheduleEvent(EVENT_FREYA_NATURE_BOMB, 5s);
465 events.SetPhase(EVENT_PHASE_FINAL);
466 aur->Remove();
467 return;
468 }
469 }
470 }
@ ACTION_RESPAWN_TRIO
Definition: boss_freya.cpp:234
@ ACTION_LUMBERJACKED
Definition: boss_freya.cpp:235
@ ACTION_REMOVE_10_STACK
Definition: boss_freya.cpp:231
@ EVENT_PHASE_FINAL
Definition: boss_freya.cpp:238
@ CRITERIA_LUMBERJACKED
Definition: boss_freya.cpp:243
@ EVENT_FREYA_NATURE_BOMB
Definition: boss_freya.cpp:152
@ EVENT_FREYA_RESPAWN_TRIO
Definition: boss_freya.cpp:159
@ SPELL_DEFORESTATION_CREDIT
Definition: boss_freya.cpp:122
@ SPELL_ATTUNED_TO_NATURE
Definition: boss_freya.cpp:38
@ ACHIEVEMENT_TIMED_TYPE_EVENT
Definition: DBCEnums.h:110
@ ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET
Definition: DBCEnums.h:142
Aura * GetAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5581
void DoUpdateAchievementCriteria(AchievementCriteriaTypes type, uint32 miscValue1=0, uint32 miscValue2=0, Unit *unit=nullptr)
Definition: InstanceScript.cpp:638
void DoStartTimedAchievement(AchievementCriteriaTimedTypes type, uint32 entry)
Definition: InstanceScript.cpp:647
Definition: SpellAuras.h:87
uint8 _trioKilled
Definition: boss_freya.cpp:271
bool _backToNature
Definition: boss_freya.cpp:275
uint8 _lumberjacked
Definition: boss_freya.cpp:273
bool _respawningTrio
Definition: boss_freya.cpp:274
uint8 _deforestation
Definition: boss_freya.cpp:276

References _backToNature, _deforestation, _lumberjacked, _respawningTrio, _trioKilled, ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET, ACHIEVEMENT_TIMED_TYPE_EVENT, ACTION_LUMBERJACKED, ACTION_REMOVE_10_STACK, ACTION_RESPAWN_TRIO, CRITERIA_LUMBERJACKED, InstanceScript::DoStartTimedAchievement(), InstanceScript::DoUpdateAchievementCriteria(), EVENT_FREYA_NATURE_BOMB, EVENT_FREYA_RESPAWN_TRIO, EVENT_PHASE_FINAL, Unit::GetAura(), m_pInstance, ScriptedAI::me, SPELL_ATTUNED_TO_NATURE, and SPELL_DEFORESTATION_CREDIT.

◆ GetData()

uint32 boss_freya::boss_freyaAI::GetData ( uint32  param) const
inlineoverridevirtual

Reimplemented from UnitAI.

473 {
474 if (param == DATA_GET_ELDER_COUNT)
475 {
476 uint8 _count = 0;
477 for (uint8 i = 0; i < 3; ++i)
478 if (_elderGUID[i])
479 ++_count;
480
481 return _count;
482 }
483 if (param == DATA_BACK_TO_NATURE)
484 return _backToNature;
485
486 return 0;
487 }
@ DATA_BACK_TO_NATURE
Definition: boss_freya.cpp:241
@ DATA_GET_ELDER_COUNT
Definition: boss_freya.cpp:240

References _backToNature, _elderGUID, DATA_BACK_TO_NATURE, and DATA_GET_ELDER_COUNT.

◆ JustEngagedWith()

void boss_freya::boss_freyaAI::JustEngagedWith ( Unit )
inlineoverridevirtual

Called for reaction when initially engaged.

Reimplemented from ScriptedAI.

492 {
493 me->setActive(true);
497 aur->SetStackAmount(150);
498
499 events.ScheduleEvent(EVENT_FREYA_ADDS_SPAM, 10s, 0, EVENT_PHASE_ADDS);
500 events.ScheduleEvent(EVENT_FREYA_LIFEBINDER, 30s);
501 events.ScheduleEvent(EVENT_FREYA_SUNBEAM, 17s);
502 events.ScheduleEvent(EVENT_FREYA_BERSERK, 10min);
503 events.SetPhase(EVENT_PHASE_ADDS);
504
505 if (!m_pInstance)
506 return;
507
510
511 // HARD MODE CHECKS
513 if (elder && elder->IsAlive())
514 {
515 elder->CastSpell(elder, SPELL_DRAINED_OF_POWER, true);
516 elder->CastSpell(elder, SPELL_STONEBARK_ESSENCE, true);
517 elder->SetInCombatWithZone();
518
519 events.ScheduleEvent(EVENT_FREYA_GROUND_TREMOR, 35s);
520 _elderGUID[0] = elder->GetGUID();
521 }
522
524 if (elder && elder->IsAlive())
525 {
526 elder->CastSpell(elder, SPELL_DRAINED_OF_POWER, true);
527 elder->CastSpell(elder, SPELL_IRONBRANCH_ESSENCE, true);
528 elder->SetInCombatWithZone();
529
530 events.ScheduleEvent(EVENT_FREYA_IRON_ROOT, 20s);
531 _elderGUID[1] = elder->GetGUID();
532 }
533
535 if (elder && elder->IsAlive())
536 {
537 elder->CastSpell(elder, SPELL_DRAINED_OF_POWER, true);
538 elder->CastSpell(elder, SPELL_BRIGHTLEAF_ESSENCE, true);
539 elder->SetInCombatWithZone();
540
541 events.ScheduleEvent(EVENT_FREYA_UNSTABLE_SUN_BEAM, 1min);
542 _elderGUID[2] = elder->GetGUID();
543 }
544
545 if (_elderGUID[0] || _elderGUID[1] || _elderGUID[2])
546 {
548 }
549 else
550 {
552 }
553 }
@ NPC_ELDER_BRIGHTLEAF
Definition: ulduar.h:137
@ NPC_ELDER_IRONBRANCH
Definition: ulduar.h:139
@ NPC_ELDER_STONEBARK
Definition: ulduar.h:138
@ EVENT_PHASE_ADDS
Definition: boss_freya.cpp:237
#define SPELL_TOUCH_OF_EONAR
Definition: boss_freya.cpp:132
@ EVENT_FREYA_LIFEBINDER
Definition: boss_freya.cpp:151
@ EVENT_FREYA_ADDS_SPAM
Definition: boss_freya.cpp:150
@ EVENT_FREYA_BERSERK
Definition: boss_freya.cpp:154
@ EVENT_FREYA_SUNBEAM
Definition: boss_freya.cpp:153
@ EVENT_FREYA_GROUND_TREMOR
Definition: boss_freya.cpp:156
@ EVENT_FREYA_UNSTABLE_SUN_BEAM
Definition: boss_freya.cpp:158
@ EVENT_FREYA_IRON_ROOT
Definition: boss_freya.cpp:157
@ SAY_AGGRO_WITH_ELDER
Definition: boss_freya.cpp:196
@ SAY_AGGRO
Definition: boss_freya.cpp:195
@ SPELL_IRONBRANCH_ESSENCE
Definition: boss_freya.cpp:62
@ SPELL_DRAINED_OF_POWER
Definition: boss_freya.cpp:60
@ SPELL_BRIGHTLEAF_ESSENCE
Definition: boss_freya.cpp:63
@ SPELL_STONEBARK_ESSENCE
Definition: boss_freya.cpp:61
@ IN_PROGRESS
Definition: InstanceScript.h:58
void SetInCombatWithZone()
Set in combat all units in the dungeon/raid. Affect only units with IsAIEnabled.
Definition: Creature.cpp:2811
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:112
void setActive(bool isActiveObject)
Definition: Object.cpp:1094
Aura * AddAura(uint32 spellId, Unit *target)
Definition: Unit.cpp:18863
ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:98

References _elderGUID, Unit::AddAura(), Unit::CastSpell(), DONE, EVENT_FREYA_ADDS_SPAM, EVENT_FREYA_BERSERK, EVENT_FREYA_GROUND_TREMOR, EVENT_FREYA_IRON_ROOT, EVENT_FREYA_LIFEBINDER, EVENT_FREYA_SUNBEAM, EVENT_FREYA_UNSTABLE_SUN_BEAM, EVENT_PHASE_ADDS, ObjectAccessor::GetCreature(), ZoneScript::GetData(), Object::GetGUID(), InstanceScript::GetGuidData(), IN_PROGRESS, Unit::IsAlive(), m_pInstance, ScriptedAI::me, NPC_ELDER_BRIGHTLEAF, NPC_ELDER_IRONBRANCH, NPC_ELDER_STONEBARK, SAY_AGGRO, SAY_AGGRO_WITH_ELDER, WorldObject::setActive(), ZoneScript::SetData(), Creature::SetInCombatWithZone(), SPELL_ATTUNED_TO_NATURE, SPELL_BRIGHTLEAF_ESSENCE, SPELL_DRAINED_OF_POWER, SPELL_IRONBRANCH_ESSENCE, SPELL_STONEBARK_ESSENCE, SPELL_TOUCH_OF_EONAR, and TYPE_FREYA.

◆ JustReachedHome()

void boss_freya::boss_freyaAI::JustReachedHome ( )
inlineoverridevirtual

Reimplemented from CreatureAI.

489{ me->setActive(false); }

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

◆ JustSummoned()

void boss_freya::boss_freyaAI::JustSummoned ( Creature cr)
inlineoverridevirtual

Reimplemented from ScriptedAI.

381 {
383 {
386 }
387 summons.Summon(cr);
388 }
@ NPC_FREYA_UNSTABLE_SUN_BEAM
Definition: boss_freya.cpp:213
@ SPELL_UNSTABLE_SUN_VISUAL
Definition: boss_freya.cpp:57
#define SPELL_UNSTABLE_SUN_FREYA_DAMAGE
Definition: boss_freya.cpp:143
void Summon(Creature const *summon)
Definition: ScriptedCreature.h:88
uint32 GetEntry() const
Definition: Object.h:115

References Unit::CastSpell(), Object::GetEntry(), NPC_FREYA_UNSTABLE_SUN_BEAM, SPELL_UNSTABLE_SUN_FREYA_DAMAGE, SPELL_UNSTABLE_SUN_VISUAL, SummonList::Summon(), and summons.

◆ KilledUnit()

void boss_freya::boss_freyaAI::KilledUnit ( Unit victim)
inlineoverridevirtual

Reimplemented from ScriptedAI.

309 {
310 if (!victim->IsPlayer() || urand(0, 2))
311 return;
312
313 Talk(SAY_SLAY);
314 }
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:44
@ SAY_SLAY
Definition: boss_freya.cpp:197
bool IsPlayer() const
Definition: Object.h:200

References Object::IsPlayer(), SAY_SLAY, and urand().

◆ Reset()

void boss_freya::boss_freyaAI::Reset ( )
inlineoverridevirtual

Reimplemented from ScriptedAI.

281 {
284
285 events.Reset();
287
288 for (uint8 i = 0; i < 3; ++i)
289 {
290 if (!_elderGUID[i])
291 continue;
292
294 elder->AI()->EnterEvadeMode();
295
296 _elderGUID[i].Clear();
297 }
298
299 _lumberjacked = 0;
300 _spawnedAmount = 0;
301 _trioKilled = 0;
302 _waveNumber = urand(1, 3);
303 _respawningTrio = false;
304 _backToNature = true;
305 _deforestation = 0;
306 }
@ NOT_STARTED
Definition: InstanceScript.h:57
void Clear()
Definition: ObjectGuid.h:138
uint8 _spawnedAmount
Definition: boss_freya.cpp:272
uint8 _waveNumber
Definition: boss_freya.cpp:270

References _backToNature, _deforestation, _elderGUID, _lumberjacked, _respawningTrio, _spawnedAmount, _trioKilled, _waveNumber, ObjectGuid::Clear(), SummonList::DespawnAll(), DONE, ObjectAccessor::GetCreature(), ZoneScript::GetData(), m_pInstance, ScriptedAI::me, NOT_STARTED, ZoneScript::SetData(), summons, TYPE_FREYA, and urand().

◆ SpawnWave()

void boss_freya::boss_freyaAI::SpawnWave ( )
inline
391 {
392 _waveNumber = _waveNumber == 1 ? 3 : _waveNumber - 1;
394
395 // Wave of three
396 if (_waveNumber == 1)
397 {
402 }
403 // Ancient Conservator
404 else if (_waveNumber == 2)
405 {
408 }
409 // Detonating Lashers
410 else if (_waveNumber == 3)
411 {
413 for (uint8 i = 0; i < 10; ++i)
415 }
416 }
@ NPC_ANCIENT_WATER_SPIRIT
Definition: boss_freya.cpp:218
@ NPC_STORM_LASHER
Definition: boss_freya.cpp:217
@ NPC_DETONATING_LASHER
Definition: boss_freya.cpp:226
@ NPC_ANCIENT_CONSERVATOR
Definition: boss_freya.cpp:222
@ NPC_SNAPLASHER
Definition: boss_freya.cpp:219
@ SAY_SUMMON_CONSERVATOR
Definition: boss_freya.cpp:200
@ SAY_SUMMON_TRIO
Definition: boss_freya.cpp:201
@ SAY_SUMMON_LASHERS
Definition: boss_freya.cpp:202
@ EMOTE_ALLIES_OF_NATURE
Definition: boss_freya.cpp:204
@ TEMPSUMMON_CORPSE_DESPAWN
Definition: Object.h:50
TempSummon * SummonCreature(uint32 id, const Position &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0, SummonPropertiesEntry const *properties=nullptr, bool visibleBySummonerOnly=false) const
Definition: Object.cpp:2366
float GetMapHeight(float x, float y, float z, bool vmap=true, float distanceToSearch=50.0f) const
Definition: Object.cpp:3131
float GetPositionZ() const
Definition: Position.h:118
float GetPositionY() const
Definition: Position.h:117

References _waveNumber, EMOTE_ALLIES_OF_NATURE, WorldObject::GetMapHeight(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), ScriptedAI::me, NPC_ANCIENT_CONSERVATOR, NPC_ANCIENT_WATER_SPIRIT, NPC_DETONATING_LASHER, NPC_SNAPLASHER, NPC_STORM_LASHER, SAY_SUMMON_CONSERVATOR, SAY_SUMMON_LASHERS, SAY_SUMMON_TRIO, WorldObject::SummonCreature(), TEMPSUMMON_CORPSE_DESPAWN, and urand().

Referenced by UpdateAI().

◆ SpellHit()

void boss_freya::boss_freyaAI::SpellHit ( Unit ,
SpellInfo const *  spellInfo 
)
inlineoverridevirtual

Reimplemented from ScriptedAI.

372 {
373 if (spellInfo->Id == SPELL_TELEPORT)
374 {
377 }
378 }
@ EVENT_KEEPER_TELEPORTED
Definition: ulduar.h:296
void DespawnOrUnsummon(Milliseconds msTimeToDespawn, Seconds forcedRespawnTimer)
Definition: Creature.cpp:2178

References Creature::DespawnOrUnsummon(), DONE, EVENT_KEEPER_TELEPORTED, SpellInfo::Id, m_pInstance, ScriptedAI::me, ZoneScript::SetData(), and SPELL_TELEPORT.

◆ SpellHitTarget()

void boss_freya::boss_freyaAI::SpellHitTarget ( Unit target,
SpellInfo const *  spell 
)
inlineoverridevirtual

Reimplemented from ScriptedAI.

556 {
557 if (spell->Id == SPELL_NATURE_BOMB_FLIGHT)
558 me->SummonCreature(NPC_NATURE_BOMB, target->GetPositionX(), target->GetPositionY(), target->GetPositionZ());
559 }
@ NPC_NATURE_BOMB
Definition: boss_freya.cpp:211
@ SPELL_NATURE_BOMB_FLIGHT
Definition: boss_freya.cpp:42

References Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), SpellInfo::Id, ScriptedAI::me, NPC_NATURE_BOMB, SPELL_NATURE_BOMB_FLIGHT, and WorldObject::SummonCreature().

◆ UpdateAI()

void boss_freya::boss_freyaAI::UpdateAI ( uint32  )
inlineoverridevirtual

Use to start attacking a target. Called just before JustEngagedWith()

Reimplemented from ScriptedAI.

562 {
563 scheduler.Update(diff);
564 if (!UpdateVictim())
565 return;
566
567 events.Update(diff);
569 return;
570
571 switch (events.ExecuteEvent())
572 {
574 if (_spawnedAmount < 6)
575 SpawnWave();
577 {
579 events.ScheduleEvent(EVENT_FREYA_NATURE_BOMB, 5s);
580 events.SetPhase(EVENT_PHASE_FINAL);
581 return;
582 }
584 events.Repeat(1min);
585 break;
587 {
589 events.Repeat(45s);
590 float x, y, z;
591 for (uint8 i = 0; i < 10; ++i)
592 {
593 x = me->GetPositionX() + urand(7, 25);
594 y = me->GetPositionY() + urand(7, 25);
595 z = me->GetMapHeight(x, y, me->GetPositionZ());
596 if (me->IsWithinLOS(x, y, z))
597 {
598 me->CastSpell(x, y, z, SPELL_SUMMON_LIFEBINDER, true);
599 return;
600 }
601 }
602
604 break;
605 }
607 if (Unit* target = SelectTarget(SelectTargetMethod::Random))
608 me->CastSpell(target, SPELL_SUNBEAM, false);
609 events.Repeat(15s, 20s);
610 break;
612 _deforestation = 0;
613 _respawningTrio = false;
614 if (_trioKilled < 3)
616
617 _trioKilled = 0;
618 break;
620 {
621 uint8 _minCount = me->GetMap()->Is25ManRaid() ? urand(7, 10) : urand(3, 4);
622 Map::PlayerList const& pList = me->GetMap()->GetPlayers();
623 for(Map::PlayerList::const_iterator itr = pList.begin(); itr != pList.end(); ++itr)
624 {
625 if (me->GetDistance(itr->GetSource()) > 70 || !itr->GetSource()->IsAlive())
626 continue;
627
628 me->CastSpell(itr->GetSource(), SPELL_NATURE_BOMB_FLIGHT, true);
629
630 if (!(--_minCount))
631 break;
632 }
633 events.Repeat(18s);
634 break;
635 }
638 me->CastSpell(me, SPELL_BERSERK, true);
639 break;
643 events.Repeat(25s, 35s);
644 break;
648 events.Repeat(45s, 55s);
649 break;
652 if (Is25ManRaid())
653 {
656 }
657 events.Repeat(38s, 48s);
658 break;
659 }
660
662 }
#define SPELL_GROUND_TREMOR_FREYA
Definition: boss_freya.cpp:141
@ EMOTE_IRON_ROOTS
Definition: boss_freya.cpp:206
@ EMOTE_GROUND_TREMOR
Definition: boss_freya.cpp:205
@ EMOTE_LIFEBINDERS_GIFT
Definition: boss_freya.cpp:203
@ SAY_BERSERK
Definition: boss_freya.cpp:199
@ SPELL_BERSERK
Definition: boss_freya.cpp:46
@ SPELL_SUMMON_LIFEBINDER
Definition: boss_freya.cpp:39
#define SPELL_SUNBEAM
Definition: boss_freya.cpp:140
#define SPELL_IRON_ROOTS_FREYA
Definition: boss_freya.cpp:142
@ SPELLVALUE_MAX_TARGETS
Definition: SpellDefines.h:117
@ TEMPSUMMON_TIMED_DESPAWN
Definition: Object.h:48
@ UNIT_STATE_CASTING
Definition: UnitDefines.h:164
Definition: LinkedList.h:139
TaskScheduler & Update(success_t const &callback=EmptyCallback)
Definition: TaskScheduler.cpp:27
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:39
Unit * SelectTarget(SelectTargetMethod targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
Definition: UnitAI.cpp:110
bool UpdateVictim()
Definition: CreatureAI.cpp:280
void DoAction(int32 info, uint16 max=0)
Definition: ScriptedCreature.h:102
bool Is25ManRaid() const
Definition: ScriptedCreature.h:385
bool IsWithinLOS(float x, float y, float z, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS) const
Definition: Object.cpp:1337
float GetDistance(WorldObject const *obj) const
Definition: Object.cpp:1256
Definition: Unit.h:630
void RemoveAura(AuraApplicationMap::iterator &i, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:4776
SpellCastResult CastCustomSpell(Unit *victim, uint32 spellId, int32 const *bp0, int32 const *bp1, int32 const *bp2, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1224
bool HasUnitState(const uint32 f) const
Definition: Unit.h:701
bool Is25ManRaid() const
Definition: Map.h:451
PlayerList const & GetPlayers() const
Definition: Map.h:484
Definition: MapRefMgr.h:26
iterator begin()
Definition: MapRefMgr.h:36
iterator end()
Definition: MapRefMgr.h:37
void SpawnWave()
Definition: boss_freya.cpp:390

References _deforestation, _respawningTrio, _spawnedAmount, _trioKilled, ACTION_RESPAWN_TRIO, MapRefMgr::begin(), Unit::CastCustomSpell(), Unit::CastSpell(), SummonList::DoAction(), UnitAI::DoMeleeAttackIfReady(), EMOTE_GROUND_TREMOR, EMOTE_IRON_ROOTS, EMOTE_LIFEBINDERS_GIFT, MapRefMgr::end(), EVENT_FREYA_ADDS_SPAM, EVENT_FREYA_BERSERK, EVENT_FREYA_GROUND_TREMOR, EVENT_FREYA_IRON_ROOT, EVENT_FREYA_LIFEBINDER, EVENT_FREYA_NATURE_BOMB, EVENT_FREYA_RESPAWN_TRIO, EVENT_FREYA_SUNBEAM, EVENT_FREYA_UNSTABLE_SUN_BEAM, EVENT_PHASE_FINAL, Unit::GetAura(), WorldObject::GetDistance(), WorldObject::GetMap(), WorldObject::GetMapHeight(), Map::GetPlayers(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Unit::HasUnitState(), ScriptedAI::Is25ManRaid(), Map::Is25ManRaid(), WorldObject::IsWithinLOS(), ScriptedAI::me, NPC_FREYA_UNSTABLE_SUN_BEAM, Unit::RemoveAura(), SAY_BERSERK, CreatureAI::scheduler, UnitAI::SelectTarget(), SpawnWave(), SPELL_ATTUNED_TO_NATURE, SPELL_BERSERK, SPELL_GROUND_TREMOR_FREYA, SPELL_IRON_ROOTS_FREYA, SPELL_NATURE_BOMB_FLIGHT, SPELL_SUMMON_LIFEBINDER, SPELL_SUNBEAM, SPELLVALUE_MAX_TARGETS, WorldObject::SummonCreature(), summons, TEMPSUMMON_TIMED_DESPAWN, UNIT_STATE_CASTING, TaskScheduler::Update(), CreatureAI::UpdateVictim(), and urand().

Member Data Documentation

◆ _backToNature

bool boss_freya::boss_freyaAI::_backToNature

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

◆ _deforestation

uint8 boss_freya::boss_freyaAI::_deforestation

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

◆ _elderGUID

ObjectGuid boss_freya::boss_freyaAI::_elderGUID[3]

◆ _lumberjacked

uint8 boss_freya::boss_freyaAI::_lumberjacked

Referenced by DoAction(), and Reset().

◆ _respawningTrio

bool boss_freya::boss_freyaAI::_respawningTrio

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

◆ _spawnedAmount

uint8 boss_freya::boss_freyaAI::_spawnedAmount

Referenced by Reset(), and UpdateAI().

◆ _trioKilled

uint8 boss_freya::boss_freyaAI::_trioKilled

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

◆ _waveNumber

uint8 boss_freya::boss_freyaAI::_waveNumber

Referenced by Reset(), and SpawnWave().

◆ events

EventMap boss_freya::boss_freyaAI::events

◆ m_pInstance

InstanceScript* boss_freya::boss_freyaAI::m_pInstance

◆ summons

SummonList boss_freya::boss_freyaAI::summons