コード例 #1
0
        public long Hits()
        {
            var result = from skill in Skills
                         from source in skill.Value
                         select SkillsData.Hits(source, _target, skill.Key.Id, _timed, Type);

            return(result.Sum());
        }
コード例 #2
0
ファイル: SkillAggregate.cs プロジェクト: xmljson/ShinraMeter
        public long Hits(int skillId)
        {
            var result = from skill in Skills
                         where skill.Key.Id == skillId
                         from source in skill.Value
                         select SkillsData.Hits(source, _target, skillId, _timed, skill.Key.NpcInfo, Type);

            return(result.Sum());
        }