This is impossible to answer conclusively without looking at the source code. My impression from trying to take on the slavers under the cover of darkness is that they seem to be less affected by it, but if the game doesn't use a simplified method for calculating their chance to hit, weapon mods should affect NPCs the same as you. Play around a bit and see if you notice any difference.