Indentation to space in random_battlegroups

This commit is contained in:
Wyqer 2019-11-22 20:45:32 +01:00
parent 7f473430f7
commit 4f69f32e9b
No known key found for this signature in database
GPG Key ID: D7E2F8BD7F1E48FA
1 changed files with 11 additions and 11 deletions

View File

@ -4,19 +4,19 @@ sleep ( 900 / GRLIB_csat_aggressivity );
while { GRLIB_csat_aggressivity > 0.9 && GRLIB_endgame == 0 } do {
_sleeptime = (2100 + (random 2100)) / (([] call F_adaptiveOpforFactor) * GRLIB_csat_aggressivity);
_sleeptime = (2100 + (random 2100)) / (([] call F_adaptiveOpforFactor) * GRLIB_csat_aggressivity);
if ( combat_readiness >= 80 ) then { _sleeptime = _sleeptime * 0.75 };
if ( combat_readiness >= 90 ) then { _sleeptime = _sleeptime * 0.75 };
if ( combat_readiness >= 95 ) then { _sleeptime = _sleeptime * 0.75 };
if ( combat_readiness >= 80 ) then { _sleeptime = _sleeptime * 0.75 };
if ( combat_readiness >= 90 ) then { _sleeptime = _sleeptime * 0.75 };
if ( combat_readiness >= 95 ) then { _sleeptime = _sleeptime * 0.75 };
sleep _sleeptime;
sleep _sleeptime;
if ( !isNil "GRLIB_last_battlegroup_time" ) then {
waitUntil { sleep 5; time > ( GRLIB_last_battlegroup_time + ( 2100 / GRLIB_csat_aggressivity ) ) };
};
if ( !isNil "GRLIB_last_battlegroup_time" ) then {
waitUntil { sleep 5; time > ( GRLIB_last_battlegroup_time + ( 2100 / GRLIB_csat_aggressivity ) ) };
};
if ((count (allPlayers - entities "HeadlessClient_F") >= (10 / GRLIB_csat_aggressivity)) && ([] call F_opforCap < GRLIB_battlegroup_cap) && (combat_readiness >= 70) && (diag_fps > 15.0)) then {
[] spawn spawn_battlegroup;
};
if ((count (allPlayers - entities "HeadlessClient_F") >= (10 / GRLIB_csat_aggressivity)) && ([] call F_opforCap < GRLIB_battlegroup_cap) && (combat_readiness >= 70) && (diag_fps > 15.0)) then {
[] spawn spawn_battlegroup;
};
};