AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
BossAI Class Reference

#include "ScriptedCreature.h"

Inheritance diagram for BossAI:
ScriptedAI CreatureAI UnitAI boss_aeonus boss_ahune boss_akilzon boss_alar boss_alythess boss_amanitar boss_ambassador_flamelash::boss_ambassador_flamelashAI boss_ambassador_hellmaw boss_anetheron boss_anomalus boss_anub_arak::boss_anub_arakAI boss_anubrekhan::boss_anubrekhanAI boss_anubshiah::boss_anubshiahAI boss_anzu boss_apothecary_hummel::boss_apothecary_hummelAI boss_archimonde boss_arlokk::boss_arlokkAI boss_attumen boss_ayamiss boss_azgalor boss_baltharus_the_warborn::boss_baltharus_the_warbornAI boss_baron_geddon::boss_baron_geddonAI boss_baroness_anastari::boss_baroness_anastariAI boss_blackheart_the_inciter boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI boss_broggok boss_broodlord::boss_broodlordAI boss_brutallus boss_bug_trio boss_buru boss_captain_skarloc boss_chromaggus::boss_chromaggusAI boss_chrono_lord_deja boss_commander_sarannis boss_commander_stoutbeard boss_cthun boss_curator boss_dalliah_the_doomsayer boss_darkmaster_gandling::boss_darkmaster_gandlingAI boss_darkweaver_syth boss_deathbringer_saurfang::boss_deathbringer_saurfangAI boss_drakkari_colossus::boss_drakkari_colossusAI boss_drakkisath::boss_drakkisathAI boss_dred::boss_dredAI boss_ebonroc::boss_ebonrocAI boss_eck::boss_eckAI boss_elder_nadox boss_emperor_dagran_thaurissan::boss_draganthaurissanAI boss_epoch_hunter boss_eviscerator::boss_evisceratorAI boss_exarch_maladaar boss_eye_of_cthun boss_faerlina::boss_faerlinaAI boss_fankriss boss_fathomlord_karathress boss_felblood_kaelthas boss_felmyst boss_festergut::boss_festergutAI boss_firemaw::boss_firemawAI boss_flamegor::boss_flamegorAI boss_four_horsemen::boss_four_horsemenAI boss_gahzranka boss_gal_darah::boss_gal_darahAI boss_garr::boss_garrAI boss_gatewatcher_gyrokill boss_gatewatcher_iron_hand boss_gehennas::boss_gehennasAI boss_general_zarithrian::boss_general_zarithrianAI boss_ghazan boss_gluth::boss_gluthAI boss_golemagg::boss_golemaggAI boss_gorosh_the_dervish::boss_gorosh_the_dervishAI boss_gothik::boss_gothikAI boss_grand_warlock_nethekurse boss_grandmaster_vorpil boss_grilek::boss_grilekAI boss_grizzle::boss_grizzleAI boss_grobbulus::boss_grobbulusAI boss_gruul boss_gurtogg_bloodboil boss_gyth::boss_gythAI boss_hadronox::boss_hadronoxAI boss_hakkar::boss_hakkarAI boss_halazzi boss_halion::boss_halionAI boss_halycon::boss_halyconAI boss_harbinger_skyriss boss_hazzarah boss_hedrum::boss_hedrumAI boss_heigan::boss_heiganAI boss_hexlord_malacrass boss_high_astromancer_solarian boss_high_botanist_freywinn boss_high_king_maulgar boss_highlord_omokk::boss_highlordomokkAI boss_huhuran boss_hungarfen boss_hydromancer_thespia boss_hydross_the_unstable boss_illidan_stormrage boss_illidari_council boss_isalien boss_janalai boss_jarien boss_jedoga_shadowseeker boss_jeklik boss_jindo boss_kaelthas boss_kalecgos boss_kazrogal boss_keleseth boss_kelidan_the_breaker boss_kelthuzad::boss_kelthuzadAI boss_keristrasza boss_kiljaeden boss_krik_thir::boss_krik_thirAI boss_kurinnaxx boss_lady_deathwhisper::boss_lady_deathwhisperAI boss_lady_vashj boss_laj boss_leotheras_the_blind boss_lieutenant_drake boss_loatheb::boss_loathebAI boss_lord_marrowgar boss_lord_valthalak::boss_lord_valthalakAI boss_lucifron::boss_lucifronAI boss_maexxna::boss_maexxnaAI boss_magmadar::boss_magmadarAI boss_magmus::boss_magmusAI boss_magtheridon boss_magus_telestra boss_maiden_of_virtue boss_majordomo::boss_majordomoAI boss_malchezaar boss_mandokir::boss_mandokirAI boss_marli boss_mechano_lord_capacitus boss_mekgineer_steamrigger boss_mennu_the_betrayer boss_midnight boss_moam boss_moira_bronzebeardAI boss_moorabi::boss_moorabiAI boss_mor_grayhoof boss_moroes boss_morogrim_tidewalker boss_mother_shahraz boss_murmur boss_muru boss_najentus boss_nalorakk boss_nefarian boss_nethermancer_sepethrea boss_netherspite boss_nexusprince_shaffar boss_nightbane boss_noth::boss_nothAI boss_novos::boss_novosAI boss_okthor::boss_okthorAI boss_omor_the_unscarred boss_onyxia boss_ormorok boss_ossirian boss_ouro boss_overlord_wyrmthalak::boss_overlordwyrmthalakAI boss_pandemonius boss_patchwerk::boss_patchwerkAI boss_pathaleon_the_calculator boss_porung boss_priestess_delrissa boss_prince_valanar_icc::boss_prince_valanarAI boss_professor_putricide::boss_professor_putricideAI boss_pyroguard_emberseer::boss_pyroguard_emberseerAI boss_quagmirran boss_quartermaster_zigris boss_rage_winterchill boss_ragnaros::boss_ragnarosAI boss_rajaxx boss_razorgore::boss_razorgoreAI boss_razuvious::boss_razuviousAI boss_reliquary_of_souls::boss_reliquary_of_soulsAI boss_renataki::boss_renatakiAI boss_rend_blackhand::boss_rend_blackhandAI boss_rokmar_the_crackler boss_rotface::boss_rotfaceAI boss_sacrolash boss_sapphiron::boss_sapphironAI boss_sartharion::boss_sartharionAI boss_sartharion_dragonAI boss_sartura boss_saviana_ragefire::boss_saviana_ragefireAI boss_selin_fireheart boss_servant_quarters boss_shade_of_akama boss_shade_of_aran boss_shazzrah::boss_shazzrahAI boss_shirrak_the_dead_watcher boss_sindragosa::boss_sindragosaAI boss_sister_svalna::boss_sister_svalnaAI boss_skeram boss_slad_ran::boss_slad_ranAI boss_solakar_flamewreath::boss_solakar_flamewreathAI boss_sothos boss_sulfuron::boss_sulfuronAI boss_supremus boss_swamplord_muselek boss_taldaram boss_talon_king_ikiss boss_tavarok boss_temporus boss_terestian_illhoof boss_teron_gorefiend boss_thaddius::boss_thaddiusAI boss_tharon_ja::boss_tharon_jaAI boss_the_beast::boss_thebeastAI boss_the_black_stalker boss_the_lich_king::boss_the_lich_kingAI boss_the_lurker_below boss_the_maker boss_thekal boss_thorngrin_the_tender boss_trollgore::boss_trollgoreAI boss_twinemperorsAI boss_urok_doomhowl::boss_urok_doomhowlAI boss_vaelastrasz::boss_vaelAI boss_vazruden_the_herald boss_venoxis boss_vexallus boss_victor_nefarius::boss_victor_nefariusAI boss_viscidus boss_void_reaver boss_volazj boss_warbringer_omrogg boss_warchief_kargath_bladefist boss_warlord_kalithresh boss_warmaster_voone::boss_warmastervooneAI boss_warp_splinter boss_watchkeeper_gargolmar boss_wrath_scryer_soccothrates boss_wushoolay::boss_wushoolayAI boss_zereketh_the_unbound boss_zuljin npc_green_dragon_combat_trigger::npc_green_dragon_combat_triggerAI npc_warden_mellichar::npc_warden_mellicharAI

Public Member Functions

 BossAI (Creature *creature, uint32 bossId)
 
 ~BossAI () override
 
bool CanRespawn () override
 
void DamageTaken (Unit *attacker, uint32 &damage, DamageEffectType damagetype, SpellSchoolMask damageSchoolMask) override
 Called at any Damage from any attacker (before damage apply) More...
 
void JustSummoned (Creature *summon) override
 
void SummonedCreatureDespawn (Creature *summon) override
 
void SummonedCreatureDespawnAll () override
 
void UpdateAI (uint32 diff) override
 Use to start attacking a target. Called just before JustEngagedWith() More...
 
void ScheduleHealthCheckEvent (uint32 healthPct, std::function< void()> exec)
 Executes a function once the creature reaches the defined health point percent. More...
 
void ScheduleHealthCheckEvent (std::initializer_list< uint8 > healthPct, std::function< void()> exec)
 
virtual void ExecuteEvent (uint32)
 
virtual void ScheduleTasks ()
 
void Reset () override
 
void JustEngagedWith (Unit *) override
 Called for reaction when initially engaged. More...
 
void EnterEvadeMode (EvadeReason why=EVADE_REASON_OTHER) override
 
void JustDied (Unit *) override
 
void JustReachedHome () 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

float callForHelpRange
 
InstanceScript *const instance
 
- Public Attributes inherited from ScriptedAI
Creatureme
 

Protected Member Functions

void _Reset ()
 
void _JustEngagedWith ()
 
void _JustDied ()
 
void _JustReachedHome ()
 
void _EnterEvadeMode (EvadeReason why=EVADE_REASON_OTHER)
 
void TeleportCheaters ()
 
- 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

SummonList summons
 
- 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
 

Private Attributes

uint32 const _bossId
 
std::list< HealthCheckEventData_healthCheckEvents
 
HealthCheckEventData _nextHealthCheck
 

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
 

Detailed Description

Constructor & Destructor Documentation

◆ BossAI()

BossAI::BossAI ( Creature creature,
uint32  bossId 
)
593 : ScriptedAI(creature),
594 instance(creature->GetInstanceScript()),
595 summons(creature),
596 _bossId(bossId),
597 _nextHealthCheck(0, { }, false)
598{
599 callForHelpRange = 0.0f;
600 if (instance)
602
603 // Prevents updating the scheduler's timer while the creature is casting.
604 // Clear it in the script if you need it to update while the creature is casting.
606 {
608 });
609}
@ UNIT_STATE_CASTING
Definition: UnitDefines.h:164
TaskScheduler & SetValidator(P &&predicate)
Sets a validator which is asked if tasks are allowed to be executed.
Definition: TaskScheduler.h:197
TaskScheduler scheduler
Definition: CreatureAI.h:75
void SetBoundary(CreatureBoundary const *boundary, bool negativeBoundaries=false)
Definition: CreatureAI.cpp:417
Definition: ScriptedCreature.h:190
Creature * me
Definition: ScriptedCreature.h:280
InstanceScript *const instance
Definition: ScriptedCreature.h:474
HealthCheckEventData _nextHealthCheck
Definition: ScriptedCreature.h:516
float callForHelpRange
Definition: ScriptedCreature.h:472
uint32 const _bossId
Definition: ScriptedCreature.h:514
SummonList summons
Definition: ScriptedCreature.h:511
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1203
bool HasUnitState(const uint32 f) const
Definition: Unit.h:701
CreatureBoundary const * GetBossBoundary(uint32 id) const
Definition: InstanceScript.h:237

◆ ~BossAI()

BossAI::~BossAI ( )
inlineoverride
470{}

Member Function Documentation

◆ _EnterEvadeMode()

void BossAI::_EnterEvadeMode ( EvadeReason  why = EVADE_REASON_OTHER)
protected
682{
685 {
688 }
689}
@ DONE
Definition: InstanceScript.h:60
@ NOT_STARTED
Definition: InstanceScript.h:57
virtual void EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
Definition: CreatureAI.cpp:208
virtual bool SetBossState(uint32 id, EncounterState state)
Definition: InstanceScript.cpp:373
EncounterState GetBossState(uint32 id) const
Definition: InstanceScript.h:235
void SaveToDB()
Definition: InstanceScript.cpp:41

References _bossId, DONE, CreatureAI::EnterEvadeMode(), InstanceScript::GetBossState(), instance, NOT_STARTED, InstanceScript::SaveToDB(), and InstanceScript::SetBossState().

Referenced by boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::EnterEvadeMode(), EnterEvadeMode(), and boss_zuljin::EnterEvadeMode().

◆ _JustDied()

void BossAI::_JustDied ( )
protected
644{
645 events.Reset();
648 _healthCheckEvents.clear();
649 if (instance)
650 {
653 }
654}
events
Definition: boss_sartura.cpp:43
TaskScheduler & CancelAll()
Definition: TaskScheduler.cpp:45
void DespawnAll(uint32 delay=0)
Definition: ScriptedCreature.cpp:71
std::list< HealthCheckEventData > _healthCheckEvents
Definition: ScriptedCreature.h:515

References _bossId, _healthCheckEvents, TaskScheduler::CancelAll(), SummonList::DespawnAll(), DONE, instance, InstanceScript::SaveToDB(), CreatureAI::scheduler, InstanceScript::SetBossState(), and summons.

