revert changes to loot positions and added new positions for dayzero
buildings fixes
This commit is contained in:
[VB]AWOL
2014-05-31 23:41:08 -05:00
parent 22ae8fbe22
commit 433163e67d
4 changed files with 1863 additions and 2055 deletions

View File

@@ -58,11 +58,11 @@ switch (_iClass) do {
};
}
else {
diag_log format["DEBUG dayz_CLBase: %1", dayz_CLBase];
// diag_log format["DEBUG dayz_CLBase: %1", dayz_CLBase];
_index = dayz_CLBase find _iClass;
if (_index > 0) then {
_weights = dayz_CLChances select _index;
diag_log format["DEBUG dayz_CLChances: %1", dayz_CLChances];
//diag_log format["DEBUG dayz_CLChances: %1", dayz_CLChances];
_cntWeights = count _weights;
_index = floor(random _cntWeights);
_index = _weights select _index;