Fix the problem of character attack moves