I searched for an answer regarding how cover works vs cities and what to do to reduce the damage my units takes from city attacks but I found a contradicting thread which only confused me so I decided to do some own testing. I have come to the following conclusions after collecting some statistics in a hot seat game vs myself:
1) The defence vs city attacks is ranged strength rather than normal strength. I did some tests with hwacha and now I realise that it is very strong. This also explains why siege units dies so quickly vs city attacks compared to ranged units.
2) Cover doesn't work for ranged/siege units vs cities. In fact, I am not sure even terrain bonuses or fortification works vs cities. I tried having an xbow in a hill and fortified and the damage didn't differ as far as I could tell vs a xbow on a plain. I didn't have time to test a citadel, but if it is as I beleive it won't work for ranged units either.
3) Cover does indeed work for melee units. I had 2 spearmen standing on a plain, one with double cover and the other without any cover at all. The one with double cover took a lot less damage (1/2 to 2/3 of the one without promotions).
Conclusion:
Don't take defensive promotions on ranged units, but on melee units it works just fine. The later era ranged units (gattling and so on), will probably not be so good on defence because of this either which could explain somewha why it feels like they are rather fragile compared to melee.
1) The defence vs city attacks is ranged strength rather than normal strength. I did some tests with hwacha and now I realise that it is very strong. This also explains why siege units dies so quickly vs city attacks compared to ranged units.
2) Cover doesn't work for ranged/siege units vs cities. In fact, I am not sure even terrain bonuses or fortification works vs cities. I tried having an xbow in a hill and fortified and the damage didn't differ as far as I could tell vs a xbow on a plain. I didn't have time to test a citadel, but if it is as I beleive it won't work for ranged units either.
3) Cover does indeed work for melee units. I had 2 spearmen standing on a plain, one with double cover and the other without any cover at all. The one with double cover took a lot less damage (1/2 to 2/3 of the one without promotions).
Conclusion:
Don't take defensive promotions on ranged units, but on melee units it works just fine. The later era ranged units (gattling and so on), will probably not be so good on defence because of this either which could explain somewha why it feels like they are rather fragile compared to melee.