755 {
758 {
759 std::list<uint32> removeList;
761 for (Unit::AuraMap::const_iterator itr = auras.begin(); itr != auras.end(); ++itr)
762 {
763 Aura* aura = itr->second;
765 {
766 continue;
767 }
768
769 removeList.push_back(aura->
GetId());
770 }
771
772 for (std::list<uint32>::const_iterator itr = removeList.begin(); itr != removeList.end(); ++itr)
773 {
774 target->RemoveAurasDueToSpell(*itr);
775 }
776 }
777 }
@ 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