private BurnsElectricSaveDataProxy ConvertBackBurnsElectric(BurnsElectricSaveDataProxy proxy, Dictionary <AfflictionType, List <Affliction> > afflictionDict)
        {
            proxy = proxy ?? new BurnsElectricSaveDataProxy();
            var burns = afflictionDict.Get(AfflictionType.BurnsElectric)?.Cast <BurnsElectric>().ToList()[0];

            if (burns == null)
            {
                return(proxy.m_Active ? new BurnsElectricSaveDataProxy() : proxy);
            }
            proxy.m_Active           = true;
            proxy.m_BandageApplied   = burns.BandageApplied;
            proxy.m_DurationHours    = burns.DurationHours;
            proxy.m_ElapsedHours     = burns.ElapsedHours;
            proxy.m_PainKillersTaken = burns.PainKillersTaken;
            return(proxy);
        }
 private void ConvertBurnsElectric(BurnsElectricSaveDataProxy proxy)
 {
     if (proxy == null || !proxy.m_Active)
     {
         return;
     }
     Negative.Add(new BurnsElectric(negative)
     {
         AfflictionType   = AfflictionType.BurnsElectric,
         Location         = 3,
         BandageApplied   = proxy.m_BandageApplied,
         DurationHours    = proxy.m_DurationHours,
         ElapsedHours     = proxy.m_ElapsedHours,
         PainKillersTaken = proxy.m_PainKillersTaken,
     });
 }