NS2CDT / NS2Plus

NS2+ mod for Natural Selection 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Skill graph is completely off

L-as opened this issue · comments

Example file: LastRoundStats.json

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

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.