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
1153 {
1155 }
@ SPELL_FROST_IMBUED_BLADE
Definition: boss_sindragosa.cpp:95
@ SPELL_SCHOOL_MASK_ALL
Definition: SharedDefines.h:287
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5610
bool IsImmunedToDamageOrSchool(SpellSchoolMask meleeSchoolMask) const
Definition: Unit.cpp:12812

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

◆ operator()() [2/2]

bool SindragosaIceTombCheck::operator() ( WorldObject object) const
inline
1158 {
1159 return object->ToUnit() && (object->ToUnit()->HasAura(SPELL_FROST_IMBUED_BLADE) || object->ToUnit()->IsImmunedToDamageOrSchool(SPELL_SCHOOL_MASK_ALL));
1160 }

References SPELL_FROST_IMBUED_BLADE, and SPELL_SCHOOL_MASK_ALL.