3240 {
3241 for (std::list<WorldObject*>::const_iterator itr = unitList.begin(); itr != unitList.end(); ++itr)
3247 {
3248 spawner->RemoveAllAuras();
3249 spawner->m_Events.KillAllEvents(true);
3250 }
3251
3252 std::list<Creature*> spirits;
3254 for (std::list<Creature*>::iterator itr = spirits.begin(); itr != spirits.end(); ++itr)
3255 {
3256 (*itr)->m_Events.KillAllEvents(true);
3257 (*itr)->RemoveAllAuras();
3258 (*itr)->AI()->EnterEvadeMode();
3260 }
3261 }
@ ACTION_TELEPORT_BACK
Definition: boss_the_lich_king.cpp:343
@ SPELL_HARVEST_SOUL_TELEPORT
Definition: boss_the_lich_king.cpp:161
@ SPELL_HARVEST_SOULS_TELEPORT
Definition: boss_the_lich_king.cpp:166
@ NPC_WICKED_SPIRIT
Definition: icecrown_citadel.h:360
@ NPC_WORLD_TRIGGER_INFINITE_AOI
Definition: icecrown_citadel.h:363
@ DATA_THE_LICH_KING
Definition: icecrown_citadel.h:98
@ REACT_PASSIVE
Definition: Unit.h:548
Creature * GetCreature(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:210
Definition: Creature.h:43
Unit * ToUnit()
Definition: Object.h:209
void GetCreatureListWithEntryInGrid(std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition: Object.cpp:2511
ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:98
Unit * GetCaster()
Definition: SpellScript.cpp:401
InstanceScript * _instance
Definition: boss_the_lich_king.cpp:3269