I started typing that I felt the combat was random as well, thanks for the explanation in the other comment. It's a fun game, how did you do the ai?
A suggestion: if you have units on the borders of where you're attacking from, you could get a bonus roll