fix CPR treatment condition (#8762)

This commit is contained in:
GhostIsSpooky
2022-01-31 16:40:03 -03:00
committed by GitHub
parent 1013e1a2cc
commit 5b89daf277

View File

@ -54,7 +54,7 @@ switch (true) do {
_treatmentTime = 5;
_treatmentArgs = [_target, _selection, "FieldDressing"];
};
case (IN_CRDC_ARRST(_target) && {EGVAR(medical_treatment,cprSuccessChance) > 0}): {
case (IN_CRDC_ARRST(_target) && {EGVAR(medical_treatment,cprSuccessChanceMin) > 0}): {
_treatmentEvent = QEGVAR(medical_treatment,cprLocal);
_treatmentArgs = [_healer, _target];
_treatmentTime = 15;