diff --git a/core/src/main/assets/interfaces/talent_icons.png b/core/src/main/assets/interfaces/talent_icons.png index 76201b99c..095b73987 100644 Binary files a/core/src/main/assets/interfaces/talent_icons.png and b/core/src/main/assets/interfaces/talent_icons.png differ diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java index 4ce40b532..060efd029 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java @@ -3,7 +3,7 @@ * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon - * Copyright (C) 2014-2020 Evan Debenham + * Copyright (C) 2014-2021 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -52,20 +52,20 @@ public enum Talent { TEST_SUBJECT(2), IRON_WILL(3), - ENERGIZING_MEAL(16), - SCHOLARS_INTUITION(17), - TESTED_HYPOTHESIS(18), - ENERGIZING_UPGRADE(19), + ENERGIZING_MEAL(4), + SCHOLARS_INTUITION(5), + TESTED_HYPOTHESIS(6), + ENERGIZING_UPGRADE(7), - RATIONED_MEAL(32), - THIEFS_INTUITION(33), - SUCKER_PUNCH(34), - MENDING_SHADOWS(35), + RATIONED_MEAL(8), + THIEFS_INTUITION(9), + SUCKER_PUNCH(10), + MENDING_SHADOWS(11), - INVIGORATING_MEAL(48), - SURVIVALISTS_INTUITION(49), - FOLLOWUP_STRIKE(50), - NATURES_AID(51); + INVIGORATING_MEAL(12), + SURVIVALISTS_INTUITION(13), + FOLLOWUP_STRIKE(14), + NATURES_AID(15); int icon; diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/TalentButton.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/TalentButton.java index 4d7cf14b3..c9abb514e 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/TalentButton.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/TalentButton.java @@ -3,7 +3,7 @@ * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon - * Copyright (C) 2014-2020 Evan Debenham + * Copyright (C) 2014-2021 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -142,6 +142,7 @@ public class TalentButton extends Button { if (Dungeon.hero.talentPointsAvailable() > 0) { Dungeon.hero.upgradeTalent(talent); float oldWidth = fill.width(); + pointsInTalent++; layout(); Sample.INSTANCE.play(Assets.Sounds.LEVELUP, 0.7f, 1.2f); Emitter emitter = (Emitter) parent.recycle(Emitter.class); diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/TalentsPane.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/TalentsPane.java index 5bdc1fdf0..d50ffafa3 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/TalentsPane.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/TalentsPane.java @@ -3,7 +3,7 @@ * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon - * Copyright (C) 2014-2020 Evan Debenham + * Copyright (C) 2014-2021 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndInfoTalent.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndInfoTalent.java index 893019a07..6a8f720a1 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndInfoTalent.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndInfoTalent.java @@ -3,7 +3,7 @@ * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon - * Copyright (C) 2014-2020 Evan Debenham + * Copyright (C) 2014-2021 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by