diff --git a/output_functions.py b/output_functions.py index 4cd36a0..ba4a033 100644 --- a/output_functions.py +++ b/output_functions.py @@ -2313,10 +2313,10 @@ def build_dps_stats_tids(DPSStats: dict, tid_date_time: str, tid_list: list) -> player = DPSStats[player_prof]["name"] profession = DPSStats[player_prof]["profession"] fightTime = DPSStats[player_prof]['duration'] - DPS = ''+f"{round(DPSStats[player_prof]['damageTotal'] / fightTime):,.0f}" + DPS = ''+f"{round(DPSStats[player_prof]['damageTotal'] / i):,.0f}" row = f"|{player} | {{{{{profession}}}}} | {fightTime} | {DPS} |" for i in range(1, 11): - row += ' '+f"{round(DPSStats[player_prof][exp_dps_stat][i] / fightTime):,.0f}|" + row += ' '+f"{round(DPSStats[player_prof][exp_dps_stat][i] / i):,.0f}|" rows.append(row)