diff --git a/client/src/scenes/elements/combat.statbar.js b/client/src/scenes/elements/combat.statbar.js index 0f8b29ea..285f1460 100644 --- a/client/src/scenes/elements/combat.statbar.js +++ b/client/src/scenes/elements/combat.statbar.js @@ -29,17 +29,17 @@ class StatBar extends Phaser.GameObjects.Graphics { this.val = this.crypObj.cryp.hp.base; this.max = this.crypObj.cryp.stamina.base; this.margin = 0; - } else if (type === 'RedShield') { + } else if (type === 'Red Shield') { this.val = this.crypObj.cryp.red_shield.base; this.max = this.crypObj.cryp.red_shield.base; this.margin = 1; - } else if (type === 'Evasion') { - this.val = this.crypObj.cryp.evasion.base; - this.max = this.crypObj.cryp.evasion.base; - this.margin = 2; } else if (type === 'Blue Shield') { this.val = this.crypObj.cryp.blue_shield.base; this.max = this.crypObj.cryp.blue_shield.base; + this.margin = 2; + } else if (type === 'Evasion') { + this.val = this.crypObj.cryp.evasion.base; + this.max = this.crypObj.cryp.evasion.base; this.margin = 3; } const { statTextX, statTextY } = statTextCoord(cryp.team, cryp.iter, this.margin);