|Values:||Floating point values: Any decimal number (clearer range should be added in Template:Values).|
This flag is used in conjunction with integer other than -1 (unlimited ammo).to reduce the ammunition supply of a unit when it takes damage. This is only applicable to units that have set to an
must be explicitly stated, as the default value (0.0) cancels the effect.
The amount of ammo that is removed when the unit takes one hit of damage is determined by the following formula, rounded up to the nearest integer:
rounds lost = damage inflicted (before warhead calculations) / Strength * ReadinessReductionMultiplier * Ammo
Unfortunately, this means that even if the damage inflicted is relatively low, the unit will lose at least 1 round of ammo as long asis greater than 0.0.
- Relevant pseudocode is available at http://dc.strategy-x.com/src2/TechnoClass/Ammo.cpp.
Using negative values increases the amount of rounds without caring of maximum ammo. These rounds simply don't show up and it looks like ammo is not decreasing when the unit is shooting.