[RPG] Would enemies frightened by me via Fey Presence take opportunity attacks

dnd-5eopportunity-attackspells

I already read this question but its more just rehashing the book: What does the Warlock's Fey Presence ability actually do? – my question has more to do with exact mechanics.

A mob of skeletons (undead) got the jump on me so I used Fey Presence to Frighten them since Sleep and Charm would have no affect.

I then ran away and all 5 skeletons took opportunity attacks against me. If they're frightened and won't move towards me shouldn't they be basically cowering for the moment allowing me to run away?

Best Answer

Opportunity attacks do not require movement to take and the Frightened state does not stop a creature from rolling attacks of opportunity, at a disadvantage.

You can make an opportunity attack when a hostile creature that you can see moves out of your reach. To make the opportunity attack, you use your reaction to make one melee attack against the provoking creature. The attack occurs right before the creature leaves your reach.

A frightened creature has disadvantage on Ability Checks and Attack rolls while the source of its fear is within line of sight. The creature can’t willingly move closer to the source of its fear.