Balance & bugfixes

This commit is contained in:
Anuken
2020-09-05 22:58:07 -04:00
parent f87bd78674
commit e267519c6d
6 changed files with 16 additions and 13 deletions

View File

@@ -90,6 +90,12 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
return 0;
}
@Override
@Replace
public boolean canDrown(){
return isGrounded() && !hovering && type.canDrown && !(this instanceof WaterMovec);
}
@Override
public int itemCapacity(){
return type.itemCapacity;

View File

@@ -83,12 +83,6 @@ abstract class WaterMoveComp implements Posc, Velc, Hitboxc, Flyingc, Unitc{
}
}
@Replace
@Override
public boolean canDrown(){
return false;
}
@Replace
public float floorSpeedMultiplier(){
Floor on = isFlying() ? Blocks.air.asFloor() : floorOn();