Raining in the Mountain (Chinese: 空山靈雨) is a 1979 film written and directed by King Hu.
A corrupt general and an ambitious esquire arrive there and quickly employ martial artists to help steal a sacred handwritten scroll of Tripitaka hidden in the monastery's library.
Meanwhile, the abbot of the monastery looks for a successor, and he sets his sight on a man falsely accused by the corrupt general of being a thief and condemned some time ago.
The abbot names the former convict as his successor, and this action sets in motion a series of betrayals and murders in the struggle for the invaluable Tripitaka scroll.
[1] The filming of Raining in the Mountain was virtually all carried out in and around the 8th century Bulguksa Buddhist temple, a UNESCO World Heritage site in south-eastern South Korea.