mirror of
https://github.com/veden/Rampant.git
synced 2025-03-17 20:58:35 +02:00
siege squad move towards players only
This commit is contained in:
parent
0d146d42d0
commit
97af8d9093
@ -53,6 +53,7 @@ Date: 23. 11. 2021
|
||||
- Now one spawner covered in pollution is worth 22 built enemy structures to offset temperament contribution
|
||||
- Now one spawner covered in pollution is worth (69:<30%evo, 138:<50%evo, 276:<70%evo, 552:<90%, 1104:>90%evo) lost enemy units to offset temperament contribution
|
||||
- Now +/-0.05 temperament from 0.5 gives an extra 0.1 points to AI each cycle, +/-0.15 gives 0.2, +/-0.30 gives 0.3, +/-0.5 gives 0.5
|
||||
- Siege squads no longer move toward resources only towards players and player buildings
|
||||
Bugfixes:
|
||||
- Fixed chunks not processed due to chunk not being actually generated by game engine. You may notice a small delay before the spawners and worms convert to Rampant new enemy versions.
|
||||
- Fixed vengence squads only processing half the expected chunks
|
||||
|
@ -71,7 +71,7 @@ end
|
||||
|
||||
local function scoreSiegeLocationKamikaze(_, neighborChunk)
|
||||
local settle = neighborChunk[BASE_PHEROMONE] +
|
||||
neighborChunk[RESOURCE_PHEROMONE] + (neighborChunk[PLAYER_PHEROMONE] * PLAYER_PHEROMONE_MULTIPLER)
|
||||
(neighborChunk[PLAYER_PHEROMONE] * PLAYER_PHEROMONE_MULTIPLER)
|
||||
|
||||
return settle
|
||||
end
|
||||
@ -83,7 +83,7 @@ end
|
||||
|
||||
local function scoreSiegeLocation(map, neighborChunk)
|
||||
local settle = -getDeathGenerator(map, neighborChunk) + neighborChunk[BASE_PHEROMONE] +
|
||||
neighborChunk[RESOURCE_PHEROMONE] + (neighborChunk[PLAYER_PHEROMONE] * PLAYER_PHEROMONE_MULTIPLER)
|
||||
(neighborChunk[PLAYER_PHEROMONE] * PLAYER_PHEROMONE_MULTIPLER)
|
||||
|
||||
return settle
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user