Bug Fixes and Sixth Sense Visual Improvement (#886)

This commit is contained in:
ipdnaeip
2025-03-28 16:55:16 -04:00
committed by GitHub
parent 65ed0e8a22
commit 094a5f615f
4 changed files with 14 additions and 16 deletions
@@ -735,7 +735,7 @@ public class ItemWand extends Item implements IWorkbenchItem, ISpellCastingItem,
Item specialUpgrade = upgrade.getItem();
int maxUpgrades = this.tier.upgradeLimit;
if(this.element == Element.MAGIC) maxUpgrades += Constants.NON_ELEMENTAL_UPGRADE_BONUS;
if(this.element == null) maxUpgrades += Constants.NON_ELEMENTAL_UPGRADE_BONUS;
if(WandHelper.getTotalUpgrades(wand) < maxUpgrades
&& WandHelper.getUpgradeLevel(wand, specialUpgrade) < Constants.UPGRADE_STACK_LIMIT){