private void UpdateState(UpdateContext context) { int count = this._buffs.Count; for (int i = 0; i < count; i++) { VBuff buff = this._buffs[i]; if (buff.isInBattle) { buff.UpdateState(context); } } }