private void HitBuff(SkillAction action) { if (action.targetAddBuff != null) { foreach (int id in action.targetAddBuff) { theOwner.ClientAddBuff(id); } } if (action.targetDelBuff != null) { foreach (int id in action.targetDelBuff) { theOwner.ClientDelBuff(id); } } }