You could model the two faces with maximum value but only one explodes by running another die only on those values and those dies that essentially flips a coin to see whether to explode or not.