I've encountered a very strange issue where, when the enemy blocks my attacks and keeps holding the "back" button, the speed at which he travels backwards will be slower and the hitstun even seems shorter. If the enemy releases the "back" key after blocking the attack, then everything works as intended. This happens whatever or not I define any guard.hittime, guard.velocity, etc... paramaters in the hitdef. Tested against himself AND Kung Fu Man.
For what it's worth, I'm using inktrebuchet's code to cancel hit friction on the enemy, but I have another character that uses the exact same code and this issue doesn't happen. I even tried copy-pasting hitdefs between them to rule out any possible causes.
Spoiler, click to toggle visibilty