mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Filter minor falling damage to non-leg hitpoints
This commit is contained in:
parent
03f3b1084d
commit
bcde9f8ed6
@ -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"];
|
||||
|
Loading…
Reference in New Issue
Block a user