11000{
11002 {
11003
11004 if (!auraOwner->HasSpellMagnetAura())
11005 return true;
11006
11008 for (Unit::AuraEffectList::const_iterator itr = magnetAuras.begin(); itr != magnetAuras.end(); ++itr)
11010 {
11012 return true;
11013 }
11014 }
11015
11016 return true;
11017}
@ SPELL_AURA_SPELL_MAGNET
Definition: SpellAuraDefines.h:159
@ AURA_REMOVE_BY_DEFAULT
Definition: SpellAuraDefines.h:392
Unit * GetUnit(WorldObject const &, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:199
std::list< AuraEffect * > AuraEffectList
Definition: Unit.h:646