public void Execute(GameCmd.stMultiAttackDownMagicUserCmd_S cmd) { EntityType type = EntitySystem.EntityHelper.GetEntityEtype(cmd.byAttackerType); ISkillPart skillPart = SkillHelper.GetSkillPart(cmd.dwAttackerID, type); if (skillPart == null) { Engine.Utility.Log.Error("获取type :{0} id:{1}技能部件失败!", type, cmd.dwAttackerID); return; } // 处理技能结果 skillPart.OnDamage(cmd); //服务器发送打断 }