the only way to knows which direction the sword area damage is the position of mouse. the swing duration is fixed or hard coded so its the same all the time.
definitely it is ;) instead of manually counting the time. on the otherside, it also give the player a challange, to predict correctly when to swing the sword. but it would be good if it has some indicator instead.