And yes the darkness effects the undead. Even they have to see what they are attacking in order to attack.