mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed default blood volume
This commit is contained in:
parent
9eba2bd448
commit
751c7ff959
@ -20,12 +20,12 @@ if (_disableAll) exitWith {
|
|||||||
// - Current state info -------------------------------------------------------
|
// - Current state info -------------------------------------------------------
|
||||||
private _bleedingStrength = [ACE_player] call EFUNC(medical,getBloodloss);
|
private _bleedingStrength = [ACE_player] call EFUNC(medical,getBloodloss);
|
||||||
private _bleeding = _bleedingStrength > 0;
|
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 _unconscious = ACE_player getVariable [QEGVAR(medical,isUnconscious), false];
|
||||||
private _heartRate = ACE_player getVariable [QEGVAR(medical,heartRate), 70];
|
private _heartRate = ACE_player getVariable [QEGVAR(medical,heartRate), 70];
|
||||||
private _pain = ACE_player getVariable [QEGVAR(medical,pain), 0];
|
private _pain = ACE_player getVariable [QEGVAR(medical,pain), 0];
|
||||||
|
|
||||||
// - Visual effects -----------------------------------------------------------
|
// - Visual effects -----------------------------------------------------------
|
||||||
[_unconscious, _unconscious && true ] call FUNC(effectUnconscious);
|
[_unconscious, _unconscious] call FUNC(effectUnconscious);
|
||||||
[true, _pain] call FUNC(effectPain);
|
[true, _pain] call FUNC(effectPain);
|
||||||
[true, (6 - _bloodVolume) max 0] call FUNC(effectBloodVolume);
|
[true, (DEFAULT_BLOOD_VOLUME - _bloodVolume) max 0] call FUNC(effectBloodVolume);
|
||||||
|
Loading…
Reference in New Issue
Block a user