524 std::vector<Unit*> TargetList;
525 for (ThreatContainer::StorageType::const_iterator itr = ThreatList.begin(); itr != ThreatList.end(); ++itr)
529 TargetList.push_back(tempTarget);
532 for (std::vector<Unit*>::const_iterator itr = TargetList.begin(); itr != TargetList.end(); ++itr)
534 if ((*itr) && (*itr)->IsAlive())
uint32 ChaosBlast_Timer
Definition: boss_leotheras_the_blind.cpp:223
Definition: boss_leotheras_the_blind.cpp:34
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
Definition: Unit.cpp:4240
Unit * EnsureVictim() const
Definition: Unit.h:1381
void SetVirtualItem(uint32 slot, uint32 itemId, uint16 appearanceModId=0)
Definition: Unit.cpp:16427
Definition: boss_leotheras_the_blind.cpp:67
void DespawnDemon()
Definition: boss_leotheras_the_blind.cpp:354
bool UpdateVictim()
Definition: CreatureAI.cpp:233
TC_GAME_API Unit * GetUnit(WorldObject const &, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:163
uint32 InnerDemons_Timer
Definition: boss_leotheras_the_blind.cpp:227
void Clear(bool reset=true)
Definition: MotionMaster.h:138
Definition: boss_leotheras_the_blind.cpp:63
bool HealthBelowPct(uint32 pct) const
Definition: ScriptedCreature.h:247
uint32 BanishTimer
Definition: boss_leotheras_the_blind.cpp:228
Definition: boss_leotheras_the_blind.cpp:58
void MoveChase(Unit *target, float dist=0.0f, float angle=0.0f)
Definition: MotionMaster.cpp:241
MotionMaster * GetMotionMaster()
Definition: Unit.h:2101
uint32 Whirlwind_Timer
Definition: boss_leotheras_the_blind.cpp:222
arena_t NULL
Definition: jemalloc_internal.h:624
ThreatContainer::StorageType const & getThreatList() const
Definition: ThreatManager.h:263
Definition: boss_leotheras_the_blind.cpp:37
bool EnrageUsed
Definition: boss_leotheras_the_blind.cpp:234
Definition: Creature.h:467
virtual void SetGUID(ObjectGuid, int32=0)
Definition: UnitAI.h:141
Definition: boss_leotheras_the_blind.cpp:57
bool IsWithinDist(WorldObject const *obj, float dist2compare, bool is3D=true) const
Definition: Object.cpp:1658
Creature *const me
Definition: CreatureAI.h:71
TypeID GetTypeId() const
Definition: Object.h:113
void MovePoint(uint32 id, Position const &pos, bool generatePath=true)
Definition: MotionMaster.h:172
void LoadEquipment(int8 id=1, bool force=false)
Definition: Creature.cpp:1429
Unit * GetVictim() const
Definition: Unit.h:1379
float GetPositionY() const
Definition: Position.h:105
void CheckBanish()
Definition: boss_leotheras_the_blind.cpp:303
CreatureAI * AI() const
Definition: Creature.h:525
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
Definition: UnitAI.cpp:91
float GetPositionZ() const
Definition: Position.h:106
void DoCast(uint32 spellId)
Definition: UnitAI.cpp:101
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
uint32 Berserk_Timer
Definition: boss_leotheras_the_blind.cpp:226
Creature * DoSpawnCreature(uint32 entry, float offsetX, float offsetY, float offsetZ, float angle, uint32 type, uint32 despawntime)
Definition: ScriptedCreature.cpp:177
uint32 SwitchToDemon_Timer
Definition: boss_leotheras_the_blind.cpp:224
ObjectGuid InnderDemon[5]
Definition: boss_leotheras_the_blind.cpp:237
Definition: boss_leotheras_the_blind.cpp:35
void CastConsumingMadness()
Definition: boss_leotheras_the_blind.cpp:372
uint32 InnerDemon_Count
Definition: boss_leotheras_the_blind.cpp:238
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:3586
Definition: boss_leotheras_the_blind.cpp:42
void DoResetThreat()
Definition: ScriptedCreature.cpp:248
ObjectGuid const & GetGUID() const
Definition: Object.h:105
Definition: boss_leotheras_the_blind.cpp:64
void SetDisplayId(uint32 modelId) override
Definition: Creature.cpp:2664
Definition: ObjectGuid.h:33
bool IsFinalForm
Definition: boss_leotheras_the_blind.cpp:233
std::list< HostileReference * > StorageType
Definition: ThreatManager.h:149
ObjectGuid Demon
Definition: boss_leotheras_the_blind.cpp:239
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
Definition: Unit.cpp:2916
ThreatManager & getThreatManager()
Definition: Unit.h:1998
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:49
bool DemonForm
Definition: boss_leotheras_the_blind.cpp:232
Definition: boss_leotheras_the_blind.cpp:49
Definition: boss_leotheras_the_blind.cpp:36
uint32 SwitchToHuman_Timer
Definition: boss_leotheras_the_blind.cpp:225
float GetPositionX() const
Definition: Position.h:104
void StopMoving()
-------—End of Pet responses methods-------—
Definition: Unit.cpp:12743
Definition: boss_leotheras_the_blind.cpp:60
virtual void AttackStart(Unit *)
Definition: UnitAI.cpp:29
Definition: boss_leotheras_the_blind.cpp:56
bool NeedThreatReset
Definition: boss_leotheras_the_blind.cpp:231
void CastCustomSpell(Unit *victim, uint32 spellId, int32 const *bp0, int32 const *bp1, int32 const *bp2, bool triggered, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:920
TempSummon * SummonCreature(uint32 id, Position const &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0) const
Definition: Object.cpp:2346