Difference between revisions of "Recovery time"

From UFOpaedia
Jump to navigation Jump to search
m (→‎Examples: 0-1 not 0-2)
(→‎Examples: uneven numbers?)
Line 39: Line 39:
 
|}
 
|}
  
Notice how uneven numbers have the fraction rounded down to the nearest interger.  
+
Notice how odd numbers have the fraction rounded down to the nearest interger.  
  
 
Also, for players that like to cheat, as you can see with the final example, with power comes a price and with ultimate power comes the ultimate price.
 
Also, for players that like to cheat, as you can see with the final example, with power comes a price and with ultimate power comes the ultimate price.

Revision as of 01:50, 4 March 2007

UFO Badge Executive Summary
Days to heal = random number between 50% and 150% of lost health


Overview

When a soldier is 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)

Note that any fractions in the final number will be rounded down.

Examples

Health Lost Min days Max days
1 0 1
10 5 15
11 5 16
59 29 88
254 127 381

Notice how odd numbers have the fraction rounded down to the nearest interger.

Also, for players that like to cheat, as you can see with the final example, with power comes a price and with ultimate power comes the ultimate price.

See Also

Health