NS2CDT / NS2Plus

NS2+ mod for Natural Selection 2
5 stars 7 forks source link

Skill graph is completely off #14

Closed L-as closed 5 years ago

L-as commented 6 years ago

Example file: LastRoundStats.json

The entire game aliens had nearly 300 skill more, yet it was not recorded like that.

ghost commented 5 years ago

Line 2353: local avgTeam1Skill, avgTeam2Skill = hiveSkill[1]/curMaxPlayers, hiveSkill[2]/curMaxPlayers

needs to be something like:

local avgTeam1Skill, avgTeam2Skill = hiveSkill[1]/players[1] > 0 and players[1] or 1, hiveSkill[2]/players[2] > 0 and players[2] or 1

Currently the team hiveskill is divided by the max amount of players of either team.