Beispiel #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="effect"></param>
 public void Merge(GenericEffect effect)
 {
     Base   += effect.Base;
     Boosts += effect.Boosts;
     Dons   += effect.Dons;
     Items  += effect.Items;
 }
Beispiel #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="effect"></param>
 public void UnMerge(GenericEffect effect)
 {
     Base   -= effect.Base;
     Boosts -= effect.Boosts;
     Dons   -= effect.Dons;
     Items  -= effect.Items;
 }
Beispiel #3
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="effect"></param>
        public void UnMerge(StatsType type, GenericEffect effect)
        {
            switch (type)
            {
            case StatsType.TYPE_BASE:
                Base -= effect.Value1;
                break;

            case StatsType.TYPE_BOOST:
                Boosts -= effect.Value1;
                break;

            case StatsType.TYPE_DON:
                Dons -= effect.Value1;
                break;

            case StatsType.TYPE_ITEM:
                Items -= effect.Value1;
                break;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="effect"></param>
        public void UnMerge(StatsType type, GenericEffect effect)
        {
            switch (type)
            {
                case StatsType.TYPE_BASE:
                    Base -= effect.Value1;
                    break;

                case StatsType.TYPE_BOOST:
                    Boosts -= effect.Value1;
                    break;

                case StatsType.TYPE_DON:
                    Dons -= effect.Value1;
                    break;

                case StatsType.TYPE_ITEM:
                    Items -= effect.Value1;
                    break;
            }
        }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="effect"></param>
 public void UnMerge(GenericEffect effect)
 {
     Base -= effect.Base;
     Boosts -= effect.Boosts;
     Dons -= effect.Dons;
     Items -= effect.Items;
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="effect"></param>
 public void Merge(GenericEffect effect)
 {
     Base += effect.Base;
     Boosts += effect.Boosts;
     Dons += effect.Dons;
     Items += effect.Items;
 }