changes ability effect to array