I had assumed that the author would do some sort of trick with a wire or a puddle of water. That was certainly a...way to have this work.
@Ubatam - Here's how pathing works for an electrical shock, and why the shoes would have conducted the electricity into the ground.
However, that...