Occasionally I'm fighting an AI that happens to be standing on a health potion. I've noticed that if the AI's health gets low, it quite often will either just continue fighting and die, or try to run away, rather than picking up the health potion that it's standing right on top of. Even if it wants to run away, it should do that first! Same thing if it's within a few steps of a potion, or if its flight path takes it near a potion that it could grab.