foam is black, wave beam bug fixes

This commit is contained in:
landgreen
2020-02-13 03:54:41 -08:00
parent fddcfc8aed
commit 531d30bbb4
3 changed files with 9 additions and 7 deletions

View File

@@ -210,7 +210,7 @@ const mech = {
mech.collisionImmune = mech.cycle + b.modCollisionImmuneCycles; //player is immune to collision damage for 30 cycles
}
if (b.isModStomp) {
const len = Math.min(20, (momentum - 110) * 0.07)
const len = Math.min(25, (momentum - 110) * 0.1)
for (let i = 0; i < len; i++) {
b.spore(player) //spawn drone
}