예제 #1
0
 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;
 }
예제 #2
0
 public void CopyFrom(PF2Action r)
 {
     CopyFromInternal(r, false);
 }
예제 #3
0
 public PF2Action(PF2Action r)
 {
     CopyFromInternal(r, true);
 }