910 {
911 std::list<WorldObject*> healList = unitList;
912 std::list<WorldObject*> dpsList = unitList;
913 unitList.clear();
916 if (healList.size() > maxSize)
919 if (dpsList.size() > maxSize)
921 unitList.splice(unitList.begin(), healList);
922 unitList.splice(unitList.begin(), dpsList);
923 }
std::uint32_t uint32
Definition: Define.h:108
void RandomResize(C &container, std::size_t requestedSize)
Definition: Containers.h:81
Unit * GetCaster()
Definition: SpellScript.cpp:401
Definition: boss_sindragosa.cpp:874