added x for attack alias, fixed repeat ok not ok bug