public void CopyFromInternal(PF2Action r, bool newc) { Type = r._type; Name = r._name; Weapon = r._weapon; Mod = r._mod; if (newc) { _traits = r.Traits.CloneContents(); _damage = r.Damage.CloneContents(); } else { Traits.ReplaceClone(r.Traits); Damage.ReplaceClone(r.Damage); } Effect = r.Effect; Trigger = r.Trigger; DC = r.DC; SpellList = r._spellList; }
public void CopyFrom(PF2Action r) { CopyFromInternal(r, false); }
public PF2Action(PF2Action r) { CopyFromInternal(r, true); }