The VOIDRUNNER'S CODEX is coming! Explore new worlds, fight oppressive empires, fend off fearsome aliens, and wield deadly psionics with this comprehensive boxed set expansion for 5E and A5E!
yes, because the shield spell gives a cover bonus. specifically in regards to rays (PH pg 149), "intervening creatures and obstacles, however, can block your line of sight or provide cover for creatures you're aiming at".