Blood Magic

Blood Magic

90M Downloads

Altar can have negative progress

keraldi opened this issue ยท 0 comments

commented

Issue Description:

image

What happens:

Altar can have negative progress (example with -2), probably at most negative drain rate.

What you expected to happen:

0 progress if all LP is drained

Steps to reproduce:

  1. Build a T2 altar
  2. Produce a not divisible by 5 amount of LP in the altar by using displacement runes and destroying them before the buffer is filled
  3. Try to craft an item with a high drainage rate that is not a divisor of the current amount of essence in the altar and with an amount needed to craft that exceeds the currently present essence in the altar
    ...

Affected Versions (Do not use "latest"):

  • BloodMagic: -103 (compiled from source)
  • Minecraft: 1.12.2
  • Forge: -2808