rename sheidl -> life
This commit is contained in:
@@ -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],
|
||||
},
|
||||
|
||||
@@ -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>
|
||||
|
||||
+17
-17
@@ -55,23 +55,23 @@ function requestAvatar(name) {
|
||||
const NULL_UUID = '00000000-0000-0000-0000-000000000000';
|
||||
|
||||
const STATS = {
|
||||
speed: { stat: 'speed', colour: '', svg: shapes.triangle },
|
||||
speed: { stat: 'speed', colour: 'white', svg: shapes.triangle },
|
||||
redDamage: { stat: 'red_damage', colour: 'red', svg: shapes.circle },
|
||||
greenDamage: { stat: 'green_damage', colour: 'green', svg: shapes.circle },
|
||||
blueDamage: { stat: 'blue_damage', colour: 'blue', svg: shapes.circle },
|
||||
redShield: { stat: 'red_shield', colour: 'red', svg: shapes.square },
|
||||
hp: { stat: 'hp', colour: 'green', svg: shapes.square },
|
||||
blueShield: { stat: 'blue_shield', colour: 'blue', svg: shapes.square },
|
||||
redLife: { stat: 'red_life', colour: 'red', svg: shapes.square },
|
||||
greenLife: { stat: 'green_life', colour: 'green', svg: shapes.square },
|
||||
blueLife: { stat: 'blue_life', colour: 'blue', svg: shapes.square },
|
||||
};
|
||||
|
||||
const SPECS = {
|
||||
Hp: { colour: 'white', caption: 'Hp', svg: shapes.square },
|
||||
RedShieldI: { colour: 'red', caption: 'HpI', svg: shapes.square },
|
||||
BlueShieldI: { colour: 'blue', caption: 'HpI', svg: shapes.square },
|
||||
LifeI: { colour: 'green', caption: 'HpI', svg: shapes.square },
|
||||
LRSI: { colour: 'yellow', caption: 'HpI', svg: shapes.square },
|
||||
LBSI: { colour: 'cyan', caption: 'HpI', svg: shapes.square },
|
||||
RBSI: { colour: 'purple', caption: 'HpI', svg: shapes.square },
|
||||
GreenLife: { colour: 'green', caption: 'Life', svg: shapes.square },
|
||||
RedLifeI: { colour: 'red', caption: 'Life', svg: shapes.square },
|
||||
BlueLifeI: { colour: 'blue', caption: 'Life', svg: shapes.square },
|
||||
LifeI: { colour: 'green', caption: 'Life', svg: shapes.square },
|
||||
LRSI: { colour: 'yellow', caption: 'Life', svg: shapes.square },
|
||||
LBSI: { colour: 'cyan', caption: 'Life', svg: shapes.square },
|
||||
RBSI: { colour: 'purple', caption: 'Life', svg: shapes.square },
|
||||
|
||||
Damage: { colour: 'white', caption: 'Damage', svg: shapes.circle },
|
||||
RedDamageI: { colour: 'red', caption: 'DamageI', svg: shapes.circle },
|
||||
@@ -82,12 +82,12 @@ const SPECS = {
|
||||
RBDI: { colour: 'purple', caption: 'DamageI', svg: shapes.circle },
|
||||
|
||||
Speed: { colour: 'white', caption: 'Speed', svg: shapes.diamond },
|
||||
RedSpeed: { colour: 'red', caption: 'SpeedI', svg: shapes.diamond },
|
||||
BlueSpeedI: { colour: 'blue', caption: 'SpeedI', svg: shapes.diamond },
|
||||
GreenSpeedI: { colour: 'green', caption: 'speed', svg: shapes.diamond },
|
||||
GRSpeedI: { colour: 'yellow', caption: 'SpeedI', svg: shapes.diamond },
|
||||
GBSpeedI: { colour: 'cyan', caption: 'SpeedI', svg: shapes.diamond },
|
||||
RBSpeedI: { colour: 'purple', caption: 'SpeedI', svg: shapes.diamond },
|
||||
RedSpeed: { colour: 'red', caption: 'Speed', svg: shapes.diamond },
|
||||
BlueSpeedI: { colour: 'blue', caption: 'Speed', svg: shapes.diamond },
|
||||
GreenSpeedI: { colour: 'green', caption: 'Speed', svg: shapes.diamond },
|
||||
GRSpeedI: { colour: 'yellow', caption: 'Speed', svg: shapes.diamond },
|
||||
GBSpeedI: { colour: 'cyan', caption: 'Speed', svg: shapes.diamond },
|
||||
RBSpeedI: { colour: 'purple', caption: 'Speed', svg: shapes.diamond },
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user