Fixed a funky issue where the Sound of the Cleansing Soul did not reset the upgrade points internally
This commit is contained in:
parent
64c06e39b5
commit
fdc20b63c7
3 changed files with 28 additions and 15 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue