From a8135ad40cbeb6c0c464d57010032dc033993439 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 16 Jun 2018 20:47:59 +0200 Subject: Calculate and show level scaling --- src/Highlights.vue | 44 +++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 21 deletions(-) (limited to 'src/Highlights.vue') diff --git a/src/Highlights.vue b/src/Highlights.vue index b074b70..0aa8a5f 100644 --- a/src/Highlights.vue +++ b/src/Highlights.vue @@ -5,7 +5,7 @@ title="Overpowered" type="Win Rate" label="%" - :value="Math.round(100 * stats.topWin.Winner)" + :value="Math.round(100 * stats.topWin.TotalWinner)" :entry="stats.topWin" /> @@ -18,29 +18,31 @@ :entry="stats.topPick" /> -
+
+ :value="Math.round(100 * stats.topLowLevel.Winner)" + :entry="stats.topLowLevel" />
-
+
+ title="Spender" + type="Win Rate per Level" + label="%" + :value="'+' + Math.round(100 * stats.topScaling.TalentWinrateLevelScaling)" + :entry="stats.topScaling" />
-
+
+ title="Hidden Gem" + type="Win Rate" + label="%" + :value="Math.round(100 * stats.topUnpopularWin.TotalWinner)" + :entry="stats.topUnpopularWin" />
@@ -48,7 +50,7 @@ title="Best Rare" type="Win Rate" label="%" - :value="Math.round(100 * stats.topRareWin.Winner)" + :value="Math.round(100 * stats.topRareWin.TotalWinner)" :entry="stats.topRareWin" />
@@ -57,7 +59,7 @@ title="Best Epic" type="Win Rate" label="%" - :value="Math.round(100 * stats.topEpicWin.Winner)" + :value="Math.round(100 * stats.topEpicWin.TotalWinner)" :entry="stats.topEpicWin" />
@@ -66,7 +68,7 @@ title="Best Legendary" type="Win Rate" label="%" - :value="Math.round(100 * stats.topLegendaryWin.Winner)" + :value="Math.round(100 * stats.topLegendaryWin.TotalWinner)" :entry="stats.topLegendaryWin" />
@@ -89,11 +91,11 @@ export default Vue.component('highlights', { topUnpopularWin: ReportService.getTopUnpopularWin(this.selectedMode), topPick: ReportService.getTopPick(this.selectedMode), totalPicks: ReportService.getTotalPicks(this.selectedMode), - highestLevelAvg: ReportService.getHighestLevelAvg(this.selectedMode), topRareWin: ReportService.getTopRareWins(this.selectedMode), topEpicWin: ReportService.getTopEpicWins(this.selectedMode), topLegendaryWin: ReportService.getTopLegendaryWins(this.selectedMode), - lowestLevelAvg: ReportService.getLowestLevelAvg(this.selectedMode), + topLowLevel: ReportService.getTopLowLevel(this.selectedMode), + topScaling: ReportService.getTopScaling(this.selectedMode), }; }, playersPerMatch: function() { -- cgit v1.3.1