Difference between revisions of "Recovery time"

From UFOpaedia
Jump to navigation Jump to search
m
Line 1: Line 1:
 +
= 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 will not be assigned to any transports.  
  
To get a range of how many days a soldier may be in bed, take the amount of hit points that the soldier lost when the mission ends. Then add/subtract half of that amount to it. This will give you the range of possible days that the soldier may have to stay in bed. The game will then roll a random number and pick a value within this range.
 
  
For example, a soldier ends the mission with 10 lost hit points. This soldier will need to stay in bed between 5 to 15 days. Another soldier loses 50 hit points. This soldier will have to stay in bed anywhere between 25 to 75 days.  
+
= Formula =
 +
The amount of possible recovery time can be determined with the following formula:
 +
 
 +
'''Recovery Time Range''' = INT( '''Lost Health''' ± ('''Lost Health''' ÷ 2) )
 +
 +
''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.  
 +
 
 +
 
 +
= Example =
  
The formula could be interpreted as: 
+
* Example, soldier A ends the mission with 10 lost hit points. Soldier A will need to stay in bed between 5 to 15 days.
  
''L = Lost hit points''
+
* Soldier B loses 50 hit points. Soldier B will have to stay in bed anywhere between 25 to 75 days.
  
''Recovery time = (L / 2) + Random number between 0 and L ''
+
* Soldier C loses 59 hit points. Soldier C will have to stay in bed between 29 to 88 days.
  
or, the exact same thing said another way:
+
* 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. 
  
''Recovery time = L x (0.5 to 1.5)''
 
  
==See Also==
+
=See Also=
 +
[[Health]]
  
 
[[Category:Soldiers]]
 
[[Category:Soldiers]]

Revision as of 13:50, 19 November 2005

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.


Formula

The amount of possible recovery time can be determined with the following formula:

Recovery Time Range = INT( Lost Health ± (Lost Health ÷ 2) ) 

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.


Example

  • 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

Health