minor modifications to attackStatePlayer