How about adding gunnery skill.
.
Buildings that you research and build on planet surface to increase gunnery skill. So weapons may not strike 100% of the time. To start weapons hit ratio with basic gunners training would be between 80 to 100%, and as you increase gunners skill, ratio works it's way up to 100%.