v1.1.0: metamorphosis now shows talent points in replace window

This commit is contained in:
Evan Debenham 2021-12-02 17:47:23 -05:00
parent ac4c10ce4f
commit 26fe4afa11

View File

@ -123,6 +123,13 @@ public class ScrollOfMetamorphosis extends ExoticScroll {
ArrayList<LinkedHashMap<Talent, Integer>> talents = new ArrayList<>();
Talent.initClassTalents(Dungeon.hero.heroClass, talents, Dungeon.hero.metamorphedTalents);
for (LinkedHashMap<Talent, Integer> tier : talents){
for (Talent talent : tier.keySet()){
tier.put(talent, Dungeon.hero.pointsInTalent(talent));
}
}
TalentsPane p = new TalentsPane(TalentButton.Mode.METAMORPH_CHOOSE, talents);
add(p);
p.setPos(0, top);