Minor logic fixes (#7174)

This commit is contained in:
LachlanSneddon 2019-09-08 05:18:12 +12:00 committed by PabstMirror
parent 0880ea25a3
commit b4c1d0cb57
3 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ GVAR(dev_watchVariableRunning) = true;
private _heartRate = GET_HEART_RATE(_unit);
GET_BLOOD_PRESSURE(_unit) params ["_bpLow", "_bpHigh"];
_return pushBack format ["CardiacOutput %1", _cardiacOutput toFixed 5];
_return pushBack format [" - [HR: %1] [BP: %2 / %3]", _heartRate toFixed 1, _bpLow toFixed 1, _bpHigh toFixed 1];
_return pushBack format [" - [HR: %1] [BP: %2 / %3]", _heartRate toFixed 1, _bpHigh toFixed 1, _bpLow toFixed 1];
// Pain:
private _pain = GET_PAIN(_unit);

View File

@ -297,7 +297,7 @@ class ADDON {
reopeningMaxDelay = 150;
};
class AbrasionMinor: Abrasion {
effectiveness = 43;
effectiveness = 4;
};
class AbrasionMedium: Abrasion {
effectiveness = 3;

View File

@ -61,7 +61,7 @@ private _effectivenessFound = -1;
};
// Track most effective found so far
if (_woundEffectiveness * _amountOf * _bleeding > _effectivenessFound * (_wound select 3) * (_wound select 4)) then {
if (_woundEffectiveness * _amountOf * _bleeding > _effectivenessFound * (_wound select 2) * (_wound select 3)) then {
_effectivenessFound = _woundEffectiveness;
_woundIndex = _forEachIndex;
_wound = _x;