1142 {
1143 targets.remove_if([&](
WorldObject const* target) ->
bool
1144 {
1146 });
1147
1148 if (!targets.empty())
1149 {
1153 }
1154 }
@ TYPEID_PLAYER
Definition: ObjectGuid.h:38
@ SPELL_POLYMORPH
Definition: boss_nefarian.cpp:170
void RandomResize(C &container, std::size_t requestedSize)
Definition: Containers.h:81
Player * ToPlayer()
Definition: Object.h:195
TypeID GetTypeId() const
Definition: Object.h:121
bool IsGameMaster() const
Definition: Player.h:1136
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5610
std::list< WorldObject * > targetList
Definition: boss_nefarian.cpp:1139