Closed schneefux closed 5 years ago
{
"time": "2017-04-22T15:39:56+0000",
"type": "KillActorAssist",
"payload": {
"Team": "Left",
"Actor": "*Taka*",
"Assist": "*Lyra*",
"Killed": "*Lyra*",
"KilledTeam": "Right",
"Gold": "0",
"IsHero": 1,
"TargetIsHero": 1,
"Position": [
-74.13,
0.4,
23.16
]
}
},
This does not work because assists can be awarded to multiple heroes. Instead, create another event in the same format with a different meta type…
Awards an assist to Lyra, with 123 gold for a kill assist.
{
"time": "2017-04-22T15:39:56+0000",
"type": "KillActorAssist",
"payload": {
"Team": "Left",
"Actor": "*Lyra*",
"Killed": "*Lyra*",
"KilledTeam": "Right",
"Gold": 123,
"IsHero": 1,
"TargetIsHero": 1,
"Position": [
-74.13,
0.4,
23.16
]
}
},
A KillActor event looks like this:
The information who got an "assist" (
participant.attributes.stats.assists
) is missing. Vainglory has an internal mechanism to reward one or multiple players an assist if they dealt damage in a certain time period to theKilled
, but are notActor
. The information whether an assist has been assigned to another player is missing.