sometimes when you click on attack you will instantly fail. The game acts like you clicked it twice in fast succession (even if you only clicked once) making it so you immediately fail the attack.