Browse Source

use new regen calculations

lakebane
FatBoy-DOTC 1 day ago
parent
commit
402d69312c
  1. 2
      src/engine/objects/PlayerCharacter.java

2
src/engine/objects/PlayerCharacter.java

@ -5743,7 +5743,7 @@ public class PlayerCharacter extends AbstractCharacter {
}else{ }else{
consumption = 0.65f * secondsPassed; consumption = 0.65f * secondsPassed;
} }
if(this.movementState.equals(MovementState.SWIMMING)) if(!this.canBreathe)
consumption = 1.5f * secondsPassed; consumption = 1.5f * secondsPassed;
else if(this.isFlying()) else if(this.isFlying())
consumption = 2.0f * secondsPassed; consumption = 2.0f * secondsPassed;

Loading…
Cancel
Save