Skip to content

Commit

Permalink
Update _stats.nut
Browse files Browse the repository at this point in the history
  • Loading branch information
Zanieon committed Oct 30, 2024
1 parent 753210c commit c3f072d
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut
Original file line number Diff line number Diff line change
Expand Up @@ -902,16 +902,12 @@ void function RegisterMatchStats_OnMatchComplete()
currentPlace += 1
switch( currentPlace )
{
case 1:
UpdatePlayerStat( players[i], "game_stats", "mvp" ) // MVP in the current map played
UpdatePlayerStat( players[i], "game_stats", "mvp_total" ) // MVP in the overall profile
UpdatePlayerStat( players[i], "game_stats", "top3OnTeam" ) // Ingame this is the "Times Top 3" for the whole match, not per team
break
case 1: // MVP have two parallel stats which one registers MVP for the map played and the other goes to the player's stats menu as a total MVP times
UpdatePlayerStat( players[i], "game_stats", "mvp" )
UpdatePlayerStat( players[i], "game_stats", "mvp_total" )
case 2:
UpdatePlayerStat( players[i], "game_stats", "top3OnTeam" )
break
case 3:
UpdatePlayerStat( players[i], "game_stats", "top3OnTeam" )
UpdatePlayerStat( players[i], "game_stats", "top3OnTeam" ) // Ingame this is the "Times Top 3" for the whole match, not per team
break
}
}
Expand Down

0 comments on commit c3f072d

Please sign in to comment.