From d10f4d543d3a2c4cbaff379447a4002f3e20ea77 Mon Sep 17 00:00:00 2001 From: KoffeinFlummi Date: Wed, 22 Apr 2015 22:38:48 +0200 Subject: [PATCH] Enable unit specific bleeding coefficient --- addons/medical/functions/fnc_getBloodLoss.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/medical/functions/fnc_getBloodLoss.sqf b/addons/medical/functions/fnc_getBloodLoss.sqf index aa94d7dc33..7fe108670f 100644 --- a/addons/medical/functions/fnc_getBloodLoss.sqf +++ b/addons/medical/functions/fnc_getBloodLoss.sqf @@ -46,4 +46,4 @@ if (GVAR(level) >= 2) then { } else { _totalBloodLoss = BLOODLOSSRATE_BASIC * (damage _unit); }; -_totalBloodLoss * (GVAR(bleedingCoefficient) max 0); +_totalBloodLoss * ((_unit getVariable [QGVAR(bleedingCoefficient), GVAR(bleedingCoefficient)]) max 0);