mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-23 03:23:17 -04:00
Units with logistics that attacked but did not move, no longer heal
This commit is contained in:
parent
48e121a2a8
commit
95c9018b89
@ -32,7 +32,7 @@ class UnitTurnManager(val unit: MapUnit) {
|
||||
if (!unit.isFortified() && !unit.isGuarding())
|
||||
unit.turnsFortified = 0
|
||||
|
||||
if (!unit.hasUnitMovedThisTurn() || unit.hasUnique(UniqueType.HealsEvenAfterAction))
|
||||
if ((!unit.hasUnitMovedThisTurn() && unit.attacksThisTurn == 0) || unit.hasUnique(UniqueType.HealsEvenAfterAction))
|
||||
healUnit()
|
||||
|
||||
if (unit.isPreparingParadrop() || unit.isPreparingAirSweep())
|
||||
|
Loading…
x
Reference in New Issue
Block a user