Smaller fungal pass

This commit is contained in:
Anuken
2025-04-05 11:27:44 -04:00
parent 4770f46c39
commit 3814254f1a
3 changed files with 1 additions and 3 deletions

View File

@@ -72,7 +72,6 @@ abstract class TankComp implements Posc, Hitboxc, Unitc, ElevationMovec{
anyNonDeep = true;
}
//TODO should this apply to the player team(s)? currently PvE due to balancing
if(type.crushDamage > 0 && !disarmed && (walked || deltaLen() >= 0.01f) && t != null
//damage radius is 1 tile smaller to prevent it from just touching walls as it passes
&& Math.max(Math.abs(dx), Math.abs(dy)) <= r - 1){