Currently unfactored. However to fix that I would just rank the states importance, with wounded being more important and so the bot would recharge first.