Oh my... Let's make it quick.
Wonder Guard allows only super effective moves to hit, because Shedinja is a bug/ghost, it's killed by rock, fire, flying (from bug's type) and ghost, dark (from ghost type) moves.
As Shadow Lugia is Dark/Ghost, it has no weaknesses and that's why no attacking moves would work if it hypothetically had a Wonder Guard...