mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
reduce items per pile just a little fixes: #598
This commit is contained in:
@@ -19,7 +19,7 @@ switch (_iClass) do
|
|||||||
_weights = dayz_CLChances select _index;
|
_weights = dayz_CLChances select _index;
|
||||||
_cntWeights = count _weights;
|
_cntWeights = count _weights;
|
||||||
_qty = 0;
|
_qty = 0;
|
||||||
_max = 1 + ceil(random 2);
|
_max = 1 + round(random 2);
|
||||||
while {_qty < _max} do
|
while {_qty < _max} do
|
||||||
{
|
{
|
||||||
_tQty = 1 + round(random 1);
|
_tQty = 1 + round(random 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user