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