custom mode UI improvements

This commit is contained in:
landgreen
2020-01-12 18:19:14 -08:00
parent 2e14106d48
commit a4a2a83412
3 changed files with 35 additions and 22 deletions

View File

@@ -276,7 +276,7 @@ const b = {
maxCount: 4,
count: 0,
effect() {
b.modEnergySiphon += 0.18;
b.modEnergySiphon += 0.15;
mech.fieldMeter = mech.fieldEnergyMax
}
},
@@ -328,6 +328,15 @@ const b = {
mech.fieldMeter = mech.fieldEnergyMax
}
},
{
name: "quantum immortality", //28
description: "after <strong>dying</strong>, continue in an <strong>alternate reality</strong><br><em>guns, ammo, field, and mods are randomized</em>",
maxCount: 1,
count: 0,
effect() {
b.isModImmortal = true;
}
},
{
name: "+1 cardinality", //24
description: "one extra <strong>choice</strong> when selecting <strong>power ups</strong>",
@@ -359,15 +368,6 @@ const b = {
//have state is checked in mech.death()
}
},
{
name: "quantum immortality", //28
description: "after <strong>dying</strong>, continue in an <strong>alternate reality</strong><br><em>guns, ammo, field, and mods are randomized</em>",
maxCount: 1,
count: 0,
effect() {
b.isModImmortal = true;
}
},
],
giveMod(index = 'random') {
if (index === 'random') {