1
0
mirror of https://github.com/veden/Rampant.git synced 2025-03-17 20:58:35 +02:00

FACTO-341: Reduced the number of settlers per time period by 1

This commit is contained in:
Aaron Veden 2023-05-08 21:16:18 -07:00
parent db250cd1a6
commit 59c4202536
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ Version: 3.3.3
- Added check for invalid entity upgrade
- Added wander command to squads if they timeout for executing a command to fix enemy units getting stuck
- Changed tile algorithm to use player-layer instead of water-layer for determining if a chunk is passable
- Changed > to >= for comparing number of settlers per time period which was causing extra settler squads
---------------------------------------------------------------------------------------------------
Version: 3.3.2

View File

@ -1172,7 +1172,7 @@ local function deploySquad(name, chunk, cost, vengence, attacker)
else
if lackingPoints
or (Universe.builderCount > Universe.AI_MAX_BUILDER_COUNT)
or (not vengence and (base.sentExpansionGroups > base.maxExpansionGroups))
or (not vengence and (base.sentExpansionGroups >= base.maxExpansionGroups))
or (Universe.random() > Universe.formSquadThreshold)
then
return