mirror of
https://github.com/Febbweiss/sis.git
synced 2026-03-04 22:25:35 +00:00
Feature: adding explosions
Feature: adding CornWeapon explosion animation
This commit is contained in:
@@ -186,7 +186,7 @@ Game = {
|
||||
Game.game_over();
|
||||
return false;
|
||||
}
|
||||
if( alien.health > 0 && Math.random() < alien.aggression ) {
|
||||
if( alien.health > 0 && Math.random() < (alien.aggression * (Game.wave_index + 1)) ) {
|
||||
alien.fire($("#aliensShots"), "alienShot");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user