OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: wcho035 on July 02, 2020, 07:25:25 pm
-
Hi, with manaRecoveryPerDay: -1 attached to a facility in facility.rul
I am encountering this weird issue where I can't transfer any soldier to a craft.
Why is this? Please see screen shot.
The first day when a soldier was hired. The Woundrecovery to infinity would never shows.
However, after it will after the first day he or she is hired.
Is the manaRecoveryPerDay: -1 still supported? Or there's something else that causes it? I have cut out all the scripts from my mod in testing, it is only when manaRecoveryPerDay: -1 this occurs.
-
If the soldier exceeds the missing mana threshold, it will count as wounded... and won't be able to go to a mission.
The threshold is 200 by default and can be modded.
-
Is this feature is a recent addition. woundThreshold:
I have never seen it before.
I use negative manaRecoveryPerDay: -1 as a counter to measure a clone soldier aging. Soldiers before transformation are not declare with mana, only after transformation they are.
1) How can I allow a vanilla soldier type (Without transformation) that's without mana stats not to be affected by this missing mana threshold? If this is possible?
2) If not, then a default value is needed for the soldier's mana stats during its creation in the game. What value I can used for woundThreshold: so a vanilla soldier type with minimum mana value can stay forever and not affected by Woundrecovery?
Thanks.
A contributor has put in a lot of time to enable of this feature to work in my mod. I do not wish to see this feature disabled, for his sake.
-
The threshold is 200 by default and can be modded.
-
Alright, then would the threshold support negative values?
-
You need a positive threshold to solve your issue, not negative.
-
Thanks Capability restored.