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

Public Member Functions

 boss_kiljaedenAI (Creature *creature)
 
void InitializeAI () override
 
void Reset () override
 
void EnterEvadeMode (EvadeReason why) override
 
void AttackStart (Unit *who) override
 
void DamageTaken (Unit *, uint32 &damage, DamageEffectType, SpellSchoolMask) override
 
void JustDied (Unit *) override
 
void DoAction (int32 param) override
 
void KilledUnit (Unit *victim) override
 
void JustEngagedWith (Unit *) override
 Called for reaction when initially engaged.
 
void JustSummoned (Creature *summon) override
 
void UpdateAI (uint32 diff) override
 
void EmpowerOrb (bool empowerAll)
 
- 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 JustEngagedWith (Unit *) override
 Called for reaction when initially engaged.
 
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 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)
 
void SetCombatMovement (bool allowMovement)
 
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, Milliseconds delay=0s)
 Causes the creature to talk/say the text assigned to their entry in the creature_text database table.
 
void Talk (uint8 id, Milliseconds delay)
 
 CreatureAI (Creature *creature)
 
 ~CreatureAI () override
 
void MoveCircleChecks ()
 
void MoveBackwardsChecks ()
 
void MoveInLineOfSight_Safe (Unit *who)
 == Reactions At =================================
 
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.
 
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 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 ==================
 
virtual void PassengerBoarded (Unit *, int8, bool)
 == Fields =======================================
 
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, 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)
 
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 (NOTE: Creature engage logic should NOT be here, but in JustEngagedWith, which happens once threat is established!)
 
virtual void JustExitedCombat ()
 Called when the unit leaves combat.
 
virtual void DamageDealt (Unit *, uint32 &, DamageEffectType)
 
virtual void DamageTaken (Unit *, uint32 &, DamageEffectType, SpellSchoolMask)
 
virtual void HealReceived (Unit *, uint32 &)
 
virtual void OnPowerUpdate (Powers, int32, int32, uint32)
 
virtual void HealDone (Unit *, uint32 &)
 
virtual void OnCalculateMeleeDamageReceived (uint32 &, Unit *)
 
virtual void OnCalculateSpellDamageReceived (int32 &, Unit *)
 
virtual void OnCalculatePeriodicTickReceived (uint32 &, Unit *)
 
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)
 
SpellCastResult DoCastMaxThreat (uint32 spellId, uint32 threatTablePosition=0, float dist=0.0f, bool playerOnly=true, bool triggered=false)
 Cast spell on the max threat target, which may not always be the current victim.
 
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

InstanceScriptinstance
 
EventMap events
 
EventMap events2
 
uint8 phase
 
- 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
 
TaskScheduler scheduler
 
CreatureBoundary const * _boundary
 
bool _negateBoundary
 
- Protected Attributes inherited from UnitAI
Unit *const me
 

Detailed Description

Constructor & Destructor Documentation

◆ boss_kiljaedenAI()

boss_kiljaeden::boss_kiljaedenAI::boss_kiljaedenAI ( Creature creature)
inline
283 : ScriptedAI(creature)
284 {
285 instance = creature->GetInstanceScript();
287 }
@ REACT_PASSIVE
Definition: Unit.h:1035
Definition: ScriptedCreature.h:192
Creature * me
Definition: ScriptedCreature.h:282
void SetReactState(ReactStates st)
Definition: Creature.h:90
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1192
InstanceScript * instance
Definition: boss_kiljaeden.cpp:289

References WorldObject::GetInstanceScript(), instance, ScriptedAI::me, REACT_PASSIVE, and Creature::SetReactState().

Member Function Documentation

◆ AttackStart()

void boss_kiljaeden::boss_kiljaedenAI::AttackStart ( Unit who)
inlineoverridevirtual

Reimplemented from ScriptedAI.

320 {
322 return;
324 }
void AttackStart(Unit *) override
Definition: ScriptedCreature.cpp:210
ReactStates GetReactState() const
Definition: Creature.h:91

References ScriptedAI::AttackStart(), Creature::GetReactState(), ScriptedAI::me, and REACT_PASSIVE.

◆ DamageTaken()

void boss_kiljaeden::boss_kiljaedenAI::DamageTaken ( Unit ,
uint32 damage,
DamageEffectType  ,
SpellSchoolMask   
)
inlineoverridevirtual

Reimplemented from ScriptedAI.

