Minor visual fixes for item icons

This commit is contained in:
Flashfyre 2023-12-16 10:15:25 -05:00
parent d8c62b700f
commit 90f4b54fcc
2 changed files with 5 additions and 0 deletions

View File

@ -316,6 +316,8 @@ export class EncounterPhase extends BattlePhase {
doEncounter() {
this.scene.playBgm(undefined, true);
this.scene.updateModifiers(false);
/*if (startingWave > 10) {
for (let m = 0; m < Math.min(Math.floor(startingWave / 10), 99); m++)
this.scene.addModifier(getPlayerModifierTypeOptionsForWave((m + 1) * 10, 1, this.scene.getParty())[0].type.newModifier(), true);

View File

@ -65,6 +65,9 @@ export class ModifierBar extends Phaser.GameObjects.Container {
});
});
for (let icon of this.getAll())
this.sendToBack(icon);
this.modifierCache = modifiers;
}