(a) As used in this section, property shall mean real property and buildings, structures, and improvements thereon.
Terms Used In Alabama Code 6-5-346
(b) Any person who unlawfully enters or attempts to enter upon the property of another for the purposes of engaging in criminal conduct, for purposes of civil liability only, assumes the risk for any injury caused or resulting to him or her due to the commission or effort to commit criminal conduct; provided the property owner acts as a reasonably prudent person would act under same or similar circumstances. The owner and his or her agents shall be immune from any civil liability due to the reasonable and proportionate acts of the owner or his or her agents in resisting the commission of the criminal conduct; provided that the person acts as a prudent person would act under same or similar circumstances.
(c) The provisions of this section do not apply to the creation of a hidden hazardous or hidden dangerous condition on the property designed to prevent criminal conduct or cause injury to a person engaging in criminal conduct.