Cops: Man high on flakka attacked officer