mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #4202 from acemod/medicalTweaks
Minor tweaks to medical
This commit is contained in:
commit
0a56ab1fc4
@ -28,7 +28,7 @@ private _bloodLossOnSelection = 0;
|
|||||||
};
|
};
|
||||||
} forEach (_target getvariable [QGVAR(openWounds), []]);
|
} forEach (_target getvariable [QGVAR(openWounds), []]);
|
||||||
|
|
||||||
if (_bloodLossOnSelection >=1 ) then {
|
if (_bloodLossOnSelection >= 0.15) then {
|
||||||
_actionData set [2, QPATHTOF(UI\icons\medical_crossRed.paa)];
|
_actionData set [2, QPATHTOF(UI\icons\medical_crossRed.paa)];
|
||||||
} else {
|
} else {
|
||||||
if (_bloodLossOnSelection > 0 ) then {
|
if (_bloodLossOnSelection > 0 ) then {
|
||||||
|
@ -57,7 +57,10 @@ private _exit = false;
|
|||||||
_woundEffectiveness = getNumber (_woundTreatmentConfig >> "effectiveness");
|
_woundEffectiveness = getNumber (_woundTreatmentConfig >> "effectiveness");
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
ACE_LOGWARNING_2("No config for wound type [%1] config base [%2]", _className, _config);
|
//Basic medical bandage just has a base level config (same effectivenes for all wound types)
|
||||||
|
if (_bandage != "Bandage") then {
|
||||||
|
ACE_LOGWARNING_2("No config for wound type [%1] config base [%2]", _className, _config);
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
TRACE_2("Wound classes: ", _specificClass, _classID);
|
TRACE_2("Wound classes: ", _specificClass, _classID);
|
||||||
|
Loading…
Reference in New Issue
Block a user