Exemple #1
0
        protected void UpdateFullStat()
        {
            var r = new ComboStat(SupportingStats.Cast <astat>(), this);

            ApplyConversions(r);
            _fullStat = r;
            UpToDate  = true;
        }
Exemple #2
0
        public ComboStat ExcludingStat(StatType excluder)
        {
            if (this.StatType.Supports(excluder))
            {
                return(new ComboStat(this.StatType));
            }

            var r = new ComboStat(SupportingStats.Where(ss => !ss.StatType.Supports(excluder)).Cast <astat>(), this);

            ApplyConversions(r, excluder);
            return(r);
        }