Lirian had spent the days, since his first major attack on House Kurt, infusing practically every inch of the city with his energy.
The walls so happened to be incredible conductors, since they were built with their own set of magical formations to increase the strength of the city.
This was Lirian's final trump card against the old ancestor of house Kurt had he successfully managed to reach the fourth grade, then Lirian would have sacrificed all the esper breath he infused into the city to deal with him.
But thankfully the old toad died, allowing Lirian to immediately act on his plans.
As for what Lirian's plans for the city was it was to create an essential part of every cultivator's itinerary, a dimensional storage.
From the beginning that was apar of Lirian's plan, it was also why he decided to help Izlandi.