public void ShootDamage(ShipModel enemy) { int armor = enemy.GetArmor(); int currentHealth = enemy.GetHealth(); int adjDamage = shotDamage - armor; if (adjDamage <= 0) { // Always does at least one damage adjDamage = 1; } int remainingHP = currentHealth - adjDamage; enemy.SetHealth(remainingHP); this.currentShotCounter -= 1; // Creates a laser. Finn's animation }