1
0
mirror of https://github.com/veden/Rampant.git synced 2025-02-05 13:14:51 +02:00

see changelog

This commit is contained in:
Aaron Veden 2021-02-28 11:28:48 -08:00
parent 721b458777
commit b80dd6d488
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
4 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,10 @@
---------------------------------------------------------------------------------------------------
Version: 1.0.4
Date: 28. 02. 2021
Bugfixes:
- Fixed multipler not being defined above 0.9 evolution
- Fixed nil indexing on unit group creation
---------------------------------------------------------------------------------------------------
Version: 1.0.3
Date: 06. 02. 2021

View File

@ -824,7 +824,7 @@ local function onUnitGroupCreated(event)
end
squad = createSquad(nil, nil, group, settler)
universe.groupNumberToSquad[group.group_number] = squad
map.groupNumberToSquad[group.group_number] = squad
if settler then
universe.builderCount = universe.builderCount + 1
else

View File

@ -1,7 +1,7 @@
{
"name" : "Rampant",
"factorio_version" : "1.1",
"version" : "1.0.3",
"version" : "1.0.4",
"title" : "Rampant",
"author" : "Veden",
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",

View File

@ -280,6 +280,8 @@ function aiPlanning.temperamentPlanner(map)
multipler = 0.000054
elseif map.evolutionLevel < 0.9 then
multipler = 0.000027
else
multipler = 0.0000135
end
local val = (multipler * lostEnemyUnits)
if (currentTemperament > 0) then