Update tame_dog.sqf

Fixes #2019
This commit is contained in:
ebayShopper
2018-06-17 11:50:36 -04:00
parent c3cbca144e
commit 937741dc7d

View File

@@ -31,7 +31,7 @@ if (_hasMeat) then {
_textRemoved = getText(configFile >> "CfgMagazines" >> _meat >> "displayName"); _textRemoved = getText(configFile >> "CfgMagazines" >> _meat >> "displayName");
// add failure rate based on skill level variable (days alive) // add failure rate based on skill level variable (days alive)
_chanceToFail = (((random 1) + (dayz_Survived/100)) > 0.5); _chanceToFail = (((random 1) + ((dayz_Survived select 0)/100)) > 0.5);
if (!_chanceToFail) then { if (!_chanceToFail) then {
if (!moveToCompleted _dog) then { if (!moveToCompleted _dog) then {