Filter minor falling damage to non-leg hitpoints

This commit is contained in:
PabstMirror 2016-03-28 01:15:58 -05:00
parent 03f3b1084d
commit bcde9f8ed6

View File

@ -58,6 +58,7 @@ if (_unit getVariable [QGVAR(isFalling), false]) then {
} else {
_newDamage = _newDamage * 0.5;
};
if (_newDamage < 0.075) then {_newDamage = 0;}; //Filter minor falling damage to non-leg hitpoints
} else {
if (_selectionName == "") then {
_selectionName = selectRandom ["leg_l", "leg_r"];