コード例 #1
0
 public Attribute(String n, PointScale pS, int p)
 {
     Name     = n;
     Scale    = (int)pS;
     Points   = p;
     BaseStat = 10;
     UpdateLevel();
 }
コード例 #2
0
 public ParentAttribute(String n, PointScale pS, int p, Attribute c, Attribute c2)
     : base(n, pS, p)
 {
     child          = c;
     child2         = c2;
     child.BaseStat = Level;
     if (child2 != null)
     {
         child2.BaseStat = Level;
     }
 }
コード例 #3
0
 public ParentAttribute(String n, PointScale pS, int p, Attribute c)
     : base(n, pS, p)
 {
     child          = c;
     child.BaseStat = Level;
 }