Connor McDavid had a goal and an assist and Derek Ryan had the shootout winner as the Edmonton Oilers rallied to defeat the Los Angeles Kings 3-2.