Skip to content

Commit f0f67f1

Browse files
committed
自動回復2ハートに、最高連続ストリークを更新するように
1 parent 62501ac commit f0f67f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/github/elic0de/thejpspit/player/PitPlayer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public void increaseKills() {
206206

207207
public void increaseStreaks() {
208208
this.streaks ++;
209-
if (bestStreaks > streaks) {
209+
if (bestStreaks < streaks) {
210210
this.bestStreaks = streaks;
211211
}
212212
}
@@ -221,7 +221,7 @@ public void increaseXP() {
221221

222222
public void increaseHealth() {
223223
player.setHealth(Math.min(player.getAttribute(Attribute.GENERIC_MAX_HEALTH).getValue(),
224-
player.getHealth() + 2));
224+
player.getHealth() + 4));
225225
}
226226

227227
public void resetStreaks() {

0 commit comments

Comments
 (0)