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_akilzon::boss_akilzonAI boss_alar::boss_alarAI boss_alythess::boss_alythessAI boss_amanitar boss_ambassador_flamelash::boss_ambassador_flamelashAI boss_ambassador_hellmaw boss_anomalus::boss_anomalusAI 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_archimondeAI boss_arlokk::boss_arlokkAI boss_attumen boss_ayamiss 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_brutallusAI boss_bug_trio boss_buru boss_captain_skarloc boss_chromaggus::boss_chromaggusAI boss_chrono_lord_deja boss_commander_sarannis boss_commander_stoutbeard::boss_commander_stoutbeardAI 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_felmyst::boss_felmystAI boss_festergut::boss_festergutAI boss_firemaw::boss_firemawAI boss_flamegor::boss_flamegorAI boss_four_horsemen::boss_four_horsemenAI boss_gahzranka::boss_gahzrankaAI 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_gurtogg_bloodboilAI boss_gyth::boss_gythAI boss_hadronox::boss_hadronoxAI boss_hakkar::boss_hakkarAI boss_halion::boss_halionAI boss_halycon::boss_halyconAI boss_harbinger_skyriss boss_hazzarah boss_hedrum::boss_hedrumAI boss_heigan::boss_heiganAI 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_illidan_stormrageAI boss_illidari_council::boss_illidari_councilAI boss_isalien boss_jarien boss_jedoga_shadowseeker boss_jeklik boss_jindo boss_kaelthas::boss_kaelthasAI boss_kalecgos::boss_kalecgosAI boss_kelidan_the_breaker boss_kelthuzad::boss_kelthuzadAI boss_keristrasza::boss_keristraszaAI 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_magus_telestraAI 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_shahrazAI boss_murmur boss_muru::boss_muruAI boss_najentus 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_ormorokAI boss_ossirian boss_ouro boss_overlord_wyrmthalak::boss_overlordwyrmthalakAI boss_pandemonius boss_patchwerk::boss_patchwerkAI boss_pathaleon_the_calculator boss_porung 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_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_sacrolashAI boss_sapphiron::boss_sapphironAI boss_sartharion::boss_sartharionAI boss_sartharion_dragonAI boss_sartura boss_saviana_ragefire::boss_saviana_ragefireAI 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 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
 
void JustSummoned (Creature *summon) override
 
void SummonedCreatureDespawn (Creature *summon) override
 
void SummonedCreatureDespawnAll () override
 
void UpdateAI (uint32 diff) override
 
void ScheduleHealthCheckEvent (uint32 healthPct, std::function< void()> exec)
 Executes a function once the creature reaches the defined health point percent.
 
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.
 
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
 
void UpdateAI (uint32 diff) override
 
void JustDied (Unit *) override
 
void KilledUnit (Unit *) override
 
void JustSummoned (Creature *) override
 
void SummonedCreatureDespawn (Creature *) override
 
void SpellHit (Unit *, SpellInfo const *) override
 
void SpellHitTarget (Unit *, SpellInfo const *) override
 
void MovementInform (uint32, uint32) override
 
void OnPossess (bool)
 
bool IsInRoom (const Position *pos, Axis axis, bool above)
 
void Reset () override
 
void JustEngagedWith (Unit *) override
 Called for reaction when initially engaged.
 
void AttackStart (Unit *) override
 
void DoStartMovement (Unit *target, float distance=0.0f, float angle=0.0f)
 
void DoStartNoMovement (Unit *target)
 
void DoStopAttack ()
 
void DoCastSpell (Unit *target, SpellInfo const *spellInfo, bool triggered=false)
 
void DoPlaySoundToSet (WorldObject *source, uint32 soundId)
 
void DoPlayMusic (uint32 soundId, bool zone)
 
void DoAddThreat (Unit *unit, float amount)
 
void DoModifyThreatByPercent (Unit *unit, int32 pct)
 
void DoResetThreat (Unit *unit)
 
void DoResetThreatList ()
 
float DoGetThreat (Unit *unit)
 
void DoTeleportPlayer (Unit *unit, float x, float y, float z, float o)
 
void DoTeleportAll (float x, float y, float z, float o)
 
UnitDoSelectLowestHpFriendly (float range, uint32 minHPDiff=1)
 
std::list< Creature * > DoFindFriendlyCC (float range)
 
std::list< Creature * > DoFindFriendlyMissingBuff (float range, uint32 spellId)
 
PlayerGetPlayerAtMinimumRange (float minRange)
 
CreatureDoSpawnCreature (uint32 entry, float offsetX, float offsetY, float offsetZ, float angle, uint32 type, uint32 despawntime)
 
bool IsUniqueTimedEventDone (uint32 id) const
 
void SetUniqueTimedEventDone (uint32 id)
 
void ResetUniqueTimedEvent (uint32 id)
 
void ClearUniqueTimedEventsDone ()
 
void ScheduleTimedEvent (Milliseconds timerMin, Milliseconds timerMax, std::function< void()> exec, Milliseconds repeatMin, Milliseconds repeatMax=0s, uint32 uniqueId=0)
 
void ScheduleTimedEvent (Milliseconds timerMax, std::function< void()> exec, Milliseconds repeatMin, Milliseconds repeatMax=0s, uint32 uniqueId=0)
 
