Change R3F weight overburden to break legs

Also BAF_L110A1_Aim_DZE wasn't in 1051, so no need to swap it in DB.
This commit is contained in:
ebaydayz
2016-04-23 19:51:56 -04:00
parent 8582e7b97a
commit 6bee7a17f0
6 changed files with 19 additions and 14 deletions

View File

@@ -88,8 +88,8 @@ while {true} do {
[_level] call R3F_TIRED_FNCT_Voile_Noir;
if (R3F_TIRED_Accumulator > R3F_TIRED_BLACKOUT_LEVEL && scriptDone R3F_TIRED_Handle_Blackout_Effect && scriptDone R3F_TIRED_Handle_Blur_Effect) then {
R3F_TIRED_Handle_Blackout_Effect = [] spawn R3F_TIRED_FNCT_DoBlackVanish;
if (R3F_TIRED_Accumulator > R3F_TIRED_BLACKOUT_LEVEL && scriptDone R3F_TIRED_Handle_Blur_Effect) then {
call R3F_TIRED_FNCT_DoBlackVanish;
};
} else {
R3F_TIRED_Accumulator = 0;

View File

@@ -23,9 +23,10 @@ R3F_TIRED_FNCT_Voile_Noir = {
};
R3F_TIRED_FNCT_DoBlackVanish = {
[player,0.1] call fnc_usec_damageUnconscious;
_refObj = player;
[_refObj,"scream",3,false] call dayz_zombieSpeak;
"You are overburdened." call dayz_rollingMessages;
if (!r_fracture_legs) then {
player setHit["legs",1];
r_fracture_legs = true;
};
localize "STR_R3F_WEIGHT_Overburdened" call dayz_rollingMessages;
};

View File

@@ -16,8 +16,7 @@ R3F_Weight = 0;
R3F_TIRED_Ratio_Position = 0;
R3F_TIRED_Accumulator = 0;
R3F_TIRED_Handle_Blur_Effect = [] spawn {};
R3F_TIRED_Handle_Blackout_Effect = [] spawn {};
R3F_TIRED_Handle_Blur_Effect = [] spawn {};
R3F_TIRED_Counter_Time = 0;
R3F_TIRED_Ratio_Recovery = R3F_TIRED_RATIO_RECOVERING;
R3F_TIRED_Ratio_Overweight = 1;