This commit is contained in:
[VB]AWOL
2013-11-09 08:13:52 -06:00
parent ad992b97e6
commit 5fb3a0be15
9 changed files with 5 additions and 18 deletions

View File

@@ -16,7 +16,7 @@ _lootChance = getNumber (_config >> "lootChance");
if ((random 1) < _lootChance) then {
_iPos = _obj modelToWorld _x;
_nearBy = nearestObjects [_iPos, ["ReammoBox","WeaponHolder","WeaponHolderBase"], 1];
if (count _nearBy == 0) then {
if (count _nearBy == 0) then {
_index = dayz_CBLBase find _type;
//diag_log format["Found %2 at index: %1", _index,_type];
_weights = dayz_CBLChances select _index;