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)); } }
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)); } }
public void Update(Tera.Game.Skill skill, SkillAggregate skillAggregate) { var chained = skill.IsChained; var hit = skill.Detail; if (skill.IsHotDot) { hit = LP.Dot; } if (hit != null) { LabelName.Content = hit; } if (chained == true) { LabelName.Content += " " + LP.Chained; } LabelName.ToolTip = skill.Id; LabelCritRateDmg.Content = skillAggregate.CritRate(skill.Id) + "%"; LabelDamagePercentage.Content = skillAggregate.DamagePercent(skill.Id) + "%"; LabelTotalDamage.Content = FormatHelpers.Instance.FormatValue(skillAggregate.Amount(skill.Id)); LabelNumberHitDmg.Content = skillAggregate.Hits(skill.Id); LabelNumberCritDmg.Content = skillAggregate.Crits(skill.Id); LabelAverageCrit.Content = FormatHelpers.Instance.FormatValue((long)skillAggregate.AvgCrit(skill.Id)); LabelBiggestCrit.Content = FormatHelpers.Instance.FormatValue(skillAggregate.BiggestCrit(skill.Id)); LabelAverageHit.Content = FormatHelpers.Instance.FormatValue((long)skillAggregate.AvgWhite(skill.Id)); LabelAverageTotal.Content = FormatHelpers.Instance.FormatValue((long)skillAggregate.Avg(skill.Id)); }
public void Update(Tera.Game.Skill skill, SkillAggregate skillAggregate) { var chained = skill.IsChained; var hit = skill.Detail; if (skill.IsHotDot) { hit = LP.Hot; } if (hit != null) { LabelName.Content = hit; } if (chained == true) { LabelName.Content += " " + LP.Chained; } LabelName.ToolTip = skill.Id; LabelCritRateHeal.Content = skillAggregate.CritRate(skill.Id) + "%"; LabelNumberHitHeal.Content = skillAggregate.Hits(skill.Id); LabelNumberCritHeal.Content = skillAggregate.Crits(skill.Id); LabelTotalHeal.Content = FormatHelpers.Instance.FormatValue(skillAggregate.Amount(skill.Id)); LabelBiggestHit.Content = FormatHelpers.Instance.FormatValue(skillAggregate.BiggestHit(skill.Id)); LabelBiggestCrit.Content = FormatHelpers.Instance.FormatValue(skillAggregate.BiggestCrit(skill.Id)); LabelAverageCrit.Content = FormatHelpers.Instance.FormatValue((long) skillAggregate.AvgCrit(skill.Id)); LabelAverageHit.Content = FormatHelpers.Instance.FormatValue((long) skillAggregate.AvgWhite(skill.Id)); LabelAverage.Content = FormatHelpers.Instance.FormatValue((long) skillAggregate.Avg(skill.Id)); }