Not sure if it will work (I'm currently implementing some related missing parts for the sake of the granularity ruleset), but you need at least following changes.
I think you wanted to use "Surgical Strike Building" action (at least that's what you were setting ui_name for), and not an user action you would implement in lua.Code:
action = "User Action 2"
Range should be "Local" to be able to target only the City Walls themselves, and not any building in a city with walls.Code:
"type", "name", "range", "present" "Building", "City Walls", "City", TRUE}
Statistics: Posted by cazfi — Thu Apr 25, 2024 6:30 pm