It's luck based, that large slash she does is random as far as I can tell, and on some attacks basically forces you to take a hit like the knife tunnel.