Perhaps it would help the AI to make better purchase decisions if it were allowed to calculate its battle plans first. Although Im not
sure if this would help,.
Frankly id almost be in favor of giving one version of the ai the abiltly to purchase after combat. or even noncombat. Call it Big.Cheat.AI.