Skip to content

Commit

Permalink
remove non-hero logs
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Jun 22, 2016
1 parent 41b115c commit 0165e1e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions processors/processReduce.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ function processReduce(entries, match, meta)
{
return false;
}
if (e.type === "DOTA_COMBATLOG_DAMAGE" || e.type === "DOTA_COMBATLOG_MODIFIER_ADD" || e.type === "DOTA_COMBATLOG_HEAL")
{
if (!e.targethero || e.targetillusion)
{
return false;
}
}
if (e.type === "interval" && e.time % 60 !== 0)
{
return false;
Expand Down

0 comments on commit 0165e1e

Please sign in to comment.