327 {
328 if (damage >= me->GetHealth())
329 {
330 me->SetTarget();
338 events.Reset();
339 events2.Reset();
341 damage = 0;
342 }
343 }
@ UNIT_FLAG_NON_ATTACKABLE
Definition: Unit.h:449
@ EVENT_KILL_SELF
Definition: boss_kiljaeden.cpp:130
events
Definition: boss_sartura.cpp:43
@ EMOTE_ONESHOT_DROWN
Definition: SharedDefines.h:1982
void ScheduleEvent(uint32 eventId, uint32 time, uint32 group=0, uint32 phase=0)
Definition: EventMap.cpp:56
void Reset()
Definition: EventMap.cpp:21
void ClearAllThreat()
Definition: ThreatMgr.cpp:417
void SetRegeneratingHealth(bool c)
Definition: Creature.h:312
void SetTarget(ObjectGuid guid=ObjectGuid::Empty) override
Definition: Creature.cpp:3441
uint32 GetHealth() const
Definition: Unit.h:1454
void RemoveAllAuras()
Definition: Unit.cpp:5259
ThreatMgr & GetThreatMgr()
Definition: Unit.h:2159
void SetUnitFlag(UnitFlags flags)
Definition: Unit.h:1495
void HandleEmoteCommand(uint32 emoteId)
Definition: Unit.cpp:1980
void resetAttackTimer(WeaponAttackType type=BASE_ATTACK)
Definition: Unit.cpp:661
EventMap events2
Definition: boss_kiljaeden.cpp:291

References ThreatMgr::ClearAllThreat(), EMOTE_ONESHOT_DROWN, EVENT_KILL_SELF, events2, Unit::GetHealth(), Unit::GetThreatMgr(), Unit::HandleEmoteCommand(), ScriptedAI::me, REACT_PASSIVE, Unit::RemoveAllAuras(), EventMap::Reset(), Unit::resetAttackTimer(), EventMap::ScheduleEvent(), Creature::SetReactState(), Creature::SetRegeneratingHealth(), Creature::SetTarget(), Unit::SetUnitFlag(), and UNIT_FLAG_NON_ATTACKABLE.

◆ DoAction()

void boss_kiljaeden::boss_kiljaedenAI::DoAction ( int32  param)
inlineoverridevirtual

Reimplemented from UnitAI.

354 {
355 if (param == ACTION_NO_KILL_TALK)
356 {
357 events.ScheduleEvent(EVENT_NO_KILL_TALK, 0);
359 }
360 }
@ EVENT_NO_KILL_TALK
Definition: boss_kiljaeden.cpp:131
@ ACTION_NO_KILL_TALK
Definition: boss_kiljaeden.cpp:99
@ SAY_KJ_DARKNESS
Definition: boss_kiljaeden.cpp:44
Talk
Definition: boss_fathomlord_karathress.cpp:25

References ACTION_NO_KILL_TALK, EVENT_NO_KILL_TALK, and SAY_KJ_DARKNESS.

◆ EmpowerOrb()

