public static PotionTypes ToPotionType(this PotionFlags value) { return EnumConverter.ConvertByName<PotionTypes>(value); }