Scaling Health

Scaling Health

23M Downloads

Change value of hearts given on heart container has wrong heart value.

Kaleidio opened this issue ยท 0 comments

commented

Versions

  • Scaling Health: 4.0.5
  • Silent Lib: x.x.x
  • Forge: 36.1.13
  • Modpack: Kaleidio's Battle Pack
  • Optifine Installed: Yes G8 pre12

Expected Behavior

By changing the value in the configs for how many hearts the player will gain to their new maximum health (I set it to give 25 more hearts and to heal 50 hearts that are already there. I have tried others values...)

(Description here)

Actual Behavior

The value of hearts first added their maximum health (which I had set to 500 at the time) and THEN proceeds to add the hearts. This resulted in a player from 37.5 hearts (which was my default) to 275 hearts by using only one crystal. This only happens if the "hearts to give" is set higher than 1.

Sometimes, if I change to survival mode and use a crystal, it will only award one heart regardless of my settings, but this would happen upon random and I do not remember any ways to reproduce this.

(Description here)

Links/Images

  • (Link or file)
  • (Another link or file, if needed)

Steps to Reproduce the Problem

  1. set the value for hearts given in the heart crystal section to anything BUT default of 1. set a maximum health for the player.
  2. give the player the amount of experience required in levels, no more no less.
  3. use the heart crystal and watch your hearts skyrocket instantly.