mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Update vanilla chop wood and mine stone tool break chance
Vanilla commits applied:5010767849ac39f46a8c
This commit is contained in:
@@ -73,7 +73,7 @@ if (count _findNearestTree > 0) then {
|
|||||||
|
|
||||||
if(_finished) then {
|
if(_finished) then {
|
||||||
_breaking = false;
|
_breaking = false;
|
||||||
if (dayz_toolBreaking && {[0.04] call fn_chance}) then {
|
if (dayz_toolBreaking && {[0.09] call fn_chance}) then {
|
||||||
_breaking = true;
|
_breaking = true;
|
||||||
if ("MeleeHatchet" in weapons player) then {
|
if ("MeleeHatchet" in weapons player) then {
|
||||||
player removeWeapon "MeleeHatchet";
|
player removeWeapon "MeleeHatchet";
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ if (!isNull _findNearestRock) then {
|
|||||||
|
|
||||||
if(_finished) then {
|
if(_finished) then {
|
||||||
_breaking = false;
|
_breaking = false;
|
||||||
if (dayz_toolBreaking && {[0.04] call fn_chance}) then {
|
if (dayz_toolBreaking && {[0.09] call fn_chance}) then {
|
||||||
_breaking = true;
|
_breaking = true;
|
||||||
if ("MeleePickaxe" in weapons player) then {
|
if ("MeleePickaxe" in weapons player) then {
|
||||||
player removeWeapon "MeleePickaxe";
|
player removeWeapon "MeleePickaxe";
|
||||||
|
|||||||
Reference in New Issue
Block a user