pause threat accumulation during quiet windows
This commit is contained in:
@@ -78,6 +78,10 @@ void WaveSystem::tickWaveScheduler(Tick currentTick, ShipSystem& ships,
|
||||
void WaveSystem::tickThreatAccumulation()
|
||||
{
|
||||
TRACE();
|
||||
if (isInQuietWindow())
|
||||
{
|
||||
return;
|
||||
}
|
||||
const double x = static_cast<double>(m_bossWaveCounter);
|
||||
const double rate = m_config.world.waves.threatRateFormula.evaluate(x);
|
||||
if (rate > 0.0)
|
||||
|
||||
Reference in New Issue
Block a user