diff --git a/src/routes/calculator/_fateCount.svelte b/src/routes/calculator/_fateCount.svelte new file mode 100644 index 00000000..0b02a174 --- /dev/null +++ b/src/routes/calculator/_fateCount.svelte @@ -0,0 +1,155 @@ + + +
+
+
+
+ {#each fateValues as value} +
+
+ {value.name} +

{value.name}

+
+
+
+ +
+
+
+ {/each} +
+
+
+ {#each parameters as value} +
+
+

{value.name}

+
+
+
+ +
+
+
+ {/each} +
+
+ + {#if result !== null} + +
+
+ + + + + + + {#each result as res} + + + + + + {/each} + + + +
{$t('calculator.fateCount.type')}{$t('calculator.fateCount.amount')}{$t('calculator.fateCount.totalPrimogem')}
+ + {#if res.image !== null}{res.name}{/if} +

{res.name}

+
+
+ {res.amount} + + {res.total} +
+ {$t('calculator.fateCount.totalPrimogem')} + {totalPrimogem} + Primogem + ({Math.floor(totalPrimogem / 160)} + Fate) +
+
+
+ {/if} +
+
+