player attacking feature added