store buff index and unit