Magical darkness doesn't impede the devil's darkvision.
The devil has advantage on saving throws against spells and other magical effects.
The devil can't be frightened while it can see an allied creature within 30 feet of it.