This commit is contained in:
Applevangelist
2024-03-22 09:27:58 +01:00
parent d4daa54210
commit e86afefe79
5 changed files with 3102 additions and 12 deletions

View File

@@ -3806,6 +3806,7 @@ end
-- @param #number SpawnIndex Spawn index.
-- @return #number self.SpawnIndex
function SPAWN:_GetSpawnIndex( SpawnIndex )
self:T("_GetSpawnIndex")
self:F2( { self.SpawnTemplatePrefix, SpawnIndex, self.SpawnMaxGroups, self.SpawnMaxUnitsAlive, self.AliveUnits, #self.SpawnTemplate.units } )
if (self.SpawnMaxGroups == 0) or (SpawnIndex <= self.SpawnMaxGroups) then