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)); }
/// <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; }