minigun ramp up

mod flechettes do all DoT damage in 1/2 a second
minigun increases fire speed as you hold the fire button
This commit is contained in:
landgreen
2020-06-04 05:40:44 -07:00
parent 10a8f44424
commit cea1bcc7a3
5 changed files with 67 additions and 84 deletions

View File

@@ -84,8 +84,10 @@ const build = {
<br>health: ${(mech.health*100).toFixed(0)}% &nbsp; energy: ${(mech.energy*100).toFixed(0)}% &nbsp;
<br>mass: ${player.mass.toFixed(1)} &nbsp; rerolls: ${powerUps.reroll.rerolls}
<br>position: (${player.position.x.toFixed(1)}, ${player.position.y.toFixed(1)}) &nbsp; velocity: (${player.velocity.x.toFixed(1)}, ${player.velocity.y.toFixed(1)})
<br>global damage increase: ${((mod.damageFromMods()-1)*100).toFixed(0)}%
<br>global harm reduction: ${((1-mech.harmReduction())*100).toFixed(0)}%
<br>
<br>damage increase: ${((mod.damageFromMods()-1)*100).toFixed(0)}%
<br>harm reduction: ${((1-mech.harmReduction())*100).toFixed(0)}%
<br>fire delay decrease: ${((1-b.fireCD)*100).toFixed(0)}%
</div>`;
let countGuns = 0
let countMods = 0