743 {
745 for (auto i = auras.begin(); i != auras.end(); ++i)
746 {
748 if (
sSpellMgr->GetSpellInfo((*i)->GetAmount()))
749 {
752 break;
753 }
754 }
755 }
@ EFFECT_2
Definition: SharedDefines.h:33
@ SPELL_SPECIFIC_SEAL
Definition: SpellInfo.h:151
@ SPELL_AURA_DUMMY
Definition: SpellAuraDefines.h:67
#define sSpellMgr
Definition: SpellMgr.h:825
AuraEffectList const & GetAuraEffectsByType(AuraType type) const
Definition: Unit.h:1349
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:1167
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:4909
Unit * GetHitUnit()
Definition: SpellScript.cpp:448
Unit * GetCaster()
Definition: SpellScript.cpp:401