1144 {
1145 targets.remove_if([&](
WorldObject const* target) ->
bool
1146 {
1148 });
1149
1150 if (!targets.empty())
1151 {
1155 }
1156 }
@ TYPEID_PLAYER
Definition: ObjectGuid.h:38
@ SPELL_POLYMORPH
Definition: boss_nefarian.cpp:172
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:1148
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5636
std::list< WorldObject * > targetList
Definition: boss_nefarian.cpp:1141