Have not found anything on this topic so far:
I am trying to use a companion build like this: Slot 1-4: 2-H Weapon, X-Bow, Bolts, Jarids
Observation: When battle starts and fire at will command is given, the hero just stands there holding the jarid in hand, x-bow is still on the back while the enemy is in range of the x-bow but not in range of the jarid.
Conclusion: The AI seems to favour the Jarids over the X-Bow on any distance.
Question1: Is the AI incapable of handling the situation in a reasonable way? There seems no command regarding the choice of ranged weapon so are we dependent on the non-cleverness of the AI in this regard?
Question2: What is the algorithm for weapon preference for ranged? Weapon proficiency or actual range to enemy seems to have no influence (i.e. higher proficiency weapon is prefered).
The algorithm for weapon preference would also be interesting in regard to the switching between 1-H/shield and 2-H.
My observation is that the AI is closing the distance with 1-H/shield and switches to 2-H in melee which is kind of reasonable. Two kinds of ranged weapons however seem to confuse the AI.
Edit: I am using Floris Expanded