v0.9.0: added more talent icons
This commit is contained in:
parent
73426c3f17
commit
4361fc0d98
Binary file not shown.
Before Width: | Height: | Size: 586 B After Width: | Height: | Size: 867 B |
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user