rename sheidl -> life

This commit is contained in:
ntr
2019-04-09 16:02:48 +10:00
parent 81fa77a347
commit db3c8c2d83
13 changed files with 195 additions and 195 deletions
+9 -9
View File
@@ -121,7 +121,7 @@ module.exports = {
colours: '2 Blue',
},
Shield: {
Life: {
description: 'grants immunity to magical skills to target cryp',
colours: '1 Green 1 Blue',
},
@@ -224,7 +224,7 @@ module.exports = {
thresholds: [2, 5, 10],
},
Hp: {
GreenLife: {
description: 'Increases life',
upgrades: 'combine with 2 red / blue / green',
},
@@ -235,32 +235,32 @@ module.exports = {
thresholds: [5, 10, 20],
},
RedShieldI: {
description: 'Increased red shield',
RedLifeI: {
description: 'Increased red Life',
colours: ['red'],
thresholds: [5, 10, 20],
},
BlueShieldI: {
description: 'Increased blue shield',
BlueLifeI: {
description: 'Increased blue Life',
colours: ['blue'],
thresholds: [5, 10, 20],
},
LRSI: {
description: 'Increased life and red shield',
description: 'Increased life and red Life',
colours: ['green', 'red'],
thresholds: [2, 5, 10],
},
LBSI: {
description: 'Increased life and blue shield',
description: 'Increased life and blue Life',
colours: ['green', 'blue'],
thresholds: [2, 5, 10],
},
RBSI: {
description: 'Increased red and blue shield',
description: 'Increased red and blue Life',
colours: ['red', 'blue'],
thresholds: [2, 5, 10],
},
+4 -4
View File
@@ -91,7 +91,7 @@ function GamePanel(props) {
}
function Skill(cryp, i, mobile) {
const ko = cryp.hp.value === 0 ? 'ko' : '';
const ko = cryp.green_life.value === 0 ? 'ko' : '';
const s = cryp.skills[i];
if (!s) {
@@ -135,11 +135,11 @@ function GamePanel(props) {
}
function Cryp(cryp) {
const ko = cryp.hp.value === 0 ? 'ko' : '';
const ko = cryp.green_life.value === 0 ? 'ko' : '';
const skills = range(0, 3).map(i => Skill(cryp, i));
const stats = [STATS.hp, STATS.redShield, STATS.blueShield].map((s, j) => (
const stats = [STATS.green_life, STATS.redShield, STATS.blueShield].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.hp, STATS.redShield, STATS.blueShield].map((s, j) => (
const stats = [STATS.green_life, STATS.redShield, STATS.blueShield].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>