◆ NecroticPlagueTargetCheck()
NecroticPlagueTargetCheck::NecroticPlagueTargetCheck |
( |
Unit const * |
obj, |
|
|
uint32 |
notAura1, |
|
|
uint32 |
notAura2 |
|
) |
| |
|
inline |
uint32 _notAura1
Definition boss_the_lich_king.cpp:615
Unit const * _sourceObj
Definition boss_the_lich_king.cpp:614
uint32 _notAura2
Definition boss_the_lich_king.cpp:616
◆ operator()()
bool NecroticPlagueTargetCheck::operator() |
( |
Unit * |
unit | ) |
const |
|
inline |
603 {
605 return false;
607 return false;
609 return false;
610 return true;
611 }
@ SPELL_BOSS_HITTIN_YA_AURA
Definition boss_the_lich_king.cpp:85
@ SPELL_PLAGUE_AVOIDANCE
Definition boss_the_lich_king.cpp:82
bool IsPlayer() const
Definition Object.h:200
bool HasAnyAuras(Auras... spellIds) const
Checks if the unit has ANY specified auras.
Definition Unit.h:1402
Unit * GetVictim() const
Definition Unit.h:862
bool isTargetableForAttack(bool checkFakeDeath=true, Unit const *byWho=nullptr) const
Definition Unit.cpp:13906
bool IsWithinLOSInMap(WorldObject const *obj, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, Optional< float > collisionHeight={ }, Optional< float > combatReach={ }) const
Definition Object.cpp:1358
References _notAura1, _notAura2, _sourceObj, Unit::GetVictim(), Unit::HasAnyAuras(), Object::IsPlayer(), Unit::isTargetableForAttack(), WorldObject::IsWithinLOSInMap(), SPELL_BOSS_HITTIN_YA_AURA, and SPELL_PLAGUE_AVOIDANCE.
◆ _notAura1
uint32 NecroticPlagueTargetCheck::_notAura1 |
|
private |
◆ _notAura2
uint32 NecroticPlagueTargetCheck::_notAura2 |
|
private |
◆ _sourceObj
Unit const* NecroticPlagueTargetCheck::_sourceObj |
|
private |
The documentation for this class was generated from the following file: