◆ LastPhaseIceTombTargetSelector()
LastPhaseIceTombTargetSelector::LastPhaseIceTombTargetSelector |
( |
Creature * |
source | ) |
|
|
inline |
Creature const * _source
Definition boss_sindragosa.cpp:270
◆ operator()()
bool LastPhaseIceTombTargetSelector::operator() |
( |
Unit const * |
target | ) |
const |
|
inline |
250 {
251 if (!target)
252 return false;
253
254 if (target->GetExactDist(
_source) > 80.0f)
255 return false;
256
257 if (!target->IsPlayer())
258 return false;
259
261 return false;
262
264 return false;
265
267 }
@ SPELL_SCHOOL_MASK_ALL
Definition SharedDefines.h:315
@ SPELL_ICE_TOMB_DAMAGE
Definition boss_sindragosa.cpp:71
@ SPELL_TANK_MARKER_AURA
Definition boss_sindragosa.cpp:54
@ SPELL_ICE_TOMB_UNTARGETABLE
Definition boss_sindragosa.cpp:70
@ SPELL_FROST_IMBUED_BLADE
Definition boss_sindragosa.cpp:100
Unit * GetVictim() const
Definition Unit.h:862
References _source, Position::GetExactDist(), Unit::GetVictim(), Unit::HasAnyAuras(), Unit::HasAura(), Unit::HasSpiritOfRedemptionAura(), Unit::IsImmunedToDamageOrSchool(), Object::IsPlayer(), SPELL_FROST_IMBUED_BLADE, SPELL_ICE_TOMB_DAMAGE, SPELL_ICE_TOMB_UNTARGETABLE, SPELL_SCHOOL_MASK_ALL, and SPELL_TANK_MARKER_AURA.
◆ _source
Creature const* LastPhaseIceTombTargetSelector::_source |
|
private |
The documentation for this struct was generated from the following file: