missile rework
fixed some math on laser tech: diffraction grating and slow light propagation they were giving too much damage flechettes are slightly improved in: ammo, damage, fire rate tech - MIRV can now stack up to 9 bonus missiles removed tech - recursive missiles tech: cruise missile - 50% larger size, but travels 50% slower tech: missileBot - requires gun: missiles
This commit is contained in:
@@ -123,7 +123,7 @@ function collisionChecks(event) {
|
||||
y: mob[k].velocity.y - 8 * Math.sin(angle)
|
||||
});
|
||||
|
||||
if (tech.isAnnihilation && !mob[k].shield && !mob[k].isShielded && mech.energy > 0.34 * mech.maxEnergy) {
|
||||
if (tech.isAnnihilation && !mob[k].shield && !mob[k].isShielded && mob[k].dropPowerUp && mech.energy > 0.34 * mech.maxEnergy) {
|
||||
mech.energy -= 0.33 * mech.maxEnergy
|
||||
mech.immuneCycle = 0; //player doesn't go immune to collision damage
|
||||
mob[k].death();
|
||||
|
||||
Reference in New Issue
Block a user