mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-07-01 22:21:55 +03:00
Update vanilla break in chance for tool damage
Vanilla commit: https://github.com/DayZMod/DayZ/commit/9de0fbd15f0cd16cc2fa831acfa8361ff1d7dfe7
This commit is contained in:
@@ -110,7 +110,7 @@ while {_isOk} do {
|
|||||||
|
|
||||||
if (dayz_toolBreaking) then {
|
if (dayz_toolBreaking) then {
|
||||||
//Chances to damage tools
|
//Chances to damage tools
|
||||||
if ([0.02] call fn_chance) then {
|
if ([0.30] call fn_chance) then {
|
||||||
player removeWeapon "ItemSledge";
|
player removeWeapon "ItemSledge";
|
||||||
player addMagazine "ItemSledgeHandle";
|
player addMagazine "ItemSledgeHandle";
|
||||||
player addMagazine "ItemSledgeHead";
|
player addMagazine "ItemSledgeHead";
|
||||||
@@ -118,7 +118,7 @@ while {_isOk} do {
|
|||||||
localize "STR_BLD_BREAKIN_BROKEN_SLEDGE" call dayz_rollingMessages;
|
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 removeWeapon "ItemCrowbar";
|
||||||
player addWeapon "ItemCrowbarBent";
|
player addWeapon "ItemCrowbarBent";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user