mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
commit
d0e09300cc
@ -3,7 +3,8 @@ false call EPOCH_pushCustomVar;
|
||||
_spawnChance = ((EPOCH_playerNuisance + EPOCH_playerSoiled)/2) max 1;
|
||||
// add more antagonist spawn chances
|
||||
if (random _antagonistRndChance < _spawnChance) then {
|
||||
(selectRandomWeighted _antagonistChances) call EPOCH_unitSpawnIncrease;
|
||||
// TODO PRE 1.0 - replace below (selectRandomWeighted _antagonistChances)
|
||||
(_antagonistChances call BIS_fnc_selectRandomWeighted) call EPOCH_unitSpawnIncrease;
|
||||
};
|
||||
// diag_log format["DEBUG: _spawnChance %1",_spawnChance];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user