Skip to content

Commit

Permalink
Update watchVariable.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb432 committed Oct 26, 2024
1 parent de9ac5d commit dd81004
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions addons/medical/dev/watchVariable.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,8 @@ GVAR(dev_watchVariableRunning) = true;
};
_return pushBack format ["Adjusts: [HR %1][PS %2][PR %3]", _hrTargetAdjustment toFixed 2, _painSupressAdjustment toFixed 2, _peripheralResistanceAdjustment toFixed 2];
{
private _medicationCount = ([_unit, _x, true] call EFUNC(medical_status,getMedicationCount)) select 0;
private _medicationEffectiveness = ([_unit, _x, false] call EFUNC(medical_status,getMedicationCount)) select 1;
_return pushBack format ["-%1: C: %2 - E: %3", _x, _medicationCount toFixed 2, _medicationEffectiveness toFixed 2];
([_unit, _x, false] call EFUNC(medical_status,getMedicationCount)) params ["_medicationDose", "_medicationEffectiveness"];
_return pushBack format ["-%1: D: %2 - E: %3", _x, _medicationDose toFixed 2, _medicationEffectiveness toFixed 2];
} forEach _uniqueMedications;
_return pushBack "------- Medications Raw: -------";
_return append _rawMedications;
Expand Down

0 comments on commit dd81004

Please sign in to comment.