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
1004 {
1006 }
@ SPELL_SCHOOL_MASK_ALL
Definition SharedDefines.h:326
@ SPELL_FROST_IMBUED_BLADE
Definition boss_sindragosa.cpp:100
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition Unit.cpp:5789
bool IsImmunedToDamageOrSchool(SpellSchoolMask meleeSchoolMask) const
Definition Unit.cpp:12980

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

◆ operator()() [2/2]

bool SindragosaIceTombCheck::operator() ( WorldObject object) const
inline
1009 {
1010 return object->ToUnit() && (object->ToUnit()->HasAura(SPELL_FROST_IMBUED_BLADE) || object->ToUnit()->IsImmunedToDamageOrSchool(SPELL_SCHOOL_MASK_ALL));
1011 }

References SPELL_FROST_IMBUED_BLADE, and SPELL_SCHOOL_MASK_ALL.


The documentation for this class was generated from the following file: