public AbnormalStateResistance(AbnormalStateResistance other) { other.Initialize(); foreach (var x in other.Resistances) { Resistances.Add(x.Key, x.Value); } }
public CharacterStatus(int hitPoint, int attack, int defense, int evasion, int critical, AbnormalStateResistance abnormalStateResistance) { this.hitPoint = new IntReactiveProperty(hitPoint); this.attack = new IntReactiveProperty(attack); this.defense = new IntReactiveProperty(defense); this.evasion = new IntReactiveProperty(evasion); this.critical = new IntReactiveProperty(critical); this.abnormalStateResistance = abnormalStateResistance; }