That's the beauty of it. Luck has always been a huge part of the game, no matter how many attempts Smogon makes to try to eliminate it, it's not Pokemon without the hax - the lucky crit or flinch here and there, etc. You can't win them all, no matter how good a player is. It's like a built in handicap to give everyone at least a minimum shot. It's part of the game.