Zapping de is a good way to get revenged, also what townhall level are you?
Printable View
I assume the person who attacked you was TH 8? There is already a loot penalty system in the game, attacking someone -1TH level = 10% loot penalty (i.e. He gets 90% of the loot he would when attacking someone of equal TH level), -2TH level is 50% penalty, then 75% and 95 % penalties... So what you are asking for already exists.
level 45 sounds low for a TH7, would you like to show a pic of your base?
edit: this is what you should expect if you zap DE.
Here is pic-
http://myimg.us/images/01.13.14/40260.png
Loot penalty has no effect on trophies. Also the OP doesn't mention the TH levels in play here, so it is certainly possible with the info we have.
Why is your TH positioned like that? The whole point of leaving it outside is to get a free shield. Why are you making that more difficult?
Btw, what we don't know is how much of his resources were in mines and collectors. The formulas people usually discuss for loot available to raid talks about the loot in storage. If it's still in the mine or collector, a higher percentage is available to raid.
You typically only see Lightning on DE in the gold levels. In crystal and up, rarely as they usually have bigger goals.