dotabuff/yasha

How can I get the hero assist count?

niuzheng168 opened this issue · 2 comments

In death log entry, i can know which hero killed which here, but how can I get the assist information?

There's no "easy way" to get the assist information. You have to track who dealt damage to a hero in the 15 (could be 20) second window before he died, and then give them an assist if they did.

You could just track m_iAssists for each hero. When a kill happens look for it to be incremented?