Skip to content

Commit

Permalink
0.6.3
Browse files Browse the repository at this point in the history
stat correction, totals were double couting first match
  • Loading branch information
ebshimizu committed Apr 16, 2018
1 parent 1b4ab34 commit 0a5cd36
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions js/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -825,10 +825,10 @@ class Database {
continue;

if (!(statName in playerDetailStats[match.ToonHandle].stats)) {
playerDetailStats[match.ToonHandle].stats[statName] = match.gameStats[statName];
playerDetailStats[match.ToonHandle].stats[statName] = 0;
playerDetailStats[match.ToonHandle].max[statName] = match.gameStats[statName];
playerDetailStats[match.ToonHandle].min[statName] = match.gameStats[statName];
playerDetailStats[match.ToonHandle].total[statName] = match.gameStats[statName];
playerDetailStats[match.ToonHandle].total[statName] = 0;
playerDetailStats[match.ToonHandle].medianTmp[statName] = [];
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stats-of-the-storm",
"version": "0.6.2",
"version": "0.6.3",
"main": "main.js",
"description": "A Heroes of the Storm stat tracking application.",
"bugs": "[email protected]",
Expand Down
7 changes: 4 additions & 3 deletions templates/about-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ <h2 class="ui inverted header">Stats of the Storm - Version <span class="app-ver
gets talent and hero information and images from <a href="https://github.com/heroespatchnotes/heroes-talents">heroes-talents</a>.
</p>
<div class="ui inverted horizontal divider">Change Log</div>
<h3 class="ui inverted dividing header">Version 0.6.3</h3>
<p>
Bugfix: Stat totals on Collection: Player and Team Roster pages have been corrected.
</p>
<h3 class="ui inverted dividing header">Version 0.6.2</h3>
<p>
Settings: <a href="https://github.com/ebshimizu/stats-of-the-storm/issues/146">#146</a> Added Import Sets. Can set
folders to be imported to one or more collections automatically. Import sets are set per-database and are stored
locally (so they don't interfere with sharing databases).
</p>
<p>
Bugfix: KDA on Collection: Player and Team Roster pages has been corrected.
</p>
<h3 class="ui inverted dividing header">Version 0.6.1</h3>
<p>
Parser: Updated up to patch 2.31.3 (build 64129)
Expand Down

0 comments on commit 0a5cd36

Please sign in to comment.