Weapon priority: use weighted mean for melee damage rating
Currently the average of all damage that a melee weapon does is used for determining base weapon rating. However, AI doesn't consequently choose weapon attacks randomly - it has higher chance to choose an attack which has higher damage. Since using the RNG is nonsensical for the precise weapon rating, we can weight the damage for every type of attack to bring a bit more accuracy to the most powerful weapon selection.
e.g. current base rating calculation (pseudocode):
rating = (min chop damage + max chop damage + min thrust damage + max thrust damage + min slash damage + max thrust damage)/6
chop = (min chop damage + max chop damage) / 2 thrust = (min thrust damage + max thrust damage) / 2 slash = (min slash damage + max slash damage) / 2 rating = (chop * chop + thrust * thrust + slash * slash) / (chop + thrust + slash)
This way more powerful attacks will have more prominence in the final rating.