A 7.0 magnitude isn't the only thing involved.

Vertical and horizontal acceleration rates, & as techie mentioned above, soil liquefaction, are all modifying factors to damage sustained by an earthquake.

The Richter scale reading must be taken in context with the other factors.