public virtual void Increase(int count) { this.count += count; if (count > 0) { this.OnIncrease(); } if (this.count == 0) { owner.ClearAbnormalStatus(this); } }
public virtual void Increase(int count) { this.count += count; if (count > 0) { this.OnIncrease(); } if (this.count == 0) { owner.ClearAbnormalStatus(this); } }