mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Medical GUI - Change minimal value of damage threshold (#9538)
* change minimal value of damage threshold * applying pabst suggestion * remove space * Update addons/medical_gui/functions/fnc_updateBodyImage.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> --------- Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> Co-authored-by: PabstMirror <pabstmirror@gmail.com>
This commit is contained in:
parent
6f001c72bd
commit
2fbc40b62d
@ -91,7 +91,7 @@ private _bodyPartBloodLoss = [0, 0, 0, 0, 0, 0];
|
||||
_damageThreshold = _damageThreshold * 1.5
|
||||
};
|
||||
};
|
||||
_damage = (_damage / _damageThreshold) min 1;
|
||||
_damage = (_damage / (0.01 max _damageThreshold)) min 1;
|
||||
[_damage] call FUNC(damageToRGBA);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user