Exemple #1
0
 public NumericalNumberChange add(NumericalNumberChange nnc)
 {
     this.attack += nnc.attack;
     this.armor  += nnc.armor;
     this.speed  += nnc.speed;
     this.yjdx   += nnc.yjdx;
     return(this);
 }
Exemple #2
0
 public NumericalNumberChange subtract(NumericalNumberChange nnc)
 {
     this.attack -= nnc.attack;
     this.armor  -= nnc.armor;
     this.speed  -= nnc.speed;
     this.yjdx   -= nnc.yjdx;
     return(this);
 }
Exemple #3
0
        public BuffInfo(eBuffType buffType, int AllValue = 0, float durationTime = 0, string buffResName = "", NumericalNumberChange nnc = null, int buffID = 0, int targetHeroUniqueID = 0)
        {
            this.buffType     = buffType;
            this.AllValue     = AllValue;
            this.durationTime = durationTime;
            this.buffResName  = buffResName;
            this.nnc          = nnc;

            this.buffID             = buffID;
            this.targetHeroUniqueID = targetHeroUniqueID;
        }