working on nail bomb

This commit is contained in:
landgreen
2019-11-12 06:54:50 -08:00
parent 0dd239add2
commit c2747375d2
4 changed files with 196 additions and 2 deletions

View File

@@ -519,7 +519,7 @@ const mech = {
if (b.makeDroneOnDamage) {
const len = (dmg - 0.08 + 0.05 * Math.random()) / 0.05
for (let i = 0; i < len; i++) {
if (Math.random() < 0.6) b.guns[12].fire() //spawn drone
if (Math.random() < 0.6) b.guns[13].fire() //spawn drone
}
}