I don't know how the war weight works right know, specially heavier defenses like X-bows, Infernos, etc.

Does anyone know a way to calculate how much weight each defense adds to the base?