mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Minor logic fixes (#7174)
This commit is contained in:
parent
0880ea25a3
commit
b4c1d0cb57
@ -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);
|
||||
|
@ -297,7 +297,7 @@ class ADDON {
|
||||
reopeningMaxDelay = 150;
|
||||
};
|
||||
class AbrasionMinor: Abrasion {
|
||||
effectiveness = 43;
|
||||
effectiveness = 4;
|
||||
};
|
||||
class AbrasionMedium: Abrasion {
|
||||
effectiveness = 3;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user