См. определение в файле PlayerAgentPool.c строка 45
Перекрестные ссылки GrowAgents(), ProcessTemporaryResistance() и SpawnAgents().