mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-06 16:32:16 +02:00
only Lv. UP if level is greated than 200
This commit is contained in:
parent
7060a5a0d2
commit
d149e59e8f
@ -40,7 +40,11 @@ export default class PartyExpBar extends Phaser.GameObjects.Container {
|
||||
this.add(this.pokemonIcon);
|
||||
|
||||
if (showOnlyLevelUp) {
|
||||
this.expText.setText(`Lv. UP : ${newLevel.toString()}`);
|
||||
if (newLevel > 200) {
|
||||
this.expText.setText('Lv. UP');
|
||||
} else {
|
||||
this.expText.setText(`Lv. UP : ${newLevel.toString()}`);
|
||||
}
|
||||
} else {
|
||||
this.expText.setText(`+${expValue.toString()}`);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user