PBug90 / w3gjs

A native JavaScript WarCraft 3 replay parser implementation.
MIT License
44 stars 17 forks source link

improve tome of retraining target hero detection #101

Open PBug90 opened 2 years ago

PBug90 commented 2 years ago

Currently we just assume that the first skill learned after the tome was used represents the hero that used the tome. This can be wrong. We might be able to track the correct hero via selection/subselection events.