Although, I don't understand, if you cast offensive magic in the first round, did you not expect a hit chance? Then why run away after the resistance? ;)
Added 2 minutes later
It depends on how you understand the term "damage"... If it's the result of an attack (casting an offensive spell, etc.), then it's not nonsense at all. In the case of resistance, the result turns out to be zero.