Fixed default blood volume

This commit is contained in:
BaerMitUmlaut 2016-12-08 21:30:53 +01:00
parent 9eba2bd448
commit 751c7ff959

View File

@ -20,12 +20,12 @@ if (_disableAll) exitWith {
// - Current state info -------------------------------------------------------
private _bleedingStrength = [ACE_player] call EFUNC(medical,getBloodloss);
private _bleeding = _bleedingStrength > 0;
private _bloodVolume = ACE_player getVariable [QEGVAR(medical,bloodVolume), 1];
private _bloodVolume = ACE_player getVariable [QEGVAR(medical,bloodVolume), DEFAULT_BLOOD_VOLUME];
private _unconscious = ACE_player getVariable [QEGVAR(medical,isUnconscious), false];
private _heartRate = ACE_player getVariable [QEGVAR(medical,heartRate), 70];
private _pain = ACE_player getVariable [QEGVAR(medical,pain), 0];
// - Visual effects -----------------------------------------------------------
[_unconscious, _unconscious && true ] call FUNC(effectUnconscious);
[true, _pain ] call FUNC(effectPain);
[true, (6 - _bloodVolume) max 0] call FUNC(effectBloodVolume);
[_unconscious, _unconscious] call FUNC(effectUnconscious);
[true, _pain] call FUNC(effectPain);
[true, (DEFAULT_BLOOD_VOLUME - _bloodVolume) max 0] call FUNC(effectBloodVolume);