[Bug] NON_ELEMENTAL_UPGRADE_BONUS doesn't work
touhouzun opened this issue ยท 0 comments
Is there an existing issue for this?
- I have searched the existing issues
Observed behaviour
Couldn't apply melee_upgrade or other upgrades to none-elemental wand any further like these screenshots.
Expected behaviour
None-elemental master wand can be applied with up to 12 upgrades, instead of 9.
// Special upgrades
Item specialUpgrade = upgrade.getItem();
int maxUpgrades = this.tier.upgradeLimit;
if(this.element == Element.MAGIC) maxUpgrades += Constants.NON_ELEMENTAL_UPGRADE_BONUS;
if(WandHelper.getTotalUpgrades(wand) < maxUpgrades
&& WandHelper.getUpgradeLevel(wand, specialUpgrade) < Constants.UPGRADE_STACK_LIMIT){
Steps to reproduce
- take a none-elemental wand and several upgrades from the inventory.
- upgrade the wand to maximum.
Crashlog
No response
Environment (Singleplayer/Server, etc.)
Singleplayer
Mod version
4.3.14
Minecraft version
1.12.2
Forge version
1.12.2 - 14.23.5.2860
Other mods
None in the second and third screenshots.