laser mod
mod: stimulated emission - 8% chance to duplicate power ups laser mod: diffuse beam - laser is wide but doesn't reflect, 150% damage and energy drain
This commit is contained in:
@@ -577,9 +577,9 @@ const powerUps = {
|
||||
!(mod.isEnergyNoAmmo && target === 'ammo')
|
||||
) {
|
||||
powerUps.directSpawn(x, y, target, moving, mode, size)
|
||||
if (mod.isBayesian && Math.random() < 0.17) {
|
||||
if (mod.duplicateChance && Math.random() < mod.duplicateChance) {
|
||||
powerUps.directSpawn(x, y, target, moving, mode)
|
||||
powerUp[powerUp.length - 1].isBayesian = true
|
||||
powerUp[powerUp.length - 1].isBonus = true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user