private void Attack(int index) { Enemy enemy = (Enemy)DrunkenSoftUniWarrior.Units[index]; enemy.Health -= this.Damage - this.Damage * enemy.Armor / 175; if (enemy.Health <= 0) { this.isPlayed = true; this.GetExpirience(enemy.Expirience); this.ChangeAsset(this.Content, this.AssetMoveDown, 1); if (enemy is Nakov) { Nakov.DropDomashyarka(enemy.Position); DrunkenSoftUniWarrior.Units.Remove(enemy); return; } RandomGen.Drop(enemy.Position); DrunkenSoftUniWarrior.Units.Remove(enemy); } }