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_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_attumenAI boss_ayamiss boss_baltharus_the_warborn::boss_baltharus_the_warbornAI boss_baron_geddon::boss_baron_geddonAI boss_baroness_anastari::boss_baroness_anastariAI 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_chromaggus::boss_chromaggusAI boss_chrono_lord_deja boss_commander_sarannis boss_commander_stoutbeard::boss_commander_stoutbeardAI boss_cthun boss_curator::boss_curatorAI boss_dalliah_the_doomsayer boss_darkmaster_gandling::boss_darkmaster_gandlingAI 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_eviscerator::boss_evisceratorAI boss_eye_of_cthun boss_faerlina::boss_faerlinaAI boss_fankriss boss_fathomlord_karathress::boss_fathomlord_karathressAI 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_gyrokillAI boss_gatewatcher_iron_hand::boss_gatewatcher_iron_handAI 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_grand_warlock_nethekurseAI 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_hazzarah boss_hedrum::boss_hedrumAI boss_heigan::boss_heiganAI boss_high_astromancer_solarian::boss_high_astromancer_solarianAI 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_hydross_the_unstableAI 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_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_lady_vashjAI boss_laj boss_leotheras_the_blind::boss_leotheras_the_blindAI 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_magtheridonAI 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_mechano_lord_capacitusAI boss_mekgineer_steamrigger boss_midnight::boss_midnightAI boss_moam boss_moira_bronzebeardAI boss_moorabi::boss_moorabiAI boss_mor_grayhoof boss_moroes boss_morogrim_tidewalker::boss_morogrim_tidewalkerAI boss_mother_shahraz::boss_shahrazAI boss_muru::boss_muruAI boss_najentus::boss_najentusAI boss_nefarian boss_nethermancer_sepethrea::boss_nethermancer_sepethreaAI boss_noth::boss_nothAI boss_novos::boss_novosAI boss_okthor::boss_okthorAI boss_omor_the_unscarred::boss_omor_the_unscarredAI boss_onyxia boss_ormorok::boss_ormorokAI boss_ossirian boss_ouro boss_overlord_wyrmthalak::boss_overlordwyrmthalakAI boss_patchwerk::boss_patchwerkAI boss_pathaleon_the_calculator::boss_pathaleon_the_calculatorAI boss_prince_valanar_icc::boss_prince_valanarAI boss_professor_putricide::boss_professor_putricideAI boss_pyroguard_emberseer::boss_pyroguard_emberseerAI 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_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_akamaAI boss_shade_of_aran::boss_aranAI boss_shazzrah::boss_shazzrahAI 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_supremusAI boss_taldaram boss_talon_king_ikiss boss_temporus boss_teron_gorefiend::boss_teron_gorefiendAI 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_lurker_belowAI boss_thekal::boss_thekalAI 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_vazruden_the_heraldAI boss_venoxis::boss_venoxisAI boss_victor_nefarius::boss_victor_nefariusAI boss_viscidus boss_void_reaver::boss_void_reaverAI boss_volazj boss_warbringer_omrogg::boss_warbringer_omroggAI boss_warchief_kargath_bladefist::boss_warchief_kargath_bladefistAI boss_warlord_kalithresh boss_warmaster_voone::boss_warmastervooneAI boss_warp_splinter boss_watchkeeper_gargolmar::boss_watchkeeper_gargolmarAI boss_wrath_scryer_soccothrates::boss_wrath_scryer_soccothratesAI 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.
 
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 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 HealDone (Unit *, uint32 &)
 
void AttackStartCaster (Unit *victim, float dist)
 
SpellCastResult DoAddAuraToAllHostilePlayers (uint32 spellid)
 
SpellCastResult DoCast (uint32 spellId)
 
