mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Finish #941
This commit is contained in:
@@ -32,7 +32,7 @@ if (_unit == player && player distance _attacker < 5) then {
|
||||
_unit setVariable[_wound,true,true];
|
||||
[_unit,_wound,_hit] spawn fnc_usec_damageBleed;
|
||||
usecBleed = [_unit,_wound,_hit];
|
||||
publicVariable "usecBleed";
|
||||
publicVariable "usecBleed"; //Not sure if this can used over a PVS way, maybe with a rangeCheck like in gutObject.sqf?
|
||||
|
||||
//Set Injured if not already
|
||||
_isInjured = _unit getVariable["USEC_injured",false];
|
||||
|
||||
@@ -77,15 +77,4 @@ switch (_variable) do {
|
||||
//Don't forget!! Checkout dayz_code\medical\publicEH\medEpi.sqf #21
|
||||
_unit setVariable["medForceUpdate",true];
|
||||
};
|
||||
|
||||
case "Antibiotics": {
|
||||
PVCDZ_hlt_AntiB = _arraytosend;
|
||||
_owner publicVariableClient "PVCDZ_hlt_AntiB";
|
||||
_unit setVariable["medForceUpdate",true];
|
||||
};
|
||||
|
||||
case "Legs": {
|
||||
PVCDZ_plr_Legs = _arraytosend;
|
||||
_owner publicVariableClient "PVCDZ_plr_Legs";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user