This commit is contained in:
Anuken
2020-11-24 09:00:34 -05:00
parent 2282cb89b1
commit 058b2ddfce
7 changed files with 14 additions and 8 deletions

View File

@@ -437,7 +437,7 @@ public class SectorDamage{
float falloff = (fraction) / (Math.max(tiles.width, tiles.height) * Mathf.sqrt2);
int peak = 0;
if(fraction > 0.1f){
if(fraction > 0.15f){
//phase two: propagate the damage
while(!frontier.isEmpty()){
peak = Math.max(peak, frontier.size);