The Great Old One warlock patron grants the Entropic Ward feature at 6th level (PHB, p. 110):
When a creature makes an attack roll against you, you can use your reaction to impose disadvantage on that roll. If the attack misses you, your next attack roll against the creature has advantage if you make it before the end of your next turn.
Do you declare the use of Entropic Ward before or after the attack roll is made?
In other words, do you need to declare its use before the roll occurs? Or does it function like the Lucky feat where you can declare its use after the roll but before determining whether it hits?
By the wording, I believe it's before the roll is made, but wanted to clarify.