882 {
883 std::list<WorldObject*> healList = unitList;
884 std::list<WorldObject*> dpsList = unitList;
885 unitList.clear();
888 if (healList.size() > maxSize)
891 if (dpsList.size() > maxSize)
893 unitList.splice(unitList.begin(), healList);
894 unitList.splice(unitList.begin(), dpsList);
895 }
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:846