Skip to content

Commit

Permalink
Wee
Browse files Browse the repository at this point in the history
  • Loading branch information
Cplhardcore committed Dec 2, 2024
1 parent a96a8b8 commit f649f16
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 18 additions & 1 deletion addons/circulation/ACE_Medical_Treatment.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,29 @@ class ACE_Medical_Treatment {
type = "PackedRBC";
};
class MorphineInfusion_IV: SalineIV_500 {
painReduce = 0.8;
hrIncreaseLow[] = {-2, -7};
hrIncreaseNormal[] = {-3, -10};
hrIncreaseHigh[] = {-5, -16};
timeInSystem = 15;
timeTillMaxEffect = 3;
dose = 0.3;
viscosityChange = -15;
opioidRelief = 1.3;
volume = 500;
viscosity = 1.3;
type = "MorphineInfusion";
};
class EpinephrineInfusion_IV: SalineIV_500 {
painReduce = 0;
hrIncreaseLow[] = {3, 14};
hrIncreaseNormal[] = {5, 20};
hrIncreaseHigh[] = {7, 25};
timeInSystem = 10;
timeTillMaxEffect = 3;
dose = 0.1;
alphaFactor = -0.2;
onOverDose = "";
volume = 500;
viscosity = 1.3;
type = "EpinephrineInfusion";
Expand All @@ -247,7 +265,6 @@ class ACE_Medical_Treatment {
timeInSystem = 7;
timeTillMaxEffect = 1;
dose = 0.1;
incompatibleMedication[] = {};
viscosityChange = 0;
volume = 500;
viscosity = 1.3;
Expand Down
2 changes: 1 addition & 1 deletion addons/pharma/functions/fnc_getBloodVolumeChange.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ if (!isNil {_unit getVariable [QACEGVAR(medical,ivBags),[]]}) then {
};
};
} else {
private _className = format {"%1_IV", _type};
private _className = format ["%1_IV", _type];
private _IVflow = _unit getVariable [QGVAR(IVflow), [0,0,0,0,0,0]];
private _defaultConfig = configFile >> QUOTE(ACE_ADDON(Medical_Treatment)) >> "IV";
private _ivConfig = _defaultConfig >> _className;
Expand Down

0 comments on commit f649f16

Please sign in to comment.