mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-19 18:06:32 +03:00
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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user