In LoU, EA published a couple of spreadsheets to show all the calculations. I had them both but deleted one of them because it didn't do multipliers. If this was the calculations they used, then the damage calculation is based on the ratio of
EndTS x BuildingDamage / (StartTS x Attack)
so for scorpions it would be
EndTS x 250 / ( StartTS x 150)