public NumericalNumberChange add(NumericalNumberChange nnc) { this.attack += nnc.attack; this.armor += nnc.armor; this.speed += nnc.speed; this.yjdx += nnc.yjdx; return(this); }
public NumericalNumberChange subtract(NumericalNumberChange nnc) { this.attack -= nnc.attack; this.armor -= nnc.armor; this.speed -= nnc.speed; this.yjdx -= nnc.yjdx; return(this); }
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; }