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