From d8f3718fd61b257379987ea0f211cbdb722d8e9a Mon Sep 17 00:00:00 2001 From: Bummeri Date: Sat, 6 Feb 2021 15:07:19 +0200 Subject: [PATCH] Pain Affects Stability --- addons/medical_status/functions/fnc_hasStableVitals.sqf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/medical_status/functions/fnc_hasStableVitals.sqf b/addons/medical_status/functions/fnc_hasStableVitals.sqf index 90e2caac93..522abc7a05 100644 --- a/addons/medical_status/functions/fnc_hasStableVitals.sqf +++ b/addons/medical_status/functions/fnc_hasStableVitals.sqf @@ -31,4 +31,7 @@ if (_bloodPressureL < 50 || {_bloodPressureH < 60}) exitWith { false }; private _heartRate = GET_HEART_RATE(_unit); if (_heartRate < 40) exitWith { false }; +private _painLevel = GET_PAIN(_unit); +if (_painLevel > PAIN_UNCONSCIOUS) exitWith { false }; + true