diff --git a/src/routes/calculator/_characterTable.svelte b/src/routes/calculator/_characterTable.svelte new file mode 100644 index 00000000..64247251 --- /dev/null +++ b/src/routes/calculator/_characterTable.svelte @@ -0,0 +1,153 @@ + + +
+
+
+ + + + + + + + {#each result as row, i} + + + + + + + + + {/each} +
LevelItemsWasted ExpMora Cost
{step[i]}{step[i + 1]} + {#each resources as res, j} + {#if row.usage[j] > 0} + + {res.label} + {row.usage[j]} + + {/if} + {/each} + {Math.abs(row.over)}{numberFormat.format(row.mora)}
+
+
+
+ + diff --git a/src/routes/calculator/index.svelte b/src/routes/calculator/index.svelte index b56b0f2b..7c7de84b 100644 --- a/src/routes/calculator/index.svelte +++ b/src/routes/calculator/index.svelte @@ -4,6 +4,7 @@ import WeaponCalculator from './_weapon.svelte'; import CharacterCalculator from './_character.svelte'; + import LevelUpTable from './_characterTable.svelte'; import Button from '../../components/Button.svelte'; import Icon from '../../components/Icon.svelte'; import HowToModal from '../../components/CalculatorHowToModal.svelte'; @@ -85,4 +86,6 @@ +
+