From 4cf2b0a7bc4846e4af22d5d8782ad7607278b392 Mon Sep 17 00:00:00 2001 From: ntr Date: Tue, 9 Apr 2019 16:05:08 +1000 Subject: [PATCH] life changes client --- client/src/components/game.component.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/game.component.jsx b/client/src/components/game.component.jsx index 329ce6ff..ebe7c82d 100644 --- a/client/src/components/game.component.jsx +++ b/client/src/components/game.component.jsx @@ -139,7 +139,7 @@ function GamePanel(props) { const skills = range(0, 3).map(i => Skill(cryp, i)); - const stats = [STATS.green_life, STATS.redShield, STATS.blueShield].map((s, j) => ( + const stats = [STATS.greenLife, STATS.redLife, STATS.blueLife].map((s, j) => (
{s.svg(`stat-icon ${s.colour}`)}
{cryp[s.stat].value} / {cryp[s.stat].max}
@@ -187,7 +187,7 @@ function GamePanel(props) { } function OpponentCryp(cryp, i) { - const stats = [STATS.green_life, STATS.redShield, STATS.blueShield].map((s, j) => ( + const stats = [STATS.greenLife, STATS.redLife, STATS.blueLife].map((s, j) => (
{s.svg(`stat-icon ${s.colour}`)}
{cryp[s.stat].value} / {cryp[s.stat].max}