mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed blood volume effect
This commit is contained in:
parent
751c7ff959
commit
13ef6b0d29
@ -16,6 +16,5 @@ if (!_enable) exitWith {
|
||||
GVAR(ppBloodVolume) ppEffectEnable false;
|
||||
};
|
||||
GVAR(ppBloodVolume) ppEffectEnable true;
|
||||
|
||||
GVAR(ppBloodVolume) ppEffectAdjust [1, 1, 0, [0, 0, 0, 0], [1, 1, 1, 1 - _intensity], [0.2, 0.2, 0.2, 0]];
|
||||
GVAR(ppBloodVolume) ppEffectAdjust [1, 1, 0, [0, 0, 0, 0], [1, 1, 1, 1 - _intensity], [0.2, 0.2, 0.2, 0]];
|
||||
GVAR(ppBloodVolume) ppEffectCommit 1;
|
||||
|
@ -28,4 +28,6 @@ private _pain = ACE_player getVariable [QEGVAR(medical,pain), 0];
|
||||
// - Visual effects -----------------------------------------------------------
|
||||
[_unconscious, _unconscious] call FUNC(effectUnconscious);
|
||||
[true, _pain] call FUNC(effectPain);
|
||||
[true, (DEFAULT_BLOOD_VOLUME - _bloodVolume) max 0] call FUNC(effectBloodVolume);
|
||||
[
|
||||
true, linearConversion [BLOOD_VOLUME_CLASS_2_HEMORRHAGE, BLOOD_VOLUME_CLASS_4_HEMORRHAGE, _bloodVolume, 0, 1, true]
|
||||
] call FUNC(effectBloodVolume);
|
||||
|
Loading…
Reference in New Issue
Block a user