harmonic shield bug fix

This commit is contained in:
landgreen
2020-08-20 05:43:55 -07:00
parent cc8c101776
commit 3659fbe47d
10 changed files with 211 additions and 73 deletions

View File

@@ -100,7 +100,7 @@ const powerUps = {
use(type) { //runs when you actually reroll a list of selections, type can be field, gun, or mod
powerUps.reroll.changeRerolls(-1)
powerUps[type].effect();
if (mod.renormalization && Math.random() < 0.6) {
if (mod.renormalization && Math.random() < 0.66) {
powerUps.spawn(mech.pos.x, mech.pos.y, "reroll");
if (Math.random() < mod.bayesian) powerUps.spawn(mech.pos.x, mech.pos.y, "reroll");
}