Skip to content

Commit c65f8c2

Browse files
committed
more data
1 parent 5feab2c commit c65f8c2

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

global_mapping/bf6.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@
608608
"arch_mastery": {"archetypeName": "Mastery"},
609609
"arch_fighterplane": {"archetypeName": "Fighter planes"},
610610
"arch_jetattack": {"archetypeName": "Attack jets"},
611-
# "arch_carapc": {"archetypeName": ""},
611+
"arch_carapc": {"archetypeName": "Armored personnel carrier"},
612612
"arch_lighttrans": {"archetypeName": "Light transport vehicles"},
613613
}
614614
MELEE_GROUPS = {

global_mapping/readability/bf6/main.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,7 @@ async def get_vehicles(stats_dict: dict, constant: dict):
556556
"assists": stats_dict.get(f"assists_{_id}", 0),
557557
"damageTo": stats_dict.get(f"dmgTo_{_id}", 0),
558558
"destroyed": stats_dict.get(f"vd_{_id}", 0),
559+
"airtime": stats_dict.get(f"airtime_{_id}", 0),
559560
# "idk": stats_dict.get(f"eor_vh_{_id}"),
560561
"timeIn": seconds,
561562
}
@@ -588,6 +589,7 @@ async def get_classes(stats_dict: dict):
588589
"spawns": stats_dict.get(f"spawns_{kit_id}", 0),
589590
"score": stats_dict.get(f"scoreas_{kit_id}", 0),
590591
"assists": stats_dict.get(f"assists_{kit_id}", 0),
592+
"revives": stats_dict.get(f"revives_{kit_id}", 0),
591593
"secondsPlayed": seconds,
592594
}
593595
)
@@ -722,8 +724,8 @@ async def get_gamemodes(stats_dict: dict, constant: dict, format_values: bool =
722724
"sectorsDefended": stats_dict.get(f"sectordef_{_id}", 0),
723725
"intelPickups": stats_dict.get(f"intel_pickup_{_id}", 0),
724726
"scoreIn": stats_dict.get(f"scorein_{_id}", 0),
725-
# "health": stats_dict.get(f"hlth_{_id}", 0),
726-
# "killsWithin": stats_dict.get(f"kw_{_id}", 0),
727+
"health": stats_dict.get(f"hlth_{_id}", 0),
728+
"killsWith": stats_dict.get(f"kw_{_id}", 0),
727729
"headshotKills": headshots,
728730
"headshots": format_percentage_value(
729731
headshot_percentage, format_values
@@ -851,8 +853,11 @@ async def get_main_stats(stats_dict: dict, format_values: bool = True):
851853
"SMG": stats_dict.get("kills_smg_total", 0),
852854
"LMG": stats_dict.get("kills_lmg_total", 0),
853855
"DMR": stats_dict.get("kills_dmr_total", 0),
856+
"AR": stats_dict.get("kills_ar_total", 0),
857+
"MG": stats_dict.get("kills_mg_total", 0),
858+
"Pistols": stats_dict.get("kills_pst_total", 0),
859+
"Snipers": stats_dict.get("kills_snp_total", 0),
854860
"Shotguns": stats_dict.get("kills_sg_total", 0),
855-
"Assault Rifles": stats_dict.get("kills_sg_total", 0),
856861
},
857862
"inRound": {
858863
"total": stats_dict.get("kills_inround_cb", 0),
@@ -891,6 +896,7 @@ async def get_main_stats(stats_dict: dict, format_values: bool = True):
891896
"foot": stats_dict.get("distrav_foot_total", 0),
892897
"passenger": stats_dict.get("distrav_psgr_total", 0),
893898
"vehicle": stats_dict.get("distrav_veh_total", 0),
899+
# "vehicle": stats_dict.get("distrav_pc_total", 0),
894900
},
895901
"sector": {
896902
"captured": stats_dict.get("sect_cap_total", 0),

tests/bf6/used_methods.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"assists_veh",
5555
"dmgTo_veh",
5656
"vd_veh",
57+
"airtime_veh",
5758
# gadgets
5859
"dmg_gad",
5960
"kw_gad",
@@ -76,6 +77,7 @@
7677
"spawns_kit",
7778
"scoreas_kit",
7879
"assists_kit",
80+
"revives_kit",
7981
# maps
8082
"wins_lvl",
8183
"losses_lvl",
@@ -153,7 +155,10 @@
153155
"kills_lmg_total",
154156
"kills_dmr_total",
155157
"kills_sg_total",
156-
"kills_sg_total",
158+
"kills_ar_total",
159+
"kills_pst_total",
160+
"kills_snp_total",
161+
"kills_mg_total",
157162
"kills_inround_cb",
158163
"kills_grenade_inround_cb",
159164
"kills_headshots_inround_cb",
@@ -174,6 +179,7 @@
174179
"distrav_foot_total",
175180
"distrav_psgr_total",
176181
"distrav_veh_total",
182+
"distrav_pc_total",
177183
"sect_cap_total",
178184
"Obj_Time_Total",
179185
"obj_attack_time_Total",

0 commit comments

Comments
 (0)