Minor visual fixes for item icons
parent
d8c62b700f
commit
90f4b54fcc
|
@ -316,6 +316,8 @@ export class EncounterPhase extends BattlePhase {
|
||||||
doEncounter() {
|
doEncounter() {
|
||||||
this.scene.playBgm(undefined, true);
|
this.scene.playBgm(undefined, true);
|
||||||
|
|
||||||
|
this.scene.updateModifiers(false);
|
||||||
|
|
||||||
/*if (startingWave > 10) {
|
/*if (startingWave > 10) {
|
||||||
for (let m = 0; m < Math.min(Math.floor(startingWave / 10), 99); m++)
|
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);
|
this.scene.addModifier(getPlayerModifierTypeOptionsForWave((m + 1) * 10, 1, this.scene.getParty())[0].type.newModifier(), true);
|
||||||
|
|
|
@ -65,6 +65,9 @@ export class ModifierBar extends Phaser.GameObjects.Container {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
for (let icon of this.getAll())
|
||||||
|
this.sendToBack(icon);
|
||||||
|
|
||||||
this.modifierCache = modifiers;
|
this.modifierCache = modifiers;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue