Consider weapon ammunition in combat AI (Fixes #1576)