Ejemplo n.º 1
0
        protected override void SetDamageLogs(ParsedLog log)
        {
            AddDamageLogs(log.CombatData.GetDamageData(AgentItem));
            Dictionary <string, Minions> minionsList = GetMinions(log);

            foreach (Minions mins in minionsList.Values)
            {
                DamageLogs.AddRange(mins.GetDamageLogs(null, log, 0, log.FightData.FightDuration));
            }
            DamageLogs.Sort((x, y) => x.Time.CompareTo(y.Time));
        }
        protected override void SetDamageLogs(ParsedLog log)
        {
            foreach (CombatItem c in log.CombatData.GetDamageData(InstID, FirstAware, LastAware))
            {
                long time = log.FightData.ToFightSpace(c.Time);
                AddDamageLog(time, c, log.Boons);
            }
            Dictionary <string, Minions> minionsList = GetMinions(log);

            foreach (Minions mins in minionsList.Values)
            {
                DamageLogs.AddRange(mins.GetDamageLogs(null, log, log.FightData.ToFightSpace(FirstAware), log.FightData.ToFightSpace(LastAware)));
            }
            DamageLogs.Sort((x, y) => x.Time.CompareTo(y.Time));
        }
Ejemplo n.º 3
0
        protected override void SetDamageLogs(ParsedLog log)
        {
            foreach (CombatItem c in log.GetDamageData(AgentItem.InstID))
            {
                if (c.Time >= FirstAware && c.Time <= LastAware)//selecting player or minion as caster
                {
                    long time = log.FightData.ToFightSpace(c.Time);
                    AddDamageLog(time, c);
                }
            }
            Dictionary <string, Minions> minionsList = GetMinions(log);

            foreach (Minions mins in minionsList.Values)
            {
                DamageLogs.AddRange(mins.GetDamageLogs(null, log, log.FightData.ToFightSpace(FirstAware), log.FightData.ToFightSpace(LastAware)));
            }
            DamageLogs.Sort((x, y) => x.Time < y.Time ? -1 : 1);
        }
Ejemplo n.º 4
0
        protected override void SetDamageLogs(ParsedLog log)
        {
            long agentStart = Math.Max(FirstAware, log.FightData.FightStart);
            long agentEnd   = Math.Min(LastAware, log.FightData.FightEnd);
            long timeStart  = log.FightData.FightStart;

            foreach (CombatItem c in log.GetDamageData(AgentItem.InstID))
            {
                if (c.Time > agentStart && c.Time < agentEnd)//selecting player or minion as caster
                {
                    long time = c.Time - timeStart;
                    AddDamageLog(time, c);
                }
            }
            Dictionary <string, Minions> minionsList = GetMinions(log);

            foreach (Minions mins in minionsList.Values)
            {
                DamageLogs.AddRange(mins.GetDamageLogs(null, log, 0, log.FightData.FightDuration));
            }
            DamageLogs.Sort((x, y) => x.Time < y.Time ? -1 : 1);
        }