block throwing

throwing blocks works better for larger blocks, even with no mods
new mod - mass driver: blocks do 3x damage and charge 3x faster
negative mass field
  moves faster horizontally
  doesn't increase throw speed (but still lets you move with huge blocks)
  can't block
  take 66% less damage while field is active
This commit is contained in:
landgreen
2020-03-13 18:49:20 -07:00
parent 70d2ad7864
commit acaa12b556
5 changed files with 38 additions and 30 deletions

View File

@@ -63,6 +63,8 @@ const b = {
isModHawking: null,
modBabyMissiles: null,
isModIceCrystals: null,
modThrowChargeRate: null,
isModBlockStun: null,
modOnHealthChange() { //used with acid mod
if (b.isModAcidDmg && mech.health > 0.8) {
game.playerDmgColor = "rgba(0,80,80,0.9)"
@@ -235,6 +237,22 @@ const b = {
b.modNoAmmo = 0;
}
},
{
name: "mass driver",
description: "<strong>blocks</strong> do <strong>3x</strong> more <strong class='color-d'>damage</strong> to mobs<br>charge block <strong>throws</strong> in <strong>3x</strong> less time",
maxCount: 1,
count: 0,
allowed() {
return true
},
requires: "",
effect() {
b.modThrowChargeRate = 3
},
remove() {
b.modThrowChargeRate = 1
}
},
{
name: "laser-bot",
description: "a bot <strong>defends</strong> the space around you<br>uses a <strong>short range</strong> laser that drains <strong class='color-f'>energy</strong>",