Minor fixes

This commit is contained in:
DarkPhoenix
2024-11-12 14:45:41 +01:00
parent 5721beacf5
commit 7664b00b59
3 changed files with 12 additions and 6 deletions

View File

@@ -173,10 +173,9 @@ class FirepowerViewFull(StatsView):
if hasSpool:
lines.append("")
lines.append(_t("Current") + ": {}".format(formatAmount(normal.total, prec, lowest, highest)))
for dmgType in normal.names():
for dmgType in normal.names(includePure=True):
val = getattr(normal, dmgType, None)
if val:
dmgType = {'breacher': 'pure'}.get(dmgType, dmgType)
lines.append("{}{}: {}%".format(
" " if hasSpool else "",
_t(dmgType).capitalize(),