This commit is contained in:
esteldunedain 2016-02-28 20:55:05 -03:00
parent bbb84ec7d1
commit 35e13d5357

View File

@ -110,7 +110,7 @@ if (GVAR(level) >= 2) then {
}; };
}; };
// Handle toruniquets // Handle tourniquets
private _tourniquets = _unit getVariable [QGVAR(tourniquets), [0,0,0,0,0,0]]; private _tourniquets = _unit getVariable [QGVAR(tourniquets), [0,0,0,0,0,0]];
{ {
private _appliedTime = _x; private _appliedTime = _x;
@ -120,7 +120,7 @@ if (GVAR(level) >= 2) then {
// Increase pain at a rate of 0.001 units/s // Increase pain at a rate of 0.001 units/s
_unit setVariable [QGVAR(pain), (_unit getVariable [QGVAR(pain), 0]) + 0.001]; _unit setVariable [QGVAR(pain), (_unit getVariable [QGVAR(pain), 0]) + 0.001];
}; };
} };
} forEach _tourniquets; } forEach _tourniquets;
// Set the vitals // Set the vitals