When your base is attacked by a complete or near complete complement of troops and they are unsuccessful (ie you successfully defend your base), I believe you should receive at least an 8 hour shield. The attacks will often happen while you sleep. The first attack sets off your traps and empties your clan castle AND they get loot. Then, you are often attacked again, right after (and still sleeping), as the new attacker knows you have been recently attacked by the residual troop gravestones. The next attack comes in and destroys the base and takes EVEN MORE loot, as there are no traps or clan castle troops. This is why you should gain a shield following the first attack.




