Bug Fixes and Sixth Sense Visual Improvement (#886)
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user