mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-10 07:11:53 +00:00
some changes to stats wrapper
This commit is contained in:
parent
55d5da71aa
commit
e2fa5bf313
1 changed files with 2 additions and 5 deletions
|
@ -7,13 +7,10 @@ import { stat } from "fs";
|
|||
const StatAttributes = {
|
||||
level: (stats, apiValue) => { stats['level'] = apiValue },
|
||||
score: (stats, apiValue) => { stats['score'] = apiValue },
|
||||
skill: (stats, apiValue) => { stats['score'] = apiValue },
|
||||
td_rounds_won_player: (stats, apiValue) => { stats['player_wins'] = apiValue },
|
||||
td_rounds_won_commander: (stats, apiValue) => { stats['comm_wins'] = apiValue },
|
||||
skill: (stats, apiValue) => { stats['skill'] = apiValue },
|
||||
skill_offset: (stats, apiValue) => { stats['skill_offset'] = apiValue },
|
||||
comm_skill: (stats, apiValue) => { stats['comm_skill'] = apiValue },
|
||||
td_total_time_player: (stats, apiValue) => { stats['player_time'] = apiValue },
|
||||
td_total_time_commander: (stats, apiValue) => { stats['commander_time'] = apiValue },
|
||||
comm_skill_offset: (stats, apiValue) => { stats['comm_offset'] = apiValue },
|
||||
};
|
||||
const NoopSetter = (_stats, _apiValue) => { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue