Quote Originally Posted by som View Post
What is your concept? "not resource based" -- I got it. What is based on then?
Are you saying it is random (arbitrary)? I doubt it as it looks even stranger that "resource based".
Could you please clarify it?
By arbitrary I mean not directly related to any in-game statistic, something along the lines of "let's give workers a value of one because they're the lowest of the low, warriors are a bit better so give them one and a half..." etc. The problem with resource is that swordsmen and pikes cost the same total resources yet they use different ratios to protect archers from a cavalry charge.

Quote Originally Posted by som View Post
1. Ranged unit rules.
Ranged units (AT included) prefer ranged ones.
Among these ranged units the unit having the biggest range is chosen.
If there are no ranged units in range then follow melee unit rules.
Ranged units will prioritise Archers' Towers over everything, in the absence of ATs they prioritise the ranged unit with the highest value - not by range. When targetting melee they prioritise by speed - fastest first.

I'd try and crack the resource code but right now my target priority is combat damage, and it's proving to be a tough fugging nut!