v0.9.0b: fixed "+1 Talent Point" displaying after hero level 6
This commit is contained in:
parent
f18b83b8cf
commit
1a3eade255
|
@ -1449,7 +1449,7 @@ public class Hero extends Char {
|
||||||
GLog.p( Messages.get(this, "new_level") );
|
GLog.p( Messages.get(this, "new_level") );
|
||||||
sprite.showStatus( CharSprite.POSITIVE, Messages.get(Hero.class, "level_up") );
|
sprite.showStatus( CharSprite.POSITIVE, Messages.get(Hero.class, "level_up") );
|
||||||
Sample.INSTANCE.play( Assets.Sounds.LEVELUP );
|
Sample.INSTANCE.play( Assets.Sounds.LEVELUP );
|
||||||
if (talentPointsAvailable() > 0){
|
if (lvl <= 6){
|
||||||
GLog.newLine();
|
GLog.newLine();
|
||||||
GLog.p( Messages.get(this, "new_talent") );
|
GLog.p( Messages.get(this, "new_talent") );
|
||||||
StatusPane.talentBlink = 10f;
|
StatusPane.talentBlink = 10f;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user