diff --git a/output_functions.py b/output_functions.py index ee1cac2..28fb48c 100644 --- a/output_functions.py +++ b/output_functions.py @@ -59,7 +59,6 @@ def create_new_tid_from_template( temp_tid['creator'] = creator if fields: for field, value in fields.items(): - print("Creating field: " + field+" with value: " + value) temp_tid[field] = value return temp_tid @@ -2156,7 +2155,6 @@ def build_on_tag_review(death_on_tag, tid_date_time): header = "|!Player |!Profession | !Avg Dist| !On-Tag
{{deadCount}} | !Off-Tag
{{deadCount}} | !After-Tag
{{deadCount}} | !Run-Back
{{deadCount}} | !Total
{{deadCount}} |!OffTag Ranges|h" rows.append(header) for name_prof in death_on_tag: - print(name_prof, "on tag review") player = death_on_tag[name_prof]['name'] profession = death_on_tag[name_prof]['profession'] if len(death_on_tag[name_prof]['distToTag']): diff --git a/parser_functions.py b/parser_functions.py index e613593..edb8ac7 100644 --- a/parser_functions.py +++ b/parser_functions.py @@ -181,7 +181,7 @@ def get_player_death_on_tag(player, commander_tag_positions, dead_tag_mark, dead if death_key < 0: # Handle death on the field before main squad combat log starts continue - position_mark = math.ceil(death_key / polling_rate) + position_mark = math.floor(death_key / polling_rate) player_positions = player['combatReplayData']['positions'] for down_key, down_value in player_downs.items():