SpellCastResult DoCast (Unit *victim, uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastSelf (uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastToAllHostilePlayers (uint32 spellid, bool triggered=false)
 
SpellCastResult DoCastVictim (uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastAOE (uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastRandomTarget (uint32 spellId, uint32 threatTablePosition=0, float dist=0.0f, bool playerOnly=true, bool triggered=false)
 
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

EventMap events
 
SummonList summons
 
TaskScheduler scheduler
 
- Protected Attributes inherited from CreatureAI
Creature *const me
 
EventMap events
 
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 
)
548 : ScriptedAI(creature),
549 instance(creature->GetInstanceScript()),
550 summons(creature),
551 _bossId(bossId)
552{
553 if (instance)
555}
void SetBoundary(CreatureBoundary const *boundary, bool negativeBoundaries=false)
Definition: CreatureAI.cpp:393
Definition: ScriptedCreature.h:192
InstanceScript *const instance
Definition: ScriptedCreature.h:461
uint32 const _bossId
Definition: ScriptedCreature.h:501
SummonList summons
Definition: ScriptedCreature.h:497
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1192
CreatureBoundary const * GetBossBoundary(uint32 id) const
Definition: InstanceScript.h:232

References InstanceScript::GetBossBoundary(), instance, and CreatureAI::SetBoundary().

◆ ~BossAI()

BossAI::~BossAI ( )
inlineoverride
459{}

Member Function Documentation

◆ _JustDied()

void BossAI::_JustDied ( )
protected
586{
587 events.Reset();
590 _healthCheckEvents.clear();
591 if (instance)
592 {
595 }
596}
@ DONE
Definition: InstanceScript.h:59
events
Definition: boss_sartura.cpp:43
TaskScheduler & CancelAll()
Definition: TaskScheduler.cpp:33
void DespawnAll(uint32 delay=0)
Definition: ScriptedCreature.cpp:67
std::list< HealthCheckEventData > _healthCheckEvents
Definition: ScriptedCreature.h:502
TaskScheduler scheduler
Definition: ScriptedCreature.h:498
virtual bool SetBossState(uint32 id, EncounterState state)
Definition: InstanceScript.cpp:317
void SaveToDB()
Definition: InstanceScript.cpp:41

References _bossId, _healthCheckEvents, TaskScheduler::CancelAll(), SummonList::DespawnAll(), DONE, instance, InstanceScript::SaveToDB(), 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_attumen::boss_attumenAI::JustDied(), boss_malchezaar::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_jeklik::JustDied(), boss_thekal::boss_thekalAI::JustDied(), boss_venoxis::boss_venoxisAI::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_talon_king_ikiss::JustDied(), boss_illidan_stormrage::boss_illidan_stormrageAI::JustDied(), boss_hydromancer_thespia::JustDied(), boss_mekgineer_steamrigger::JustDied(), boss_warlord_kalithresh::JustDied(), boss_gruul::JustDied(), boss_high_king_maulgar::JustDied(), boss_magtheridon::boss_magtheridonAI::JustDied(), boss_grand_warlock_nethekurse::boss_grand_warlock_nethekurseAI::JustDied(), boss_warchief_kargath_bladefist::boss_warchief_kargath_bladefistAI::JustDied(), boss_dalliah_the_doomsayer::JustDied(), boss_wrath_scryer_soccothrates::boss_wrath_scryer_soccothratesAI::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::boss_gatewatcher_gyrokillAI::JustDied(), boss_gatewatcher_iron_hand::boss_gatewatcher_iron_handAI::JustDied(), boss_mechano_lord_capacitus::boss_mechano_lord_capacitusAI::JustDied(), boss_pathaleon_the_calculator::boss_pathaleon_the_calculatorAI::JustDied(), boss_jarien::JustDied(), boss_sothos::JustDied(), and boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustDied().

◆ _JustEngagedWith()

void BossAI::_JustEngagedWith ( )
protected
599{
601 me->setActive(true);
604 if (instance)
605 {
606 // bosses do not respawn, check only on enter combat
608 {
610 return;
611 }
613 }
614}
@ IN_PROGRESS
Definition: InstanceScript.h:57
void DoZoneInCombat(Creature *creature=nullptr, float maxRangeToNearestTarget=250.0f)
Definition: CreatureAI.cpp:95
virtual void EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
Definition: CreatureAI.cpp:197
Creature * me
Definition: ScriptedCreature.h:282
virtual void ScheduleTasks()
Definition: ScriptedCreature.h:480
void SetCombatPulseDelay(uint32 delay)
Definition: Creature.h:287
void setActive(bool isActiveObject)
Definition: Object.cpp:1085
virtual bool CheckRequiredBosses(uint32, Player const *=nullptr) const
Definition: InstanceScript.h:243

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_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::boss_thekalAI::JustEngagedWith(), boss_venoxis::boss_venoxisAI::JustEngagedWith(), boss_wushoolay::boss_wushoolayAI::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_anzu::JustEngagedWith(), boss_talon_king_ikiss::JustEngagedWith(), boss_hydromancer_thespia::JustEngagedWith(), boss_mekgineer_steamrigger::JustEngagedWith(), boss_warlord_kalithresh::JustEngagedWith(), boss_gruul::JustEngagedWith(), boss_high_king_maulgar::JustEngagedWith(), boss_broggok::JustEngagedWith(), boss_magtheridon::boss_magtheridonAI::JustEngagedWith(), boss_warbringer_omrogg::boss_warbringer_omroggAI::JustEngagedWith(), boss_warchief_kargath_bladefist::boss_warchief_kargath_bladefistAI::JustEngagedWith(), boss_dalliah_the_doomsayer::JustEngagedWith(), boss_wrath_scryer_soccothrates::boss_wrath_scryer_soccothratesAI::JustEngagedWith(), boss_zereketh_the_unbound::JustEngagedWith(), boss_commander_sarannis::JustEngagedWith(), boss_high_botanist_freywinn::JustEngagedWith(), boss_laj::JustEngagedWith(), boss_thorngrin_the_tender::JustEngagedWith(), boss_warp_splinter::JustEngagedWith(), boss_gatewatcher_gyrokill::boss_gatewatcher_gyrokillAI::JustEngagedWith(), boss_gatewatcher_iron_hand::boss_gatewatcher_iron_handAI::JustEngagedWith(), boss_mechano_lord_capacitus::boss_mechano_lord_capacitusAI::JustEngagedWith(), boss_nethermancer_sepethrea::boss_nethermancer_sepethreaAI::JustEngagedWith(), boss_pathaleon_the_calculator::boss_pathaleon_the_calculatorAI::JustEngagedWith(), boss_sartharion::boss_sartharionAI::JustEngagedWith(), boss_jeklik::PathEndReached(), and boss_anub_arak::boss_anub_arakAI::UpdateAI().

◆ _JustReachedHome()

◆ _ProccessHealthCheckEvent()

bool BossAI::_ProccessHealthCheckEvent ( uint8  healthPct,
uint32  damage,
std::function< void()>  exec 
) const
protected
695{
696 if (me->HealthBelowPctDamaged(healthPct, damage))
697 {
698 exec();
699 return true;
700 }
701
702 return false;
703}
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
Definition: Unit.h:1445

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

Referenced by DamageTaken().

◆ _Reset()

void BossAI::_Reset ( )
protected
571{
572 if (!me->IsAlive())
573 return;
574
576 me->ResetLootMode();
577 events.Reset();
580 _healthCheckEvents.clear();
581 if (instance)
583}
@ NOT_STARTED
Definition: InstanceScript.h:56
void ResetLootMode()
Definition: Creature.h:237
bool IsAlive() const
Definition: Unit.h:1808

References _bossId, _healthCheckEvents, TaskScheduler::CancelAll(), SummonList::DespawnAll(), instance, Unit::IsAlive(), ScriptedAI::me, NOT_STARTED, Creature::ResetLootMode(), 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_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_jeklik::Reset(), boss_renataki::boss_renatakiAI::Reset(), boss_thekal::boss_thekalAI::Reset(), boss_venoxis::boss_venoxisAI::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_talon_king_ikiss::Reset(), boss_gruul::Reset(), boss_high_king_maulgar::Reset(), boss_broggok::Reset(), boss_magtheridon::boss_magtheridonAI::Reset(), boss_grand_warlock_nethekurse::boss_grand_warlock_nethekurseAI::Reset(), npc_warden_mellichar::npc_warden_mellicharAI::Reset(), boss_dalliah_the_doomsayer::Reset(), boss_wrath_scryer_soccothrates::boss_wrath_scryer_soccothratesAI::Reset(), boss_commander_sarannis::Reset(), boss_laj::Reset(), and boss_thorngrin_the_tender::Reset().

◆ CanRespawn()

bool BossAI::CanRespawn ( )
overridevirtual

Reimplemented from CreatureAI.

558{
559 if (instance)
560 {
562 {
563 return false;
564 }
565 }
566
567 return true;
568}
EncounterState GetBossState(uint32 id) const
Definition: InstanceScript.h:230

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_jeklik, boss_renataki::boss_renatakiAI, boss_venoxis::boss_venoxisAI, boss_isalien, boss_kurinnaxx, 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_attumenAI, boss_midnight::boss_midnightAI, boss_malchezaar, boss_shade_of_aran::boss_aranAI, boss_apothecary_hummel::boss_apothecary_hummelAI, boss_muru::boss_muruAI, boss_thekal::boss_thekalAI, boss_onyxia, boss_ayamiss, 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_talon_king_ikiss, boss_illidan_stormrage::boss_illidan_stormrageAI, boss_ghazan, boss_hungarfen, boss_dalliah_the_doomsayer, boss_commander_sarannis, boss_alar::boss_alarAI, 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_brutallus::boss_brutallusAI, boss_bug_trio, boss_hadronox::boss_hadronoxAI, and boss_razuvious::boss_razuviousAI.

673{
674 if (!_healthCheckEvents.empty())
675 {
676 _healthCheckEvents.remove_if([&](HealthCheckEventData data) -> bool
677 {
678 return _ProccessHealthCheckEvent(data._healthPct, damage, data._exec);
679 });
680 }
681}
Definition: ScriptedCreature.h:448
uint8 _healthPct
Definition: ScriptedCreature.h:451
std::function< void()> _exec
Definition: ScriptedCreature.h:452
bool _ProccessHealthCheckEvent(uint8 healthPct, uint32 damage, std::function< void()> exec) const
Definition: ScriptedCreature.cpp:694

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

◆ 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_attumenAI, boss_malchezaar, boss_servant_quarters, boss_shade_of_aran::boss_aranAI, 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_jeklik, boss_mandokir::boss_mandokirAI, boss_thekal::boss_thekalAI, boss_venoxis::boss_venoxisAI, boss_archimonde::boss_archimondeAI, boss_aeonus, boss_chrono_lord_deja, boss_temporus, boss_isalien, boss_moam, boss_rajaxx, boss_eye_of_cthun, boss_sartura, boss_skeram, boss_viscidus, 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_talon_king_ikiss, boss_illidan_stormrage::boss_illidan_stormrageAI, boss_hydromancer_thespia, boss_mekgineer_steamrigger, boss_warlord_kalithresh, boss_gruul, boss_high_king_maulgar, boss_vazruden_the_herald::boss_vazruden_the_heraldAI, boss_magtheridon::boss_magtheridonAI, boss_grand_warlock_nethekurse::boss_grand_warlock_nethekurseAI, boss_warbringer_omrogg::boss_warbringer_omroggAI, boss_warchief_kargath_bladefist::boss_warchief_kargath_bladefistAI, npc_warden_mellichar::npc_warden_mellicharAI, boss_dalliah_the_doomsayer, boss_wrath_scryer_soccothrates::boss_wrath_scryer_soccothratesAI, boss_zereketh_the_unbound, boss_commander_sarannis, boss_high_botanist_freywinn, boss_thorngrin_the_tender, boss_warp_splinter, boss_gatewatcher_gyrokill::boss_gatewatcher_gyrokillAI, boss_gatewatcher_iron_hand::boss_gatewatcher_iron_handAI, boss_mechano_lord_capacitus::boss_mechano_lord_capacitusAI, boss_nethermancer_sepethrea::boss_nethermancer_sepethreaAI, boss_pathaleon_the_calculator::boss_pathaleon_the_calculatorAI, boss_lord_valthalak::boss_lord_valthalakAI, boss_curator::boss_curatorAI, boss_maiden_of_virtue, boss_moroes, boss_jarien, boss_sothos, boss_brutallus::boss_brutallusAI, boss_felmyst::boss_felmystAI, boss_kalecgos::boss_kalecgosAI, boss_marli, 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_gurtogg_bloodboil::boss_gurtogg_bloodboilAI, boss_mother_shahraz::boss_shahrazAI, boss_reliquary_of_souls::boss_reliquary_of_soulsAI, boss_shade_of_akama::boss_shade_of_akamaAI, boss_supremus::boss_supremusAI, boss_teron_gorefiend::boss_teron_gorefiendAI, boss_najentus::boss_najentusAI, boss_fathomlord_karathress::boss_fathomlord_karathressAI, boss_hydross_the_unstable::boss_hydross_the_unstableAI, boss_lady_vashj::boss_lady_vashjAI, boss_leotheras_the_blind::boss_leotheras_the_blindAI, boss_the_lurker_below::boss_the_lurker_belowAI, boss_morogrim_tidewalker::boss_morogrim_tidewalkerAI, boss_omor_the_unscarred::boss_omor_the_unscarredAI, boss_watchkeeper_gargolmar::boss_watchkeeper_gargolmarAI, boss_alar::boss_alarAI, boss_high_astromancer_solarian::boss_high_astromancer_solarianAI, boss_kaelthas::boss_kaelthasAI, and boss_void_reaver::boss_void_reaverAI.

484{ _JustDied(); }
void _JustDied()
Definition: ScriptedCreature.cpp:585

References _JustDied().

Referenced by boss_lord_valthalak::boss_lord_valthalakAI::JustDied(), boss_curator::boss_curatorAI::JustDied(), boss_maiden_of_virtue::JustDied(), boss_moroes::JustDied(), boss_brutallus::boss_brutallusAI::JustDied(), boss_felmyst::boss_felmystAI::JustDied(), boss_kalecgos::boss_kalecgosAI::JustDied(), boss_marli::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_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::boss_shade_of_akamaAI::JustDied(), boss_supremus::boss_supremusAI::JustDied(), boss_teron_gorefiend::boss_teron_gorefiendAI::JustDied(), boss_najentus::boss_najentusAI::JustDied(), boss_fathomlord_karathress::boss_fathomlord_karathressAI::JustDied(), boss_hydross_the_unstable::boss_hydross_the_unstableAI::JustDied(), boss_lady_vashj::boss_lady_vashjAI::JustDied(), boss_leotheras_the_blind::boss_leotheras_the_blindAI::JustDied(), boss_the_lurker_below::boss_the_lurker_belowAI::JustDied(), boss_morogrim_tidewalker::boss_morogrim_tidewalkerAI::JustDied(), boss_omor_the_unscarred::boss_omor_the_unscarredAI::JustDied(), boss_watchkeeper_gargolmar::boss_watchkeeper_gargolmarAI::JustDied(), boss_alar::boss_alarAI::JustDied(), boss_high_astromancer_solarian::boss_high_astromancer_solarianAI::JustDied(), boss_kaelthas::boss_kaelthasAI::JustDied(), and boss_void_reaver::boss_void_reaverAI::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_aranAI, 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_jeklik, boss_mandokir::boss_mandokirAI, boss_renataki::boss_renatakiAI, boss_thekal::boss_thekalAI, boss_venoxis::boss_venoxisAI, boss_wushoolay::boss_wushoolayAI, boss_archimonde::boss_archimondeAI, 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_anzu, boss_talon_king_ikiss, boss_the_lurker_below::boss_the_lurker_belowAI, boss_hydromancer_thespia, boss_mekgineer_steamrigger, boss_warlord_kalithresh, boss_gruul, boss_high_king_maulgar, boss_broggok, boss_magtheridon::boss_magtheridonAI, boss_grand_warlock_nethekurse::boss_grand_warlock_nethekurseAI, boss_warbringer_omrogg::boss_warbringer_omroggAI, boss_warchief_kargath_bladefist::boss_warchief_kargath_bladefistAI, npc_warden_mellichar::npc_warden_mellicharAI, boss_dalliah_the_doomsayer, boss_wrath_scryer_soccothrates::boss_wrath_scryer_soccothratesAI, boss_zereketh_the_unbound, boss_commander_sarannis, boss_high_botanist_freywinn, boss_laj, boss_thorngrin_the_tender, boss_warp_splinter, boss_gatewatcher_gyrokill::boss_gatewatcher_gyrokillAI, boss_gatewatcher_iron_hand::boss_gatewatcher_iron_handAI, boss_mechano_lord_capacitus::boss_mechano_lord_capacitusAI, boss_nethermancer_sepethrea::boss_nethermancer_sepethreaAI, boss_pathaleon_the_calculator::boss_pathaleon_the_calculatorAI, 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_curatorAI, boss_maiden_of_virtue, boss_midnight::boss_midnightAI, boss_moroes, 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_jindo, boss_marli, boss_onyxia, boss_buru, 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_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_shade_of_akamaAI, boss_supremus::boss_supremusAI, boss_teron_gorefiend::boss_teron_gorefiendAI, boss_najentus::boss_najentusAI, boss_fathomlord_karathress::boss_fathomlord_karathressAI, boss_hydross_the_unstable::boss_hydross_the_unstableAI, boss_lady_vashj::boss_lady_vashjAI, boss_leotheras_the_blind::boss_leotheras_the_blindAI, boss_morogrim_tidewalker::boss_morogrim_tidewalkerAI, boss_ghazan, boss_hungarfen, boss_the_black_stalker, boss_omor_the_unscarred::boss_omor_the_unscarredAI, boss_watchkeeper_gargolmar::boss_watchkeeper_gargolmarAI, boss_alar::boss_alarAI, boss_high_astromancer_solarian::boss_high_astromancer_solarianAI, boss_kaelthas::boss_kaelthasAI, and boss_void_reaver::boss_void_reaverAI.

483{ _JustEngagedWith(); }
void _JustEngagedWith()
Definition: ScriptedCreature.cpp:598

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::boss_curatorAI::JustEngagedWith(), boss_maiden_of_virtue::JustEngagedWith(), boss_midnight::boss_midnightAI::JustEngagedWith(), boss_moroes::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_jindo::JustEngagedWith(), boss_marli::JustEngagedWith(), boss_onyxia::JustEngagedWith(), boss_buru::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_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_shade_of_akama::boss_shade_of_akamaAI::JustEngagedWith(), boss_supremus::boss_supremusAI::JustEngagedWith(), boss_teron_gorefiend::boss_teron_gorefiendAI::JustEngagedWith(), boss_najentus::boss_najentusAI::JustEngagedWith(), boss_fathomlord_karathress::boss_fathomlord_karathressAI::JustEngagedWith(), boss_hydross_the_unstable::boss_hydross_the_unstableAI::JustEngagedWith(), boss_lady_vashj::boss_lady_vashjAI::JustEngagedWith(), boss_leotheras_the_blind::boss_leotheras_the_blindAI::JustEngagedWith(), boss_morogrim_tidewalker::boss_morogrim_tidewalkerAI::JustEngagedWith(), boss_ghazan::JustEngagedWith(), boss_hungarfen::JustEngagedWith(), boss_the_black_stalker::JustEngagedWith(), boss_omor_the_unscarred::boss_omor_the_unscarredAI::JustEngagedWith(), boss_watchkeeper_gargolmar::boss_watchkeeper_gargolmarAI::JustEngagedWith(), boss_alar::boss_alarAI::JustEngagedWith(), boss_high_astromancer_solarian::boss_high_astromancer_solarianAI::JustEngagedWith(), boss_kaelthas::boss_kaelthasAI::JustEngagedWith(), and boss_void_reaver::boss_void_reaverAI::JustEngagedWith().

◆ JustReachedHome()

void BossAI::JustReachedHome ( )
inlineoverridevirtual

Reimplemented from CreatureAI.

Reimplemented in boss_victor_nefarius::boss_victor_nefariusAI, boss_majordomo::boss_majordomoAI, boss_moroes, boss_kalecgos::boss_kalecgosAI, boss_arlokk::boss_arlokkAI, boss_aeonus, boss_baltharus_the_warborn::boss_baltharus_the_warbornAI, boss_halion::boss_halionAI, boss_saviana_ragefire::boss_saviana_ragefireAI, boss_drakkari_colossus::boss_drakkari_colossusAI, boss_gal_darah::boss_gal_darahAI, 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, npc_green_dragon_combat_trigger::npc_green_dragon_combat_triggerAI, boss_hydross_the_unstable::boss_hydross_the_unstableAI, boss_leotheras_the_blind::boss_leotheras_the_blindAI, boss_ghazan, and boss_alar::boss_alarAI.

485{ _JustReachedHome(); }
void _JustReachedHome()
Definition: ScriptedCreature.h:491

References _JustReachedHome().

Referenced by boss_moroes::JustReachedHome(), boss_kalecgos::boss_kalecgosAI::JustReachedHome(), boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::JustReachedHome(), boss_halion::boss_halionAI::JustReachedHome(), boss_saviana_ragefire::boss_saviana_ragefireAI::JustReachedHome(), boss_drakkari_colossus::boss_drakkari_colossusAI::JustReachedHome(), boss_gal_darah::boss_gal_darahAI::JustReachedHome(), boss_hydross_the_unstable::boss_hydross_the_unstableAI::JustReachedHome(), boss_leotheras_the_blind::boss_leotheras_the_blindAI::JustReachedHome(), boss_ghazan::JustReachedHome(), and boss_alar::boss_alarAI::JustReachedHome().

◆ JustSummoned()

void BossAI::JustSummoned ( Creature summon)
overridevirtual

Reimplemented from ScriptedAI.

Reimplemented in 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_mekgineer_steamrigger, boss_ossirian, boss_skeram, 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_curatorAI, boss_attumen::boss_attumenAI, boss_midnight::boss_midnightAI, boss_sacrolash::boss_sacrolashAI, boss_felmyst::boss_felmystAI, boss_muru::boss_muruAI, boss_hazzarah, boss_jindo, 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_gurtogg_bloodboil::boss_gurtogg_bloodboilAI, boss_illidan_stormrage::boss_illidan_stormrageAI, boss_reliquary_of_souls::boss_reliquary_of_soulsAI, boss_supremus::boss_supremusAI, boss_teron_gorefiend::boss_teron_gorefiendAI, boss_fathomlord_karathress::boss_fathomlord_karathressAI, boss_hydross_the_unstable::boss_hydross_the_unstableAI, boss_lady_vashj::boss_lady_vashjAI, boss_leotheras_the_blind::boss_leotheras_the_blindAI, boss_the_lurker_below::boss_the_lurker_belowAI, boss_morogrim_tidewalker::boss_morogrim_tidewalkerAI, boss_the_black_stalker, boss_omor_the_unscarred::boss_omor_the_unscarredAI, boss_vazruden_the_herald::boss_vazruden_the_heraldAI, boss_grand_warlock_nethekurse::boss_grand_warlock_nethekurseAI, boss_warchief_kargath_bladefist::boss_warchief_kargath_bladefistAI, npc_warden_mellichar::npc_warden_mellicharAI, boss_alar::boss_alarAI, boss_high_astromancer_solarian::boss_high_astromancer_solarianAI, boss_kaelthas::boss_kaelthasAI, boss_mechano_lord_capacitus::boss_mechano_lord_capacitusAI, boss_nethermancer_sepethrea::boss_nethermancer_sepethreaAI, boss_vaelastrasz::boss_vaelAI, boss_archimonde::boss_archimondeAI, boss_broggok, boss_warbringer_omrogg::boss_warbringer_omroggAI, and boss_ayamiss.

629{
630 summons.Summon(summon);
631 if (me->IsEngaged())
632 DoZoneInCombat(summon);
633}
void Summon(Creature const *summon)
Definition: ScriptedCreature.h:90
bool IsEngaged() const
Definition: Unit.h:1685

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::boss_attumenAI::JustSummoned(), boss_midnight::boss_midnightAI::JustSummoned(), boss_jindo::JustSummoned(), boss_sartharion_dragonAI::JustSummoned(), boss_the_lich_king::boss_the_lich_kingAI::JustSummoned(), and boss_the_black_stalker::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_curatorAI, boss_attumen::boss_attumenAI, boss_midnight::boss_midnightAI, boss_moroes, boss_malchezaar, boss_servant_quarters, boss_shade_of_aran::boss_aranAI, 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_thekalAI, boss_venoxis::boss_venoxisAI, boss_archimonde::boss_archimondeAI, boss_isalien, boss_onyxia, boss_ayamiss, boss_kurinnaxx, 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_talon_king_ikiss, 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_shade_of_akamaAI, boss_supremus::boss_supremusAI, boss_teron_gorefiend::boss_teron_gorefiendAI, boss_najentus::boss_najentusAI, boss_illidari_council::boss_illidari_councilAI, boss_fathomlord_karathress::boss_fathomlord_karathressAI, boss_hydross_the_unstable::boss_hydross_the_unstableAI, boss_lady_vashj::boss_lady_vashjAI, boss_leotheras_the_blind::boss_leotheras_the_blindAI, boss_the_lurker_below::boss_the_lurker_belowAI, boss_morogrim_tidewalker::boss_morogrim_tidewalkerAI, boss_ghazan, boss_hungarfen, boss_gruul, boss_high_king_maulgar, boss_broggok, boss_omor_the_unscarred::boss_omor_the_unscarredAI, boss_vazruden_the_herald::boss_vazruden_the_heraldAI, boss_watchkeeper_gargolmar::boss_watchkeeper_gargolmarAI, boss_magtheridon::boss_magtheridonAI, boss_grand_warlock_nethekurse::boss_grand_warlock_nethekurseAI, npc_warden_mellichar::npc_warden_mellicharAI, boss_dalliah_the_doomsayer, boss_wrath_scryer_soccothrates::boss_wrath_scryer_soccothratesAI, boss_commander_sarannis, boss_laj, boss_thorngrin_the_tender, boss_alar::boss_alarAI, boss_high_astromancer_solarian::boss_high_astromancer_solarianAI, boss_kaelthas::boss_kaelthasAI, and boss_void_reaver::boss_void_reaverAI.

482{ _Reset(); }
void _Reset()
Definition: ScriptedCreature.cpp:570

References _Reset().

Referenced by boss_jindo::EnterEvadeMode(), boss_lord_valthalak::boss_lord_valthalakAI::Reset(), boss_curator::boss_curatorAI::Reset(), boss_midnight::boss_midnightAI::Reset(), boss_moroes::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_mandokir::boss_mandokirAI::Reset(), boss_marli::Reset(), boss_onyxia::Reset(), boss_ayamiss::Reset(), boss_kurinnaxx::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::boss_shade_of_akamaAI::Reset(), boss_supremus::boss_supremusAI::Reset(), boss_teron_gorefiend::boss_teron_gorefiendAI::Reset(), boss_najentus::boss_najentusAI::Reset(), boss_illidari_council::boss_illidari_councilAI::Reset(), boss_fathomlord_karathress::boss_fathomlord_karathressAI::Reset(), boss_hydross_the_unstable::boss_hydross_the_unstableAI::Reset(), boss_lady_vashj::boss_lady_vashjAI::Reset(), boss_leotheras_the_blind::boss_leotheras_the_blindAI::Reset(), boss_the_lurker_below::boss_the_lurker_belowAI::Reset(), boss_morogrim_tidewalker::boss_morogrim_tidewalkerAI::Reset(), boss_ghazan::Reset(), boss_hungarfen::Reset(), boss_omor_the_unscarred::boss_omor_the_unscarredAI::Reset(), boss_vazruden_the_herald::boss_vazruden_the_heraldAI::Reset(), boss_watchkeeper_gargolmar::boss_watchkeeper_gargolmarAI::Reset(), boss_alar::boss_alarAI::Reset(), boss_high_astromancer_solarian::boss_high_astromancer_solarianAI::Reset(), boss_kaelthas::boss_kaelthasAI::Reset(), and boss_void_reaver::boss_void_reaverAI::Reset().

◆ ScheduleHealthCheckEvent()

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

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

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

References _healthCheckEvents.

Referenced by boss_thorngrin_the_tender::Reset().

◆ ScheduleTasks()

virtual void BossAI::ScheduleTasks ( )
inlinevirtual

Reimplemented in boss_attumen::boss_attumenAI, boss_ayamiss, and boss_cthun.

480{ }

Referenced by _JustEngagedWith().

◆ SummonedCreatureDespawn()

◆ SummonedCreatureDespawnAll()

void BossAI::SummonedCreatureDespawnAll ( )
overridevirtual

Reimplemented from CreatureAI.

641{
643}

References SummonList::DespawnAll(), and summons.

◆ TeleportCheaters()

void BossAI::TeleportCheaters ( )
protected
617{
618 float x, y, z;
619 me->GetPosition(x, y, z);
620
622 for (ThreatContainer::StorageType::const_iterator itr = threatList.begin(); itr != threatList.end(); ++itr)
623 if (Unit* target = (*itr)->getTarget())
624 if (target->GetTypeId() == TYPEID_PLAYER && !IsInBoundary(target))
625 target->NearTeleportTo(x, y, z, 0);
626}
@ TYPEID_PLAYER
Definition: ObjectGuid.h:38
bool IsInBoundary(Position const *who=nullptr) const
Definition: CreatureAI.cpp:362
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:1290
ThreatMgr & GetThreatMgr()
Definition: Unit.h:2145

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_curator::boss_curatorAI, boss_maiden_of_virtue, boss_attumen::boss_attumenAI, boss_midnight::boss_midnightAI, boss_moroes, boss_servant_quarters, boss_shade_of_aran::boss_aranAI, 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_jeklik, boss_jindo, boss_mandokir::boss_mandokirAI, boss_marli, boss_renataki::boss_renatakiAI, boss_thekal::boss_thekalAI, boss_venoxis::boss_venoxisAI, boss_wushoolay::boss_wushoolayAI, boss_archimonde::boss_archimondeAI, boss_isalien, boss_onyxia, boss_ayamiss, boss_buru, boss_kurinnaxx, boss_moam, boss_ossirian, boss_rajaxx, boss_bug_trio, boss_eye_of_cthun, boss_cthun, boss_fankriss, 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_anzu, 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_shade_of_akamaAI, boss_supremus::boss_supremusAI, boss_teron_gorefiend::boss_teron_gorefiendAI, boss_najentus::boss_najentusAI, boss_fathomlord_karathress::boss_fathomlord_karathressAI, boss_hydross_the_unstable::boss_hydross_the_unstableAI, boss_lady_vashj::boss_lady_vashjAI, boss_leotheras_the_blind::boss_leotheras_the_blindAI, boss_the_lurker_below::boss_the_lurker_belowAI, boss_morogrim_tidewalker::boss_morogrim_tidewalkerAI, boss_hydromancer_thespia, boss_mekgineer_steamrigger, boss_warlord_kalithresh, boss_ghazan, boss_hungarfen, boss_the_black_stalker, boss_gruul, boss_high_king_maulgar, boss_omor_the_unscarred::boss_omor_the_unscarredAI, boss_watchkeeper_gargolmar::boss_watchkeeper_gargolmarAI, boss_magtheridon::boss_magtheridonAI, boss_grand_warlock_nethekurse::boss_grand_warlock_nethekurseAI, boss_warbringer_omrogg::boss_warbringer_omroggAI, boss_warchief_kargath_bladefist::boss_warchief_kargath_bladefistAI, npc_warden_mellichar::npc_warden_mellicharAI, boss_wrath_scryer_soccothrates::boss_wrath_scryer_soccothratesAI, boss_alar::boss_alarAI, boss_high_astromancer_solarian::boss_high_astromancer_solarianAI, boss_kaelthas::boss_kaelthasAI, boss_void_reaver::boss_void_reaverAI, boss_gatewatcher_gyrokill::boss_gatewatcher_gyrokillAI, boss_gatewatcher_iron_hand::boss_gatewatcher_iron_handAI, boss_mechano_lord_capacitus::boss_mechano_lord_capacitusAI, boss_nethermancer_sepethrea::boss_nethermancer_sepethreaAI, boss_pathaleon_the_calculator::boss_pathaleon_the_calculatorAI, boss_illidari_council::boss_illidari_councilAI, and boss_vazruden_the_herald::boss_vazruden_the_heraldAI.

646{
647 if (!UpdateVictim())
648 {
649 return;
650 }
651
652 events.Update(diff);
653 scheduler.Update(diff);
654
656 {
657 return;
658 }
659
660 while (uint32 const eventId = events.ExecuteEvent())
661 {
662 ExecuteEvent(eventId);
664 {
665 return;
666 }
667 }
668
670}
std::uint32_t uint32
Definition: Define.h:108
@ UNIT_STATE_CASTING
Definition: Unit.h:340
TaskScheduler & Update(success_t const &callback=EmptyCallback)
Definition: TaskScheduler.cpp:15
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:40
bool UpdateVictim()
Definition: CreatureAI.cpp:269
virtual void ExecuteEvent(uint32)
Definition: ScriptedCreature.h:478
bool HasUnitState(const uint32 f) const
Definition: Unit.h:1398

References UnitAI::DoMeleeAttackIfReady(), ExecuteEvent(), Unit::HasUnitState(), ScriptedAI::me, 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

◆ events

EventMap BossAI::events
protected

◆ instance

InstanceScript* const BossAI::instance

Referenced by _JustDied(), _JustEngagedWith(), _Reset(), boss_hakkar::boss_hakkarAI::ApplyHakkarPowerStacks(), boss_professor_putricide::boss_professor_putricideAI::AttackStart(), 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_soccothratesAI::boss_wrath_scryer_soccothratesAI(), BossAI(), boss_majordomo::boss_majordomoAI::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::boss_attumenAI::DamageTaken(), boss_sindragosa::boss_sindragosaAI::DamageTaken(), boss_dalliah_the_doomsayer::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_the_lich_king::boss_the_lich_kingAI::DoAction(), boss_broggok::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::boss_attumenAI::EnterEvadeMode(), boss_sacrolash::boss_sacrolashAI::EnterEvadeMode(), boss_alythess::boss_alythessAI::EnterEvadeMode(), boss_buru::EnterEvadeMode(), boss_amanitar::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_the_lich_king::boss_the_lich_kingAI::EnterEvadeMode(), boss_illidan_stormrage::boss_illidan_stormrageAI::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_malchezaar::Initialize(), boss_urok_doomhowl::boss_urok_doomhowlAI::InitializeAI(), boss_majordomo::boss_majordomoAI::InitializeAI(), boss_taldaram::InitializeAI(), boss_warchief_kargath_bladefist::boss_warchief_kargath_bladefistAI::InitializeAI(), boss_dalliah_the_doomsayer::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_attumen::boss_attumenAI::JustDied(), boss_malchezaar::JustDied(), boss_shade_of_aran::boss_aranAI::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::boss_thekalAI::JustDied(), boss_rajaxx::JustDied(), boss_eye_of_cthun::JustDied(), boss_viscidus::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_high_king_maulgar::JustDied(), boss_vazruden_the_herald::boss_vazruden_the_heraldAI::JustDied(), boss_warbringer_omrogg::boss_warbringer_omroggAI::JustDied(), boss_warchief_kargath_bladefist::boss_warchief_kargath_bladefistAI::JustDied(), boss_dalliah_the_doomsayer::JustDied(), boss_wrath_scryer_soccothrates::boss_wrath_scryer_soccothratesAI::JustDied(), boss_nethermancer_sepethrea::boss_nethermancer_sepethreaAI::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::boss_shade_of_akamaAI::JustDied(), boss_sartharion_dragonAI::JustEngagedWith(), boss_magmus::boss_magmusAI::JustEngagedWith(), boss_razorgore::boss_razorgoreAI::JustEngagedWith(), boss_malchezaar::JustEngagedWith(), boss_shade_of_aran::boss_aranAI::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_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_majordomo::boss_majordomoAI::JustReachedHome(), boss_arlokk::boss_arlokkAI::JustReachedHome(), boss_aeonus::JustReachedHome(), boss_halion::boss_halionAI::JustReachedHome(), boss_prince_valanar_icc::boss_prince_valanarAI::JustReachedHome(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::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(), boss_sindragosa::boss_sindragosaAI::JustReachedHome(), npc_green_dragon_combat_trigger::npc_green_dragon_combat_triggerAI::JustReachedHome(), boss_attumen::boss_attumenAI::JustSummoned(), boss_eye_of_cthun::JustSummoned(), boss_sartharion_dragonAI::JustSummoned(), boss_midnight::boss_midnightAI::KilledUnit(), boss_mandokir::boss_mandokirAI::KilledUnit(), boss_grand_warlock_nethekurse::boss_grand_warlock_nethekurseAI::MoveInLineOfSight(), 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::boss_lady_vashjAI::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_servant_quarters::Reset(), boss_shade_of_aran::boss_aranAI::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::boss_thekalAI::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(), npc_green_dragon_combat_trigger::npc_green_dragon_combat_triggerAI::Reset(), npc_warden_mellichar::npc_warden_mellicharAI::Reset(), boss_sartharion::boss_sartharionAI::RespawnDragons(), boss_thekal::boss_thekalAI::ReviveZealot(), 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_attumen::boss_attumenAI::SpellHit(), 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_servant_quarters::UpdateAI(), boss_shade_of_aran::boss_aranAI::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::boss_shade_of_akamaAI::UpdateAI(), boss_magtheridon::boss_magtheridonAI::UpdateAI(), npc_warden_mellichar::npc_warden_mellicharAI::UpdateAI(), boss_wrath_scryer_soccothrates::boss_wrath_scryer_soccothratesAI::UpdateAI(), and boss_pyroguard_emberseer::boss_pyroguard_emberseerAI::UpdateRunes().

◆ scheduler

TaskScheduler BossAI::scheduler
protected

Referenced by _JustDied(), _Reset(), boss_apothecary_hummel::boss_apothecary_hummelAI::boss_apothecary_hummelAI(), boss_talon_king_ikiss::boss_talon_king_ikiss(), boss_thorngrin_the_tender::boss_thorngrin_the_tender(), boss_zereketh_the_unbound::boss_zereketh_the_unbound(), boss_malchezaar::DamageTaken(), boss_ayamiss::DamageTaken(), boss_apothecary_hummel::boss_apothecary_hummelAI::DoAction(), boss_broggok::DoAction(), boss_attumen::boss_attumenAI::IsSummonedBy(), boss_malchezaar::JustEngagedWith(), boss_aeonus::JustEngagedWith(), boss_chrono_lord_deja::JustEngagedWith(), boss_temporus::JustEngagedWith(), boss_talon_king_ikiss::JustEngagedWith(), boss_dalliah_the_doomsayer::JustEngagedWith(), boss_zereketh_the_unbound::JustEngagedWith(), boss_commander_sarannis::JustEngagedWith(), boss_high_botanist_freywinn::JustEngagedWith(), boss_laj::JustEngagedWith(), boss_thorngrin_the_tender::JustEngagedWith(), boss_warp_splinter::JustEngagedWith(), boss_midnight::boss_midnightAI::JustEngagedWith(), boss_ayamiss::MovementInform(), boss_ayamiss::Reset(), boss_eye_of_cthun::Reset(), boss_cthun::Reset(), boss_commander_sarannis::ScheduleReinforcements(), boss_eye_of_cthun::ScheduleTask(), boss_attumen::boss_attumenAI::ScheduleTasks(), boss_ayamiss::ScheduleTasks(), boss_cthun::ScheduleTasks(), boss_attumen::boss_attumenAI::SpellHit(), boss_cthun::SummonedCreatureDies(), UpdateAI(), boss_attumen::boss_attumenAI::UpdateAI(), boss_midnight::boss_midnightAI::UpdateAI(), boss_apothecary_hummel::boss_apothecary_hummelAI::UpdateAI(), boss_ayamiss::UpdateAI(), and boss_cthun::UpdateAI().

◆ summons

SummonList BossAI::summons
protected

Referenced by _JustDied(), _Reset(), 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_warbringer_omrogg::boss_warbringer_omroggAI::GetLeftHead(), boss_moroes::GetRandomGuest(), boss_warbringer_omrogg::boss_warbringer_omroggAI::GetRightHead(), boss_moroes::InitializeGuests(), boss_sacrolash::boss_sacrolashAI::JustDied(), boss_alythess::boss_alythessAI::JustDied(), boss_viscidus::JustDied(), boss_sartharion_dragonAI::JustDied(), boss_prince_valanar_icc::boss_prince_valanarAI::JustDied(), boss_illidan_stormrage::boss_illidan_stormrageAI::JustDied(), boss_nethermancer_sepethrea::boss_nethermancer_sepethreaAI::JustDied(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustDied(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::JustDied(), boss_malchezaar::JustEngagedWith(), boss_sindragosa::boss_sindragosaAI::JustEngagedWith(), boss_illidan_stormrage::boss_illidan_stormrageAI::JustEngagedWith(), boss_ossirian::JustSummoned(), JustSummoned(), boss_gyth::boss_gythAI::JustSummoned(), boss_rend_blackhand::boss_rend_blackhandAI::JustSummoned(), boss_razorgore::boss_razorgoreAI::JustSummoned(), boss_curator::boss_curatorAI::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_gurtogg_bloodboil::boss_gurtogg_bloodboilAI::JustSummoned(), boss_illidan_stormrage::boss_illidan_stormrageAI::JustSummoned(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::JustSummoned(), boss_supremus::boss_supremusAI::JustSummoned(), boss_teron_gorefiend::boss_teron_gorefiendAI::JustSummoned(), boss_fathomlord_karathress::boss_fathomlord_karathressAI::JustSummoned(), boss_hydross_the_unstable::boss_hydross_the_unstableAI::JustSummoned(), boss_lady_vashj::boss_lady_vashjAI::JustSummoned(), boss_leotheras_the_blind::boss_leotheras_the_blindAI::JustSummoned(), boss_the_lurker_below::boss_the_lurker_belowAI::JustSummoned(), boss_morogrim_tidewalker::boss_morogrim_tidewalkerAI::JustSummoned(), boss_omor_the_unscarred::boss_omor_the_unscarredAI::JustSummoned(), boss_vazruden_the_herald::boss_vazruden_the_heraldAI::JustSummoned(), boss_grand_warlock_nethekurse::boss_grand_warlock_nethekurseAI::JustSummoned(), boss_warchief_kargath_bladefist::boss_warchief_kargath_bladefistAI::JustSummoned(), npc_warden_mellichar::npc_warden_mellicharAI::JustSummoned(), boss_alar::boss_alarAI::JustSummoned(), boss_high_astromancer_solarian::boss_high_astromancer_solarianAI::JustSummoned(), boss_kaelthas::boss_kaelthasAI::JustSummoned(), boss_mechano_lord_capacitus::boss_mechano_lord_capacitusAI::JustSummoned(), boss_nethermancer_sepethrea::boss_nethermancer_sepethreaAI::JustSummoned(), boss_broggok::JustSummoned(), boss_warbringer_omrogg::boss_warbringer_omroggAI::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_the_lurker_below::boss_the_lurker_belowAI::Reset(), boss_sartharion::boss_sartharionAI::SendLavaWaves(), boss_vazruden_the_herald::boss_vazruden_the_heraldAI::SetData(), boss_kaelthas::boss_kaelthasAI::SetData(), boss_the_lich_king::boss_the_lich_kingAI::SpellHitTarget(), boss_taldaram::SpellHitTarget(), boss_leotheras_the_blind::boss_leotheras_the_blindAI::SummonChannelers(), 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::boss_supremusAI::SummonedCreatureDespawn(), boss_hydross_the_unstable::boss_hydross_the_unstableAI::SummonedCreatureDespawn(), boss_vazruden_the_herald::boss_vazruden_the_heraldAI::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_fathomlord_karathress::boss_fathomlord_karathressAI::SummonedCreatureDies(), boss_leotheras_the_blind::boss_leotheras_the_blindAI::SummonedCreatureDies(), boss_the_black_stalker::SummonedCreatureDies(), boss_vazruden_the_herald::boss_vazruden_the_heraldAI::SummonedCreatureDies(), npc_warden_mellichar::npc_warden_mellicharAI::SummonedCreatureDies(), boss_high_botanist_freywinn::SummonedCreatureDies(), boss_kaelthas::boss_kaelthasAI::SummonedCreatureDies(), boss_viscidus::SummonedCreatureDies(), boss_jedoga_shadowseeker::SummonedCreatureDies(), boss_sartharion::boss_sartharionAI::SummonLavaWaves(), 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(), boss_fathomlord_karathress::boss_fathomlord_karathressAI::UpdateAI(), npc_warden_mellichar::npc_warden_mellicharAI::UpdateAI(), boss_high_astromancer_solarian::boss_high_astromancer_solarianAI::UpdateAI(), boss_kaelthas::boss_kaelthasAI::UpdateAI(), boss_pathaleon_the_calculator::boss_pathaleon_the_calculatorAI::UpdateAI(), and boss_vazruden_the_herald::boss_vazruden_the_heraldAI::UpdateAI().