Exemple #1
0
 public Buff(StaticAttributeName attr, BuffType type, float value)
 {
     this.attr4     = attr;
     this.type      = type;
     attributeType  = 4;
     valueOverLayer = new List <float>()
     {
         value
     };
 }
Exemple #2
0
 public StaticAttribute GetStaticAttribute(StaticAttributeName name)
 {
     return(staticAttributes[(int)name]);
 }
 public StaticAttribute(StaticAttributeName name) : base(name.ToString(), 1, 0, 0, 50)
 {
     this.name = name;
 }