- Fixed it so that the Sentient weaponry is actually repairable using any demon will crystals in an anvil

- Changed the stat tracker for Tough Palms so that it counts number of hearts sacrificed, not number of sacrifices
This commit is contained in:
WayofTime 2016-05-12 14:51:42 -04:00
parent 328b566064
commit e363ba8ffb
5 changed files with 25 additions and 5 deletions

View file

@ -20,9 +20,9 @@ public class StatTrackerSelfSacrifice extends StatTracker
public int totalSacrifices = 0;
public static void incrementCounter(LivingArmour armour)
public static void incrementCounter(LivingArmour armour, int hearts)
{
changeMap.put(armour, changeMap.containsKey(armour) ? changeMap.get(armour) + 1 : 1);
changeMap.put(armour, changeMap.containsKey(armour) ? changeMap.get(armour) + hearts : hearts);
}
@Override