724 {
727 {
728 std::list<uint32> removeList;
730 for (Unit::AuraMap::const_iterator itr = auras.begin(); itr != auras.end(); ++itr)
731 {
732 Aura* aura = itr->second;
734 continue;
735
736 removeList.push_back(aura->
GetId());
737 }
738
739 for (std::list<uint32>::const_iterator itr = removeList.begin(); itr != removeList.end(); ++itr)
740 target->RemoveAurasDueToSpell(*itr);
741 }
742 }
@ 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