From cd5396ca4e127e481c77d97c9ac8c08b4c864103 Mon Sep 17 00:00:00 2001 From: Cplhardcore <135324281+Cplhardcore@users.noreply.github.com> Date: Mon, 2 Dec 2024 20:04:13 -0800 Subject: [PATCH] Update fnc_getBloodVolumeChange.sqf --- addons/pharma/functions/fnc_getBloodVolumeChange.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/pharma/functions/fnc_getBloodVolumeChange.sqf b/addons/pharma/functions/fnc_getBloodVolumeChange.sqf index 3c3b0da3e..9b2a6318a 100644 --- a/addons/pharma/functions/fnc_getBloodVolumeChange.sqf +++ b/addons/pharma/functions/fnc_getBloodVolumeChange.sqf @@ -124,6 +124,7 @@ if (!isNil {_unit getVariable [QACEGVAR(medical,ivBags),[]]}) then { private _opioidRelief = GET_NUMBER(_ivConfig >> "opioidRelief",getNumber (_defaultConfig >> "opioidRelief") * _IVflow); private _opioidEffect = GET_NUMBER(_ivConfig >> "opioidEffect",getNumber (_defaultConfig >> "opioidEffect") * _IVflow); private _viscosity = GET_NUMBER(_ivConfig >> "viscosity",getNumber (_defaultConfig >> "viscosity")); + private _dose = GET_NUMBER(_medicationConfig >> "dose",getNumber (_defaultConfig >> "dose")); private _heartRate = GET_HEART_RATE(_patient); private _hrIncrease = [_hrIncreaseLow, _hrIncreaseNormal, _hrIncreaseHigh] select (floor ((0 max _heartRate min 110) / 55)); _hrIncrease params ["_minIncrease", "_maxIncrease"];