Vertical skill bars
This commit is contained in:
@@ -68,7 +68,7 @@ class StatBar extends Phaser.GameObjects.Graphics {
|
||||
} else {
|
||||
this.fillStyle(0x00ff00); // str8 up green
|
||||
}
|
||||
const statWidth = Math.floor(statBarWidth * statPercentage);
|
||||
const statWidth = statBarWidth * statPercentage;
|
||||
this.fillRect(statBarX + 2, statBarY + 2, statWidth, statBarHeight - 4);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user