mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Update medTransfuse.sqf
This commit is contained in:
@@ -7,7 +7,7 @@ _TransfusionInfection = (_rndInfection < 1);
|
||||
if (_unit == player) then {
|
||||
if (((count _this) > 1) && {(typeName (_this select 1)) == "ARRAY"}) then { //DO NOT TOUCH THE CODE BRACKETS!
|
||||
_selfTransValues = _this select 1;
|
||||
r_player_blood = (r_player_blood + (_selfTransValues select 0)) max r_player_bloodTotal;
|
||||
r_player_blood = (r_player_blood + (_selfTransValues select 0)) min r_player_bloodTotal;
|
||||
if ((_selfTransValues select 1) < 0) then {
|
||||
_TransfusionInfection = false;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user