Add on health changed action
add more ai code