Remove level and stat caps
This commit is contained in:
1 parent
c275620755
commit
dca8a5c529
6 files changed
+30
-10
No files matched your search
@@ -570,8 +570,8 @@ export default class SummaryUiHandler extends UiHandler {
|
||||
statsContainer.add(statLabel);
|
||||
|
||||
const statValueText = stat !== Stat.HP
|
||||
? this.pokemon.stats[s].toString()
|
||||
: `${this.pokemon.hp}/${this.pokemon.getMaxHp()}`;
|
||||
? Utils.formatStat(this.pokemon.stats[s])
|
||||
: `${Utils.formatStat(this.pokemon.hp, true)}/${Utils.formatStat(this.pokemon.getMaxHp(), true)}`;
|
||||
|
||||
const statValue = addTextObject(this.scene, 120 + 88 * colIndex, 56 + 16 * rowIndex, statValueText, TextStyle.WINDOW);
|
||||
statValue.setOrigin(1, 0);
|
||||
|
||||
Reference in new issue
Block a user