Terseness

This commit is contained in:
Guangcong Luo 2026-03-19 13:38:28 -07:00 committed by GitHub
parent 5b18bc2152
commit 463aae3d67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1483,7 +1483,7 @@ export class BattleTooltips {
if (typeof ppUsed === 'number') {
return `${bullet} ${move.name} <small>(${maxpp - ppUsed}/${maxpp})</small>`;
} else {
return `${bullet} ${move.name} <small>(between ${maxpp - ppUsed[0]}/${maxpp} and ${maxpp - ppUsed[1]}/${maxpp})</small>`;
return `${bullet} ${move.name} <small>(${maxpp - ppUsed[0]}/${maxpp} to ${maxpp - ppUsed[1]}/${maxpp})</small>`;
}
}
return `${bullet} ${move.name} ${showKnown ? ' <small>(revealed)</small>' : ''}`;