Ejemplo n.º 1
0
 public static int GetDifference(StatType type, Characters.Stats a, Characters.Stats b)
 {
     return(a.GetStatCount(Characters.Stats.Get.TOTAL, type) - b.GetStatCount(Characters.Stats.Get.TOTAL, type));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Stat"/> class.
 /// </summary>
 /// <param name="mod">The mod.</param>
 /// <param name="max">The maximum.</param>
 /// <param name="type">The type.</param>
 public Stat(int mod, int max, StatType type)
 {
     this.mod  = mod;
     this.max  = max;
     this.Type = type;
 }