ProneDamage
The fraction of the damage a prone infantryman takes, where one is the full amount.
- Applies to
- WarheadType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- floating point
- When omitted
1
ProneDamage multiplies the damage an infantryman takes from this warhead while it is lying down. A value below one reduces that damage, and a value above one increases it. The percentage form is divided by 100, so 300% and 3 are the same setting.
[MyGasWH] ; example WarheadTypeProneDamage=300% ; prone infantry take three times the damageThe multiplier applies only when all of these hold:
- the infantryman is prone;
- the damage is above zero, so healing is not scaled;
- the damage is not forced, so forced damage arrives in full however low the value.
The scaled damage is rounded down and then raised to at least one point. Even ProneDamage=0 therefore passes one point on to the later steps. Verses and the other reductions apply after this step; What the target loses gives the full order.
A Webby=yes warhead sets the damage to zero for every infantryman it entangles, after this scaling, so ProneDamage changes nothing for them. An infantryman with IsWebImmune=yes is not entangled and takes the scaled damage.
History
- Changed0.2.0In development