mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 18:36:29 +03:00
0.69 + 1.7.5.M1D15
This commit is contained in:
@@ -5,6 +5,9 @@ _array = _this; //_this select 0;
|
||||
_unit = _array select 0;
|
||||
_medic = _array select 1;
|
||||
|
||||
_rndInfection = (random 15);
|
||||
_TransfusionInfection = (_rndInfection < 1);
|
||||
|
||||
if (_unit == player) then {
|
||||
r_player_blood = r_player_bloodTotal;
|
||||
r_player_lowblood = false;
|
||||
@@ -12,6 +15,11 @@ if (_unit == player) then {
|
||||
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;
|
||||
"colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 1], [1, 1, 1, 1]];"colorCorrections" ppEffectCommit 5;
|
||||
|
||||
if (_TransfusionInfection) then {
|
||||
r_player_infected = true;
|
||||
player setVariable["USEC_infected",true];
|
||||
};
|
||||
|
||||
//Ensure Control is visible
|
||||
_display = uiNamespace getVariable 'DAYZ_GUI_display';
|
||||
_control = _display displayCtrl 1300;
|
||||
|
||||
Reference in New Issue
Block a user