741 {
743 for (auto i = auras.begin(); i != auras.end(); ++i)
744 {
746 if (
sSpellMgr->GetSpellInfo((*i)->GetAmount()))
747 {
750 break;
751 }
752 }
753 }
@ SPELL_AURA_DUMMY
Definition: SpellAuraDefines.h:67
#define sSpellMgr
Definition: SpellMgr.h:825
@ SPELL_SPECIFIC_SEAL
Definition: SpellInfo.h:151
@ EFFECT_2
Definition: SharedDefines.h:33
AuraEffectList const & GetAuraEffectsByType(AuraType type) const
Definition: Unit.h:1362
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1168
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:4891
Unit * GetHitUnit()
Definition: SpellScript.cpp:448
Unit * GetCaster()
Definition: SpellScript.cpp:401