public void Update(SkillAggregate skill)
        {
            var skillsId = skill.Id();

            LabelName.ToolTip = skillsId;
            LabelCritRateHeal.Content = skill.CritRate() + "%";

            LabelNumberHitHeal.Content = skill.Hits();
            LabelNumberCritHeal.Content = skill.Crits();

            LabelTotalHeal.Content = FormatHelpers.Instance.FormatValue(skill.Amount());
            LabelBiggestHit.Content = FormatHelpers.Instance.FormatValue(skill.BiggestHit());
            LabelBiggestCrit.Content = FormatHelpers.Instance.FormatValue(skill.BiggestCrit());

            LabelAverageCrit.Content = FormatHelpers.Instance.FormatValue((long) skill.AvgCrit());
            LabelAverageHit.Content = FormatHelpers.Instance.FormatValue((long) skill.AvgWhite());
            LabelAverage.Content = FormatHelpers.Instance.FormatValue((long) skill.Avg());

            SkillsDetailList.Items.Clear();

            foreach (var skillInfo in skill.Skills)
            {
                SkillsDetailList.Items.Add(new SkillDetailHeal(skillInfo.Key, skill));
            }
        }
Exemple #2
0
        public void Update(SkillAggregate skill)
        {
            var skillsId = skill.Id();

            LabelName.ToolTip        = skillsId;
            LabelCritRateDmg.Content = skill.CritRate() + "%";

            LabelDamagePercentage.Content = skill.DamagePercent() + "%";
            LabelTotalDamage.Content      = FormatHelpers.Instance.FormatValue(skill.Amount());

            LabelNumberHitDmg.Content = skill.Hits();

            LabelNumberCritDmg.Content = skill.Crits();

            LabelAverageCrit.Content  = FormatHelpers.Instance.FormatValue((long)skill.AvgCrit());
            LabelBiggestCrit.Content  = FormatHelpers.Instance.FormatValue(skill.BiggestCrit());
            LabelAverageHit.Content   = FormatHelpers.Instance.FormatValue((long)skill.AvgWhite());
            LabelAverageTotal.Content = FormatHelpers.Instance.FormatValue((long)skill.Avg());

            SkillsDetailList.Items.Clear();
            foreach (var skillInfo in skill.Skills)
            {
                SkillsDetailList.Items.Add(new SkillDetailDps(skillInfo.Key, skill));
            }
        }
Exemple #3
0
        public void Update(SkillAggregate skill)
        {
            var skillsId = skill.Id();

            LabelName.ToolTip      = skillsId;
            LabelNumberHit.Content = skill.Hits();

            SkillsDetailList.Items.Clear();

            foreach (var skillInfo in skill.Skills)
            {
                SkillsDetailList.Items.Add(new SkillDetailCounter(skillInfo.Key, skill));
            }
        }
        public void Update(SkillAggregate skill)
        {
            var skillsId = skill.Id();

            LabelName.ToolTip = skillsId;
            LabelNumberHitMana.Content = skill.Hits();
            LabelTotalMana.Content = FormatHelpers.Instance.FormatValue(skill.Amount());

            SkillsDetailList.Items.Clear();

            foreach (var skillInfo in skill.Skills)
            {
                SkillsDetailList.Items.Add(new SkillDetailMana(skillInfo.Key, skill));
            }
        }
        public void Update(SkillAggregate skill)
        {
            var skillsId = skill.Id();

            LabelName.ToolTip          = skillsId;
            LabelNumberHitMana.Content = skill.Hits();
            LabelTotalMana.Content     = FormatHelpers.Instance.FormatValue(skill.Amount());

            SkillsDetailList.Items.Clear();

            foreach (var skillInfo in skill.Skills)
            {
                SkillsDetailList.Items.Add(new SkillDetailMana(skillInfo.Key, skill));
            }
        }