Upgrade Tomes not respecting Living Armour Points Cap
wrincewind opened this issue ยท 1 comments
Issue Description:
When adding upgrade tomes to living armour, it is possible to 'overlevel' your armour by applying a high-tier enchant last.
What happens:
When you are nearly capped on your living armour (e.g. 275/300 points) and you right-click a high tier tome, it applys it to your character regardless of cost. (I added Tough Palms v and am now at 340/300 points)
any additional tomes applied ARE VOIDED AND ARE NOT ADDED TO THE ARMOUR. (Tested with Pincushion 1)
What you expected to happen:
some sort of error message, e.g. 'there is no room for this upgrade on your armour!' and the tome to not be consumed
Steps to reproduce:
- make a set of living armour
- (possibly?) upgrade it via the ritual of living evolution
- level it up a fair bit (i have Strong Legs vi, Dwarvern might IV, Tough Palms V, Quick Feet VI, Soft Fall IV, Healthy VI, and Gift of Ignis V)
- remove all upgrades with the upgrade-removal ritual
- apply some upgrades and level them up further until there is no room on the armour for more upgrades
- apply the last upgrade.
Affected Versions (Do not use "latest"):
- BloodMagic: 3.0.3-8
- Minecraft: 1.16.4
- Forge: 35.1.13