Skip to content

Commit

Permalink
increase blood exhaustion for healing
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheaterpaul committed Dec 14, 2023
1 parent 3985cec commit 1876f0e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ public boolean onUpdate() {
if (regen && this.bloodSaturationLevel > 0 && player.isHurt() && this.bloodLevel >= maxBlood) {
++this.bloodTimer;
if (this.bloodTimer >= 10) {
float f = Math.min(this.bloodSaturationLevel, 4F);
player.heal(f / 4F);
float f = Math.min(this.bloodSaturationLevel, 6F);
player.heal(f / 6F);
this.addExhaustion(f, true);
this.bloodTimer = 0;
}
Expand All @@ -114,7 +114,7 @@ public boolean onUpdate() {

if (this.bloodTimer >= 80) {
player.heal(1.0F);
this.addExhaustion(2.8F, true);
this.addExhaustion(6F, true);
this.bloodTimer = 0;
}
} else if (this.bloodLevel <= 0) {
Expand Down

0 comments on commit 1876f0e

Please sign in to comment.