Fixed a funky issue where the Sound of the Cleansing Soul did not reset the upgrade points internally

This commit is contained in:
WayofTime 2016-08-18 07:41:56 -04:00
parent 64c06e39b5
commit fdc20b63c7
3 changed files with 28 additions and 15 deletions

View file

@ -68,6 +68,15 @@ public class LivingArmour implements ILivingArmour
return total;
}
public void recalculateUpgradePoints()
{
totalUpgradePoints = 0;
for (LivingArmourUpgrade upgrade : upgradeMap.values())
{
totalUpgradePoints += upgrade.getCostOfUpgrade();
}
}
@Override
public Multimap<String, AttributeModifier> getAttributeModifiers()
{