Ranged Combat
Everything is relatively clear within ranged combat - one group fires while the otehr receives damage (remember friendly fire, though)

However, we cannot tell if any arrow hit any unit individually (to avoid n2 algorithms) - instead we just calculate the chance of hitting a unit within the group, with respect to distance from the center of the group and the place where the arrow hit.