summaryrefslogtreecommitdiff
path: root/src/Highlights.vue
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-07-12 11:34:43 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-12-13 17:09:25 +0100
commit74d606bef1d0259fa28dee011db41de1fb236b98 (patch)
treea5abff20f00e00fd1186c9169fe4f6787e440c22 /src/Highlights.vue
parentb6a0e90753443e56e90be0c52fd65a7a3df2d2e4 (diff)
downloadbrokentalents-74d606bef1d0259fa28dee011db41de1fb236b98.tar.gz
brokentalents-74d606bef1d0259fa28dee011db41de1fb236b98.zip
Add Blitz Points statistics
Diffstat (limited to 'src/Highlights.vue')
-rw-r--r--src/Highlights.vue30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/Highlights.vue b/src/Highlights.vue
index 0aa8a5f..ff40906 100644
--- a/src/Highlights.vue
+++ b/src/Highlights.vue
@@ -72,6 +72,33 @@
:entry="stats.topLegendaryWin" />
</div>
+ {{ stats.topBlitzPoints }}
+ <div class="column" v-if="!!stats.topKillDeathPoints">
+ <talent-box class="is-dark notification"
+ title="Soldier"
+ type="Kill Death Difference"
+ label=""
+ :value="stats.topKillDeathPoints.KillDeathPoints.toFixed(2)"
+ :entry="stats.topKillDeathPoints" />
+ </div>
+
+ <div class="column" v-if="!!stats.topObjectivePoints">
+ <talent-box class="is-dark notification"
+ title="Trebuchet"
+ type="Objectives"
+ label=""
+ :value="stats.topObjectivePoints.ObjectivePoints.toFixed(2)"
+ :entry="stats.topObjectivePoints" />
+ </div>
+
+ <div class="column" v-if="!!stats.topBlitzPointsDelta">
+ <talent-box class="is-dark notification"
+ title="Blitzkrieg"
+ type="Points Difference"
+ label=""
+ :value="stats.topBlitzPointsDelta.BlitzPointsDelta.toFixed(2)"
+ :entry="stats.topBlitzPointsDelta" />
+ </div>
</div>
</template>
@@ -96,6 +123,9 @@ export default Vue.component('highlights', {
topLegendaryWin: ReportService.getTopLegendaryWins(this.selectedMode),
topLowLevel: ReportService.getTopLowLevel(this.selectedMode),
topScaling: ReportService.getTopScaling(this.selectedMode),
+ topKillDeathPoints: ReportService.getTopKillDeathPoints(this.selectedMode),
+ topObjectivePoints: ReportService.getTopObjectivePoints(this.selectedMode),
+ topBlitzPointsDelta: ReportService.getTopBlitzPointsDelta(this.selectedMode),
};
},
playersPerMatch: function() {