Co-authored-by: Samuel H <flashfireex@gmail.com>
This commit is contained in:
Greenlamp2 2024-05-10 15:52:50 +02:00 committed by GitHub
parent a336524aaa
commit 5f61074c79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,7 +44,7 @@ export default class PartyExpBar extends Phaser.GameObjects.Container {
if (newLevel > 200) { // if the level is greater than 200, we only display Lv. UP if (newLevel > 200) { // if the level is greater than 200, we only display Lv. UP
this.expText.setText('Lv. UP'); this.expText.setText('Lv. UP');
} else { // otherwise we display Lv. Up and the new level } else { // otherwise we display Lv. Up and the new level
this.expText.setText(`Lv. UP : ${newLevel.toString()}`); this.expText.setText(`Lv. UP: ${newLevel.toString()}`);
} }
} else { } else {
// if we want to display the exp // if we want to display the exp