Auto-translated
After completely (and this is important) destroying one wall, does it continue casting Earthquake? It just needs a passage, and it doesn't care about the towers. If there's a hole in the wall, it means the goal of the Earthquake spell has been achieved.