Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
Don't know if this is a bug, but I found nothing regarding this matter, is hitting a target with an attack he is immune to considered the same as missing?
I played the gen 1 random battle and hyperbeam "hit" Gengar, the recharge message popped up at the status bar, but the pokemon who shot...