OpenXcom Forum
Modding => Help => Topic started by: The Martian on August 31, 2021, 05:47:53 am
-
I'm trying to create an armor for a unit that loses health every turn.
So far I've tried both:
armors:
- type: DECAYING_HEALTH_ARMOR
recovery:
health:
flatHundred: -0.5
and
armors:
- type: DECAYING_HEALTH_ARMOR
recovery.health: -50
But the unit just wanders around and never loses any health.
What am I doing wrong?
-
I just tried it again... and for some reason this time it worked and the units health decreased by 50 per turn.
- type: AQUATOID_ARMOR
spriteSheet: AQUATOID.PCK
allowInv: false
corpseBattle:
- STR_AQUATOID_CORPSE
frontArmor: 5
sideArmor: 5
rearArmor: 5
underArmor: 5
drawingRoutine: 4
constantAnimation: true
damageModifier:
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
loftempsSet: [ 5 ]
overKill: 10.0
recovery:
health:
flatHundred: -0.5
I must have made a typo or messed up the syntax with my previous attempt.