Damages due to an attack or a bombing

Damages on the attacked unit depends on: