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