Oh, I know -- attack is attack e.t.c.

I am interested more with a complicated question:
What probability of that the soldier with some parameters will strike successful blow to the opponent with some other parameters? What formula is used at calculation?