Met a bug on Random Double which applied destiny bond's effect to the wrong pokemon.
To see on following replay : https://replay.pokemonshowdown.com/gen7randomdoublesbattle-747813987
Turn 8 : My Minun use encore on wobuffet
Opp Wobuffet use Destiny bond (as result of the encore)...