// Token: 0x0600002E RID: 46 RVA: 0x00003F40 File Offset: 0x00002140
        public override void CompPostTick(ref float severityAdjustment)
        {
            if (curing && ticksToCure > 0)
            {
                ticksToCure--;
                return;
            }

            if (curing)
            {
                parent.Severity = 0f;
                if (parent != null)
                {
                    var pawn   = Pawn;
                    var health = pawn?.health;
                    health?.RemoveHediff(parent);
                }

                Messages.Message(
                    "MSRegen.CureMsg".Translate(Pawn.LabelShort.CapitalizeFirst(), Def.label.CapitalizeFirst()), Pawn,
                    MessageTypeDefOf.PositiveEvent);
                return;
            }

            if (!MSRegenUtility.ImmuneTo(Pawn, Def, out var Immunities))
            {
                return;
            }

            var ImmunitiesAsCure = 0;

            foreach (var s in Immunities)
            {
                if (s != "MSCondom_High")
                {
                    ImmunitiesAsCure++;
                }
            }

            if (ImmunitiesAsCure <= 0)
            {
                return;
            }

            SetTicksToCure();
            curing = true;
        }
        // Token: 0x0600002E RID: 46 RVA: 0x00003F40 File Offset: 0x00002140
        public override void CompPostTick(ref float severityAdjustment)
        {
            if (this.curing && this.ticksToCure > 0)
            {
                this.ticksToCure--;
                return;
            }
            if (this.curing)
            {
                this.parent.Severity = 0f;
                if (this.parent != null)
                {
                    Pawn pawn = base.Pawn;
                    if (pawn != null)
                    {
                        Pawn_HealthTracker health = pawn.health;
                        if (health != null)
                        {
                            health.RemoveHediff(this.parent);
                        }
                    }
                }
                Messages.Message("MSRegen.CureMsg".Translate(base.Pawn.LabelShort.CapitalizeFirst(), base.Def.label.CapitalizeFirst()), base.Pawn, MessageTypeDefOf.PositiveEvent, true);
                return;
            }

            _ = new List <string>();
            List <string> Immunities;

            if (MSRegenUtility.ImmuneTo(base.Pawn, base.Def, out Immunities))
            {
                int ImmunitiesAsCure = 0;
                for (int i = 0; i < Immunities.Count; i++)
                {
                    if (Immunities[i] != "MSCondom_High")
                    {
                        ImmunitiesAsCure++;
                    }
                }
                if (ImmunitiesAsCure > 0)
                {
                    this.SetTicksToCure();
                    this.curing = true;
                }
            }
        }