Weapon priority: use the actual chance to hit the target instead of weapon skill
From #3946 (closed). Currently AI multiplies the weapon rating by a fraction that depends on the skill value to determine if the weapon is "hopeless" to use or not. It could use the actual hit chance to hit the specific target for that.