mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-05-13 11:53:50 +01:00
[Bug] Fix boss level location (#5688)
This commit is contained in:
parent
6dc2a7fddc
commit
30e74eaaa8
@ -557,11 +557,11 @@ export default class BattleInfo extends Phaser.GameObjects.Container {
|
|||||||
this.ownedIcon,
|
this.ownedIcon,
|
||||||
this.championRibbon,
|
this.championRibbon,
|
||||||
this.statusIndicator,
|
this.statusIndicator,
|
||||||
this.levelContainer,
|
|
||||||
this.statValuesContainer,
|
this.statValuesContainer,
|
||||||
].map(e => (e.x += 48 * (boss ? -1 : 1)));
|
].map(e => (e.x += 48 * (boss ? -1 : 1)));
|
||||||
this.hpBar.x += 38 * (boss ? -1 : 1);
|
this.hpBar.x += 38 * (boss ? -1 : 1);
|
||||||
this.hpBar.y += 2 * (this.boss ? -1 : 1);
|
this.hpBar.y += 2 * (this.boss ? -1 : 1);
|
||||||
|
this.levelContainer.x += 2 * (boss ? -1 : 1);
|
||||||
this.hpBar.setTexture(`overlay_hp${boss ? "_boss" : ""}`);
|
this.hpBar.setTexture(`overlay_hp${boss ? "_boss" : ""}`);
|
||||||
this.box.setTexture(this.getTextureName());
|
this.box.setTexture(this.getTextureName());
|
||||||
this.statsBox.setTexture(`${this.getTextureName()}_stats`);
|
this.statsBox.setTexture(`${this.getTextureName()}_stats`);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user