The rocks severed from the ceiling and went crashing down onto the troll's head. But I had been paying too close attention to my spellwork. I didn’t see the troll swinging its hand at me just as it had at Hermione. Too late I saw it and too late that the rocks hit.