the general logic is that the terrain limit applies, but cards add the bonus.
so as an example, a Heavy Infantry attacking a unit in a Forest rolls 2 dice because of the terrain. Using Clash of Shields, it would be 4 dice (2 +2)
"I will either find a way, or make one."
attrib to Hannibal Barca