Add changeable DZE_toolBreakChance to configVariables

This commit is contained in:
A Man
2022-03-24 13:43:34 +01:00
parent 6189bed044
commit 01792fe8e2
2 changed files with 2 additions and 1 deletions

View File

@@ -194,7 +194,7 @@ while {_isOk} do {
if (dayz_toolBreaking) then {
if ((_isDestructable || _isRemovable) && !_isOwnerOfObj) then {
if ([0.04] call fn_chance) then { // 4% chance to break a required tool each pass
if ([DZE_toolBreakChance] call fn_chance) then {
_brokenTool = true;
};
};