2043 {
2046
2047 bool kill = true;
2048 for (std::list<WorldObject*>::const_iterator itr = targets.begin(); itr != targets.end(); ++itr)
2050 {
2051 kill = false;
2052 break;
2053 }
2054 if (kill)
2056 else
2057 {
2060 }
2061 }
@ SPELL_RECENTLY_INFECTED
Definition: icecrown_citadel.cpp:105
@ SPELL_DEATH_PLAGUE_KILL
Definition: icecrown_citadel.cpp:106
@ SPELL_DEATH_PLAGUE_AURA
Definition: icecrown_citadel.cpp:104
@ TYPEID_PLAYER
Definition: ObjectGuid.h:36
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
Definition: GridNotifiers.h:1599
Definition: GridNotifiers.h:1613
Unit * GetCaster()
Definition: SpellScript.cpp:401