namespace XGame.Database { public partial class SkillTableRepo { /// /// 获取技能的作用对象 /// /// /// public static ESkillTargetType GetTargetType(long skillId) { var table = Get(skillId); if (table == null) { Log.Error($"没有找到技能配置. SkillId:{skillId}"); return ESkillTargetType.None; } return (ESkillTargetType)table.TargetType; } } }