Probably been asked before but for some reason Google is letting me down.

Do I need the legendary edition to play in an online league with my friends or does the base copy of the game still work for that. I'm just trying to figure out which copy to get but one of my friends already has the base copy.

Thanks for any help.