show threat rate in debug output
This commit is contained in:
@@ -103,6 +103,16 @@ double WaveSystem::threatLevel() const
|
||||
return m_threatLevel;
|
||||
}
|
||||
|
||||
double WaveSystem::threatAccumulationRate() const
|
||||
{
|
||||
if (isInQuietWindow())
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
const double x = static_cast<double>(m_bossWaveCounter);
|
||||
return std::max(0.0, m_config.world.waves.threatRateFormula.evaluate(x));
|
||||
}
|
||||
|
||||
int WaveSystem::generation() const
|
||||
{
|
||||
return m_generation;
|
||||
|
||||
Reference in New Issue
Block a user