mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-01-18 19:51:27 +00:00
Show small numbers in modifiers' totals
This commit is contained in:
parent
f7666fcd05
commit
2b541c2a3b
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ import type { Persistent } from "game/persistence";
|
|||
import { DefaultValue, persistent } from "game/persistence";
|
||||
import player from "game/player";
|
||||
import settings from "game/settings";
|
||||
import type { DecimalSource } from "util/bignum";
|
||||
import { DecimalSource, formatSmall } from "util/bignum";
|
||||
import Decimal, { format } from "util/bignum";
|
||||
import { formatWhole } from "util/break_eternity";
|
||||
import { Direction, WithRequired } from "util/common";
|
||||
|
@ -348,7 +348,7 @@ export function createCollapsibleModifierSections(
|
|||
<div class="modifier-container">
|
||||
<span class="modifier-description">Total</span>
|
||||
<span class="modifier-amount">
|
||||
{format(s.modifier.apply(unref(processed.base[i]) ?? 1))}
|
||||
{formatSmall(s.modifier.apply(unref(processed.base[i]) ?? 1))}
|
||||
{s.unit}
|
||||
</span>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue