added phase shield damamge mod

This commit is contained in:
lilgreenland
2020-03-04 10:34:02 -08:00
parent 7a9ef5dcd1
commit 0fe34c219a
4 changed files with 47 additions and 5 deletions

View File

@@ -1099,6 +1099,22 @@ const b = {
b.isModMissileField = false;
}
},
{
name: "quantum dissipation",
description: "<strong>phase decoherence field</strong> uses <strong class='color-f'>energy</strong> to <br><strong class='color-d'>damage</strong> unshielded <strong>mobs</strong> that you <strong>overlap</strong>",
maxCount: 1,
count: 0,
allowed() {
return mech.fieldUpgrades[mech.fieldMode].name === "phase decoherence field"
},
requires: "phase decoherence field",
effect() {
b.isModPhaseFieldDamage = true;
},
remove() {
b.isModPhaseFieldDamage = false;
}
},
],
removeMod(index) {
b.mods[index].remove();