-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get permanent buffs? #134
Comments
@jcoene Would you happen to know this? |
There are buffs generated and disappeared in the "CombatLog". The permanent buff is that only the generated state does not disappear! |
@jacobxy How do you access CombatLog using Manta? |
func (c *Callbacks) OnCMsgDOTACombatLogEntry(fn func(*dota.CMsgDOTACombatLogEntry) error) { |
@jacobxy Another question now that you're here: Ability Upgrades seem to be skipping stats? Example: the parser will output this: Any way to work around this? |
I don't know how to write your parsing process, so I can't judge whether there is a problem. At present, the data I parse doesn't have such a problem. |
@jacobxy We are writing it like this: for level, ability := range player.GetAbilityUpgrades() {
matchData.Players[index].AbilityUpgrades = append(matchData.Players[index].AbilityUpgrades, AbilityData{
Level: level,
AbilityIndex: ability,
})
} |
It seems that this interface is post game data. At present, the return is an array, so it is impossible to jump the output level, because the data has the frame number of upgrade time, which needs to be combined with the player's level at that time, and the game process data needs to be analyzed. |
I see, how would you recommend fetching this data instead? |
One of the methods of this library is to obtain process data by parsing DEM video files. |
@jacobxy Thank you! 🤗 |
Example:
The text was updated successfully, but these errors were encountered: