use new regen calculations
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user