Skip to content

Commit

Permalink
And again
Browse files Browse the repository at this point in the history
  • Loading branch information
Kraust committed Aug 10, 2024
1 parent 48b73cb commit adb53b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion combatlog/templatetags/combatlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def summary(instance):
"""Return a summary of the combat log"""
res = []
res.append(instance.metadata.map)
res.append(instance.metadata.difficulty)
res.append(f"{instance.metadata.difficulty} Difficulty")
res.append("DPS")
for _, player in instance.metadata.summary:
res.append(f"{player['handle']} - {int(player['DPS'])}")
return " | ".join(res)

0 comments on commit adb53b7

Please sign in to comment.