mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
refactor: remove stats kilo notation from db
This commit is contained in:
parent
d106e84db1
commit
ac5b764d61
1 changed files with 4 additions and 4 deletions
|
|
@ -72,10 +72,10 @@ class MatchTransformer {
|
|||
assists: player.stats.assists,
|
||||
minions: player.stats.totalMinionsKilled + player.stats.neutralMinionsKilled,
|
||||
vision: player.stats.visionScore,
|
||||
gold: +(player.stats.goldEarned / 1000).toFixed(1) + 'k',
|
||||
dmgChamp: +(player.stats.totalDamageDealtToChampions / 1000).toFixed(1) + 'k',
|
||||
dmgObj: +(player.stats.damageDealtToObjectives / 1000).toFixed(1) + 'k',
|
||||
dmgTaken: +(player.stats.totalDamageTaken / 1000).toFixed(1) + 'k',
|
||||
gold: player.stats.goldEarned,
|
||||
dmgChamp: player.stats.totalDamageDealtToChampions,
|
||||
dmgObj: player.stats.damageDealtToObjectives,
|
||||
dmgTaken: player.stats.totalDamageTaken,
|
||||
}
|
||||
|
||||
if (stats.kills + stats.assists !== 0 && stats.deaths === 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue