20278 {
20281 {
20282 bool auraFound = false;
20284 for (Unit::AuraEffectList::const_iterator j = auraEffects.begin(); j != auraEffects.end(); ++j)
20286 auraFound = true;
20287
20288 if (!auraFound)
20290
20292 }
20293
20294 return true;
20295 }
@ SPELLVALUE_BASE_POINT0
Definition: SpellDefines.h:113
TriggerCastFlags
Definition: SpellDefines.h:132
@ TRIGGERED_FULL_MASK
Will return SPELL_FAILED_DONT_REPORT in CheckCast functions.
Definition: SpellDefines.h:150
@ TRIGGERED_NO_PERIODIC_RESET
Will ignore equipped item requirements.
Definition: SpellDefines.h:152
Unit * GetUnit(WorldObject const &, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:199
bool IsInWorld() const
Definition: Object.h:107
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:112
Map * FindMap() const
Definition: Object.h:537
SpellCastResult CastCustomSpell(Unit *victim, uint32 spellId, int32 const *bp0, int32 const *bp1, int32 const *bp2, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1224
std::list< AuraEffect * > AuraEffectList
Definition: Unit.h:646