I took a look at it and I know what the problem is.
You move the attacking unit instantly to a location next to your target.
That is fine.
But you move him when he starts to swing his hammer.
Unit - A unit Is attacked is when someone is starting to swing his weapon or drawing his bow. You get it?
You want to know when someone has hit its target instead of attacking it.
That is not very easy and requires a damage detection system...
(I have said this like 8 times this week -_-
All different threads but I get a bit tired of it.)
You can use
this system which I heard that was good, but if you use that, I won't be able to help you further.
I use a different system that works almost the same.
I made a simplified version into your map and here it is.
EDIT: One suggestion: Don't use so fast attack speed.