mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Add changeable DZE_toolBreakChance to configVariables
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user