From 81aed28f87f39d09cf1c57f46c78d9bdb45986c4 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Sat, 15 Oct 2016 14:29:30 -0400 Subject: [PATCH] Update vanilla break in chance for tool damage Vanilla commit: https://github.com/DayZMod/DayZ/commit/9de0fbd15f0cd16cc2fa831acfa8361ff1d7dfe7 --- SQF/dayz_code/actions/player_breakin.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/actions/player_breakin.sqf b/SQF/dayz_code/actions/player_breakin.sqf index 1ecfca378..e5fc6bb8b 100644 --- a/SQF/dayz_code/actions/player_breakin.sqf +++ b/SQF/dayz_code/actions/player_breakin.sqf @@ -110,7 +110,7 @@ while {_isOk} do { if (dayz_toolBreaking) then { //Chances to damage tools - if ([0.02] call fn_chance) then { + if ([0.30] call fn_chance) then { player removeWeapon "ItemSledge"; player addMagazine "ItemSledgeHandle"; player addMagazine "ItemSledgeHead"; @@ -118,7 +118,7 @@ while {_isOk} do { localize "STR_BLD_BREAKIN_BROKEN_SLEDGE" call dayz_rollingMessages; }; - if ([0.04] call fn_chance) then { + if ([0.20] call fn_chance) then { player removeWeapon "ItemCrowbar"; player addWeapon "ItemCrowbarBent";