parent
82968f6697
commit
c71acf4fb2
|
@ -45,11 +45,14 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="absolute top-0 right-0 bg-black bg-opacity-75 rounded-full flex items-center shadow-md"
|
class="absolute top-0 right-0 bg-black bg-opacity-75 rounded-full flex items-center shadow-md {constellation &&
|
||||||
|
Math.max(0, constellation.default + constellation.wish + constellation.manual - 1) >= 6
|
||||||
|
? 'text-legendary-from'
|
||||||
|
: 'text-white'}"
|
||||||
style="padding: 4px; margin: -10px;"
|
style="padding: 4px; margin: -10px;"
|
||||||
>
|
>
|
||||||
{#if constellation}
|
{#if constellation}
|
||||||
<span class="mx-1 text-white text-xs font-semibold">
|
<span class="mx-1 text-xs font-semibold">
|
||||||
C{Math.max(0, constellation.default + constellation.wish + constellation.manual - 1)}
|
C{Math.max(0, constellation.default + constellation.wish + constellation.manual - 1)}
|
||||||
</span>
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
Loading…
Reference in New Issue