more efficient
This commit is contained in:
parent
b23b43e0de
commit
7f07c2bab2
2 changed files with 2 additions and 3 deletions
|
|
@ -72,6 +72,6 @@
|
||||||
"KD_ALL": 1.3333333333333333
|
"KD_ALL": 1.3333333333333333
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"updated": "09/25/2023 13:52:33 - Time Zone: W. Europe Standard Time"
|
"updated": "09/25/2023 14:31:54 - Time Zone: W. Europe Standard Time"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,6 @@ function get-killstats {
|
||||||
foreach ($action in $telemetry) {
|
foreach ($action in $telemetry) {
|
||||||
|
|
||||||
if ($action.PSObject.Properties.name.contains('killer')) {
|
if ($action.PSObject.Properties.name.contains('killer')) {
|
||||||
#write-output "Analyzing dBNOid $($action.dBNOId)"
|
|
||||||
$attacks += $action
|
$attacks += $action
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -50,7 +49,7 @@ foreach ($player in $all_player_matches) {
|
||||||
}
|
}
|
||||||
|
|
||||||
write-output "Analyzing for player $player_name telemetry: $($match.telemetry_url)"
|
write-output "Analyzing for player $player_name telemetry: $($match.telemetry_url)"
|
||||||
$killstats += get-killstats -player_name $player_name -telemetry $telemetry
|
$killstats += get-killstats -player_name $player_name -telemetry ($telemetry | where-object {$_._T -eq 'LOGPLAYERKILLV2'})
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue