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){

View File

@@ -1294,9 +1294,8 @@ public class Mods implements Loadable{
return blacklistedMods.contains(name);
}
/** @return whether this mod is outdated, i.e. not compatible with v8/v7. */
/** @return whether this mod is outdated, i.e. not compatible with v8. */
public boolean isOutdated(){
//must be at least 136 to indicate v7 compat
return getMinMajor() < (isJava() ? minJavaModGameVersion : minModGameVersion);
}