Browse Source

use new regen calculations

lakebane
FatBoy-DOTC 21 hours 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 { @@ -5743,7 +5743,7 @@ public class PlayerCharacter extends AbstractCharacter {
}else{
consumption = 0.65f * secondsPassed;
}
if(this.movementState.equals(MovementState.SWIMMING))
if(!this.canBreathe)
consumption = 1.5f * secondsPassed;
else if(this.isFlying())
consumption = 2.0f * secondsPassed;

Loading…
Cancel
Save