v2.3.0: fixed incorrect floating text when healing from test subject

This commit is contained in:
Evan Debenham
2023-12-08 13:02:16 -05:00
parent 1c946607e4
commit 6be58ffc70

View File

@@ -671,7 +671,7 @@ public enum Talent {
if (hero.sprite != null) {
Emitter e = hero.sprite.emitter();
if (e != null) e.burst(Speck.factory(Speck.HEALING), hero.pointsInTalent(TEST_SUBJECT));
hero.sprite.showStatusWithIcon(CharSprite.POSITIVE, String.valueOf(hero.HP + 1 + hero.pointsInTalent(TEST_SUBJECT)), FloatingText.HEALING);
hero.sprite.showStatusWithIcon(CharSprite.POSITIVE, String.valueOf(1 + hero.pointsInTalent(TEST_SUBJECT)), FloatingText.HEALING);
}
}
if (hero.hasTalent(TESTED_HYPOTHESIS)){