Referenced by boss_high_king_maulgar::DoAction(), JustDied(), boss_halycon::boss_halyconAI::JustDied(), boss_highlord_omokk::boss_highlordomokkAI::JustDied(), boss_mor_grayhoof::JustDied(), boss_quartermaster_zigris::JustDied(), boss_rend_blackhand::boss_rend_blackhandAI::JustDied(), boss_solakar_flamewreath::boss_solakar_flamewreathAI::JustDied(), boss_broodlord::boss_broodlordAI::JustDied(), boss_nefarian::JustDied(), boss_razorgore::boss_razorgoreAI::JustDied(), boss_ragnaros::boss_ragnarosAI::JustDied(), boss_malchezaar::JustDied(), boss_shade_of_aran::JustDied(), boss_terestian_illhoof::JustDied(), boss_apothecary_hummel::boss_apothecary_hummelAI::JustDied(), boss_akilzon::JustDied(), boss_arlokk::boss_arlokkAI::JustDied(), boss_hakkar::boss_hakkarAI::JustDied(), boss_thekal::JustDied(), boss_lieutenant_drake::JustDied(), boss_aeonus::JustDied(), boss_chrono_lord_deja::JustDied(), boss_temporus::JustDied(), boss_isalien::JustDied(), boss_moam::JustDied(), boss_rajaxx::JustDied(), boss_sartura::JustDied(), boss_skeram::JustDied(), boss_amanitar::JustDied(), boss_elder_nadox::JustDied(), boss_volazj::JustDied(), boss_jedoga_shadowseeker::JustDied(), boss_taldaram::JustDied(), boss_sartharion::boss_sartharionAI::JustDied(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::JustDied(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::JustDied(), boss_festergut::boss_festergutAI::JustDied(), boss_lord_marrowgar::JustDied(), boss_professor_putricide::boss_professor_putricideAI::JustDied(), boss_rotface::boss_rotfaceAI::JustDied(), boss_sindragosa::boss_sindragosaAI::JustDied(), boss_the_lich_king::boss_the_lich_kingAI::JustDied(), boss_sister_svalna::boss_sister_svalnaAI::JustDied(), boss_keleseth::JustDied(), boss_exarch_maladaar::JustDied(), boss_nexusprince_shaffar::JustDied(), boss_tavarok::JustDied(), boss_darkweaver_syth::JustDied(), boss_talon_king_ikiss::JustDied(), boss_ambassador_hellmaw::JustDied(), boss_blackheart_the_inciter::JustDied(), boss_grandmaster_vorpil::JustDied(), boss_ahune::JustDied(), boss_mennu_the_betrayer::JustDied(), boss_hydromancer_thespia::JustDied(), boss_mekgineer_steamrigger::JustDied(), boss_warlord_kalithresh::JustDied(), boss_swamplord_muselek::JustDied(), boss_gruul::JustDied(), boss_high_king_maulgar::JustDied(), boss_kelidan_the_breaker::JustDied(), boss_the_maker::JustDied(), boss_omor_the_unscarred::JustDied(), boss_watchkeeper_gargolmar::JustDied(), boss_grand_warlock_nethekurse::JustDied(), boss_dalliah_the_doomsayer::JustDied(), boss_harbinger_skyriss::JustDied(), boss_zereketh_the_unbound::JustDied(), boss_commander_sarannis::JustDied(), boss_high_botanist_freywinn::JustDied(), boss_thorngrin_the_tender::JustDied(), boss_warp_splinter::JustDied(), boss_gatewatcher_gyrokill::JustDied(), boss_gatewatcher_iron_hand::JustDied(), boss_mechano_lord_capacitus::JustDied(), boss_nethermancer_sepethrea::JustDied(), boss_pathaleon_the_calculator::JustDied(), boss_jarien::JustDied(), boss_sothos::JustDied(), boss_epoch_hunter::JustDied(), and boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustDied().

◆ _JustEngagedWith()

void BossAI::_JustEngagedWith ( )
protected
657{
659 me->setActive(true);
663 {
664 ScheduleTimedEvent(0s, [&]
665 {
667 }, 2s);
668 }
669 if (instance)
670 {
671 // bosses do not respawn, check only on enter combat
673 {
675 return;
676 }
678 }
679}
@ IN_PROGRESS
Definition: InstanceScript.h:58
void DoZoneInCombat(Creature *creature=nullptr, float maxRangeToNearestTarget=250.0f)
Definition: CreatureAI.cpp:106
void ScheduleTimedEvent(Milliseconds timerMin, Milliseconds timerMax, std::function< void()> exec, Milliseconds repeatMin, Milliseconds repeatMax=0s, uint32 uniqueId=0)
Definition: ScriptedCreature.cpp:321
virtual void ScheduleTasks()
Definition: ScriptedCreature.h:494
void EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER) override
Definition: ScriptedCreature.h:498
void SetCombatPulseDelay(uint32 delay)
Definition: Creature.h:295
void CallForHelp(float fRadius, Unit *target=nullptr)
Definition: Creature.cpp:2469
void setActive(bool isActiveObject)
Definition: Object.cpp:1094
virtual bool CheckRequiredBosses(uint32, Player const *=nullptr) const
Definition: InstanceScript.h:248

References _bossId, Creature::CallForHelp(), callForHelpRange, InstanceScript::CheckRequiredBosses(), CreatureAI::DoZoneInCombat(), EnterEvadeMode(), IN_PROGRESS, instance, ScriptedAI::me, ScheduleTasks(), ScriptedAI::ScheduleTimedEvent(), WorldObject::setActive(), InstanceScript::SetBossState(), and Creature::SetCombatPulseDelay().

Referenced by boss_victor_nefarius::boss_victor_nefariusAI::BeginEvent(), JustEngagedWith(), boss_anubshiah::boss_anubshiahAI::JustEngagedWith(), boss_eviscerator::boss_evisceratorAI::JustEngagedWith(), boss_gorosh_the_dervish::boss_gorosh_the_dervishAI::JustEngagedWith(), boss_grizzle::boss_grizzleAI::JustEngagedWith(), boss_hedrum::boss_hedrumAI::JustEngagedWith(), boss_magmus::boss_magmusAI::JustEngagedWith(), boss_moira_bronzebeardAI::JustEngagedWith(), boss_high_priestess_thaurissanAI::JustEngagedWith(), boss_okthor::boss_okthorAI::JustEngagedWith(), boss_drakkisath::boss_drakkisathAI::JustEngagedWith(), boss_gyth::boss_gythAI::JustEngagedWith(), boss_halycon::boss_halyconAI::JustEngagedWith(), boss_highlord_omokk::boss_highlordomokkAI::JustEngagedWith(), boss_mor_grayhoof::JustEngagedWith(), boss_overlord_wyrmthalak::boss_overlordwyrmthalakAI::JustEngagedWith(), boss_rend_blackhand::boss_rend_blackhandAI::JustEngagedWith(), boss_solakar_flamewreath::boss_solakar_flamewreathAI::JustEngagedWith(), boss_the_beast::boss_thebeastAI::JustEngagedWith(), boss_urok_doomhowl::boss_urok_doomhowlAI::JustEngagedWith(), boss_warmaster_voone::boss_warmastervooneAI::JustEngagedWith(), boss_razorgore::boss_razorgoreAI::JustEngagedWith(), boss_baron_geddon::boss_baron_geddonAI::JustEngagedWith(), boss_garr::boss_garrAI::JustEngagedWith(), boss_gehennas::boss_gehennasAI::JustEngagedWith(), boss_lucifron::boss_lucifronAI::JustEngagedWith(), boss_magmadar::boss_magmadarAI::JustEngagedWith(), boss_majordomo::boss_majordomoAI::JustEngagedWith(), boss_ragnaros::boss_ragnarosAI::JustEngagedWith(), boss_shazzrah::boss_shazzrahAI::JustEngagedWith(), boss_sulfuron::boss_sulfuronAI::JustEngagedWith(), boss_malchezaar::JustEngagedWith(), boss_shade_of_aran::JustEngagedWith(), boss_priestess_delrissa::JustEngagedWith(), boss_vexallus::JustEngagedWith(), boss_jarien::JustEngagedWith(), boss_sothos::JustEngagedWith(), boss_akilzon::JustEngagedWith(), boss_zuljin::JustEngagedWith(), boss_arlokk::boss_arlokkAI::JustEngagedWith(), boss_gahzranka::JustEngagedWith(), boss_grilek::boss_grilekAI::JustEngagedWith(), boss_hakkar::boss_hakkarAI::JustEngagedWith(), boss_hazzarah::JustEngagedWith(), boss_mandokir::boss_mandokirAI::JustEngagedWith(), boss_renataki::boss_renatakiAI::JustEngagedWith(), boss_thekal::JustEngagedWith(), boss_venoxis::JustEngagedWith(), boss_wushoolay::boss_wushoolayAI::JustEngagedWith(), boss_archimonde::JustEngagedWith(), boss_epoch_hunter::JustEngagedWith(), boss_lieutenant_drake::JustEngagedWith(), boss_chrono_lord_deja::JustEngagedWith(), boss_temporus::JustEngagedWith(), boss_isalien::JustEngagedWith(), boss_skeram::JustEngagedWith(), boss_elder_nadox::JustEngagedWith(), boss_volazj::JustEngagedWith(), boss_jedoga_shadowseeker::JustEngagedWith(), boss_taldaram::JustEngagedWith(), boss_sister_svalna::boss_sister_svalnaAI::JustEngagedWith(), boss_keleseth::JustEngagedWith(), boss_exarch_maladaar::JustEngagedWith(), boss_shirrak_the_dead_watcher::JustEngagedWith(), boss_nexusprince_shaffar::JustEngagedWith(), boss_tavarok::JustEngagedWith(), boss_anzu::JustEngagedWith(), boss_darkweaver_syth::JustEngagedWith(), boss_talon_king_ikiss::JustEngagedWith(), boss_ambassador_hellmaw::JustEngagedWith(), boss_blackheart_the_inciter::JustEngagedWith(), boss_mennu_the_betrayer::JustEngagedWith(), boss_quagmirran::JustEngagedWith(), boss_rokmar_the_crackler::JustEngagedWith(), boss_hydromancer_thespia::JustEngagedWith(), boss_mekgineer_steamrigger::JustEngagedWith(), boss_warlord_kalithresh::JustEngagedWith(), boss_ghazan::JustEngagedWith(), boss_hungarfen::JustEngagedWith(), boss_swamplord_muselek::JustEngagedWith(), boss_the_black_stalker::JustEngagedWith(), boss_gruul::JustEngagedWith(), boss_high_king_maulgar::JustEngagedWith(), boss_broggok::JustEngagedWith(), boss_kelidan_the_breaker::JustEngagedWith(), boss_the_maker::JustEngagedWith(), boss_omor_the_unscarred::JustEngagedWith(), boss_watchkeeper_gargolmar::JustEngagedWith(), boss_dalliah_the_doomsayer::JustEngagedWith(), boss_zereketh_the_unbound::JustEngagedWith(), boss_commander_sarannis::JustEngagedWith(), boss_high_botanist_freywinn::JustEngagedWith(), boss_thorngrin_the_tender::JustEngagedWith(), boss_warp_splinter::JustEngagedWith(), boss_gatewatcher_gyrokill::JustEngagedWith(), boss_gatewatcher_iron_hand::JustEngagedWith(), boss_mechano_lord_capacitus::JustEngagedWith(), boss_nethermancer_sepethrea::JustEngagedWith(), boss_pathaleon_the_calculator::JustEngagedWith(), boss_sartharion::boss_sartharionAI::JustEngagedWith(), boss_murmur::JustEngagedWith(), boss_grand_warlock_nethekurse::JustEngagedWith(), boss_vazruden_the_herald::SummonedCreatureDies(), and boss_anub_arak::boss_anub_arakAI::UpdateAI().

◆ _JustReachedHome()

◆ _Reset()

void BossAI::_Reset ( )
protected
625{
626 if (!me->IsAlive())
627 return;
628
629 if (me->IsEngaged())
630 return;
631
633 me->ResetLootMode();
634 events.Reset();
638 _healthCheckEvents.clear();
639 if (instance)
641}
void ClearUniqueTimedEventsDone()
Definition: ScriptedCreature.h:355
void ResetLootMode()
Definition: Creature.h:245
bool IsAlive() const
Definition: Unit.h:1654
bool IsEngaged() const
Definition: Unit.h:881

References _bossId, _healthCheckEvents, TaskScheduler::CancelAll(), ScriptedAI::ClearUniqueTimedEventsDone(), SummonList::DespawnAll(), instance, Unit::IsAlive(), Unit::IsEngaged(), ScriptedAI::me, NOT_STARTED, Creature::ResetLootMode(), CreatureAI::scheduler, InstanceScript::SetBossState(), Creature::SetCombatPulseDelay(), and summons.

Referenced by Reset(), boss_magmus::boss_magmusAI::Reset(), boss_halycon::boss_halyconAI::Reset(), boss_highlord_omokk::boss_highlordomokkAI::Reset(), boss_overlord_wyrmthalak::boss_overlordwyrmthalakAI::Reset(), boss_quartermaster_zigris::Reset(), boss_rend_blackhand::boss_rend_blackhandAI::Reset(), boss_solakar_flamewreath::boss_solakar_flamewreathAI::Reset(), boss_the_beast::boss_thebeastAI::Reset(), boss_chromaggus::boss_chromaggusAI::Reset(), boss_victor_nefarius::boss_victor_nefariusAI::Reset(), boss_nefarian::Reset(), boss_razorgore::boss_razorgoreAI::Reset(), boss_vaelastrasz::boss_vaelAI::Reset(), boss_baron_geddon::boss_baron_geddonAI::Reset(), boss_garr::boss_garrAI::Reset(), boss_golemagg::boss_golemaggAI::Reset(), boss_ragnaros::boss_ragnarosAI::Reset(), boss_malchezaar::Reset(), boss_terestian_illhoof::Reset(), boss_vexallus::Reset(), boss_darkmaster_gandling::boss_darkmaster_gandlingAI::Reset(), boss_apothecary_hummel::boss_apothecary_hummelAI::Reset(), boss_jarien::Reset(), boss_sothos::Reset(), boss_akilzon::Reset(), boss_zuljin::Reset(), boss_arlokk::boss_arlokkAI::Reset(), boss_hakkar::boss_hakkarAI::Reset(), boss_renataki::boss_renatakiAI::Reset(), boss_thekal::Reset(), boss_archimonde::Reset(), boss_captain_skarloc::Reset(), boss_isalien::Reset(), boss_moam::Reset(), boss_sartura::Reset(), boss_skeram::Reset(), boss_amanitar::Reset(), boss_elder_nadox::Reset(), boss_volazj::Reset(), boss_jedoga_shadowseeker::Reset(), boss_taldaram::Reset(), boss_sartharion::boss_sartharionAI::Reset(), boss_sartharion_dragonAI::Reset(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::Reset(), boss_festergut::boss_festergutAI::Reset(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::Reset(), boss_lord_marrowgar::Reset(), boss_professor_putricide::boss_professor_putricideAI::Reset(), boss_rotface::boss_rotfaceAI::Reset(), boss_sindragosa::boss_sindragosaAI::Reset(), boss_the_lich_king::boss_the_lich_kingAI::Reset(), boss_sister_svalna::boss_sister_svalnaAI::Reset(), boss_exarch_maladaar::Reset(), boss_shirrak_the_dead_watcher::Reset(), boss_nexusprince_shaffar::Reset(), boss_tavarok::Reset(), boss_anzu::Reset(), boss_darkweaver_syth::Reset(), boss_talon_king_ikiss::Reset(), boss_ambassador_hellmaw::Reset(), boss_blackheart_the_inciter::Reset(), boss_grandmaster_vorpil::Reset(), boss_murmur::Reset(), boss_mother_shahraz::Reset(), boss_najentus::Reset(), boss_hydross_the_unstable::Reset(), boss_mennu_the_betrayer::Reset(), boss_rokmar_the_crackler::Reset(), boss_warlord_kalithresh::Reset(), boss_ghazan::Reset(), boss_hungarfen::Reset(), boss_swamplord_muselek::Reset(), boss_gruul::Reset(), boss_high_king_maulgar::Reset(), boss_broggok::Reset(), boss_kelidan_the_breaker::Reset(), boss_the_maker::Reset(), boss_omor_the_unscarred::Reset(), boss_vazruden_the_herald::Reset(), boss_watchkeeper_gargolmar::Reset(), npc_warden_mellichar::npc_warden_mellicharAI::Reset(), boss_dalliah_the_doomsayer::Reset(), boss_harbinger_skyriss::Reset(), boss_wrath_scryer_soccothrates::Reset(), boss_laj::Reset(), boss_thorngrin_the_tender::Reset(), and boss_pathaleon_the_calculator::Reset().

◆ CanRespawn()

bool BossAI::CanRespawn ( )
overridevirtual

Reimplemented from CreatureAI.

612{
613 if (instance)
614 {
616 {
617 return false;
618 }
619 }
620
621 return true;
622}

References _bossId, DONE, InstanceScript::GetBossState(), and instance.

◆ DamageTaken()

void BossAI::DamageTaken ( Unit ,
uint32 ,
DamageEffectType  ,
SpellSchoolMask   
)
overridevirtual

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.

Reimplemented in boss_eviscerator::boss_evisceratorAI, boss_mor_grayhoof, boss_renataki::boss_renatakiAI, boss_isalien, boss_huhuran, boss_sartura, boss_deathbringer_saurfang::boss_deathbringer_saurfangAI, boss_professor_putricide::boss_professor_putricideAI, boss_lord_valthalak::boss_lord_valthalakAI, boss_quartermaster_zigris, boss_warmaster_voone::boss_warmastervooneAI, boss_razorgore::boss_razorgoreAI, boss_baron_geddon::boss_baron_geddonAI, boss_golemagg::boss_golemaggAI, boss_majordomo::boss_majordomoAI, boss_ragnaros::boss_ragnarosAI, boss_attumen, boss_midnight, boss_apothecary_hummel::boss_apothecary_hummelAI, boss_muru, boss_onyxia, boss_eye_of_cthun, boss_ouro, boss_elder_nadox, boss_volazj, boss_jedoga_shadowseeker, boss_taldaram, boss_sartharion::boss_sartharionAI, boss_drakkari_colossus::boss_drakkari_colossusAI, boss_lady_deathwhisper::boss_lady_deathwhisperAI, boss_sindragosa::boss_sindragosaAI, boss_gothik::boss_gothikAI, boss_illidari_council, boss_the_lurker_below, boss_alar, boss_nightbane, boss_thekal, boss_felblood_kaelthas, boss_halazzi, boss_illidan_stormrage, boss_viscidus, boss_buru, boss_twinemperorsAI, boss_halion::boss_halionAI, boss_prince_valanar_icc::boss_prince_valanarAI, boss_the_lich_king::boss_the_lich_kingAI, npc_warden_mellichar::npc_warden_mellicharAI, boss_shade_of_aran, boss_kiljaeden, boss_bug_trio, boss_hadronox::boss_hadronoxAI, and boss_razuvious::boss_razuviousAI.

749{
750 ScriptedAI::DamageTaken(attacker, damage, damagetype, damageSchoolMask);
751
754 {
756 _nextHealthCheck._valid = false;
757
758 _healthCheckEvents.remove_if([&](HealthCheckEventData data) -> bool
759 {
761 });
762
763 if (!_healthCheckEvents.empty())
765 }
766}
void DamageTaken(Unit *, uint32 &, DamageEffectType, SpellSchoolMask) override
Called at any Damage from any attacker (before damage apply)
Definition: ScriptedCreature.cpp:228
Definition: ScriptedCreature.h:458
bool _valid
Definition: ScriptedCreature.h:463
uint8 _healthPct
Definition: ScriptedCreature.h:461
std::function< void()> _exec
Definition: ScriptedCreature.h:462
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
Definition: Unit.h:1038

References HealthCheckEventData::_exec, _healthCheckEvents, HealthCheckEventData::_healthPct, _nextHealthCheck, HealthCheckEventData::_valid, ScriptedAI::DamageTaken(), Unit::HealthBelowPctDamaged(), and ScriptedAI::me.

Referenced by boss_nightbane::DamageTaken(), boss_thekal::DamageTaken(), boss_felblood_kaelthas::DamageTaken(), boss_halazzi::DamageTaken(), boss_illidan_stormrage::DamageTaken(), boss_shade_of_aran::DamageTaken(), and boss_kiljaeden::DamageTaken().

◆ EnterEvadeMode()

void BossAI::EnterEvadeMode ( EvadeReason  why = EVADE_REASON_OTHER)
inlineoverridevirtual

Reimplemented from CreatureAI.

Reimplemented in boss_hakkar::boss_hakkarAI, boss_jindo, boss_gyth::boss_gythAI, boss_rend_blackhand::boss_rend_blackhandAI, boss_ragnaros::boss_ragnarosAI, boss_attumen, boss_nightbane, boss_sacrolash, boss_alythess, boss_kiljaeden, boss_arlokk::boss_arlokkAI, boss_jeklik, boss_archimonde, boss_ayamiss, boss_buru, boss_bug_trio, boss_skeram, boss_twinemperorsAI, boss_amanitar, boss_anub_arak::boss_anub_arakAI, boss_halion::boss_halionAI, boss_prince_valanar_icc::boss_prince_valanarAI, boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI, boss_deathbringer_saurfang::boss_deathbringer_saurfangAI, boss_festergut::boss_festergutAI, boss_professor_putricide::boss_professor_putricideAI, boss_rotface::boss_rotfaceAI, boss_sindragosa::boss_sindragosaAI, boss_the_lich_king::boss_the_lich_kingAI, boss_kelthuzad::boss_kelthuzadAI, boss_noth::boss_nothAI, boss_shirrak_the_dead_watcher, boss_blackheart_the_inciter, boss_murmur, boss_illidan_stormrage, boss_illidari_council, boss_shade_of_akama, boss_the_lurker_below, boss_harbinger_skyriss, boss_alar, boss_nethermancer_sepethrea, npc_green_dragon_combat_trigger::npc_green_dragon_combat_triggerAI, boss_midnight, boss_zuljin, boss_ouro, and boss_ahune.

498{ _EnterEvadeMode(why); }
void _EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
Definition: ScriptedCreature.cpp:681

References _EnterEvadeMode().

Referenced by _JustEngagedWith(), boss_hakkar::boss_hakkarAI::CheckInRoom(), boss_onyxia::CheckInRoom(), boss_viscidus::CheckInRoom(), boss_fathomlord_karathress::DoAction(), boss_kalecgos::DoAction(), boss_hakkar::boss_hakkarAI::EnterEvadeMode(), boss_gyth::boss_gythAI::EnterEvadeMode(), boss_rend_blackhand::boss_rend_blackhandAI::EnterEvadeMode(), boss_ragnaros::boss_ragnarosAI::EnterEvadeMode(), boss_nightbane::EnterEvadeMode(), boss_sacrolash::EnterEvadeMode(), boss_alythess::EnterEvadeMode(), boss_arlokk::boss_arlokkAI::EnterEvadeMode(), boss_jeklik::EnterEvadeMode(), boss_archimonde::EnterEvadeMode(), boss_ayamiss::EnterEvadeMode(), boss_buru::EnterEvadeMode(), boss_bug_trio::EnterEvadeMode(), boss_twinemperorsAI::EnterEvadeMode(), boss_amanitar::EnterEvadeMode(), boss_anub_arak::boss_anub_arakAI::EnterEvadeMode(), boss_halion::boss_halionAI::EnterEvadeMode(), boss_prince_valanar_icc::boss_prince_valanarAI::EnterEvadeMode(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::EnterEvadeMode(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::EnterEvadeMode(), boss_professor_putricide::boss_professor_putricideAI::EnterEvadeMode(), boss_sindragosa::boss_sindragosaAI::EnterEvadeMode(), boss_the_lich_king::boss_the_lich_kingAI::EnterEvadeMode(), boss_murmur::EnterEvadeMode(), boss_illidan_stormrage::EnterEvadeMode(), boss_illidari_council::EnterEvadeMode(), boss_shade_of_akama::EnterEvadeMode(), boss_the_lurker_below::EnterEvadeMode(), boss_harbinger_skyriss::EnterEvadeMode(), boss_alar::EnterEvadeMode(), boss_four_horsemen::boss_four_horsemenAI::IsInRoom(), boss_gothik::boss_gothikAI::IsInRoom(), boss_loatheb::boss_loathebAI::IsInRoom(), boss_maexxna::boss_maexxnaAI::IsInRoom(), boss_sapphiron::boss_sapphironAI::IsInRoom(), boss_heigan::boss_heiganAI::IsInRoom(), boss_akilzon::JustEngagedWith(), boss_the_black_stalker::JustEngagedWith(), boss_sartharion::boss_sartharionAI::JustEngagedWith(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustEngagedWith(), boss_four_horsemen::boss_four_horsemenAI::MovementInform(), boss_vazruden_the_herald::SummonedCreatureDespawn(), boss_majordomo::boss_majordomoAI::SummonedCreatureDies(), boss_the_beast::boss_thebeastAI::UpdateAI(), boss_broodlord::boss_broodlordAI::UpdateAI(), boss_attumen::UpdateAI(), boss_midnight::UpdateAI(), boss_moroes::UpdateAI(), boss_krik_thir::boss_krik_thirAI::UpdateAI(), boss_sartharion::boss_sartharionAI::UpdateAI(), boss_lord_marrowgar::UpdateAI(), boss_warchief_kargath_bladefist::UpdateAI(), and boss_vazruden_the_herald::UpdateAI().

◆ ExecuteEvent()

◆ JustDied()

void BossAI::JustDied ( Unit )
inlineoverridevirtual

Reimplemented from ScriptedAI.

Reimplemented in boss_ambassador_flamelash::boss_ambassador_flamelashAI, boss_emperor_dagran_thaurissan::boss_draganthaurissanAI, boss_gyth::boss_gythAI, boss_halycon::boss_halyconAI, boss_highlord_omokk::boss_highlordomokkAI, boss_mor_grayhoof, boss_overlord_wyrmthalak::boss_overlordwyrmthalakAI, boss_pyroguard_emberseer::boss_pyroguard_emberseerAI, boss_quartermaster_zigris, boss_rend_blackhand::boss_rend_blackhandAI, boss_solakar_flamewreath::boss_solakar_flamewreathAI, boss_broodlord::boss_broodlordAI, boss_victor_nefarius::boss_victor_nefariusAI, boss_nefarian, boss_razorgore::boss_razorgoreAI, boss_majordomo::boss_majordomoAI, boss_ragnaros::boss_ragnarosAI, boss_attumen, boss_malchezaar, boss_servant_quarters, boss_shade_of_aran, boss_terestian_illhoof, boss_priestess_delrissa, boss_darkmaster_gandling::boss_darkmaster_gandlingAI, boss_apothecary_hummel::boss_apothecary_hummelAI, boss_baroness_anastari::boss_baroness_anastariAI, boss_sacrolash, boss_alythess, boss_kiljaeden, boss_akilzon, boss_zuljin, boss_arlokk::boss_arlokkAI, boss_hakkar::boss_hakkarAI, boss_mandokir::boss_mandokirAI, boss_thekal, boss_captain_skarloc, boss_lieutenant_drake, boss_aeonus, boss_chrono_lord_deja, boss_temporus, boss_isalien, boss_moam, boss_rajaxx, boss_eye_of_cthun, boss_sartura, boss_skeram, boss_amanitar, boss_elder_nadox, boss_volazj, boss_jedoga_shadowseeker, boss_taldaram, boss_sartharion::boss_sartharionAI, boss_sartharion_dragonAI, boss_prince_valanar_icc::boss_prince_valanarAI, boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI, boss_deathbringer_saurfang::boss_deathbringer_saurfangAI, boss_festergut::boss_festergutAI, boss_lord_marrowgar, boss_professor_putricide::boss_professor_putricideAI, boss_rotface::boss_rotfaceAI, boss_sindragosa::boss_sindragosaAI, boss_the_lich_king::boss_the_lich_kingAI, boss_sister_svalna::boss_sister_svalnaAI, boss_keleseth, boss_exarch_maladaar, boss_nexusprince_shaffar, boss_tavarok, boss_darkweaver_syth, boss_talon_king_ikiss, boss_ambassador_hellmaw, boss_blackheart_the_inciter, boss_grandmaster_vorpil, boss_ahune, boss_mennu_the_betrayer, boss_hydromancer_thespia, boss_mekgineer_steamrigger, boss_warlord_kalithresh, boss_swamplord_muselek, boss_gruul, boss_high_king_maulgar, boss_kelidan_the_breaker, boss_the_maker, boss_omor_the_unscarred, boss_watchkeeper_gargolmar, boss_grand_warlock_nethekurse, npc_warden_mellichar::npc_warden_mellicharAI, boss_dalliah_the_doomsayer, boss_harbinger_skyriss, boss_wrath_scryer_soccothrates, boss_zereketh_the_unbound, boss_commander_sarannis, boss_high_botanist_freywinn, boss_thorngrin_the_tender, boss_warp_splinter, boss_gatewatcher_gyrokill, boss_gatewatcher_iron_hand, boss_mechano_lord_capacitus, boss_nethermancer_sepethrea, boss_pathaleon_the_calculator, boss_lord_valthalak::boss_lord_valthalakAI, boss_curator, boss_maiden_of_virtue, boss_moroes, boss_netherspite, boss_felblood_kaelthas, boss_selin_fireheart, boss_jarien, boss_sothos, boss_brutallus, boss_felmyst, boss_halazzi, boss_janalai, boss_nalorakk, boss_jeklik, boss_marli, boss_venoxis, boss_anetheron, boss_azgalor, boss_kazrogal, boss_rage_winterchill, boss_epoch_hunter, boss_ayamiss, boss_buru, boss_kurinnaxx, boss_bug_trio, boss_cthun, boss_twinemperorsAI, boss_anub_arak::boss_anub_arakAI, boss_hadronox::boss_hadronoxAI, boss_krik_thir::boss_krik_thirAI, boss_sartharion_tenebron::boss_sartharion_tenebronAI, boss_baltharus_the_warborn::boss_baltharus_the_warbornAI, boss_general_zarithrian::boss_general_zarithrianAI, boss_halion::boss_halionAI, boss_saviana_ragefire::boss_saviana_ragefireAI, boss_novos::boss_novosAI, boss_tharon_ja::boss_tharon_jaAI, boss_trollgore::boss_trollgoreAI, boss_eck::boss_eckAI, boss_gal_darah::boss_gal_darahAI, boss_moorabi::boss_moorabiAI, boss_slad_ran::boss_slad_ranAI, boss_lady_deathwhisper::boss_lady_deathwhisperAI, boss_anubrekhan::boss_anubrekhanAI, boss_faerlina::boss_faerlinaAI, boss_four_horsemen::boss_four_horsemenAI, boss_gluth::boss_gluthAI, boss_gothik::boss_gothikAI, boss_grobbulus::boss_grobbulusAI, boss_heigan::boss_heiganAI, boss_kelthuzad::boss_kelthuzadAI, boss_loatheb::boss_loathebAI, boss_maexxna::boss_maexxnaAI, boss_noth::boss_nothAI, boss_patchwerk::boss_patchwerkAI, boss_razuvious::boss_razuviousAI, boss_sapphiron::boss_sapphironAI, boss_thaddius::boss_thaddiusAI, boss_anomalus, boss_commander_stoutbeard, boss_keristrasza, boss_magus_telestra, boss_ormorok, boss_pandemonius, boss_gurtogg_bloodboil, boss_illidan_stormrage, boss_mother_shahraz, boss_reliquary_of_souls::boss_reliquary_of_soulsAI, boss_shade_of_akama, boss_teron_gorefiend, boss_najentus, boss_fathomlord_karathress, boss_hydross_the_unstable, boss_lady_vashj, boss_morogrim_tidewalker, boss_magtheridon, boss_porung, boss_warbringer_omrogg, boss_warchief_kargath_bladefist, boss_alar, boss_high_astromancer_solarian, boss_kaelthas, and boss_void_reaver.

499{ _JustDied(); }
void _JustDied()
Definition: ScriptedCreature.cpp:643

References _JustDied().

Referenced by boss_lord_valthalak::boss_lord_valthalakAI::JustDied(), boss_curator::JustDied(), boss_maiden_of_virtue::JustDied(), boss_moroes::JustDied(), boss_netherspite::JustDied(), boss_felblood_kaelthas::JustDied(), boss_selin_fireheart::JustDied(), boss_brutallus::JustDied(), boss_felmyst::JustDied(), boss_halazzi::JustDied(), boss_janalai::JustDied(), boss_nalorakk::JustDied(), boss_jeklik::JustDied(), boss_marli::JustDied(), boss_venoxis::JustDied(), boss_anetheron::JustDied(), boss_azgalor::JustDied(), boss_kazrogal::JustDied(), boss_rage_winterchill::JustDied(), boss_ayamiss::JustDied(), boss_buru::JustDied(), boss_kurinnaxx::JustDied(), boss_bug_trio::JustDied(), boss_cthun::JustDied(), boss_twinemperorsAI::JustDied(), boss_anub_arak::boss_anub_arakAI::JustDied(), boss_hadronox::boss_hadronoxAI::JustDied(), boss_krik_thir::boss_krik_thirAI::JustDied(), boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::JustDied(), boss_general_zarithrian::boss_general_zarithrianAI::JustDied(), boss_halion::boss_halionAI::JustDied(), boss_saviana_ragefire::boss_saviana_ragefireAI::JustDied(), boss_novos::boss_novosAI::JustDied(), boss_tharon_ja::boss_tharon_jaAI::JustDied(), boss_trollgore::boss_trollgoreAI::JustDied(), boss_eck::boss_eckAI::JustDied(), boss_gal_darah::boss_gal_darahAI::JustDied(), boss_moorabi::boss_moorabiAI::JustDied(), boss_slad_ran::boss_slad_ranAI::JustDied(), boss_anubrekhan::boss_anubrekhanAI::JustDied(), boss_faerlina::boss_faerlinaAI::JustDied(), boss_four_horsemen::boss_four_horsemenAI::JustDied(), boss_gluth::boss_gluthAI::JustDied(), boss_gothik::boss_gothikAI::JustDied(), boss_grobbulus::boss_grobbulusAI::JustDied(), boss_heigan::boss_heiganAI::JustDied(), boss_kelthuzad::boss_kelthuzadAI::JustDied(), boss_loatheb::boss_loathebAI::JustDied(), boss_maexxna::boss_maexxnaAI::JustDied(), boss_noth::boss_nothAI::JustDied(), boss_patchwerk::boss_patchwerkAI::JustDied(), boss_razuvious::boss_razuviousAI::JustDied(), boss_sapphiron::boss_sapphironAI::JustDied(), boss_thaddius::boss_thaddiusAI::JustDied(), boss_anomalus::JustDied(), boss_commander_stoutbeard::JustDied(), boss_keristrasza::JustDied(), boss_magus_telestra::JustDied(), boss_ormorok::JustDied(), boss_pandemonius::JustDied(), boss_gurtogg_bloodboil::JustDied(), boss_illidan_stormrage::JustDied(), boss_mother_shahraz::JustDied(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::JustDied(), boss_shade_of_akama::JustDied(), boss_teron_gorefiend::JustDied(), boss_najentus::JustDied(), boss_fathomlord_karathress::JustDied(), boss_hydross_the_unstable::JustDied(), boss_lady_vashj::JustDied(), boss_morogrim_tidewalker::JustDied(), boss_magtheridon::JustDied(), boss_porung::JustDied(), boss_warbringer_omrogg::JustDied(), boss_warchief_kargath_bladefist::JustDied(), boss_alar::JustDied(), boss_high_astromancer_solarian::JustDied(), boss_kaelthas::JustDied(), and boss_void_reaver::JustDied().

◆ JustEngagedWith()

void BossAI::JustEngagedWith ( Unit )
inlineoverridevirtual

Called for reaction when initially engaged.

Reimplemented from ScriptedAI.

Reimplemented in boss_sartharion_dragonAI, boss_ambassador_flamelash::boss_ambassador_flamelashAI, boss_anubshiah::boss_anubshiahAI, boss_emperor_dagran_thaurissan::boss_draganthaurissanAI, boss_eviscerator::boss_evisceratorAI, boss_gorosh_the_dervish::boss_gorosh_the_dervishAI, boss_grizzle::boss_grizzleAI, boss_hedrum::boss_hedrumAI, boss_magmus::boss_magmusAI, boss_moira_bronzebeardAI, boss_high_priestess_thaurissanAI, boss_okthor::boss_okthorAI, boss_drakkisath::boss_drakkisathAI, boss_gyth::boss_gythAI, boss_halycon::boss_halyconAI, boss_highlord_omokk::boss_highlordomokkAI, boss_mor_grayhoof, boss_overlord_wyrmthalak::boss_overlordwyrmthalakAI, boss_pyroguard_emberseer::boss_pyroguard_emberseerAI, boss_rend_blackhand::boss_rend_blackhandAI, boss_solakar_flamewreath::boss_solakar_flamewreathAI, boss_the_beast::boss_thebeastAI, boss_urok_doomhowl::boss_urok_doomhowlAI, boss_warmaster_voone::boss_warmastervooneAI, boss_nefarian, boss_razorgore::boss_razorgoreAI, boss_baron_geddon::boss_baron_geddonAI, boss_garr::boss_garrAI, boss_gehennas::boss_gehennasAI, boss_lucifron::boss_lucifronAI, boss_magmadar::boss_magmadarAI, boss_majordomo::boss_majordomoAI, boss_ragnaros::boss_ragnarosAI, boss_shazzrah::boss_shazzrahAI, boss_sulfuron::boss_sulfuronAI, boss_malchezaar, boss_servant_quarters, boss_shade_of_aran, boss_terestian_illhoof, boss_priestess_delrissa, boss_vexallus, boss_darkmaster_gandling::boss_darkmaster_gandlingAI, boss_baroness_anastari::boss_baroness_anastariAI, boss_jarien, boss_sothos, boss_kiljaeden, boss_akilzon, boss_zuljin, boss_arlokk::boss_arlokkAI, boss_gahzranka, boss_grilek::boss_grilekAI, boss_hakkar::boss_hakkarAI, boss_hazzarah, boss_mandokir::boss_mandokirAI, boss_renataki::boss_renatakiAI, boss_thekal, boss_venoxis, boss_wushoolay::boss_wushoolayAI, boss_archimonde, boss_captain_skarloc, boss_epoch_hunter, boss_lieutenant_drake, boss_aeonus, boss_chrono_lord_deja, boss_temporus, boss_isalien, boss_rajaxx, boss_cthun, boss_skeram, boss_amanitar, boss_elder_nadox, boss_volazj, boss_jedoga_shadowseeker, boss_taldaram, boss_anub_arak::boss_anub_arakAI, boss_hadronox::boss_hadronoxAI, boss_lord_marrowgar, boss_sister_svalna::boss_sister_svalnaAI, boss_keleseth, boss_exarch_maladaar, boss_shirrak_the_dead_watcher, boss_nexusprince_shaffar, boss_tavarok, boss_anzu, boss_darkweaver_syth, boss_talon_king_ikiss, boss_ambassador_hellmaw, boss_blackheart_the_inciter, boss_grandmaster_vorpil, boss_mennu_the_betrayer, boss_quagmirran, boss_rokmar_the_crackler, boss_hydromancer_thespia, boss_mekgineer_steamrigger, boss_warlord_kalithresh, boss_ghazan, boss_hungarfen, boss_swamplord_muselek, boss_the_black_stalker, boss_gruul, boss_high_king_maulgar, boss_broggok, boss_kelidan_the_breaker, boss_the_maker, boss_omor_the_unscarred, boss_watchkeeper_gargolmar, npc_warden_mellichar::npc_warden_mellicharAI, boss_dalliah_the_doomsayer, boss_harbinger_skyriss, boss_wrath_scryer_soccothrates, boss_zereketh_the_unbound, boss_commander_sarannis, boss_high_botanist_freywinn, boss_thorngrin_the_tender, boss_warp_splinter, boss_gatewatcher_gyrokill, boss_gatewatcher_iron_hand, boss_mechano_lord_capacitus, boss_nethermancer_sepethrea, boss_pathaleon_the_calculator, boss_ayamiss, boss_sartharion::boss_sartharionAI, boss_the_lich_king::boss_the_lich_kingAI, npc_green_dragon_combat_trigger::npc_green_dragon_combat_triggerAI, boss_lord_valthalak::boss_lord_valthalakAI, boss_quartermaster_zigris, boss_broodlord::boss_broodlordAI, boss_chromaggus::boss_chromaggusAI, boss_ebonroc::boss_ebonrocAI, boss_firemaw::boss_firemawAI, boss_flamegor::boss_flamegorAI, boss_vaelastrasz::boss_vaelAI, boss_curator, boss_maiden_of_virtue, boss_midnight, boss_moroes, boss_netherspite, boss_nightbane, boss_felblood_kaelthas, boss_selin_fireheart, boss_brutallus, boss_sacrolash, boss_alythess, boss_felmyst, boss_kalecgos, boss_muru, boss_halazzi, boss_hexlord_malacrass, boss_janalai, boss_nalorakk, boss_jeklik, boss_jindo, boss_marli, boss_anetheron, boss_azgalor, boss_kazrogal, boss_rage_winterchill, boss_onyxia, boss_buru, boss_kurinnaxx, boss_moam, boss_ossirian, boss_kri, boss_vem, boss_yauj, boss_eye_of_cthun, boss_fankriss, boss_huhuran, boss_ouro, boss_sartura, boss_twinemperorsAI, boss_veknilash, boss_veklor, boss_viscidus, boss_krik_thir::boss_krik_thirAI, boss_baltharus_the_warborn::boss_baltharus_the_warbornAI, boss_general_zarithrian::boss_general_zarithrianAI, boss_halion::boss_halionAI, boss_saviana_ragefire::boss_saviana_ragefireAI, boss_dred::boss_dredAI, boss_novos::boss_novosAI, boss_tharon_ja::boss_tharon_jaAI, boss_trollgore::boss_trollgoreAI, boss_drakkari_colossus::boss_drakkari_colossusAI, boss_eck::boss_eckAI, boss_gal_darah::boss_gal_darahAI, boss_moorabi::boss_moorabiAI, boss_slad_ran::boss_slad_ranAI, boss_prince_valanar_icc::boss_prince_valanarAI, boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI, boss_deathbringer_saurfang::boss_deathbringer_saurfangAI, boss_festergut::boss_festergutAI, boss_lady_deathwhisper::boss_lady_deathwhisperAI, boss_professor_putricide::boss_professor_putricideAI, boss_rotface::boss_rotfaceAI, boss_sindragosa::boss_sindragosaAI, boss_anubrekhan::boss_anubrekhanAI, boss_faerlina::boss_faerlinaAI, boss_four_horsemen::boss_four_horsemenAI, boss_gluth::boss_gluthAI, boss_gothik::boss_gothikAI, boss_grobbulus::boss_grobbulusAI, boss_heigan::boss_heiganAI, boss_kelthuzad::boss_kelthuzadAI, boss_loatheb::boss_loathebAI, boss_maexxna::boss_maexxnaAI, boss_noth::boss_nothAI, boss_patchwerk::boss_patchwerkAI, boss_razuvious::boss_razuviousAI, boss_sapphiron::boss_sapphironAI, boss_thaddius::boss_thaddiusAI, boss_anomalus, boss_commander_stoutbeard, boss_keristrasza, boss_magus_telestra, boss_ormorok, boss_pandemonius, boss_murmur, boss_gurtogg_bloodboil, boss_illidan_stormrage, boss_mother_shahraz, boss_reliquary_of_souls::boss_reliquary_of_soulsAI, boss_supremus, boss_teron_gorefiend, boss_najentus, boss_fathomlord_karathress, boss_hydross_the_unstable, boss_lady_vashj, boss_the_lurker_below, boss_morogrim_tidewalker, boss_ahune, boss_magtheridon, boss_grand_warlock_nethekurse, boss_porung, boss_warbringer_omrogg, boss_warchief_kargath_bladefist, boss_alar, boss_high_astromancer_solarian, and boss_void_reaver.

497{ _JustEngagedWith(); }
void _JustEngagedWith()
Definition: ScriptedCreature.cpp:656

References _JustEngagedWith().

Referenced by boss_bug_trio::EnterCombatWithTrio(), boss_ayamiss::JustEngagedWith(), boss_lord_valthalak::boss_lord_valthalakAI::JustEngagedWith(), boss_quartermaster_zigris::JustEngagedWith(), boss_broodlord::boss_broodlordAI::JustEngagedWith(), boss_chromaggus::boss_chromaggusAI::JustEngagedWith(), boss_ebonroc::boss_ebonrocAI::JustEngagedWith(), boss_firemaw::boss_firemawAI::JustEngagedWith(), boss_flamegor::boss_flamegorAI::JustEngagedWith(), boss_vaelastrasz::boss_vaelAI::JustEngagedWith(), boss_curator::JustEngagedWith(), boss_maiden_of_virtue::JustEngagedWith(), boss_midnight::JustEngagedWith(), boss_moroes::JustEngagedWith(), boss_netherspite::JustEngagedWith(), boss_nightbane::JustEngagedWith(), boss_felblood_kaelthas::JustEngagedWith(), boss_selin_fireheart::JustEngagedWith(), boss_brutallus::JustEngagedWith(), boss_sacrolash::JustEngagedWith(), boss_alythess::JustEngagedWith(), boss_felmyst::JustEngagedWith(), boss_kalecgos::JustEngagedWith(), boss_muru::JustEngagedWith(), boss_halazzi::JustEngagedWith(), boss_hexlord_malacrass::JustEngagedWith(), boss_janalai::JustEngagedWith(), boss_nalorakk::JustEngagedWith(), boss_jeklik::JustEngagedWith(), boss_jindo::JustEngagedWith(), boss_marli::JustEngagedWith(), boss_anetheron::JustEngagedWith(), boss_azgalor::JustEngagedWith(), boss_kazrogal::JustEngagedWith(), boss_rage_winterchill::JustEngagedWith(), boss_onyxia::JustEngagedWith(), boss_buru::JustEngagedWith(), boss_kurinnaxx::JustEngagedWith(), boss_moam::JustEngagedWith(), boss_ossirian::JustEngagedWith(), boss_eye_of_cthun::JustEngagedWith(), boss_fankriss::JustEngagedWith(), boss_huhuran::JustEngagedWith(), boss_ouro::JustEngagedWith(), boss_sartura::JustEngagedWith(), boss_twinemperorsAI::JustEngagedWith(), boss_viscidus::JustEngagedWith(), boss_krik_thir::boss_krik_thirAI::JustEngagedWith(), boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::JustEngagedWith(), boss_general_zarithrian::boss_general_zarithrianAI::JustEngagedWith(), boss_halion::boss_halionAI::JustEngagedWith(), boss_saviana_ragefire::boss_saviana_ragefireAI::JustEngagedWith(), boss_dred::boss_dredAI::JustEngagedWith(), boss_novos::boss_novosAI::JustEngagedWith(), boss_tharon_ja::boss_tharon_jaAI::JustEngagedWith(), boss_drakkari_colossus::boss_drakkari_colossusAI::JustEngagedWith(), boss_eck::boss_eckAI::JustEngagedWith(), boss_gal_darah::boss_gal_darahAI::JustEngagedWith(), boss_moorabi::boss_moorabiAI::JustEngagedWith(), boss_slad_ran::boss_slad_ranAI::JustEngagedWith(), boss_anubrekhan::boss_anubrekhanAI::JustEngagedWith(), boss_faerlina::boss_faerlinaAI::JustEngagedWith(), boss_four_horsemen::boss_four_horsemenAI::JustEngagedWith(), boss_gluth::boss_gluthAI::JustEngagedWith(), boss_gothik::boss_gothikAI::JustEngagedWith(), boss_grobbulus::boss_grobbulusAI::JustEngagedWith(), boss_heigan::boss_heiganAI::JustEngagedWith(), boss_kelthuzad::boss_kelthuzadAI::JustEngagedWith(), boss_loatheb::boss_loathebAI::JustEngagedWith(), boss_maexxna::boss_maexxnaAI::JustEngagedWith(), boss_noth::boss_nothAI::JustEngagedWith(), boss_patchwerk::boss_patchwerkAI::JustEngagedWith(), boss_razuvious::boss_razuviousAI::JustEngagedWith(), boss_sapphiron::boss_sapphironAI::JustEngagedWith(), boss_thaddius::boss_thaddiusAI::JustEngagedWith(), boss_anomalus::JustEngagedWith(), boss_commander_stoutbeard::JustEngagedWith(), boss_keristrasza::JustEngagedWith(), boss_magus_telestra::JustEngagedWith(), boss_ormorok::JustEngagedWith(), boss_pandemonius::JustEngagedWith(), boss_gurtogg_bloodboil::JustEngagedWith(), boss_illidan_stormrage::JustEngagedWith(), boss_mother_shahraz::JustEngagedWith(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::JustEngagedWith(), boss_supremus::JustEngagedWith(), boss_teron_gorefiend::JustEngagedWith(), boss_najentus::JustEngagedWith(), boss_fathomlord_karathress::JustEngagedWith(), boss_hydross_the_unstable::JustEngagedWith(), boss_lady_vashj::JustEngagedWith(), boss_the_lurker_below::JustEngagedWith(), boss_morogrim_tidewalker::JustEngagedWith(), boss_ahune::JustEngagedWith(), boss_magtheridon::JustEngagedWith(), boss_porung::JustEngagedWith(), boss_warbringer_omrogg::JustEngagedWith(), boss_warchief_kargath_bladefist::JustEngagedWith(), boss_alar::JustEngagedWith(), boss_high_astromancer_solarian::JustEngagedWith(), and boss_void_reaver::JustEngagedWith().

◆ JustReachedHome()

◆ JustSummoned()

void BossAI::JustSummoned ( Creature summon)
overridevirtual

Reimplemented from ScriptedAI.

Reimplemented in boss_exarch_maladaar, boss_ambassador_flamelash::boss_ambassador_flamelashAI, boss_darkmaster_gandling::boss_darkmaster_gandlingAI, boss_anubrekhan::boss_anubrekhanAI, boss_faerlina::boss_faerlinaAI, boss_grobbulus::boss_grobbulusAI, boss_kelthuzad::boss_kelthuzadAI, boss_loatheb::boss_loathebAI, boss_maexxna::boss_maexxnaAI, boss_razuvious::boss_razuviousAI, boss_thaddius::boss_thaddiusAI, boss_muru, boss_ossirian, boss_skeram, boss_mekgineer_steamrigger, boss_gyth::boss_gythAI, boss_rend_blackhand::boss_rend_blackhandAI, boss_victor_nefarius::boss_victor_nefariusAI, boss_razorgore::boss_razorgoreAI, boss_majordomo::boss_majordomoAI, boss_ragnaros::boss_ragnarosAI, boss_curator, boss_attumen, boss_midnight, boss_nightbane, boss_felblood_kaelthas, boss_priestess_delrissa, boss_vexallus, boss_sacrolash, boss_kiljaeden, boss_halazzi, boss_janalai, boss_hazzarah, boss_jindo, boss_anetheron, boss_captain_skarloc, boss_isalien, boss_onyxia, boss_eye_of_cthun, boss_amanitar, boss_jedoga_shadowseeker, boss_taldaram, boss_anub_arak::boss_anub_arakAI, boss_hadronox::boss_hadronoxAI, boss_krik_thir::boss_krik_thirAI, boss_sartharion::boss_sartharionAI, boss_sartharion_dragonAI, boss_sartharion_tenebron::boss_sartharion_tenebronAI, boss_baltharus_the_warborn::boss_baltharus_the_warbornAI, boss_general_zarithrian::boss_general_zarithrianAI, boss_halion::boss_halionAI, boss_novos::boss_novosAI, boss_trollgore::boss_trollgoreAI, boss_drakkari_colossus::boss_drakkari_colossusAI, boss_gal_darah::boss_gal_darahAI, boss_slad_ran::boss_slad_ranAI, boss_prince_valanar_icc::boss_prince_valanarAI, boss_deathbringer_saurfang::boss_deathbringer_saurfangAI, boss_lady_deathwhisper::boss_lady_deathwhisperAI, boss_professor_putricide::boss_professor_putricideAI, boss_rotface::boss_rotfaceAI, boss_sindragosa::boss_sindragosaAI, boss_the_lich_king::boss_the_lich_kingAI, boss_gluth::boss_gluthAI, boss_gothik::boss_gothikAI, boss_noth::boss_nothAI, boss_anomalus, boss_magus_telestra, boss_ormorok, boss_shirrak_the_dead_watcher, boss_nexusprince_shaffar, boss_grandmaster_vorpil, boss_gurtogg_bloodboil, boss_illidan_stormrage, boss_reliquary_of_souls::boss_reliquary_of_soulsAI, boss_supremus, boss_teron_gorefiend, boss_fathomlord_karathress, boss_hydross_the_unstable, boss_lady_vashj, boss_morogrim_tidewalker, boss_mennu_the_betrayer, boss_the_black_stalker, boss_omor_the_unscarred, boss_vazruden_the_herald, boss_warchief_kargath_bladefist, npc_warden_mellichar::npc_warden_mellicharAI, boss_harbinger_skyriss, boss_high_astromancer_solarian, boss_kaelthas, boss_mechano_lord_capacitus, boss_nethermancer_sepethrea, boss_vaelastrasz::boss_vaelAI, boss_terestian_illhoof, boss_archimonde, boss_broggok, and boss_ayamiss.

704{
705 summons.Summon(summon);
706 if (me->IsEngaged())
707 DoZoneInCombat(summon);
708}
void Summon(Creature const *summon)
Definition: ScriptedCreature.h:88

References CreatureAI::DoZoneInCombat(), Unit::IsEngaged(), ScriptedAI::me, SummonList::Summon(), and summons.

Referenced by boss_muru::JustSummoned(), boss_skeram::JustSummoned(), boss_victor_nefarius::boss_victor_nefariusAI::JustSummoned(), boss_ragnaros::boss_ragnarosAI::JustSummoned(), boss_attumen::JustSummoned(), boss_midnight::JustSummoned(), boss_felblood_kaelthas::JustSummoned(), boss_halazzi::JustSummoned(), boss_janalai::JustSummoned(), boss_jindo::JustSummoned(), boss_anetheron::JustSummoned(), boss_sartharion_dragonAI::JustSummoned(), boss_the_lich_king::boss_the_lich_kingAI::JustSummoned(), boss_hydross_the_unstable::JustSummoned(), boss_the_black_stalker::JustSummoned(), boss_harbinger_skyriss::JustSummoned(), and boss_archimonde::JustSummoned().

◆ Reset()

void BossAI::Reset ( )
inlineoverridevirtual

Reimplemented from ScriptedAI.

Reimplemented in boss_ambassador_flamelash::boss_ambassador_flamelashAI, boss_magmus::boss_magmusAI, boss_gyth::boss_gythAI, boss_halycon::boss_halyconAI, boss_highlord_omokk::boss_highlordomokkAI, boss_lord_valthalak::boss_lord_valthalakAI, boss_mor_grayhoof, boss_overlord_wyrmthalak::boss_overlordwyrmthalakAI, boss_pyroguard_emberseer::boss_pyroguard_emberseerAI, boss_quartermaster_zigris, boss_rend_blackhand::boss_rend_blackhandAI, boss_solakar_flamewreath::boss_solakar_flamewreathAI, boss_the_beast::boss_thebeastAI, boss_chromaggus::boss_chromaggusAI, boss_victor_nefarius::boss_victor_nefariusAI, boss_nefarian, boss_razorgore::boss_razorgoreAI, boss_vaelastrasz::boss_vaelAI, boss_baron_geddon::boss_baron_geddonAI, boss_garr::boss_garrAI, boss_golemagg::boss_golemaggAI, boss_majordomo::boss_majordomoAI, boss_ragnaros::boss_ragnarosAI, boss_curator, boss_attumen, boss_midnight, boss_moroes, boss_netherspite, boss_nightbane, boss_malchezaar, boss_servant_quarters, boss_shade_of_aran, boss_terestian_illhoof, boss_felblood_kaelthas, boss_priestess_delrissa, boss_selin_fireheart, boss_vexallus, boss_darkmaster_gandling::boss_darkmaster_gandlingAI, boss_apothecary_hummel::boss_apothecary_hummelAI, boss_baroness_anastari::boss_baroness_anastariAI, boss_jarien, boss_sothos, boss_brutallus, boss_sacrolash, boss_alythess, boss_felmyst, boss_kalecgos, boss_kiljaeden, boss_muru, boss_akilzon, boss_halazzi, boss_hexlord_malacrass, boss_janalai, boss_nalorakk, boss_zuljin, boss_arlokk::boss_arlokkAI, boss_grilek::boss_grilekAI, boss_hakkar::boss_hakkarAI, boss_jeklik, boss_mandokir::boss_mandokirAI, boss_marli, boss_renataki::boss_renatakiAI, boss_thekal, boss_venoxis, boss_archimonde, boss_kazrogal, boss_captain_skarloc, boss_isalien, boss_onyxia, boss_ayamiss, boss_moam, boss_ossirian, boss_bug_trio, boss_eye_of_cthun, boss_cthun, boss_fankriss, boss_huhuran, boss_ouro, boss_sartura, boss_skeram, boss_viscidus, boss_amanitar, boss_elder_nadox, boss_volazj, boss_jedoga_shadowseeker, boss_taldaram, boss_anub_arak::boss_anub_arakAI, boss_hadronox::boss_hadronoxAI, boss_krik_thir::boss_krik_thirAI, boss_sartharion::boss_sartharionAI, boss_sartharion_dragonAI, boss_sartharion_tenebron::boss_sartharion_tenebronAI, boss_sartharion_shadron::boss_sartharion_shadronAI, boss_sartharion_vesperon::boss_sartharion_vesperonAI, boss_baltharus_the_warborn::boss_baltharus_the_warbornAI, boss_general_zarithrian::boss_general_zarithrianAI, boss_halion::boss_halionAI, boss_saviana_ragefire::boss_saviana_ragefireAI, boss_dred::boss_dredAI, boss_novos::boss_novosAI, boss_tharon_ja::boss_tharon_jaAI, boss_trollgore::boss_trollgoreAI, boss_drakkari_colossus::boss_drakkari_colossusAI, boss_eck::boss_eckAI, boss_gal_darah::boss_gal_darahAI, boss_moorabi::boss_moorabiAI, boss_slad_ran::boss_slad_ranAI, boss_prince_valanar_icc::boss_prince_valanarAI, boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI, boss_deathbringer_saurfang::boss_deathbringer_saurfangAI, boss_festergut::boss_festergutAI, boss_lady_deathwhisper::boss_lady_deathwhisperAI, boss_lord_marrowgar, boss_professor_putricide::boss_professor_putricideAI, boss_rotface::boss_rotfaceAI, boss_sindragosa::boss_sindragosaAI, boss_the_lich_king::boss_the_lich_kingAI, npc_green_dragon_combat_trigger::npc_green_dragon_combat_triggerAI, boss_sister_svalna::boss_sister_svalnaAI, boss_anubrekhan::boss_anubrekhanAI, boss_faerlina::boss_faerlinaAI, boss_four_horsemen::boss_four_horsemenAI, boss_gluth::boss_gluthAI, boss_gothik::boss_gothikAI, boss_grobbulus::boss_grobbulusAI, boss_heigan::boss_heiganAI, boss_kelthuzad::boss_kelthuzadAI, boss_loatheb::boss_loathebAI, boss_maexxna::boss_maexxnaAI, boss_noth::boss_nothAI, boss_patchwerk::boss_patchwerkAI, boss_razuvious::boss_razuviousAI, boss_sapphiron::boss_sapphironAI, boss_thaddius::boss_thaddiusAI, boss_anomalus, boss_keristrasza, boss_magus_telestra, boss_ormorok, boss_exarch_maladaar, boss_shirrak_the_dead_watcher, boss_nexusprince_shaffar, boss_tavarok, boss_anzu, boss_darkweaver_syth, boss_talon_king_ikiss, boss_ambassador_hellmaw, boss_blackheart_the_inciter, boss_grandmaster_vorpil, boss_murmur, boss_gurtogg_bloodboil, boss_illidan_stormrage, boss_mother_shahraz, boss_reliquary_of_souls::boss_reliquary_of_soulsAI, boss_shade_of_akama, boss_supremus, boss_teron_gorefiend, boss_najentus, boss_fathomlord_karathress, boss_hydross_the_unstable, boss_lady_vashj, boss_leotheras_the_blind, boss_the_lurker_below, boss_morogrim_tidewalker, boss_mennu_the_betrayer, boss_rokmar_the_crackler, boss_warlord_kalithresh, boss_ghazan, boss_hungarfen, boss_swamplord_muselek, boss_gruul, boss_high_king_maulgar, boss_broggok, boss_kelidan_the_breaker, boss_the_maker, boss_omor_the_unscarred, boss_vazruden_the_herald, boss_watchkeeper_gargolmar, boss_magtheridon, boss_grand_warlock_nethekurse, boss_warchief_kargath_bladefist, npc_warden_mellichar::npc_warden_mellicharAI, boss_dalliah_the_doomsayer, boss_harbinger_skyriss, boss_wrath_scryer_soccothrates, boss_laj, boss_thorngrin_the_tender, boss_alar, boss_high_astromancer_solarian, boss_kaelthas, boss_void_reaver, and boss_pathaleon_the_calculator.

496{ _Reset(); }
void _Reset()
Definition: ScriptedCreature.cpp:624

References _Reset().

Referenced by boss_jindo::EnterEvadeMode(), boss_lord_valthalak::boss_lord_valthalakAI::Reset(), boss_curator::Reset(), boss_midnight::Reset(), boss_moroes::Reset(), boss_netherspite::Reset(), boss_nightbane::Reset(), boss_shade_of_aran::Reset(), boss_felblood_kaelthas::Reset(), boss_selin_fireheart::Reset(), boss_brutallus::Reset(), boss_sacrolash::Reset(), boss_alythess::Reset(), boss_felmyst::Reset(), boss_kalecgos::Reset(), boss_muru::Reset(), boss_halazzi::Reset(), boss_hexlord_malacrass::Reset(), boss_janalai::Reset(), boss_nalorakk::Reset(), boss_grilek::boss_grilekAI::Reset(), boss_jeklik::Reset(), boss_mandokir::boss_mandokirAI::Reset(), boss_marli::Reset(), boss_venoxis::Reset(), boss_kazrogal::Reset(), boss_onyxia::Reset(), boss_ayamiss::Reset(), boss_ossirian::Reset(), boss_bug_trio::Reset(), boss_eye_of_cthun::Reset(), boss_cthun::Reset(), boss_fankriss::Reset(), boss_huhuran::Reset(), boss_viscidus::Reset(), boss_anub_arak::boss_anub_arakAI::Reset(), boss_hadronox::boss_hadronoxAI::Reset(), boss_krik_thir::boss_krik_thirAI::Reset(), boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::Reset(), boss_general_zarithrian::boss_general_zarithrianAI::Reset(), boss_halion::boss_halionAI::Reset(), boss_saviana_ragefire::boss_saviana_ragefireAI::Reset(), boss_dred::boss_dredAI::Reset(), boss_novos::boss_novosAI::Reset(), boss_tharon_ja::boss_tharon_jaAI::Reset(), boss_trollgore::boss_trollgoreAI::Reset(), boss_drakkari_colossus::boss_drakkari_colossusAI::Reset(), boss_eck::boss_eckAI::Reset(), boss_gal_darah::boss_gal_darahAI::Reset(), boss_moorabi::boss_moorabiAI::Reset(), boss_slad_ran::boss_slad_ranAI::Reset(), boss_anubrekhan::boss_anubrekhanAI::Reset(), boss_faerlina::boss_faerlinaAI::Reset(), boss_four_horsemen::boss_four_horsemenAI::Reset(), boss_gluth::boss_gluthAI::Reset(), boss_gothik::boss_gothikAI::Reset(), boss_grobbulus::boss_grobbulusAI::Reset(), boss_heigan::boss_heiganAI::Reset(), boss_kelthuzad::boss_kelthuzadAI::Reset(), boss_loatheb::boss_loathebAI::Reset(), boss_maexxna::boss_maexxnaAI::Reset(), boss_noth::boss_nothAI::Reset(), boss_patchwerk::boss_patchwerkAI::Reset(), boss_razuvious::boss_razuviousAI::Reset(), boss_sapphiron::boss_sapphironAI::Reset(), boss_thaddius::boss_thaddiusAI::Reset(), boss_anomalus::Reset(), boss_keristrasza::Reset(), boss_magus_telestra::Reset(), boss_ormorok::Reset(), boss_gurtogg_bloodboil::Reset(), boss_illidan_stormrage::Reset(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::Reset(), boss_shade_of_akama::Reset(), boss_supremus::Reset(), boss_teron_gorefiend::Reset(), boss_fathomlord_karathress::Reset(), boss_lady_vashj::Reset(), boss_leotheras_the_blind::Reset(), boss_the_lurker_below::Reset(), boss_morogrim_tidewalker::Reset(), boss_magtheridon::Reset(), boss_warchief_kargath_bladefist::Reset(), boss_alar::Reset(), boss_high_astromancer_solarian::Reset(), boss_kaelthas::Reset(), and boss_void_reaver::Reset().

◆ ScheduleHealthCheckEvent() [1/2]

void BossAI::ScheduleHealthCheckEvent ( std::initializer_list< uint8 healthPct,
std::function< void()>  exec 
)
781{
782 for (auto const& checks : healthPct)
783 {
784 _healthCheckEvents.push_back(HealthCheckEventData(checks, exec));
785 }
786
788}

References _healthCheckEvents, and _nextHealthCheck.

◆ ScheduleHealthCheckEvent() [2/2]

void BossAI::ScheduleHealthCheckEvent ( uint32  healthPct,
std::function< void()>  exec 
)

Executes a function once the creature reaches the defined health point percent.

Parameters
healthPctThe health percent at which the code will be executed.
execThe fuction to be executed.
775{
776 _healthCheckEvents.push_back(HealthCheckEventData(healthPct, exec));
778};

References _healthCheckEvents, and _nextHealthCheck.

Referenced by boss_thekal::CheckPhaseTransition(), boss_zuljin::JustEngagedWith(), boss_venoxis::JustEngagedWith(), boss_mekgineer_steamrigger::JustEngagedWith(), boss_commander_sarannis::JustEngagedWith(), boss_pathaleon_the_calculator::JustEngagedWith(), boss_kurinnaxx::JustEngagedWith(), boss_jeklik::PathEndReached(), boss_gyth::boss_gythAI::Reset(), boss_nefarian::Reset(), boss_curator::Reset(), boss_moroes::Reset(), boss_nightbane::Reset(), boss_malchezaar::Reset(), boss_shade_of_aran::Reset(), boss_felblood_kaelthas::Reset(), boss_vexallus::Reset(), boss_kalecgos::Reset(), boss_kiljaeden::Reset(), boss_hexlord_malacrass::Reset(), boss_janalai::Reset(), boss_archimonde::Reset(), boss_ayamiss::Reset(), boss_exarch_maladaar::Reset(), boss_anzu::Reset(), boss_darkweaver_syth::Reset(), boss_talon_king_ikiss::Reset(), boss_illidan_stormrage::Reset(), boss_mother_shahraz::Reset(), boss_fathomlord_karathress::Reset(), boss_lady_vashj::Reset(), boss_leotheras_the_blind::Reset(), boss_mennu_the_betrayer::Reset(), boss_rokmar_the_crackler::Reset(), boss_ghazan::Reset(), boss_hungarfen::Reset(), boss_high_king_maulgar::Reset(), boss_omor_the_unscarred::Reset(), boss_watchkeeper_gargolmar::Reset(), boss_magtheridon::Reset(), boss_grand_warlock_nethekurse::Reset(), boss_dalliah_the_doomsayer::Reset(), boss_harbinger_skyriss::Reset(), boss_wrath_scryer_soccothrates::Reset(), boss_thorngrin_the_tender::Reset(), and boss_high_astromancer_solarian::Reset().

◆ ScheduleTasks()

virtual void BossAI::ScheduleTasks ( )
inlinevirtual

Reimplemented in boss_attumen, boss_ayamiss, boss_cthun, and boss_laj.

494{ }

Referenced by _JustEngagedWith().

◆ SummonedCreatureDespawn()

◆ SummonedCreatureDespawnAll()

void BossAI::SummonedCreatureDespawnAll ( )
overridevirtual

Reimplemented from CreatureAI.

716{
718}

References SummonList::DespawnAll(), and summons.

◆ TeleportCheaters()

void BossAI::TeleportCheaters ( )
protected
692{
693 float x, y, z;
694 me->GetPosition(x, y, z);
695
697 for (ThreatContainer::StorageType::const_iterator itr = threatList.begin(); itr != threatList.end(); ++itr)
698 if (Unit* target = (*itr)->getTarget())
699 if (target->IsPlayer() && !IsInBoundary(target))
700 target->NearTeleportTo(x, y, z, 0);
701}
bool IsInBoundary(Position const *who=nullptr) const
Definition: CreatureAI.cpp:386
std::list< HostileReference * > StorageType
Definition: ThreatMgr.h:147
ThreatContainer::StorageType const & GetThreatList() const
Definition: ThreatMgr.h:273
void GetPosition(float &x, float &y) const
Definition: Position.h:121
Definition: Unit.h:630
ThreatMgr & GetThreatMgr()
Definition: Unit.h:903

References Position::GetPosition(), ThreatMgr::GetThreatList(), Unit::GetThreatMgr(), CreatureAI::IsInBoundary(), and ScriptedAI::me.

◆ UpdateAI()

void BossAI::UpdateAI ( uint32  )
overridevirtual

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

Reimplemented from ScriptedAI.

Reimplemented in boss_sartharion_dragonAI, boss_ambassador_flamelash::boss_ambassador_flamelashAI, boss_anubshiah::boss_anubshiahAI, boss_emperor_dagran_thaurissan::boss_draganthaurissanAI, boss_eviscerator::boss_evisceratorAI, boss_gorosh_the_dervish::boss_gorosh_the_dervishAI, boss_grizzle::boss_grizzleAI, boss_hedrum::boss_hedrumAI, boss_magmus::boss_magmusAI, boss_moira_bronzebeardAI, boss_high_priestess_thaurissanAI, boss_okthor::boss_okthorAI, boss_drakkisath::boss_drakkisathAI, boss_gyth::boss_gythAI, boss_halycon::boss_halyconAI, boss_highlord_omokk::boss_highlordomokkAI, boss_lord_valthalak::boss_lord_valthalakAI, boss_mor_grayhoof, boss_overlord_wyrmthalak::boss_overlordwyrmthalakAI, boss_pyroguard_emberseer::boss_pyroguard_emberseerAI, boss_quartermaster_zigris, boss_rend_blackhand::boss_rend_blackhandAI, boss_solakar_flamewreath::boss_solakar_flamewreathAI, boss_the_beast::boss_thebeastAI, boss_urok_doomhowl::boss_urok_doomhowlAI, boss_broodlord::boss_broodlordAI, boss_chromaggus::boss_chromaggusAI, boss_ebonroc::boss_ebonrocAI, boss_firemaw::boss_firemawAI, boss_flamegor::boss_flamegorAI, boss_victor_nefarius::boss_victor_nefariusAI, boss_nefarian, boss_razorgore::boss_razorgoreAI, boss_vaelastrasz::boss_vaelAI, boss_garr::boss_garrAI, boss_golemagg::boss_golemaggAI, boss_majordomo::boss_majordomoAI, boss_ragnaros::boss_ragnarosAI, boss_attumen, boss_midnight, boss_moroes, boss_netherspite, boss_nightbane, boss_servant_quarters, boss_shade_of_aran, boss_felblood_kaelthas, boss_darkmaster_gandling::boss_darkmaster_gandlingAI, boss_apothecary_hummel::boss_apothecary_hummelAI, boss_baroness_anastari::boss_baroness_anastariAI, boss_jarien, boss_sothos, boss_felmyst, boss_kiljaeden, boss_nalorakk, boss_arlokk::boss_arlokkAI, boss_grilek::boss_grilekAI, boss_hakkar::boss_hakkarAI, boss_hazzarah, boss_jindo, boss_mandokir::boss_mandokirAI, boss_renataki::boss_renatakiAI, boss_thekal, boss_wushoolay::boss_wushoolayAI, boss_captain_skarloc, boss_lieutenant_drake, boss_isalien, boss_onyxia, boss_buru, boss_moam, boss_ossirian, boss_rajaxx, boss_bug_trio, boss_cthun, boss_huhuran, boss_ouro, boss_sartura, boss_skeram, boss_twinemperorsAI, boss_viscidus, boss_elder_nadox, boss_volazj, boss_jedoga_shadowseeker, boss_taldaram, boss_anub_arak::boss_anub_arakAI, boss_hadronox::boss_hadronoxAI, boss_krik_thir::boss_krik_thirAI, boss_sartharion::boss_sartharionAI, boss_baltharus_the_warborn::boss_baltharus_the_warbornAI, boss_general_zarithrian::boss_general_zarithrianAI, boss_halion::boss_halionAI, boss_saviana_ragefire::boss_saviana_ragefireAI, boss_dred::boss_dredAI, boss_novos::boss_novosAI, boss_tharon_ja::boss_tharon_jaAI, boss_trollgore::boss_trollgoreAI, boss_drakkari_colossus::boss_drakkari_colossusAI, boss_eck::boss_eckAI, boss_gal_darah::boss_gal_darahAI, boss_moorabi::boss_moorabiAI, boss_slad_ran::boss_slad_ranAI, boss_prince_valanar_icc::boss_prince_valanarAI, boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI, boss_deathbringer_saurfang::boss_deathbringer_saurfangAI, boss_festergut::boss_festergutAI, boss_lady_deathwhisper::boss_lady_deathwhisperAI, boss_lord_marrowgar, boss_professor_putricide::boss_professor_putricideAI, boss_rotface::boss_rotfaceAI, boss_sindragosa::boss_sindragosaAI, boss_the_lich_king::boss_the_lich_kingAI, npc_green_dragon_combat_trigger::npc_green_dragon_combat_triggerAI, boss_sister_svalna::boss_sister_svalnaAI, boss_faerlina::boss_faerlinaAI, boss_four_horsemen::boss_four_horsemenAI, boss_gluth::boss_gluthAI, boss_gothik::boss_gothikAI, boss_grobbulus::boss_grobbulusAI, boss_heigan::boss_heiganAI, boss_kelthuzad::boss_kelthuzadAI, boss_loatheb::boss_loathebAI, boss_maexxna::boss_maexxnaAI, boss_noth::boss_nothAI, boss_patchwerk::boss_patchwerkAI, boss_razuvious::boss_razuviousAI, boss_sapphiron::boss_sapphironAI, boss_thaddius::boss_thaddiusAI, boss_anomalus, boss_keristrasza, boss_magus_telestra, boss_ormorok, boss_exarch_maladaar, boss_shirrak_the_dead_watcher, boss_nexusprince_shaffar, boss_anzu, boss_ambassador_hellmaw, boss_blackheart_the_inciter, boss_illidari_council, boss_reliquary_of_souls::boss_reliquary_of_soulsAI, boss_shade_of_akama, boss_teron_gorefiend, boss_lady_vashj, boss_leotheras_the_blind, boss_the_lurker_below, boss_ghazan, boss_hungarfen, boss_the_black_stalker, boss_gruul, boss_high_king_maulgar, boss_the_maker, boss_omor_the_unscarred, boss_watchkeeper_gargolmar, boss_magtheridon, boss_grand_warlock_nethekurse, boss_warbringer_omrogg, boss_warchief_kargath_bladefist, npc_warden_mellichar::npc_warden_mellicharAI, boss_wrath_scryer_soccothrates, boss_alar, boss_high_astromancer_solarian, boss_kaelthas, and boss_vazruden_the_herald.

721{
722 if (!UpdateVictim())
723 {
724 return;
725 }
726
727 events.Update(diff);
728 scheduler.Update(diff);
729
731 {
732 return;
733 }
734
735 while (uint32 const eventId = events.ExecuteEvent())
736 {
737 ExecuteEvent(eventId);
739 {
740 return;
741 }
742 }
743
746}
std::uint32_t uint32
Definition: Define.h:107
TaskScheduler & Update(success_t const &callback=EmptyCallback)
Definition: TaskScheduler.cpp:27
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:39
bool UpdateVictim()
Definition: CreatureAI.cpp:280
bool IsAutoAttackAllowed() const
Definition: ScriptedCreature.h:447
virtual void ExecuteEvent(uint32)
Definition: ScriptedCreature.h:492

References UnitAI::DoMeleeAttackIfReady(), ExecuteEvent(), Unit::HasUnitState(), ScriptedAI::IsAutoAttackAllowed(), ScriptedAI::me, CreatureAI::scheduler, UNIT_STATE_CASTING, TaskScheduler::Update(), and CreatureAI::UpdateVictim().

Referenced by boss_felblood_kaelthas::UpdateAI(), and boss_nalorakk::UpdateAI().

Member Data Documentation

◆ _bossId

uint32 const BossAI::_bossId
private

◆ _healthCheckEvents

std::list<HealthCheckEventData> BossAI::_healthCheckEvents
private

◆ _nextHealthCheck

HealthCheckEventData BossAI::_nextHealthCheck
private

◆ callForHelpRange

◆ instance

InstanceScript* const BossAI::instance

Referenced by _EnterEvadeMode(), _JustDied(), _JustEngagedWith(), _Reset(), boss_hakkar::boss_hakkarAI::ApplyHakkarPowerStacks(), boss_felmyst::boss_felmyst(), boss_prince_valanar_icc::boss_prince_valanarAI::boss_prince_valanarAI(), boss_victor_nefarius::boss_victor_nefariusAI::boss_victor_nefariusAI(), boss_wrath_scryer_soccothrates::boss_wrath_scryer_soccothrates(), boss_majordomo::boss_majordomoAI::CanAIAttack(), boss_pathaleon_the_calculator::CanAIAttack(), boss_keristrasza::CanRemovePrison(), CanRespawn(), boss_moira_bronzebeardAI::CastOnEmperorIfPossible(), boss_prince_valanar_icc::boss_prince_valanarAI::CheckRoom(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::CleanAuras(), boss_sartharion_dragonAI::ClearInstance(), boss_sartharion_vesperon::boss_sartharion_vesperonAI::ClearInstance(), boss_kalecgos::ClearPlayerAuras(), boss_prince_valanar_icc::boss_prince_valanarAI::DamageDealt(), boss_attumen::DamageTaken(), boss_sindragosa::boss_sindragosaAI::DamageTaken(), boss_buru::DamageTaken(), boss_halion::boss_halionAI::DamageTaken(), boss_the_lich_king::boss_the_lich_kingAI::DamageTaken(), npc_warden_mellichar::npc_warden_mellicharAI::DamageTaken(), boss_bug_trio::DamageTaken(), boss_apothecary_hummel::boss_apothecary_hummelAI::DoAction(), boss_taldaram::DoAction(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::DoAction(), boss_sindragosa::boss_sindragosaAI::DoAction(), boss_the_lich_king::boss_the_lich_kingAI::DoAction(), boss_fathomlord_karathress::DoAction(), boss_broggok::DoAction(), boss_pathaleon_the_calculator::DoAction(), boss_kalecgos::DoAction(), boss_onyxia::DoAction(), boss_hadronox::boss_hadronoxAI::DoAction(), boss_illidan_stormrage::DoAction(), boss_illidari_council::DoAction(), boss_razorgore::boss_razorgoreAI::DoChangePhase(), boss_ahune::Emerge(), boss_bug_trio::EnterCombatWithTrio(), boss_gyth::boss_gythAI::EnterEvadeMode(), boss_rend_blackhand::boss_rend_blackhandAI::EnterEvadeMode(), boss_attumen::EnterEvadeMode(), boss_sacrolash::EnterEvadeMode(), boss_alythess::EnterEvadeMode(), boss_buru::EnterEvadeMode(), boss_amanitar::EnterEvadeMode(), boss_halion::boss_halionAI::EnterEvadeMode(), boss_prince_valanar_icc::boss_prince_valanarAI::EnterEvadeMode(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::EnterEvadeMode(), boss_festergut::boss_festergutAI::EnterEvadeMode(), boss_rotface::boss_rotfaceAI::EnterEvadeMode(), boss_sindragosa::boss_sindragosaAI::EnterEvadeMode(), boss_the_lich_king::boss_the_lich_kingAI::EnterEvadeMode(), boss_illidan_stormrage::EnterEvadeMode(), boss_illidari_council::EnterEvadeMode(), boss_the_lurker_below::EnterEvadeMode(), boss_harbinger_skyriss::EnterEvadeMode(), boss_ouro::EnterEvadeMode(), boss_ahune::EnterEvadeMode(), boss_halazzi::EnterPhase(), boss_bug_trio::EvadeAllBosses(), boss_sartharion_tenebron::boss_sartharion_tenebronAI::ExecuteEvent(), boss_sartharion_shadron::boss_sartharion_shadronAI::ExecuteEvent(), boss_sartharion_vesperon::boss_sartharion_vesperonAI::ExecuteEvent(), boss_ahune::ExecuteEvent(), boss_twinemperorsAI::GetTwin(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::GoToMinchar(), boss_netherspite::HandleDoors(), boss_warbringer_omrogg::HandleHeadTalk(), boss_urok_doomhowl::boss_urok_doomhowlAI::InitializeAI(), boss_majordomo::boss_majordomoAI::InitializeAI(), boss_taldaram::InitializeAI(), boss_ambassador_hellmaw::InitializeAI(), boss_warchief_kargath_bladefist::InitializeAI(), boss_aeonus::IsSummonedBy(), boss_emperor_dagran_thaurissan::boss_draganthaurissanAI::JustDied(), boss_gyth::boss_gythAI::JustDied(), boss_overlord_wyrmthalak::boss_overlordwyrmthalakAI::JustDied(), boss_pyroguard_emberseer::boss_pyroguard_emberseerAI::JustDied(), boss_rend_blackhand::boss_rend_blackhandAI::JustDied(), boss_solakar_flamewreath::boss_solakar_flamewreathAI::JustDied(), boss_victor_nefarius::boss_victor_nefariusAI::JustDied(), boss_razorgore::boss_razorgoreAI::JustDied(), boss_shade_of_aran::JustDied(), boss_priestess_delrissa::JustDied(), boss_darkmaster_gandling::boss_darkmaster_gandlingAI::JustDied(), boss_baroness_anastari::boss_baroness_anastariAI::JustDied(), boss_sacrolash::JustDied(), boss_alythess::JustDied(), boss_zuljin::JustDied(), boss_mandokir::boss_mandokirAI::JustDied(), boss_thekal::JustDied(), boss_rajaxx::JustDied(), boss_eye_of_cthun::JustDied(), boss_amanitar::JustDied(), boss_sartharion_dragonAI::JustDied(), boss_prince_valanar_icc::boss_prince_valanarAI::JustDied(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::JustDied(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::JustDied(), boss_festergut::boss_festergutAI::JustDied(), boss_rotface::boss_rotfaceAI::JustDied(), boss_sindragosa::boss_sindragosaAI::JustDied(), boss_sister_svalna::boss_sister_svalnaAI::JustDied(), boss_talon_king_ikiss::JustDied(), boss_ahune::JustDied(), boss_hydromancer_thespia::JustDied(), boss_warlord_kalithresh::JustDied(), boss_high_king_maulgar::JustDied(), boss_kelidan_the_breaker::JustDied(), boss_the_maker::JustDied(), boss_dalliah_the_doomsayer::JustDied(), boss_lord_valthalak::boss_lord_valthalakAI::JustDied(), boss_moroes::JustDied(), boss_felblood_kaelthas::JustDied(), boss_brutallus::JustDied(), boss_felmyst::JustDied(), boss_azgalor::JustDied(), boss_buru::JustDied(), boss_kurinnaxx::JustDied(), boss_bug_trio::JustDied(), boss_cthun::JustDied(), boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::JustDied(), boss_halion::boss_halionAI::JustDied(), boss_novos::boss_novosAI::JustDied(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustDied(), boss_anubrekhan::boss_anubrekhanAI::JustDied(), boss_shade_of_akama::JustDied(), boss_fathomlord_karathress::JustDied(), boss_warchief_kargath_bladefist::JustDied(), boss_sartharion_dragonAI::JustEngagedWith(), boss_magmus::boss_magmusAI::JustEngagedWith(), boss_razorgore::boss_razorgoreAI::JustEngagedWith(), boss_shade_of_aran::JustEngagedWith(), boss_darkmaster_gandling::boss_darkmaster_gandlingAI::JustEngagedWith(), boss_hakkar::boss_hakkarAI::JustEngagedWith(), boss_volazj::JustEngagedWith(), boss_anub_arak::boss_anub_arakAI::JustEngagedWith(), boss_lord_marrowgar::JustEngagedWith(), boss_sister_svalna::boss_sister_svalnaAI::JustEngagedWith(), boss_kelidan_the_breaker::JustEngagedWith(), boss_the_maker::JustEngagedWith(), boss_dalliah_the_doomsayer::JustEngagedWith(), boss_sartharion::boss_sartharionAI::JustEngagedWith(), boss_the_lich_king::boss_the_lich_kingAI::JustEngagedWith(), npc_green_dragon_combat_trigger::npc_green_dragon_combat_triggerAI::JustEngagedWith(), boss_sacrolash::JustEngagedWith(), boss_alythess::JustEngagedWith(), boss_onyxia::JustEngagedWith(), boss_buru::JustEngagedWith(), boss_vem::JustEngagedWith(), boss_halion::boss_halionAI::JustEngagedWith(), boss_trollgore::boss_trollgoreAI::JustEngagedWith(), boss_prince_valanar_icc::boss_prince_valanarAI::JustEngagedWith(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::JustEngagedWith(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::JustEngagedWith(), boss_festergut::boss_festergutAI::JustEngagedWith(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustEngagedWith(), boss_professor_putricide::boss_professor_putricideAI::JustEngagedWith(), boss_rotface::boss_rotfaceAI::JustEngagedWith(), boss_sindragosa::boss_sindragosaAI::JustEngagedWith(), boss_illidan_stormrage::JustEngagedWith(), boss_fathomlord_karathress::JustEngagedWith(), boss_magtheridon::JustEngagedWith(), boss_warchief_kargath_bladefist::JustEngagedWith(), boss_majordomo::boss_majordomoAI::JustReachedHome(), boss_arlokk::boss_arlokkAI::JustReachedHome(), boss_aeonus::JustReachedHome(), boss_prince_valanar_icc::boss_prince_valanarAI::JustReachedHome(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::JustReachedHome(), boss_festergut::boss_festergutAI::JustReachedHome(), boss_lord_marrowgar::JustReachedHome(), boss_professor_putricide::boss_professor_putricideAI::JustReachedHome(), boss_rotface::boss_rotfaceAI::JustReachedHome(), npc_green_dragon_combat_trigger::npc_green_dragon_combat_triggerAI::JustReachedHome(), boss_fathomlord_karathress::JustReachedHome(), boss_attumen::JustSummoned(), boss_eye_of_cthun::JustSummoned(), boss_sartharion_dragonAI::JustSummoned(), boss_midnight::KilledUnit(), boss_mandokir::boss_mandokirAI::KilledUnit(), boss_anubrekhan::boss_anubrekhanAI::KilledUnit(), boss_mandokir::boss_mandokirAI::MovementInform(), boss_bug_trio::MovementInform(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::MovementInform(), boss_professor_putricide::boss_professor_putricideAI::MovementInform(), boss_lady_vashj::MovementInform(), boss_shade_of_akama::MovementInform(), boss_pyroguard_emberseer::boss_pyroguard_emberseerAI::OpenDoors(), boss_kaelthas::PrepareAdvisors(), boss_magmus::boss_magmusAI::Reset(), boss_gyth::boss_gythAI::Reset(), boss_pyroguard_emberseer::boss_pyroguard_emberseerAI::Reset(), boss_rend_blackhand::boss_rend_blackhandAI::Reset(), boss_razorgore::boss_razorgoreAI::Reset(), boss_majordomo::boss_majordomoAI::Reset(), boss_shade_of_aran::Reset(), boss_priestess_delrissa::Reset(), boss_darkmaster_gandling::boss_darkmaster_gandlingAI::Reset(), boss_baroness_anastari::boss_baroness_anastariAI::Reset(), boss_felmyst::Reset(), boss_kalecgos::Reset(), boss_kiljaeden::Reset(), boss_mandokir::boss_mandokirAI::Reset(), boss_thekal::Reset(), boss_archimonde::Reset(), boss_onyxia::Reset(), boss_bug_trio::Reset(), boss_ouro::Reset(), boss_volazj::Reset(), boss_anub_arak::boss_anub_arakAI::Reset(), boss_sartharion::boss_sartharionAI::Reset(), boss_sartharion_dragonAI::Reset(), boss_general_zarithrian::boss_general_zarithrianAI::Reset(), boss_novos::boss_novosAI::Reset(), boss_prince_valanar_icc::boss_prince_valanarAI::Reset(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::Reset(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::Reset(), boss_lord_marrowgar::Reset(), boss_professor_putricide::boss_professor_putricideAI::Reset(), boss_the_lich_king::boss_the_lich_kingAI::Reset(), npc_green_dragon_combat_trigger::npc_green_dragon_combat_triggerAI::Reset(), boss_illidan_stormrage::Reset(), boss_fathomlord_karathress::Reset(), boss_warlord_kalithresh::Reset(), boss_kelidan_the_breaker::Reset(), boss_the_maker::Reset(), boss_magtheridon::Reset(), boss_grand_warlock_nethekurse::Reset(), boss_warchief_kargath_bladefist::Reset(), npc_warden_mellichar::npc_warden_mellicharAI::Reset(), boss_dalliah_the_doomsayer::Reset(), boss_wrath_scryer_soccothrates::Reset(), boss_pathaleon_the_calculator::Reset(), boss_sartharion::boss_sartharionAI::RespawnDragons(), boss_thekal::ReviveZealot(), boss_magtheridon::ScheduleCombatEvents(), boss_ayamiss::ScheduleTasks(), boss_cthun::ScheduleTasks(), boss_pyroguard_emberseer::boss_pyroguard_emberseerAI::SetData(), boss_darkmaster_gandling::boss_darkmaster_gandlingAI::SetGate(), boss_kaelthas::SetRoomState(), boss_victor_nefarius::boss_victor_nefariusAI::sGossipSelect(), boss_shade_of_akama::SpellHit(), boss_onyxia::SpellHitTarget(), boss_ahune::Submerge(), boss_rend_blackhand::boss_rend_blackhandAI::SummonedCreatureDespawn(), boss_priestess_delrissa::SummonedCreatureDies(), boss_sartharion_shadron::boss_sartharion_shadronAI::SummonedCreatureDies(), boss_sartharion_vesperon::boss_sartharion_vesperonAI::SummonedCreatureDies(), boss_majordomo::boss_majordomoAI::SummonedCreatureDies(), npc_warden_mellichar::npc_warden_mellicharAI::SummonedCreatureDies(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::SummonWaveP1(), boss_pyroguard_emberseer::boss_pyroguard_emberseerAI::UpdateAI(), boss_rend_blackhand::boss_rend_blackhandAI::UpdateAI(), boss_solakar_flamewreath::boss_solakar_flamewreathAI::UpdateAI(), boss_majordomo::boss_majordomoAI::UpdateAI(), boss_mandokir::boss_mandokirAI::UpdateAI(), boss_jedoga_shadowseeker::UpdateAI(), boss_sartharion::boss_sartharionAI::UpdateAI(), boss_general_zarithrian::boss_general_zarithrianAI::UpdateAI(), boss_halion::boss_halionAI::UpdateAI(), boss_prince_valanar_icc::boss_prince_valanarAI::UpdateAI(), boss_festergut::boss_festergutAI::UpdateAI(), boss_professor_putricide::boss_professor_putricideAI::UpdateAI(), boss_rotface::boss_rotfaceAI::UpdateAI(), npc_warden_mellichar::npc_warden_mellicharAI::UpdateAI(), and boss_pyroguard_emberseer::boss_pyroguard_emberseerAI::UpdateRunes().

◆ summons

SummonList BossAI::summons
protected

Referenced by _JustDied(), _Reset(), boss_janalai::Boom(), boss_moroes::CheckGuestsInRoom(), boss_volazj::CheckPhaseMinions(), boss_sartharion_dragonAI::ClearInstance(), boss_sartharion::boss_sartharionAI::DamageTaken(), boss_the_lich_king::boss_the_lich_kingAI::DamageTaken(), boss_victor_nefarius::boss_victor_nefariusAI::DoAction(), boss_apothecary_hummel::boss_apothecary_hummelAI::DoAction(), boss_taldaram::DoAction(), boss_prince_valanar_icc::boss_prince_valanarAI::DoAction(), boss_the_lich_king::boss_the_lich_kingAI::DoAction(), boss_drakkari_colossus::boss_drakkari_colossusAI::DoAction(), boss_illidan_stormrage::DoAction(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::DoAction(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::EmpowerCultist(), boss_the_lich_king::boss_the_lich_kingAI::EnterEvadeMode(), boss_ahune::EnterEvadeMode(), boss_halazzi::EnterPhase(), boss_sartharion_tenebron::boss_sartharion_tenebronAI::ExecuteEvent(), boss_sartharion_shadron::boss_sartharion_shadronAI::ExecuteEvent(), boss_sartharion_vesperon::boss_sartharion_vesperonAI::ExecuteEvent(), boss_kaelthas::ExecuteMiddleEvent(), boss_krik_thir::boss_krik_thirAI::GetData(), boss_professor_putricide::boss_professor_putricideAI::GetData(), boss_moroes::GetRandomGuest(), boss_janalai::HatchAllEggs(), boss_moroes::InitializeGuests(), boss_kaelthas::IntroduceNewAdvisor(), boss_sacrolash::JustDied(), boss_alythess::JustDied(), boss_zuljin::JustDied(), boss_sartharion_dragonAI::JustDied(), boss_prince_valanar_icc::boss_prince_valanarAI::JustDied(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustDied(), boss_illidan_stormrage::JustDied(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::JustDied(), boss_priestess_delrissa::JustEngagedWith(), boss_zuljin::JustEngagedWith(), boss_muru::JustEngagedWith(), boss_hexlord_malacrass::JustEngagedWith(), boss_sindragosa::boss_sindragosaAI::JustEngagedWith(), boss_anubrekhan::boss_anubrekhanAI::JustEngagedWith(), boss_high_astromancer_solarian::JustEngagedWith(), boss_anubrekhan::boss_anubrekhanAI::JustSummoned(), boss_ossirian::JustSummoned(), JustSummoned(), boss_gyth::boss_gythAI::JustSummoned(), boss_rend_blackhand::boss_rend_blackhandAI::JustSummoned(), boss_razorgore::boss_razorgoreAI::JustSummoned(), boss_curator::JustSummoned(), boss_nightbane::JustSummoned(), boss_priestess_delrissa::JustSummoned(), boss_vexallus::JustSummoned(), boss_sacrolash::JustSummoned(), boss_hazzarah::JustSummoned(), boss_isalien::JustSummoned(), boss_onyxia::JustSummoned(), boss_eye_of_cthun::JustSummoned(), boss_amanitar::JustSummoned(), boss_jedoga_shadowseeker::JustSummoned(), boss_taldaram::JustSummoned(), boss_anub_arak::boss_anub_arakAI::JustSummoned(), boss_hadronox::boss_hadronoxAI::JustSummoned(), boss_krik_thir::boss_krik_thirAI::JustSummoned(), boss_sartharion::boss_sartharionAI::JustSummoned(), boss_sartharion_tenebron::boss_sartharion_tenebronAI::JustSummoned(), boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::JustSummoned(), boss_general_zarithrian::boss_general_zarithrianAI::JustSummoned(), boss_halion::boss_halionAI::JustSummoned(), boss_novos::boss_novosAI::JustSummoned(), boss_trollgore::boss_trollgoreAI::JustSummoned(), boss_drakkari_colossus::boss_drakkari_colossusAI::JustSummoned(), boss_slad_ran::boss_slad_ranAI::JustSummoned(), boss_prince_valanar_icc::boss_prince_valanarAI::JustSummoned(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::JustSummoned(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustSummoned(), boss_professor_putricide::boss_professor_putricideAI::JustSummoned(), boss_rotface::boss_rotfaceAI::JustSummoned(), boss_sindragosa::boss_sindragosaAI::JustSummoned(), boss_the_lich_king::boss_the_lich_kingAI::JustSummoned(), boss_anomalus::JustSummoned(), boss_magus_telestra::JustSummoned(), boss_ormorok::JustSummoned(), boss_grandmaster_vorpil::JustSummoned(), boss_gurtogg_bloodboil::JustSummoned(), boss_illidan_stormrage::JustSummoned(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::JustSummoned(), boss_supremus::JustSummoned(), boss_teron_gorefiend::JustSummoned(), boss_fathomlord_karathress::JustSummoned(), boss_lady_vashj::JustSummoned(), boss_morogrim_tidewalker::JustSummoned(), boss_omor_the_unscarred::JustSummoned(), boss_vazruden_the_herald::JustSummoned(), boss_warchief_kargath_bladefist::JustSummoned(), npc_warden_mellichar::npc_warden_mellicharAI::JustSummoned(), boss_kaelthas::JustSummoned(), boss_nethermancer_sepethrea::JustSummoned(), boss_terestian_illhoof::JustSummoned(), boss_broggok::JustSummoned(), boss_ayamiss::JustSummoned(), boss_zuljin::MovementInform(), boss_illidan_stormrage::MovementInform(), boss_kaelthas::MovementInform(), boss_jedoga_shadowseeker::MovementInform(), boss_the_lich_king::boss_the_lich_kingAI::MovementInform(), boss_kaelthas::PhaseEnchantedWeaponsExecute(), boss_kaelthas::PrepareAdvisors(), boss_gyth::boss_gythAI::Reset(), boss_rend_blackhand::boss_rend_blackhandAI::Reset(), boss_razorgore::boss_razorgoreAI::Reset(), boss_majordomo::boss_majordomoAI::Reset(), boss_felblood_kaelthas::Reset(), boss_priestess_delrissa::Reset(), boss_isalien::Reset(), boss_hadronox::boss_hadronoxAI::Reset(), boss_prince_valanar_icc::boss_prince_valanarAI::Reset(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::Reset(), npc_green_dragon_combat_trigger::npc_green_dragon_combat_triggerAI::Reset(), boss_illidan_stormrage::ScheduleAbilities(), boss_selin_fireheart::SelectNearestCrystal(), boss_sartharion::boss_sartharionAI::SendLavaWaves(), boss_vazruden_the_herald::SetData(), boss_malchezaar::SpawnInfernal(), boss_the_lich_king::boss_the_lich_kingAI::SpellHitTarget(), boss_taldaram::SpellHitTarget(), boss_rend_blackhand::boss_rend_blackhandAI::SummonedCreatureDespawn(), SummonedCreatureDespawn(), boss_ossirian::SummonedCreatureDespawn(), boss_drakkari_colossus::boss_drakkari_colossusAI::SummonedCreatureDespawn(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::SummonedCreatureDespawn(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::SummonedCreatureDespawn(), boss_supremus::SummonedCreatureDespawn(), boss_hydross_the_unstable::SummonedCreatureDespawn(), boss_vazruden_the_herald::SummonedCreatureDespawn(), SummonedCreatureDespawnAll(), boss_rend_blackhand::boss_rend_blackhandAI::SummonedCreatureDies(), boss_moam::SummonedCreatureDies(), boss_sartharion_shadron::boss_sartharion_shadronAI::SummonedCreatureDies(), boss_the_lurker_below::SummonedCreatureDies(), boss_victor_nefarius::boss_victor_nefariusAI::SummonedCreatureDies(), boss_ragnaros::boss_ragnarosAI::SummonedCreatureDies(), boss_hazzarah::SummonedCreatureDies(), boss_krik_thir::boss_krik_thirAI::SummonedCreatureDies(), boss_drakkari_colossus::boss_drakkari_colossusAI::SummonedCreatureDies(), boss_anzu::SummonedCreatureDies(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::SummonedCreatureDies(), boss_the_black_stalker::SummonedCreatureDies(), boss_vazruden_the_herald::SummonedCreatureDies(), npc_warden_mellichar::npc_warden_mellicharAI::SummonedCreatureDies(), boss_high_botanist_freywinn::SummonedCreatureDies(), boss_vexallus::SummonedCreatureDies(), boss_viscidus::SummonedCreatureDies(), boss_jedoga_shadowseeker::SummonedCreatureDies(), boss_sartharion::boss_sartharionAI::SummonLavaWaves(), boss_moroes::UpdateAI(), boss_jedoga_shadowseeker::UpdateAI(), boss_krik_thir::boss_krik_thirAI::UpdateAI(), boss_sartharion::boss_sartharionAI::UpdateAI(), boss_halion::boss_halionAI::UpdateAI(), boss_novos::boss_novosAI::UpdateAI(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::UpdateAI(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::UpdateAI(), boss_professor_putricide::boss_professor_putricideAI::UpdateAI(), boss_the_lich_king::boss_the_lich_kingAI::UpdateAI(), npc_warden_mellichar::npc_warden_mellicharAI::UpdateAI(), and boss_vazruden_the_herald::UpdateAI().