void ScheduleUniqueTimedEvent (Milliseconds timer, std::function< void()> exec, uint32 uniqueId)
 
bool HealthBelowPct (uint32 pct) const
 
bool HealthAbovePct (uint32 pct) const
 
SpellInfo const * SelectSpell (Unit *target, uint32 school, uint32 mechanic, SelectTargetType targets, uint32 powerCostMin, uint32 powerCostMax, float rangeMin, float rangeMax, SelectEffect effect)
 
void SetEquipmentSlots (bool loadDefault, int32 mainHand=EQUIP_NO_CHANGE, int32 offHand=EQUIP_NO_CHANGE, int32 ranged=EQUIP_NO_CHANGE)
 
void SetCombatMovement (bool allowMovement)
 
bool IsCombatMovementAllowed () const
 
virtual bool CheckEvadeIfOutOfCombatArea () const
 
bool IsHeroic () const
 
Difficulty GetDifficulty () const
 
bool Is25ManRaid () const
 
template<class T >
const T & DUNGEON_MODE (const T &normal5, const T &heroic10) const
 
template<class T >
const T & RAID_MODE (const T &normal10, const T &normal25) const
 
template<class T >
const T & RAID_MODE (const T &normal10, const T &normal25, const T &heroic10, const T &heroic25) const
 
PlayerSelectTargetFromPlayerList (float maxdist, uint32 excludeAura=0, bool mustBeInLOS=false) const
 
- Public Member Functions inherited from CreatureAI
void Talk (uint8 id, WorldObject const *whisperTarget=nullptr, Milliseconds delay=0s)
 Causes the creature to talk/say the text assigned to their entry in the creature_text database table.
 
void Talk (uint8 id, Milliseconds delay)
 
 CreatureAI (Creature *creature)
 
 ~CreatureAI () override
 
void MoveCircleChecks ()
 
void MoveBackwardsChecks ()
 
void MoveInLineOfSight_Safe (Unit *who)
 == Reactions At =================================
 
void TriggerAlert (Unit const *who) const
 
virtual bool CanRespawn ()
 
virtual void EnterEvadeMode (EvadeReason why=EVADE_REASON_OTHER)
 
virtual void JustEngagedWith (Unit *)
 Called for reaction when initially engaged.
 
virtual void JustDied (Unit *)
 
virtual void KilledUnit (Unit *)
 
virtual void JustSummoned (Creature *)
 
virtual void IsSummonedBy (WorldObject *)
 
virtual void SummonedCreatureDespawn (Creature *)
 
virtual void SummonedCreatureDies (Creature *, Unit *)
 
virtual void SummonedCreatureDespawnAll ()
 
virtual void SpellHit (Unit *, SpellInfo const *)
 
virtual void SpellHitTarget (Unit *, SpellInfo const *)
 
virtual void AttackedBy (Unit *)
 
virtual bool IsEscorted ()
 
virtual void JustRespawned ()
 
virtual void MovementInform (uint32, uint32)
 
virtual void PathEndReached (uint32)
 
void OnCharmed (bool apply) override
 
virtual void JustReachedHome ()
 
void DoZoneInCombat (Creature *creature=nullptr, float maxRangeToNearestTarget=250.0f)
 
virtual void ReceiveEmote (Player *, uint32)
 
virtual void OwnerAttackedBy (Unit *)
 
virtual void OwnerAttacked (Unit *)
 
virtual void CorpseRemoved (uint32 &)
 == Triggered Actions Requested ==================
 
virtual void PassengerBoarded (Unit *, int8, bool)
 == Fields =======================================
 
virtual bool BeforeSpellClick (Unit *)
 
virtual void OnSpellClick (Unit *, bool &)
 
virtual bool CanSeeAlways (WorldObject const *)
 
virtual bool CanBeSeen (Player const *)
 
virtual bool CanAlwaysBeDetectable (WorldObject const *)
 
virtual void PetStopAttack ()
 
virtual bool CheckInRoom ()
 
CreatureBoundary const * GetBoundary () const
 
void SetBoundary (CreatureBoundary const *boundary, bool negativeBoundaries=false)
 
bool IsInBoundary (Position const *who=nullptr) const
 
virtual void CalculateThreat (Unit *, float &, SpellInfo const *)
 
virtual bool OnTeleportUnreacheablePlayer (Player *)
 
- Public Member Functions inherited from UnitAI
 UnitAI (Unit *unit)
 
virtual ~UnitAI ()
 
virtual bool CanAIAttack (Unit const *) const
 
virtual void AttackStart (Unit *)
 
virtual void UpdateAI (uint32)=0
 
virtual void InitializeAI ()
 
virtual void Reset ()
 
virtual void OnCharmed (bool apply)=0
 
virtual void DoAction (int32)
 
virtual uint32 GetData (uint32) const
 
virtual void SetData (uint32, uint32)
 
virtual void SetGUID (ObjectGuid, int32=0)
 
virtual ObjectGuid GetGUID (int32=0) const
 
UnitSelectTarget (SelectTargetMethod targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
 
template<class PREDICATE >
UnitSelectTarget (SelectTargetMethod targetType, uint32 position, PREDICATE const &predicate)
 
void SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectTargetMethod targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
 
template<class PREDICATE >
void SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectTargetMethod targetType, uint32 position, PREDICATE const &predicate)
 
