I don't remember which one is the correct for Distance, but try both of them:
Code:
<attribute key="hitChance" value="100"/>
<attribute key="maxHitChance" value="100"/>
Pd: Even if the weapon hit everytime you will have shitty damage sometimes... Sadly I don't know how to "fix" this ;(