Fixed bug of func_417400_does_attack_success.