added player auto attack