No, Elves usually are not proof against Hypnotic Pattern, but their Fey Ancestry racial trait provides them benefit on saving throws towards getting charmed, which might aid them resist its outcomes. The spell ends for an impacted creature if it's going to take any hurt or if somebody else makes https://www.youtube.com/shorts/2bqrDoavYZM