The text of Holy Water states:
As an action, you can splash the contents of this flask onto a creature within 5 feet of you or throw it up to 20 feet, shattering it on impact. In either case, make a ranged attack against a target creature, treating the holy water as an improvised weapon. If the target is a fiend or undead, it takes 2d6 radiant damage.
In using it as a thrown weapon, the steps are such:
- make a ranged attack against a target creature as a improvised weapon, and
- if the target is a fiend or undead, deal 2d6 radiant damage.
Step 2 doesn't specifically require that the ranged attack in Step 1 succeed, only that an attack roll is made.
Does this mean that Holy Water deals 2d6 radiant damage to undead and fiends even if the attack roll fails?