mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-09 04:09:07 +07:00
Possibly more accurate wave linear regressions
This commit is contained in:
parent
28240f730f
commit
466183ffd0
@ -301,7 +301,7 @@ public class SectorDamage{
|
||||
var reg = new LinearRegression();
|
||||
Seq<Vec2> waveDps = new Seq<>(), waveHealth = new Seq<>();
|
||||
|
||||
for(int wave = state.wave, i = 0; i < 3; wave += (1 + i++)){
|
||||
for(int wave = state.wave; wave < state.wave + 10; wave ++){
|
||||
float sumWaveDps = 0f, sumWaveHealth = 0f;
|
||||
|
||||
//first wave has to take into account current dps
|
||||
|
Loading…
Reference in New Issue
Block a user