My party is about to enter a room full of enemies so I cast Spirit Guardians on myself designating my party as friendly. Our druid casts fog cloud or our warlock casts magical darkness in the room then I proceed to move through the fog or darkness using dodge as my action hoping to damage the enemy with the spirits.
Will the spirits be able to ignore the fog or darkness since they are spirits or will it hinder their attacks? If it does hinder their attacks, how so?