From 26fe4afa1152f6f4e4560b7b2b1643d4bef2047c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 2 Dec 2021 17:47:23 -0500 Subject: [PATCH] v1.1.0: metamorphosis now shows talent points in replace window --- .../items/scrolls/exotic/ScrollOfMetamorphosis.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/exotic/ScrollOfMetamorphosis.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/exotic/ScrollOfMetamorphosis.java index 6181cdc5a..f4fd5645d 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/exotic/ScrollOfMetamorphosis.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/exotic/ScrollOfMetamorphosis.java @@ -123,6 +123,13 @@ public class ScrollOfMetamorphosis extends ExoticScroll { ArrayList> talents = new ArrayList<>(); Talent.initClassTalents(Dungeon.hero.heroClass, talents, Dungeon.hero.metamorphedTalents); + + for (LinkedHashMap 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);