This version of Hermione didn't play by the rules anymore, and sent a painful, dark hex at her former friend, before running over and grabbing the sword by the handle. Ron was left slumped over and in pain, but she knew that it would wear off in a while. It wasn't as if she'd done anything permanent to him.