If a pokemon used magic coat because the opponent was using thunder-wave, and it reversed it back to the opponent, but the opponent had synchronize, will the pokemon who used magic coat still be effected?
Yes, because Magic Coat affects only attacks while Synchronize is an ability