mirror of
https://github.com/veden/Rampant.git
synced 2025-02-11 13:39:05 +02:00
fix for retreating rate limit
This commit is contained in:
parent
c404e3a37c
commit
9beda7b4e1
@ -226,6 +226,7 @@ local function onDeath(event)
|
||||
|
||||
if (deathChunk[MOVEMENT_PHEROMONE] < -(evolutionFactor * RETREAT_MOVEMENT_PHEROMONE_LEVEL)) then
|
||||
if (natives.retreats >= 0) then
|
||||
natives.retreats = natives.retreats - 1
|
||||
retreatUnits(deathChunk,
|
||||
convertUnitGroupToSquad(natives,
|
||||
entity.unit_group),
|
||||
|
Loading…
x
Reference in New Issue
Block a user