public void UpdateFromTreatment(TreatmentSlot slot)
    {
        TargetPositiveQuirk = slot.TargetPositiveQuirk == null ? "" : slot.TargetPositiveQuirk;
        TargetNegativeQuirk = slot.TargetNegativeQuirk == null ? "" : slot.TargetNegativeQuirk;
        TargetDiseaseQuirk  = slot.TargetDiseaseQuirk == null ? "" : TargetDiseaseQuirk;

        HeroRosterId = slot.Hero == null ? -1 : slot.Hero.RosterId;
        Status       = slot.Status == ActivitySlotStatus.Paid && HeroRosterId == -1 ? ActivitySlotStatus.Available : slot.Status;
    }
Exemplo n.º 2
0
 public void Initialize(TreatmentSlot slot)
 {
     TreatmentSlot = slot;
     UpdateSlot();
 }