Difference between revisions of "Recovery time"

From UFOpaedia
Jump to navigation Jump to search
(Extensive simplification)
Line 1: Line 1:
 
= Overview =
 
= Overview =
  
When a soldier gets injured in combat, the soldier is put off duty and goes on medical leave for a certain number of days. Sometimes the number of days can be ridiculously high, and at other times it may appear to not even exist. If injured troopers are assigned to a transport, they will be removed. Once the soldier has healed, they'll go back on duty, but will not be assigned to any transports.  
+
When a soldier gets injured in combat, the soldier is put off duty and goes on medical leave for a certain number of days. Sometimes the number of days can be ridiculously high, and at other times it may appear to not even exist. If injured troopers are assigned to a transport, they will be removed. Once the soldier has healed, they'll go back on duty, but must be manually reassigned to a transport.  
  
  
 
= Formula =
 
= Formula =
The amount of possible recovery time can be determined with the following formula:
+
The number of days a soldier will spend in recovery ranges randomly from
  
  '''Recovery Time Range''' = INT( '''Lost Health''' ± ('''Lost Health''' ÷ 2) )
+
  (Health Lost * 0.5) to (Health Lost * 1.5)
 
''or to put it another way''
 
 
'''Minimum Days in Bed''' = INT( '''Lost Health''' - ('''Lost Health''' ÷ 2) )
 
'''Maximum Days in Bed''' = INT( '''Lost Health''' + ('''Lost Health''' ÷ 2) )
 
 
The game then rolls a random number between the minimum and maximum values. The result will be how many days your soldier ends up staying in bed. Note that any remaining fractions after the values have been calculated will be discarded.
 
  
∴ Bed Rest is a random number between 50% or 150% of your lost healh.
+
Therefore, a soldier returning from a mission wounded for 10 HP will be in recovery from 5 to 15 days. A genetically mutated über soldier D with 254 lost hitpoints (out of 255) will stay in bed for a grand total of ''127'' to ''381'' days. With power comes a price. With ultimate power comes the ultimate price.
 
 
'''Total Days in Bed''' = INT( ('''Lost Health''' ÷ 2) + (RND × '''Lost Health''') )
 
 
''Where "RND" is a random number between 0 and 1''
 
 
 
= Example =
 
 
 
* Soldier A ends the mission with 10 lost hit points. Soldier A will need to stay in bed between 5 to 15 days.  
 
 
 
* Soldier B loses 50 hit points. Soldier B will have to stay in bed anywhere between 25 to 75 days.
 
 
 
* Soldier C loses 59 hit points. Soldier C will have to stay in bed between 29 to 88 days.
 
 
 
* Genetically mutated über soldier D with 254 lost hitpoint (of 255) will stay in bed for a grand total of ''127'' to ''381'' days. With power comes a price. With ultimate power comes the ultimate price.
 
  
 
=See Also=
 
=See Also=

Revision as of 20:12, 4 May 2006

Overview

When a soldier gets injured in combat, the soldier is put off duty and goes on medical leave for a certain number of days. Sometimes the number of days can be ridiculously high, and at other times it may appear to not even exist. If injured troopers are assigned to a transport, they will be removed. Once the soldier has healed, they'll go back on duty, but must be manually reassigned to a transport.


Formula

The number of days a soldier will spend in recovery ranges randomly from

(Health Lost * 0.5) to (Health Lost * 1.5)

Therefore, a soldier returning from a mission wounded for 10 HP will be in recovery from 5 to 15 days. A genetically mutated über soldier D with 254 lost hitpoints (out of 255) will stay in bed for a grand total of 127 to 381 days. With power comes a price. With ultimate power comes the ultimate price.

See Also

Health