Darkness has an arbitrary block on firing ranged into and out of it, and Devil's Sight warlock invocation does nothing, since even with it, you are still blinded in Darkness.