An attack or spell that has failed to hit its intended target is considered to miss and does not deal any damage.