virtual void JustEnteredCombat (Unit *)
 Called when the unit enters combat (NOTE: Creature engage logic should NOT be here, but in JustEngagedWith, which happens once threat is established!)
 
virtual void JustExitedCombat ()
 Called when the unit leaves combat.
 
virtual void DamageDealt (Unit *, uint32 &, DamageEffectType)
 
virtual void DamageTaken (Unit *, uint32 &, DamageEffectType, SpellSchoolMask)
 
virtual void HealReceived (Unit *, uint32 &)
 
virtual void OnPowerUpdate (Powers, int32, int32, uint32)
 
virtual void HealDone (Unit *, uint32 &)
 
virtual void OnCalculateMeleeDamageReceived (uint32 &, Unit *)
 
virtual void OnCalculateSpellDamageReceived (int32 &, Unit *)
 
virtual void OnCalculatePeriodicTickReceived (uint32 &, Unit *)
 
void AttackStartCaster (Unit *victim, float dist)
 
SpellCastResult DoAddAuraToAllHostilePlayers (uint32 spellid)
 
SpellCastResult DoCast (uint32 spellId)
 
SpellCastResult DoCast (Unit *victim, uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastSelf (uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastToAllHostilePlayers (uint32 spellid, bool triggered=false)
 
SpellCastResult DoCastVictim (uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastAOE (uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastRandomTarget (uint32 spellId, uint32 threatTablePosition=0, float dist=0.0f, bool playerOnly=true, bool triggered=false)
 
SpellCastResult DoCastMaxThreat (uint32 spellId, uint32 threatTablePosition=0, float dist=0.0f, bool playerOnly=true, bool triggered=false)
 Cast spell on the max threat target, which may not always be the current victim.
 
float DoGetSpellMaxRange (uint32 spellId, bool positive=false)
 
void DoMeleeAttackIfReady ()
 
bool DoSpellAttackIfReady (uint32 spell)
 
void DoSpellAttackToRandomTargetIfReady (uint32 spell, uint32 threatTablePosition=0, float dist=0.f, bool playerOnly=true)
 
virtual void SummonMovementInform (Creature *, uint32, uint32)
 
virtual void sGossipHello (Player *)
 
virtual void sGossipSelect (Player *, uint32, uint32)
 
virtual void sGossipSelectCode (Player *, uint32, uint32, char const *)
 
virtual void sQuestAccept (Player *, Quest const *)
 
virtual void sQuestSelect (Player *, Quest const *)
 
virtual void sQuestComplete (Player *, Quest const *)
 
virtual void sQuestReward (Player *, Quest const *, uint32)
 
virtual void sOnGameEvent (bool, uint16)
 
virtual std::string GetDebugInfo () const
 

Public Attributes

InstanceScript *const instance
 
- Public Attributes inherited from ScriptedAI
Creatureme
 
bool IsFleeing
 

Protected Member Functions

void _Reset ()
 
void _JustEngagedWith ()
 
void _JustDied ()
 
void _JustReachedHome ()
 
bool _ProccessHealthCheckEvent (uint8 healthPct, uint32 damage, std::function< void()> exec) const
 
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
 

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 
)
575 : ScriptedAI(creature),
576 instance(creature->GetInstanceScript()),
577 summons(creature),
578 _bossId(bossId)
579{
580 if (instance)
582
583 // Prevents updating the scheduler's timer while the creature is casting.
584 // Clear it in the script if you need it to update while the creature is casting.
586 {
588 });
589}
@ UNIT_STATE_CASTING
Definition: Unit.h:340
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:76
void SetBoundary(CreatureBoundary const *boundary, bool negativeBoundaries=false)
Definition: CreatureAI.cpp:392
Definition: ScriptedCreature.h:192
Creature * me
Definition: ScriptedCreature.h:282
InstanceScript *const instance
Definition: ScriptedCreature.h:474
uint32 const _bossId
Definition: ScriptedCreature.h:513
SummonList summons
Definition: ScriptedCreature.h:510
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1192
bool HasUnitState(const uint32 f) const
Definition: Unit.h:1410
CreatureBoundary const * GetBossBoundary(uint32 id) const
Definition: InstanceScript.h:233

References InstanceScript::GetBossBoundary(), Unit::HasUnitState(), instance, ScriptedAI::me, CreatureAI::scheduler, CreatureAI::SetBoundary(), TaskScheduler::SetValidator(), and UNIT_STATE_CASTING.

◆ ~BossAI()

BossAI::~BossAI ( )
inlineoverride
472{}

Member Function Documentation

◆ _JustDied()

void BossAI::_JustDied ( )
protected
621{
622 events.Reset();
625 _healthCheckEvents.clear();
626 if (instance)
627 {
630 }
631}
@ DONE
Definition: InstanceScript.h:60
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:514
virtual bool SetBossState(uint32 id, EncounterState state)
Definition: InstanceScript.cpp:350
void SaveToDB()
Definition: InstanceScript.cpp:40

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::boss_akilzonAI::JustDied(), boss_arlokk::boss_arlokkAI::JustDied(), boss_gahzranka::boss_gahzrankaAI::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_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_illidan_stormrage::boss_illidan_stormrageAI::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
634{
636 me->setActive(true);
639 if (instance)
640 {
641 // bosses do not respawn, check only on enter combat
643 {
645 return;
646 }
648 }
649}
@ IN_PROGRESS
Definition: InstanceScript.h:58
void DoZoneInCombat(Creature *creature=nullptr, float maxRangeToNearestTarget=250.0f)
Definition: CreatureAI.cpp:94
virtual void EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
Definition: CreatureAI.cpp:196
virtual void ScheduleTasks()
Definition: ScriptedCreature.h:494
void SetCombatPulseDelay(uint32 delay)
Definition: Creature.h:289
void setActive(bool isActiveObject)
Definition: Object.cpp:1085
virtual bool CheckRequiredBosses(uint32, Player const *=nullptr) const
Definition: InstanceScript.h:244

References _bossId, InstanceScript::CheckRequiredBosses(), CreatureAI::DoZoneInCombat(), CreatureAI::EnterEvadeMode(), IN_PROGRESS, instance, ScriptedAI::me, ScheduleTasks(), 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_vexallus::JustEngagedWith(), boss_jarien::JustEngagedWith(), boss_sothos::JustEngagedWith(), boss_arlokk::boss_arlokkAI::JustEngagedWith(), boss_gahzranka::boss_gahzrankaAI::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_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_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()

◆ _ProccessHealthCheckEvent()

bool BossAI::_ProccessHealthCheckEvent ( uint8  healthPct,
uint32  damage,
std::function< void()>  exec 
) const
protected
738{
739 if (me->HealthBelowPctDamaged(healthPct, damage))
740 {
741 exec();
742 return true;
743 }
744
745 return false;
746}
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
Definition: Unit.h:1459

References Unit::HealthBelowPctDamaged(), and ScriptedAI::me.

Referenced by DamageTaken().

◆ _Reset()

void BossAI::_Reset ( )
protected
605{
606 if (!me->IsAlive())
607 return;
608
610 me->ResetLootMode();
611 events.Reset();
615 _healthCheckEvents.clear();
616 if (instance)
618}
@ NOT_STARTED
Definition: InstanceScript.h:57
void ClearUniqueTimedEventsDone()
Definition: ScriptedCreature.h:359
void ResetLootMode()
Definition: Creature.h:239
bool IsAlive() const
Definition: Unit.h:1822

References _bossId, _healthCheckEvents, TaskScheduler::CancelAll(), ScriptedAI::ClearUniqueTimedEventsDone(), SummonList::DespawnAll(), instance, Unit::IsAlive(), 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::boss_akilzonAI::Reset(), boss_arlokk::boss_arlokkAI::Reset(), boss_gahzranka::boss_gahzrankaAI::Reset(), boss_hakkar::boss_hakkarAI::Reset(), boss_renataki::boss_renatakiAI::Reset(), boss_thekal::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_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.

592{
593 if (instance)
594 {
596 {
597 return false;
598 }
599 }
600
601 return true;
602}
EncounterState GetBossState(uint32 id) const
Definition: InstanceScript.h:231

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

◆ DamageTaken()

void BossAI::DamageTaken ( Unit attacker,
uint32 damage,
DamageEffectType  damagetype,
SpellSchoolMask  damageSchoolMask 
)
overridevirtual

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_gyth::boss_gythAI, boss_lord_valthalak::boss_lord_valthalakAI, boss_quartermaster_zigris, boss_warmaster_voone::boss_warmastervooneAI, boss_nefarian, 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_muruAI, 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_illidan_stormrage::boss_illidan_stormrageAI, boss_alar::boss_alarAI, boss_thekal, boss_viscidus, boss_kalecgos::boss_kalecgosAI, 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_brutallus::boss_brutallusAI, boss_bug_trio, boss_hadronox::boss_hadronoxAI, and boss_razuvious::boss_razuviousAI.

708{
709 if (!_healthCheckEvents.empty())
710 {
711 _healthCheckEvents.remove_if([&](HealthCheckEventData data) -> bool
712 {
713 return _ProccessHealthCheckEvent(data._healthPct, damage, data._exec);
714 });
715 }
716}
Definition: ScriptedCreature.h:461
uint8 _healthPct
Definition: ScriptedCreature.h:464
std::function< void()> _exec
Definition: ScriptedCreature.h:465
bool _ProccessHealthCheckEvent(uint8 healthPct, uint32 damage, std::function< void()> exec) const
Definition: ScriptedCreature.cpp:737

References HealthCheckEventData::_exec, _healthCheckEvents, HealthCheckEventData::_healthPct, and _ProccessHealthCheckEvent().

Referenced by boss_thekal::DamageTaken(), and boss_shade_of_aran::DamageTaken().

◆ 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_darkmaster_gandling::boss_darkmaster_gandlingAI, boss_apothecary_hummel::boss_apothecary_hummelAI, boss_baroness_anastari::boss_baroness_anastariAI, boss_sacrolash::boss_sacrolashAI, boss_alythess::boss_alythessAI, boss_akilzon::boss_akilzonAI, boss_arlokk::boss_arlokkAI, boss_gahzranka::boss_gahzrankaAI, boss_hakkar::boss_hakkarAI, boss_mandokir::boss_mandokirAI, boss_thekal, boss_archimonde::boss_archimondeAI, 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_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_illidan_stormrage::boss_illidan_stormrageAI, 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_jarien, boss_sothos, boss_brutallus::boss_brutallusAI, boss_felmyst::boss_felmystAI, boss_kalecgos::boss_kalecgosAI, boss_jeklik, boss_marli, boss_venoxis, 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_anomalusAI, boss_commander_stoutbeard::boss_commander_stoutbeardAI, boss_keristrasza::boss_keristraszaAI, boss_magus_telestra::boss_magus_telestraAI, boss_ormorok::boss_ormorokAI, boss_pandemonius, boss_gurtogg_bloodboil::boss_gurtogg_bloodboilAI, boss_mother_shahraz::boss_shahrazAI, 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_alarAI, boss_high_astromancer_solarian, boss_kaelthas::boss_kaelthasAI, and boss_void_reaver.

498{ _JustDied(); }
void _JustDied()
Definition: ScriptedCreature.cpp:620

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_brutallus::boss_brutallusAI::JustDied(), boss_felmyst::boss_felmystAI::JustDied(), boss_kalecgos::boss_kalecgosAI::JustDied(), boss_jeklik::JustDied(), boss_marli::JustDied(), boss_venoxis::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::boss_anomalusAI::JustDied(), boss_commander_stoutbeard::boss_commander_stoutbeardAI::JustDied(), boss_keristrasza::boss_keristraszaAI::JustDied(), boss_magus_telestra::boss_magus_telestraAI::JustDied(), boss_ormorok::boss_ormorokAI::JustDied(), boss_pandemonius::JustDied(), boss_gurtogg_bloodboil::boss_gurtogg_bloodboilAI::JustDied(), boss_mother_shahraz::boss_shahrazAI::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::boss_alarAI::JustDied(), boss_high_astromancer_solarian::JustDied(), boss_kaelthas::boss_kaelthasAI::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_vexallus, boss_darkmaster_gandling::boss_darkmaster_gandlingAI, boss_baroness_anastari::boss_baroness_anastariAI, boss_jarien, boss_sothos, boss_akilzon::boss_akilzonAI, boss_arlokk::boss_arlokkAI, boss_gahzranka::boss_gahzrankaAI, 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_archimondeAI, 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_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_brutallus::boss_brutallusAI, boss_sacrolash::boss_sacrolashAI, boss_alythess::boss_alythessAI, boss_felmyst::boss_felmystAI, boss_kalecgos::boss_kalecgosAI, boss_muru::boss_muruAI, boss_jeklik, boss_jindo, boss_marli, 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_anomalusAI, boss_commander_stoutbeard::boss_commander_stoutbeardAI, boss_keristrasza::boss_keristraszaAI, boss_magus_telestra::boss_magus_telestraAI, boss_ormorok::boss_ormorokAI, boss_pandemonius, boss_murmur, boss_gurtogg_bloodboil::boss_gurtogg_bloodboilAI, boss_illidan_stormrage::boss_illidan_stormrageAI, boss_mother_shahraz::boss_shahrazAI, 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_magtheridon, boss_grand_warlock_nethekurse, boss_porung, boss_warbringer_omrogg, boss_warchief_kargath_bladefist, boss_alar::boss_alarAI, boss_high_astromancer_solarian, boss_kaelthas::boss_kaelthasAI, and boss_void_reaver.

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

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_brutallus::boss_brutallusAI::JustEngagedWith(), boss_sacrolash::boss_sacrolashAI::JustEngagedWith(), boss_alythess::boss_alythessAI::JustEngagedWith(), boss_felmyst::boss_felmystAI::JustEngagedWith(), boss_kalecgos::boss_kalecgosAI::JustEngagedWith(), boss_muru::boss_muruAI::JustEngagedWith(), boss_jeklik::JustEngagedWith(), boss_jindo::JustEngagedWith(), boss_marli::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::boss_anomalusAI::JustEngagedWith(), boss_commander_stoutbeard::boss_commander_stoutbeardAI::JustEngagedWith(), boss_keristrasza::boss_keristraszaAI::JustEngagedWith(), boss_magus_telestra::boss_magus_telestraAI::JustEngagedWith(), boss_ormorok::boss_ormorokAI::JustEngagedWith(), boss_pandemonius::JustEngagedWith(), boss_gurtogg_bloodboil::boss_gurtogg_bloodboilAI::JustEngagedWith(), boss_illidan_stormrage::boss_illidan_stormrageAI::JustEngagedWith(), boss_mother_shahraz::boss_shahrazAI::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_magtheridon::JustEngagedWith(), boss_porung::JustEngagedWith(), boss_warbringer_omrogg::JustEngagedWith(), boss_warchief_kargath_bladefist::JustEngagedWith(), boss_alar::boss_alarAI::JustEngagedWith(), boss_high_astromancer_solarian::JustEngagedWith(), boss_kaelthas::boss_kaelthasAI::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_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_vexallus, boss_sacrolash::boss_sacrolashAI, boss_felmyst::boss_felmystAI, boss_muru::boss_muruAI, boss_hazzarah, boss_jindo, 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_anomalusAI, boss_magus_telestra::boss_magus_telestraAI, boss_ormorok::boss_ormorokAI, boss_shirrak_the_dead_watcher, boss_nexusprince_shaffar, boss_grandmaster_vorpil, boss_gurtogg_bloodboil::boss_gurtogg_bloodboilAI, boss_illidan_stormrage::boss_illidan_stormrageAI, 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_alar::boss_alarAI, boss_high_astromancer_solarian, boss_kaelthas::boss_kaelthasAI, boss_mechano_lord_capacitus, boss_nethermancer_sepethrea, boss_vaelastrasz::boss_vaelAI, boss_terestian_illhoof, boss_archimonde::boss_archimondeAI, boss_broggok, and boss_ayamiss.

664{
665 summons.Summon(summon);
666 if (me->IsEngaged())
667 DoZoneInCombat(summon);
668}
void Summon(Creature const *summon)
Definition: ScriptedCreature.h:90
bool IsEngaged() const
Definition: Unit.h:1699

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

Referenced by boss_skeram::JustSummoned(), boss_victor_nefarius::boss_victor_nefariusAI::JustSummoned(), boss_ragnaros::boss_ragnarosAI::JustSummoned(), boss_attumen::JustSummoned(), boss_midnight::JustSummoned(), boss_jindo::JustSummoned(), boss_sartharion_dragonAI::JustSummoned(), boss_the_lich_king::boss_the_lich_kingAI::JustSummoned(), boss_hydross_the_unstable::JustSummoned(), boss_the_black_stalker::JustSummoned(), and boss_harbinger_skyriss::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_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_brutallusAI, boss_sacrolash::boss_sacrolashAI, boss_alythess::boss_alythessAI, boss_felmyst::boss_felmystAI, boss_kalecgos::boss_kalecgosAI, boss_muru::boss_muruAI, boss_akilzon::boss_akilzonAI, boss_arlokk::boss_arlokkAI, boss_gahzranka::boss_gahzrankaAI, 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_archimondeAI, 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_anomalusAI, boss_commander_stoutbeard::boss_commander_stoutbeardAI, boss_keristrasza::boss_keristraszaAI, boss_magus_telestra::boss_magus_telestraAI, boss_ormorok::boss_ormorokAI, 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_gurtogg_bloodboilAI, boss_illidan_stormrage::boss_illidan_stormrageAI, boss_mother_shahraz::boss_shahrazAI, boss_reliquary_of_souls::boss_reliquary_of_soulsAI, boss_shade_of_akama, boss_teron_gorefiend, boss_illidari_council::boss_illidari_councilAI, 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_alarAI, boss_high_astromancer_solarian, boss_kaelthas::boss_kaelthasAI, boss_void_reaver, and boss_pathaleon_the_calculator.

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

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_brutallus::boss_brutallusAI::Reset(), boss_sacrolash::boss_sacrolashAI::Reset(), boss_alythess::boss_alythessAI::Reset(), boss_felmyst::boss_felmystAI::Reset(), boss_kalecgos::boss_kalecgosAI::Reset(), boss_muru::boss_muruAI::Reset(), boss_grilek::boss_grilekAI::Reset(), boss_jeklik::Reset(), boss_mandokir::boss_mandokirAI::Reset(), boss_marli::Reset(), boss_venoxis::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::boss_anomalusAI::Reset(), boss_commander_stoutbeard::boss_commander_stoutbeardAI::Reset(), boss_keristrasza::boss_keristraszaAI::Reset(), boss_magus_telestra::boss_magus_telestraAI::Reset(), boss_ormorok::boss_ormorokAI::Reset(), boss_gurtogg_bloodboil::boss_gurtogg_bloodboilAI::Reset(), boss_illidan_stormrage::boss_illidan_stormrageAI::Reset(), boss_mother_shahraz::boss_shahrazAI::Reset(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::Reset(), boss_shade_of_akama::Reset(), boss_teron_gorefiend::Reset(), boss_illidari_council::boss_illidari_councilAI::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::boss_alarAI::Reset(), boss_high_astromancer_solarian::Reset(), boss_kaelthas::boss_kaelthasAI::Reset(), and boss_void_reaver::Reset().

◆ ScheduleHealthCheckEvent() [1/2]

void BossAI::ScheduleHealthCheckEvent ( std::initializer_list< uint8 healthPct,
std::function< void()>  exec 
)
730{
731 for (auto const& checks : healthPct)
732 {
733 _healthCheckEvents.push_back(HealthCheckEventData(checks, exec));
734 }
735}

References _healthCheckEvents.

◆ ScheduleHealthCheckEvent() [2/2]

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

◆ 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.

676{
678}

References SummonList::DespawnAll(), and summons.

◆ TeleportCheaters()

void BossAI::TeleportCheaters ( )
protected
652{
653 float x, y, z;
654 me->GetPosition(x, y, z);
655
657 for (ThreatContainer::StorageType::const_iterator itr = threatList.begin(); itr != threatList.end(); ++itr)
658 if (Unit* target = (*itr)->getTarget())
659 if (target->GetTypeId() == TYPEID_PLAYER && !IsInBoundary(target))
660 target->NearTeleportTo(x, y, z, 0);
661}
@ TYPEID_PLAYER
Definition: ObjectGuid.h:38
bool IsInBoundary(Position const *who=nullptr) const
Definition: CreatureAI.cpp:361
std::list< HostileReference * > StorageType
Definition: ThreatMgr.h:148
ThreatContainer::StorageType const & GetThreatList() const
Definition: ThreatMgr.h:274
void GetPosition(float &x, float &y) const
Definition: Position.h:122
Definition: Unit.h:1302
ThreatMgr & GetThreatMgr()
Definition: Unit.h:2159

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

◆ UpdateAI()

void BossAI::UpdateAI ( uint32  diff)
overridevirtual

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_darkmaster_gandling::boss_darkmaster_gandlingAI, boss_apothecary_hummel::boss_apothecary_hummelAI, boss_baroness_anastari::boss_baroness_anastariAI, boss_jarien, boss_sothos, boss_brutallus::boss_brutallusAI, boss_sacrolash::boss_sacrolashAI, boss_alythess::boss_alythessAI, boss_felmyst::boss_felmystAI, boss_kalecgos::boss_kalecgosAI, boss_muru::boss_muruAI, boss_akilzon::boss_akilzonAI, boss_arlokk::boss_arlokkAI, boss_gahzranka::boss_gahzrankaAI, 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_archimonde::boss_archimondeAI, 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_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_anomalusAI, boss_commander_stoutbeard::boss_commander_stoutbeardAI, boss_keristrasza::boss_keristraszaAI, boss_magus_telestra::boss_magus_telestraAI, boss_ormorok::boss_ormorokAI, boss_exarch_maladaar, boss_shirrak_the_dead_watcher, boss_nexusprince_shaffar, boss_anzu, boss_ambassador_hellmaw, boss_blackheart_the_inciter, boss_gurtogg_bloodboil::boss_gurtogg_bloodboilAI, boss_illidan_stormrage::boss_illidan_stormrageAI, boss_mother_shahraz::boss_shahrazAI, boss_reliquary_of_souls::boss_reliquary_of_soulsAI, boss_shade_of_akama, boss_supremus, 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_alarAI, boss_high_astromancer_solarian, boss_kaelthas::boss_kaelthasAI, boss_illidari_council::boss_illidari_councilAI, and boss_vazruden_the_herald.

681{
682 if (!UpdateVictim())
683 {
684 return;
685 }
686
687 events.Update(diff);
688 scheduler.Update(diff);
689
691 {
692 return;
693 }
694
695 while (uint32 const eventId = events.ExecuteEvent())
696 {
697 ExecuteEvent(eventId);
699 {
700 return;
701 }
702 }
703
705}
std::uint32_t uint32
Definition: Define.h:108
TaskScheduler & Update(success_t const &callback=EmptyCallback)
Definition: TaskScheduler.cpp:27
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:39
bool UpdateVictim()
Definition: CreatureAI.cpp:268
virtual void ExecuteEvent(uint32)
Definition: ScriptedCreature.h:492

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

Member Data Documentation

◆ _bossId

uint32 const BossAI::_bossId
private

◆ _healthCheckEvents

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

◆ instance

InstanceScript* const BossAI::instance

Referenced by _JustDied(), _JustEngagedWith(), _Reset(), boss_hakkar::boss_hakkarAI::ApplyHakkarPowerStacks(), boss_felmyst::boss_felmystAI::boss_felmystAI(), 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(), BossAI(), boss_majordomo::boss_majordomoAI::CanAIAttack(), boss_pathaleon_the_calculator::CanAIAttack(), boss_keristrasza::boss_keristraszaAI::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::boss_kalecgosAI::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_broggok::DoAction(), boss_pathaleon_the_calculator::DoAction(), boss_kalecgos::boss_kalecgosAI::DoAction(), boss_onyxia::DoAction(), boss_hadronox::boss_hadronoxAI::DoAction(), boss_illidari_council::boss_illidari_councilAI::DoAction(), boss_razorgore::boss_razorgoreAI::DoChangePhase(), boss_bug_trio::EnterCombatWithTrio(), boss_gyth::boss_gythAI::EnterEvadeMode(), boss_rend_blackhand::boss_rend_blackhandAI::EnterEvadeMode(), boss_attumen::EnterEvadeMode(), boss_sacrolash::boss_sacrolashAI::EnterEvadeMode(), boss_alythess::boss_alythessAI::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::boss_illidan_stormrageAI::EnterEvadeMode(), boss_harbinger_skyriss::EnterEvadeMode(), boss_ouro::EnterEvadeMode(), 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_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_darkmaster_gandling::boss_darkmaster_gandlingAI::JustDied(), boss_baroness_anastari::boss_baroness_anastariAI::JustDied(), boss_sacrolash::boss_sacrolashAI::JustDied(), boss_alythess::boss_alythessAI::JustDied(), boss_akilzon::boss_akilzonAI::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_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_brutallus::boss_brutallusAI::JustDied(), boss_felmyst::boss_felmystAI::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_shade_of_akama::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_akilzon::boss_akilzonAI::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::boss_sacrolashAI::JustEngagedWith(), boss_alythess::boss_alythessAI::JustEngagedWith(), boss_onyxia::JustEngagedWith(), boss_buru::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_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_attumen::JustSummoned(), boss_eye_of_cthun::JustSummoned(), boss_sartharion_dragonAI::JustSummoned(), boss_midnight::KilledUnit(), boss_mandokir::boss_mandokirAI::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_pyroguard_emberseer::boss_pyroguard_emberseerAI::OpenDoors(), boss_kaelthas::boss_kaelthasAI::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_darkmaster_gandling::boss_darkmaster_gandlingAI::Reset(), boss_baroness_anastari::boss_baroness_anastariAI::Reset(), boss_felmyst::boss_felmystAI::Reset(), boss_akilzon::boss_akilzonAI::Reset(), boss_mandokir::boss_mandokirAI::Reset(), boss_thekal::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_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::boss_kaelthasAI::SetRoomState(), boss_victor_nefarius::boss_victor_nefariusAI::sGossipSelect(), boss_onyxia::SpellHitTarget(), boss_rend_blackhand::boss_rend_blackhandAI::SummonedCreatureDespawn(), 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_kalecgos::boss_kalecgosAI::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(), boss_illidan_stormrage::boss_illidan_stormrageAI::UpdateAI(), boss_shade_of_akama::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_moroes::CheckGuestsInRoom(), boss_volazj::CheckPhaseMinions(), boss_sartharion_dragonAI::ClearInstance(), boss_sartharion::boss_sartharionAI::DamageTaken(), boss_illidan_stormrage::boss_illidan_stormrageAI::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_lady_deathwhisper::boss_lady_deathwhisperAI::EmpowerCultist(), boss_the_lich_king::boss_the_lich_kingAI::EnterEvadeMode(), boss_sartharion_tenebron::boss_sartharion_tenebronAI::ExecuteEvent(), boss_sartharion_shadron::boss_sartharion_shadronAI::ExecuteEvent(), boss_sartharion_vesperon::boss_sartharion_vesperonAI::ExecuteEvent(), boss_krik_thir::boss_krik_thirAI::GetData(), boss_professor_putricide::boss_professor_putricideAI::GetData(), boss_moroes::GetRandomGuest(), boss_moroes::InitializeGuests(), boss_sacrolash::boss_sacrolashAI::JustDied(), boss_alythess::boss_alythessAI::JustDied(), boss_sartharion_dragonAI::JustDied(), boss_prince_valanar_icc::boss_prince_valanarAI::JustDied(), boss_illidan_stormrage::boss_illidan_stormrageAI::JustDied(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustDied(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::JustDied(), boss_sindragosa::boss_sindragosaAI::JustEngagedWith(), boss_illidan_stormrage::boss_illidan_stormrageAI::JustEngagedWith(), boss_high_astromancer_solarian::JustEngagedWith(), 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_vexallus::JustSummoned(), boss_sacrolash::boss_sacrolashAI::JustSummoned(), boss_felmyst::boss_felmystAI::JustSummoned(), boss_muru::boss_muruAI::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::boss_anomalusAI::JustSummoned(), boss_magus_telestra::boss_magus_telestraAI::JustSummoned(), boss_ormorok::boss_ormorokAI::JustSummoned(), boss_grandmaster_vorpil::JustSummoned(), boss_gurtogg_bloodboil::boss_gurtogg_bloodboilAI::JustSummoned(), boss_illidan_stormrage::boss_illidan_stormrageAI::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_alar::boss_alarAI::JustSummoned(), boss_kaelthas::boss_kaelthasAI::JustSummoned(), boss_nethermancer_sepethrea::JustSummoned(), boss_terestian_illhoof::JustSummoned(), boss_broggok::JustSummoned(), boss_ayamiss::JustSummoned(), boss_illidan_stormrage::boss_illidan_stormrageAI::MovementInform(), boss_jedoga_shadowseeker::MovementInform(), boss_the_lich_king::boss_the_lich_kingAI::MovementInform(), boss_kaelthas::boss_kaelthasAI::PrepareAdvisors(), boss_gyth::boss_gythAI::Reset(), boss_rend_blackhand::boss_rend_blackhandAI::Reset(), boss_razorgore::boss_razorgoreAI::Reset(), boss_majordomo::boss_majordomoAI::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_sartharion::boss_sartharionAI::SendLavaWaves(), boss_vazruden_the_herald::SetData(), boss_kaelthas::boss_kaelthasAI::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_illidan_stormrage::boss_illidan_stormrageAI::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_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_illidan_stormrage::boss_illidan_stormrageAI::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_kaelthas::boss_kaelthasAI::SummonedCreatureDies(), boss_vexallus::SummonedCreatureDies(), boss_viscidus::SummonedCreatureDies(), boss_jedoga_shadowseeker::SummonedCreatureDies(), boss_sartharion::boss_sartharionAI::SummonLavaWaves(), boss_moroes::UpdateAI(), boss_kalecgos::boss_kalecgosAI::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(), boss_illidan_stormrage::boss_illidan_stormrageAI::UpdateAI(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::UpdateAI(), npc_warden_mellichar::npc_warden_mellicharAI::UpdateAI(), boss_kaelthas::boss_kaelthasAI::UpdateAI(), and boss_vazruden_the_herald::UpdateAI().