Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions addons/medical_status/functions/fnc_hasStableVitals.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to account for medication, GET_PAIN_PERCEIVED(unit)

if (_painLevel > PAIN_UNCONSCIOUS) exitWith { false };

true