It would require changes in <uncover> trigger in <card behavior>. It depends if the set is consistent(is that a proper word?). By consistent I mean if its a single subset like: (20, 36) or set of sets: (18,15) and (25,36).
If you would like to limit your range to consistent sets you just need to offset in <uncover>. If you want inconsistent sets in <uncover> you would need to implement table which would translate given number of card into proper animation.