void boss_kiljaeden::boss_kiljaedenAI::EmpowerOrb ( bool  empowerAll)
inline
642 {
643 for (uint8 i = 0; i < 4; ++i)
644 {
646 {
647 if (orb->HasGameObjectFlag(GO_FLAG_NOT_SELECTABLE))
648 {
649 orb->RemoveGameObjectFlag(GO_FLAG_NOT_SELECTABLE);
650 if (Creature* trigger = me->SummonTrigger(orb->GetPositionX(), orb->GetPositionY(), orb->GetPositionZ(), 0, 10 * MINUTE * IN_MILLISECONDS))
651 {
652 trigger->CastSpell(trigger, SPELL_RING_OF_BLUE_FLAMES, true, nullptr, nullptr, trigger->GetGUID());
654 controller->AI()->JustSummoned(trigger);
655 }
656
657 if (!empowerAll)
658 break;
659 }
660 }
661 }
662 }
constexpr auto IN_MILLISECONDS
Definition: Common.h:55
constexpr auto MINUTE
Definition: Common.h:49
std::uint8_t uint8
Definition: Define.h:110
@ SPELL_RING_OF_BLUE_FLAMES
Definition: boss_kiljaeden.cpp:82
@ NPC_KILJAEDEN_CONTROLLER
Definition: sunwell_plateau.h:73
@ DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_1
Definition: sunwell_plateau.h:45
@ GO_FLAG_NOT_SELECTABLE
Definition: SharedDefines.h:1607
GameObject * GetGameObject(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:187
Creature * GetCreature(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:213
Definition: Creature.h:46
Definition: GameObject.h:122
Creature * SummonTrigger(float x, float y, float z, float ang, uint32 dur, bool setLevel=false, CreatureAI *(*GetAI)(Creature *)=nullptr)
Definition: Object.cpp:2392
ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:94

References DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_1, ObjectAccessor::GetCreature(), ObjectAccessor::GetGameObject(), InstanceScript::GetGuidData(), GO_FLAG_NOT_SELECTABLE, IN_MILLISECONDS, instance, ScriptedAI::me, MINUTE, NPC_KILJAEDEN_CONTROLLER, SPELL_RING_OF_BLUE_FLAMES, and WorldObject::SummonTrigger().

Referenced by UpdateAI().

◆ EnterEvadeMode()

void boss_kiljaeden::boss_kiljaedenAI::EnterEvadeMode ( EvadeReason  why)
inlineoverridevirtual

Reimplemented from CreatureAI.

313 {
315 return;
317 }
virtual void EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
Definition: CreatureAI.cpp:196

References CreatureAI::EnterEvadeMode(), Creature::GetReactState(), ScriptedAI::me, and REACT_PASSIVE.

◆ InitializeAI()

void boss_kiljaeden::boss_kiljaedenAI::InitializeAI ( )
inlineoverridevirtual

Reimplemented from UnitAI.

295 {
298
300 events.Reset();
301 events2.Reset();
304 me->SetVisible(false);
305 }
@ UNIT_FLAG_NOT_SELECTABLE
Definition: Unit.h:473
@ EVENT_INIT_FIGHT
Definition: boss_kiljaeden.cpp:122
@ PHASE_NORMAL
Definition: boss_kiljaeden.cpp:92
@ EVENT_REBIRTH
Definition: boss_kiljaeden.cpp:121
phase
Definition: boss_skadi.cpp:103
virtual void InitializeAI()
Definition: UnitAI.h:193
void SetVisible(bool x)
Definition: Unit.cpp:14220

References EVENT_INIT_FIGHT, EVENT_REBIRTH, events2, UnitAI::InitializeAI(), ScriptedAI::me, PHASE_NORMAL, EventMap::Reset(), EventMap::ScheduleEvent(), Unit::SetUnitFlag(), Unit::SetVisible(), and UNIT_FLAG_NOT_SELECTABLE.

◆ JustDied()

void boss_kiljaeden::boss_kiljaedenAI::JustDied ( Unit )
inlineoverridevirtual

Reimplemented from ScriptedAI.

346 {
350 Unit::Kill(controller, controller);
351 }
@ DONE
Definition: InstanceScript.h:60
@ SAY_KJ_DEATH
Definition: boss_kiljaeden.cpp:40
@ DATA_KILJAEDEN
Definition: sunwell_plateau.h:41
static void Kill(Unit *killer, Unit *victim, bool durabilityLoss=true, WeaponAttackType attackType=BASE_ATTACK, SpellInfo const *spellProto=nullptr, Spell const *spell=nullptr)
Definition: Unit.cpp:17956
virtual bool SetBossState(uint32 id, EncounterState state)
Definition: InstanceScript.cpp:350

References DATA_KILJAEDEN, DONE, ObjectAccessor::GetCreature(), InstanceScript::GetGuidData(), instance, Unit::Kill(), ScriptedAI::me, NPC_KILJAEDEN_CONTROLLER, SAY_KJ_DEATH, and InstanceScript::SetBossState().

◆ JustEngagedWith()

void boss_kiljaeden::boss_kiljaedenAI::JustEngagedWith ( Unit )
inlineoverridevirtual

Called for reaction when initially engaged.

Reimplemented from ScriptedAI.

369 {
372
373 events.SetTimer(200000);
374 events.ScheduleEvent(EVENT_CHECK_HEALTH85, 1000);
375 events.ScheduleEvent(EVENT_CHECK_HEALTH55, 1000);
376 events.ScheduleEvent(EVENT_CHECK_HEALTH25, 1000);
377 events.ScheduleEvent(EVENT_SPELL_SOUL_FLAY, 0);
378 events.ScheduleEvent(EVENT_SPELL_LEGION_LIGHTNING, 7000);
379 events.ScheduleEvent(EVENT_SPELL_FIRE_BLOOM, 9000);
380 events.ScheduleEvent(EVENT_SUMMON_ORBS, 10000);
381 }
@ EVENT_SPELL_FIRE_BLOOM
Definition: boss_kiljaeden.cpp:136
@ EVENT_CHECK_HEALTH85
Definition: boss_kiljaeden.cpp:123
@ EVENT_CHECK_HEALTH55
Definition: boss_kiljaeden.cpp:124
@ EVENT_SPELL_SOUL_FLAY
Definition: boss_kiljaeden.cpp:134
@ EVENT_CHECK_HEALTH25
Definition: boss_kiljaeden.cpp:125
@ EVENT_GROUP_SPEACH
Definition: boss_kiljaeden.cpp:97
@ EVENT_SPELL_LEGION_LIGHTNING
Definition: boss_kiljaeden.cpp:135
@ EVENT_TEXT_SPEACH11
Definition: boss_kiljaeden.cpp:102
@ EVENT_SUMMON_ORBS
Definition: boss_kiljaeden.cpp:137
@ SAY_KJ_EMERGE
Definition: boss_kiljaeden.cpp:43

References EVENT_CHECK_HEALTH25, EVENT_CHECK_HEALTH55, EVENT_CHECK_HEALTH85, EVENT_GROUP_SPEACH, EVENT_SPELL_FIRE_BLOOM, EVENT_SPELL_LEGION_LIGHTNING, EVENT_SPELL_SOUL_FLAY, EVENT_SUMMON_ORBS, EVENT_TEXT_SPEACH11, events2, SAY_KJ_EMERGE, and EventMap::ScheduleEvent().

◆ JustSummoned()

void boss_kiljaeden::boss_kiljaedenAI::JustSummoned ( Creature summon)
inlineoverridevirtual

Reimplemented from ScriptedAI.

384 {
385 if (summon->GetEntry() == NPC_ARMAGEDDON_TARGET)
386 {
387 summon->SetCanFly(true);
388 summon->SetDisableGravity(true);
389 summon->CastSpell(summon, SPELL_ARMAGEDDON_VISUAL, true);
390 summon->SetPosition(summon->GetPositionX(), summon->GetPositionY(), summon->GetPositionZ() + 20.0f, 0.0f);
391 summon->m_Events.AddEvent(new CastArmageddon(summon), summon->m_Events.CalculateTime(6000));
392 summon->DespawnOrUnsummon(10000);
393 }
394 }
@ SPELL_ARMAGEDDON_VISUAL
Definition: boss_kiljaeden.cpp:70
@ NPC_ARMAGEDDON_TARGET
Definition: sunwell_plateau.h:82
void AddEvent(BasicEvent *Event, uint64 e_time, bool set_addtime=true)
Definition: EventProcessor.h:104
uint64 CalculateTime(uint64 t_offset) const
Definition: EventProcessor.cpp:159
bool SetDisableGravity(bool disable, bool packetOnly=false, bool updateAnimationTier=true) override
Definition: Creature.cpp:3109
void SetPosition(float x, float y, float z, float o)
Definition: Creature.cpp:3072
bool SetCanFly(bool enable, bool packetOnly=false) override
Definition: Creature.cpp:3194
void DespawnOrUnsummon(Milliseconds msTimeToDespawn, Seconds forcedRespawnTimer)
Definition: Creature.cpp:2117
uint32 GetEntry() const
Definition: Object.h:109
float GetPositionZ() const
Definition: Position.h:119
float GetPositionX() const
Definition: Position.h:117
float GetPositionY() const
Definition: Position.h:118
EventProcessor m_Events
Definition: Unit.h:2108
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:1169
Definition: boss_kiljaeden.cpp:146

References EventProcessor::AddEvent(), EventProcessor::CalculateTime(), Unit::CastSpell(), Creature::DespawnOrUnsummon(), Object::GetEntry(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Unit::m_Events, NPC_ARMAGEDDON_TARGET, Creature::SetCanFly(), Creature::SetDisableGravity(), Creature::SetPosition(), and SPELL_ARMAGEDDON_VISUAL.

◆ KilledUnit()

void boss_kiljaeden::boss_kiljaedenAI::KilledUnit ( Unit victim)
inlineoverridevirtual

Reimplemented from ScriptedAI.

363 {
364 if (victim->GetTypeId() == TYPEID_PLAYER && events.GetNextEventTime(EVENT_NO_KILL_TALK) == 0)
366 }
@ TYPEID_PLAYER
Definition: ObjectGuid.h:38
@ SAY_KJ_SLAY
Definition: boss_kiljaeden.cpp:41
TypeID GetTypeId() const
Definition: Object.h:121

References EVENT_NO_KILL_TALK, Object::GetTypeId(), SAY_KJ_SLAY, and TYPEID_PLAYER.

◆ Reset()

void boss_kiljaeden::boss_kiljaedenAI::Reset ( )
inlineoverridevirtual

Reimplemented from ScriptedAI.

308 {
309 events.Reset();
310 }

◆ UpdateAI()

void boss_kiljaeden::boss_kiljaedenAI::UpdateAI ( uint32  diff)
inlineoverridevirtual

Reimplemented from ScriptedAI.

397 {
398 events2.Update(diff);
399 switch (events2.ExecuteEvent())
400 {
401 case EVENT_KILL_SELF:
402 me->KillSelf();
403 break;
404 case EVENT_REBIRTH:
405 me->SetVisible(true);
406 me->CastSpell(me, SPELL_REBIRTH, false);
407 break;
410 kalec->AI()->Talk(SAY_KALECGOS_READY1);
411 EmpowerOrb(false);
412 break;
415 kalec->AI()->Talk(SAY_KALECGOS_READY2);
416 EmpowerOrb(false);
417 break;
420 kalec->AI()->Talk(SAY_KALECGOS_READY_ALL);
421 EmpowerOrb(true);
422 break;
423 case EVENT_INIT_FIGHT:
427 return;
430 kalec->AI()->Talk(SAY_KALECGOS_JOIN);
431 break;
434 kalec->AI()->Talk(SAY_KALECGOS_AWAKEN);
435 break;
439 break;
442 break;
445 kalec->AI()->Talk(SAY_KALECGOS_LETGO);
446 break;
450 break;
453 break;
456 kalec->AI()->Talk(SAY_KALECGOS_FOCUS);
457 break;
461 break;
464 kalec->AI()->Talk(SAY_KALECGOS_FATE);
465 break;
469 break;
472 {
473 anveena->RemoveAllAuras();
474 anveena->DespawnOrUnsummon(3500);
475 }
476 break;
479 {
480 anveena->CastSpell(anveena, SPELL_SACRIFICE_OF_ANVEENA, true);
483 events.DelayEvents(7001);
485 }
487 break;
491 break;
492 }
493
495 return;
496
497 if (!UpdateVictim())
498 return;
499
500 events.Update(diff);
502 return;
503
504 switch (events.ExecuteEvent())
505 {
507 if (me->HealthBelowPct(85))
508 {
515
516 events.DelayEvents(2000);
517 events.ScheduleEvent(EVENT_SPELL_SINISTER_REFLECTION, 500);
518 events.ScheduleEvent(EVENT_SPELL_SHADOW_SPIKE, 1200);
519 events.ScheduleEvent(EVENT_SPELL_FLAME_DART, 3000);
520 events.RescheduleEvent(EVENT_SPELL_DARKNESS, 16000); // will be delayed by 29 secs
521 break;
522 }
523 events.ScheduleEvent(EVENT_CHECK_HEALTH85, 0);
524 break;
525
527 if (me->HealthBelowPct(55))
528 {
535
536 events.DelayEvents(2000);
537 events.ScheduleEvent(EVENT_SPELL_SINISTER_REFLECTION, 500);
538 events.ScheduleEvent(EVENT_SPELL_SHADOW_SPIKE, 1200);
539 events.RescheduleEvent(EVENT_SPELL_DARKNESS, 15000); // will be delayed by 29 secs
540 events.ScheduleEvent(EVENT_SPELL_ARMAGEDDON, 10000);
541 break;
542 }
543 events.ScheduleEvent(EVENT_CHECK_HEALTH55, 0);
544 break;
545
547 if (me->HealthBelowPct(25))
548 {
558
559 events.CancelEvent(EVENT_SUMMON_ORBS);
560 events.DelayEvents(4000);
561 events.ScheduleEvent(EVENT_SPELL_SINISTER_REFLECTION, 500);
562 events.ScheduleEvent(EVENT_SPELL_SHADOW_SPIKE, 1200);
563 events.RescheduleEvent(EVENT_SPELL_DARKNESS, 15000); // will be delayed by 29 secs
564 events.ScheduleEvent(EVENT_SPELL_ARMAGEDDON, 1500);
565 break;
566 }
567 events.ScheduleEvent(EVENT_CHECK_HEALTH25, 0);
568 break;
571 events.ScheduleEvent(EVENT_SPELL_SOUL_FLAY, urand(4000, 5000));
572 break;
574 if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0, 40.0f, true))
575 me->CastSpell(target, SPELL_LEGION_LIGHTNING, false);
576 events.ScheduleEvent(EVENT_SPELL_LEGION_LIGHTNING, phase == PHASE_SACRIFICE ? 15000 : 30000);
577 events.RescheduleEvent(EVENT_SPELL_SOUL_FLAY, 2000);
578 break;
582 events.ScheduleEvent(EVENT_SPELL_FIRE_BLOOM, phase == PHASE_SACRIFICE ? 20000 : 40000);
583 events.RescheduleEvent(EVENT_SPELL_SOUL_FLAY, 1500);
584 break;
586 for (uint8 i = 1; i < phase; ++i)
587 {
588 float x = me->GetPositionX() + 18.0f * cos((i * 2.0f - 1.0f) * M_PI / 3.0f);
589 float y = me->GetPositionY() + 18.0f * std::sin((i * 2.0f - 1.0f) * M_PI / 3.0f);
591 {
592 Movement::PointsArray movementArray;
593 movementArray.push_back(G3D::Vector3(x, y, 40.0f));
594
595 // generate movement array
596 for (uint8 j = 1; j < 20; ++j)
597 {
598 x = me->GetPositionX() + 18.0f * cos(((i * 2.0f - 1.0f) * M_PI / 3.0f) + (j / 20.0f * 2 * M_PI));
599 y = me->GetPositionY() + 18.0f * std::sin(((i * 2.0f - 1.0f) * M_PI / 3.0f) + (j / 20.0f * 2 * M_PI));
600 movementArray.push_back(G3D::Vector3(x, y, 40.0f));
601 }
602
603 Movement::MoveSplineInit init(orb);
604 init.MovebyPath(movementArray);
605 init.SetCyclic();
606 init.Launch();
607 }
608 }
609 events.ScheduleEvent(EVENT_SUMMON_ORBS, 40000);
610 break;
612 events.DelayEvents(27000);
614 break;
621 break;
624 events.ScheduleEvent(EVENT_SPELL_FLAME_DART, 10000);
625 break;
629 events.ScheduleEvent(EVENT_SPELL_DARKNESS, phase == PHASE_SACRIFICE ? 20000 : 45000);
630 events.DelayEvents(8000);
631 break;
634 events.ScheduleEvent(EVENT_SPELL_ARMAGEDDON, phase == PHASE_SACRIFICE ? 20000 : 40000);
635 break;
636 }
637
639 }
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:44
@ TEMPSUMMON_CORPSE_DESPAWN
Definition: Object.h:46
@ REACT_AGGRESSIVE
Definition: Unit.h:1037
@ UNIT_STATE_CASTING
Definition: Unit.h:340
@ UNIT_FLAG_PACIFIED
Definition: Unit.h:465
@ SPELLVALUE_MAX_TARGETS
Definition: SpellDefines.h:118
@ TRIGGERED_NONE
Definition: SpellDefines.h:131
#define sCreatureTextMgr
Definition: CreatureTextMgr.h:119
@ TEXT_RANGE_ZONE
Definition: CreatureTextMgr.h:32
@ EVENT_TEXT_SPEACH43
Definition: boss_kiljaeden.cpp:111
@ PHASE_SACRIFICE
Definition: boss_kiljaeden.cpp:95
@ EVENT_TEXT_SPEACH42
Definition: boss_kiljaeden.cpp:110
@ PHASE_ARMAGEDDON
Definition: boss_kiljaeden.cpp:94
@ EVENT_SPELL_FLAME_DART
Definition: boss_kiljaeden.cpp:140
@ PHASE_DARKNESS
Definition: boss_kiljaeden.cpp:93
@ EVENT_TEXT_SPEACH32
Definition: boss_kiljaeden.cpp:107
@ EVENT_SPELL_DARKNESS
Definition: boss_kiljaeden.cpp:141
@ EVENT_TEXT_SPEACH21
Definition: boss_kiljaeden.cpp:103
@ EVENT_TEXT_SPEACH44
Definition: boss_kiljaeden.cpp:112
@ EVENT_TEXT_SPEACH46
Definition: boss_kiljaeden.cpp:114
@ EVENT_TEXT_SPEACH45
Definition: boss_kiljaeden.cpp:113
@ EVENT_EMPOWER_ORBS1
Definition: boss_kiljaeden.cpp:126
@ EVENT_SPELL_ARMAGEDDON
Definition: boss_kiljaeden.cpp:142
@ EVENT_SPELL_SHADOW_SPIKE
Definition: boss_kiljaeden.cpp:138
@ EVENT_RESTORE_MELEE
Definition: boss_kiljaeden.cpp:129
@ EVENT_TEXT_SPEACH31
Definition: boss_kiljaeden.cpp:106
@ EVENT_TEXT_SPEACH41
Definition: boss_kiljaeden.cpp:109
@ EVENT_TEXT_SPEACH23
Definition: boss_kiljaeden.cpp:105
@ EVENT_TEXT_SPEACH22
Definition: boss_kiljaeden.cpp:104
@ EVENT_EMPOWER_ORBS2
Definition: boss_kiljaeden.cpp:127
@ EVENT_EMPOWER_ORBS3
Definition: boss_kiljaeden.cpp:128
@ EVENT_SPELL_SINISTER_REFLECTION
Definition: boss_kiljaeden.cpp:139
@ EVENT_TEXT_SPEACH33
Definition: boss_kiljaeden.cpp:108
@ SAY_KJ_PHASE3
Definition: boss_kiljaeden.cpp:45
@ SAY_ANVEENA_GOODBYE
Definition: boss_kiljaeden.cpp:53
@ SAY_KALECGOS_READY1
Definition: boss_kiljaeden.cpp:30
@ SAY_KJ_PHASE5
Definition: boss_kiljaeden.cpp:47
@ SAY_KALECGOS_READY_ALL
Definition: boss_kiljaeden.cpp:32
@ SAY_KALECGOS_FOCUS
Definition: boss_kiljaeden.cpp:35
@ SAY_KJ_REFLECTION
Definition: boss_kiljaeden.cpp:42
@ SAY_KALECGOS_READY2
Definition: boss_kiljaeden.cpp:31
@ SAY_ANVEENA_LOST
Definition: boss_kiljaeden.cpp:51
@ SAY_KALECGOS_JOIN
Definition: boss_kiljaeden.cpp:38
@ SAY_KJ_PHASE4
Definition: boss_kiljaeden.cpp:46
@ SAY_KALECGOS_LETGO
Definition: boss_kiljaeden.cpp:34
@ SAY_ANVEENA_IMPRISONED
Definition: boss_kiljaeden.cpp:50
@ SAY_ANVEENA_KALEC
Definition: boss_kiljaeden.cpp:52
@ SAY_KALECGOS_AWAKEN
Definition: boss_kiljaeden.cpp:33
@ EMOTE_KJ_DARKNESS
Definition: boss_kiljaeden.cpp:48
@ SAY_KALECGOS_FATE
Definition: boss_kiljaeden.cpp:36
@ SPELL_SHADOW_SPIKE
Definition: boss_kiljaeden.cpp:63
@ SPELL_DARKNESS_OF_A_THOUSAND_SOULS
Definition: boss_kiljaeden.cpp:67
@ SPELL_REBIRTH
Definition: boss_kiljaeden.cpp:59
@ SPELL_SINISTER_REFLECTION
Definition: boss_kiljaeden.cpp:64
@ SPELL_FIRE_BLOOM
Definition: boss_kiljaeden.cpp:62
@ SPELL_LEGION_LIGHTNING
Definition: boss_kiljaeden.cpp:61
@ SPELL_SACRIFICE_OF_ANVEENA
Definition: boss_kiljaeden.cpp:86
@ SPELL_FLAME_DART
Definition: boss_kiljaeden.cpp:65
@ SPELL_SOUL_FLAY
Definition: boss_kiljaeden.cpp:60
@ SPELL_CUSTOM_08_STATE
Definition: boss_kiljaeden.cpp:72
@ SPELL_ARMAGEDDON_PERIODIC
Definition: boss_kiljaeden.cpp:69
@ NPC_SHIELD_ORB
Definition: sunwell_plateau.h:80
@ NPC_ANVEENA
Definition: sunwell_plateau.h:75
@ NPC_KALECGOS_KJ
Definition: sunwell_plateau.h:76
@ CHAT_MSG_ADDON
Definition: SharedDefines.h:3151
@ LANG_ADDON
Definition: SharedDefines.h:753
std::vector< Vector3 > PointsArray
Definition: MoveSplineInitArgs.h:28
uint32 ExecuteEvent()
Definition: EventMap.cpp:114
void Update(uint32 time)
Definition: EventMap.h:54
void CancelEventGroup(uint32 group)
Definition: EventMap.cpp:209
void CancelEvent(uint32 eventId)
Definition: EventMap.cpp:190
void RescheduleEvent(uint32 eventId, uint32 time, uint32 groupId=0, uint32 phase=0)
Definition: EventMap.cpp:81
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:268
void SetInCombatWithZone()
Definition: Creature.cpp:2732
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:106
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:2343
Definition: Unit.h:1302
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:1226
bool HealthBelowPct(int32 pct) const
Definition: Unit.h:1458
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:4855
Unit * GetVictim() const
Definition: Unit.h:1398
bool HasUnitState(const uint32 f) const
Definition: Unit.h:1410
void KillSelf(bool durabilityLoss=true, WeaponAttackType attackType=BASE_ATTACK, SpellInfo const *spellProto=nullptr, Spell const *spell=nullptr)
Definition: Unit.h:1565
void RemoveUnitFlag(UnitFlags flags)
Definition: Unit.h:1496
Definition: MoveSplineInit.h:71
uint8 phase
Definition: boss_kiljaeden.cpp:292
void EmpowerOrb(bool empowerAll)
Definition: boss_kiljaeden.cpp:641

References EventMap::CancelEvent(), EventMap::CancelEventGroup(), Unit::CastCustomSpell(), Unit::CastSpell(), CHAT_MSG_ADDON, UnitAI::DoMeleeAttackIfReady(), EMOTE_KJ_DARKNESS, EmpowerOrb(), EVENT_CHECK_HEALTH25, EVENT_CHECK_HEALTH55, EVENT_CHECK_HEALTH85, EVENT_EMPOWER_ORBS1, EVENT_EMPOWER_ORBS2, EVENT_EMPOWER_ORBS3, EVENT_GROUP_SPEACH, EVENT_INIT_FIGHT, EVENT_KILL_SELF, EVENT_REBIRTH, EVENT_RESTORE_MELEE, EVENT_SPELL_ARMAGEDDON, EVENT_SPELL_DARKNESS, EVENT_SPELL_FIRE_BLOOM, EVENT_SPELL_FLAME_DART, EVENT_SPELL_LEGION_LIGHTNING, EVENT_SPELL_SHADOW_SPIKE, EVENT_SPELL_SINISTER_REFLECTION, EVENT_SPELL_SOUL_FLAY, EVENT_SUMMON_ORBS, EVENT_TEXT_SPEACH11, EVENT_TEXT_SPEACH21, EVENT_TEXT_SPEACH22, EVENT_TEXT_SPEACH23, EVENT_TEXT_SPEACH31, EVENT_TEXT_SPEACH32, EVENT_TEXT_SPEACH33, EVENT_TEXT_SPEACH41, EVENT_TEXT_SPEACH42, EVENT_TEXT_SPEACH43, EVENT_TEXT_SPEACH44, EVENT_TEXT_SPEACH45, EVENT_TEXT_SPEACH46, events2, EventMap::ExecuteEvent(), ObjectAccessor::GetCreature(), Object::GetGUID(), InstanceScript::GetGuidData(), Position::GetPositionX(), Position::GetPositionY(), Creature::GetReactState(), Unit::GetVictim(), Unit::HasUnitState(), Unit::HealthBelowPct(), instance, Unit::KillSelf(), LANG_ADDON, Movement::MoveSplineInit::Launch(), ScriptedAI::me, Movement::MoveSplineInit::MovebyPath(), NPC_ANVEENA, NPC_KALECGOS_KJ, NPC_SHIELD_ORB, phase, PHASE_ARMAGEDDON, PHASE_DARKNESS, PHASE_SACRIFICE, REACT_AGGRESSIVE, Unit::RemoveAurasDueToSpell(), Unit::RemoveUnitFlag(), EventMap::RescheduleEvent(), SAY_ANVEENA_GOODBYE, SAY_ANVEENA_IMPRISONED, SAY_ANVEENA_KALEC, SAY_ANVEENA_LOST, SAY_KALECGOS_AWAKEN, SAY_KALECGOS_FATE, SAY_KALECGOS_FOCUS, SAY_KALECGOS_JOIN, SAY_KALECGOS_LETGO, SAY_KALECGOS_READY1, SAY_KALECGOS_READY2, SAY_KALECGOS_READY_ALL, SAY_KJ_PHASE3, SAY_KJ_PHASE4, SAY_KJ_PHASE5, SAY_KJ_REFLECTION, EventMap::ScheduleEvent(), sCreatureTextMgr, UnitAI::SelectTarget(), Movement::MoveSplineInit::SetCyclic(), Creature::SetInCombatWithZone(), Creature::SetReactState(), Creature::SetTarget(), Unit::SetUnitFlag(), Unit::SetVisible(), SPELL_ARMAGEDDON_PERIODIC, SPELL_CUSTOM_08_STATE, SPELL_DARKNESS_OF_A_THOUSAND_SOULS, SPELL_FIRE_BLOOM, SPELL_FLAME_DART, SPELL_LEGION_LIGHTNING, SPELL_REBIRTH, SPELL_SACRIFICE_OF_ANVEENA, SPELL_SHADOW_SPIKE, SPELL_SINISTER_REFLECTION, SPELL_SOUL_FLAY, SPELLVALUE_MAX_TARGETS, WorldObject::SummonCreature(), TEMPSUMMON_CORPSE_DESPAWN, TEXT_RANGE_ZONE, TRIGGERED_NONE, UNIT_FLAG_NOT_SELECTABLE, UNIT_FLAG_PACIFIED, UNIT_STATE_CASTING, EventMap::Update(), CreatureAI::UpdateVictim(), and urand().

Member Data Documentation

◆ events

EventMap boss_kiljaeden::boss_kiljaedenAI::events

◆ events2

EventMap boss_kiljaeden::boss_kiljaedenAI::events2

◆ instance

InstanceScript* boss_kiljaeden::boss_kiljaedenAI::instance

◆ phase

uint8 boss_kiljaeden::boss_kiljaedenAI::phase

Referenced by UpdateAI().