Spore storms / Weather attribute effects

This commit is contained in:
Anuken
2020-07-28 17:13:21 -04:00
parent 7cc94057a1
commit 3251dde4a8
15 changed files with 177 additions and 21 deletions

View File

@@ -703,7 +703,11 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
}
public float getProgressIncrease(float baseTime){
return 1f / baseTime * delta() * efficiency();
return 1f / baseTime * edelta();
}
public float getDisplayEfficiency(){
return getProgressIncrease(1f) / edelta();
}
/** @return whether this block should play its active sound.*/