It also makes a difference where the center of the quake is.  Since the Bulgarian one was centered about 25 km (15.5 miles) northwest of Sofia, it would not be expected to have as much damage in Sofia as in Pernik.