AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
SindragosaIceTombCheck Class Reference

Public Member Functions

bool operator() (Unit *unit) const
 
bool operator() (WorldObject *object) const
 

Detailed Description

Member Function Documentation

◆ operator()() [1/2]

bool SindragosaIceTombCheck::operator() ( Unit unit) const
inline
1125 {
1127 }
@ SPELL_FROST_IMBUED_BLADE
Definition: boss_sindragosa.cpp:98
@ SPELL_SCHOOL_MASK_ALL
Definition: SharedDefines.h:315
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5636
bool IsImmunedToDamageOrSchool(SpellSchoolMask meleeSchoolMask) const
Definition: Unit.cpp:12895

References Unit::HasAura(), Unit::IsImmunedToDamageOrSchool(), SPELL_FROST_IMBUED_BLADE, and SPELL_SCHOOL_MASK_ALL.

◆ operator()() [2/2]

bool SindragosaIceTombCheck::operator() ( WorldObject object) const
inline
1130 {
1131 return object->ToUnit() && (object->ToUnit()->HasAura(SPELL_FROST_IMBUED_BLADE) || object->ToUnit()->IsImmunedToDamageOrSchool(SPELL_SCHOOL_MASK_ALL));
1132 }

References SPELL_FROST_IMBUED_BLADE, and SPELL_SCHOOL_MASK_ALL.