725 {
728 {
729 std::list<uint32> removeList;
731 for (Unit::AuraMap::const_iterator itr = auras.begin(); itr != auras.end(); ++itr)
732 {
733 Aura* aura = itr->second;
735 continue;
736
737 removeList.push_back(aura->
GetId());
738 }
739
740 for (std::list<uint32>::const_iterator itr = removeList.begin(); itr != removeList.end(); ++itr)
741 target->RemoveAurasDueToSpell(*itr);
742 }
743 }
@ DISPEL_POISON
Definition: SharedDefines.h:1376
std::multimap< uint32, Aura * > AuraMap
Definition: Unit.h:635
Definition: SpellAuras.h:87
uint32 GetId() const
Definition: SpellAuras.cpp:466
SpellInfo const * GetSpellInfo() const
Definition: SpellAuras.h:100
uint32 SpellLevel
Definition: SpellInfo.h:360
uint32 Dispel
Definition: SpellInfo.h:322
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:590
Unit * GetHitUnit()
Definition: SpellScript.cpp:448