RiotNet icon indicating copy to clipboard operation
RiotNet copied to clipboard

Missing StatPerk in MatchParticipantStats

Open joopip opened this issue 6 years ago • 3 comments

Please add StatPerk0, StatPerk1 and StatPerk2 to wrapper.

joopip avatar May 15 '19 15:05 joopip

I don't see any StatPerk properties in the documentation: https://developer.riotgames.com/api-methods/#match-v4/GET_getMatch. Are you referring to perk0, perk1, perk2, etc.? Or are these some new properties that Riot hasn't documented yet?

aj-r avatar May 22 '19 11:05 aj-r

These are new properties not documented, related to 3rd runes reforged path (stats rune). Example: ... "participants": [ { "stats": { ... "neutralMinionsKilledTeamJungle": 0, "visionScore": 26, "magicDamageDealtToChampions": 1384, "largestMultiKill": 2, "totalTimeCrowdControlDealt": 467, "longestTimeSpentLiving": 1199, "perk1Var1": 712, "perk1Var3": 0, "perk1Var2": 240, "tripleKills": 0, "perk5": 8473, "perk5Var1": 548, "perk5Var3": 0, "perk5Var2": 0, "totalScoreRank": 0, "neutralMinionsKilled": 4, "statPerk0": 5005, "statPerk1": 5008, "statPerk2": 5001, ... }, } }] ...

joopip avatar Jun 04 '19 21:06 joopip

I made a PR (#41) that fixes this issue.

Yannick183 avatar Aug 02 '19 10:08 Yannick183