life changes client

This commit is contained in:
ntr 2019-04-09 16:05:08 +10:00
parent db3c8c2d83
commit 4cf2b0a7bc

View File

@ -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) => (
<figure key={j} alt={s.stat}>
{s.svg(`stat-icon ${s.colour}`)}
<figcaption>{cryp[s.stat].value} / {cryp[s.stat].max}</figcaption>
@ -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) => (
<figure key={j} alt={s.stat}>
{s.svg(`stat-icon ${s.colour}`)}
<figcaption>{cryp[s.stat].value} / {cryp[s.stat].max}</figcaption>