Fix elemental mastery values

pull/1/head
Made Baruna 2021-04-23 06:44:47 +08:00
parent 17a7c76049
commit 7a15cc7885
No known key found for this signature in database
GPG Key ID: 5AA5DA16AA5DCEAD
1 changed files with 5 additions and 1 deletions

View File

@ -293,10 +293,14 @@
{:else}
<td class="text-center border-t border-gray-700 px-2">50%</td>
{/if}
{#if data.statGrow !== 'critRate' && data.statGrow !== 'critDamage'}
{#if data.statGrow !== 'critRate' && data.statGrow !== 'critDamage' && data.statGrow !== 'em'}
<td class="text-center border-t border-gray-700 px-2">
{numberFormat.format(data[data.statGrow][index] * 100)}%
</td>
{:else if data.statGrow === 'em'}
<td class="text-center border-t border-gray-700 px-2">
{numberFormat.format(data[data.statGrow][index])}
</td>
{/if}
</tr>
{/each}