basic combat algorithm

This algorithm determines whether or not the AI should attack the other
team. Since the defender never is given the choice to attack, the AI
must be the one to make that decision. It takes into account leaders and
environ types and returns yes if it would on average beat the opposing
team.