Update ER generator

This commit is contained in:
Sakura Knoll
2022-12-12 06:46:50 +09:00 Unverified
parent a5019a5707
commit d0cbe6c9fa
4 changed files with 14 additions and 10 deletions
@@ -308,9 +308,9 @@ const DataForm = ({
updateData('signets', newSignets)
}}
>
<option value='start'></option>
<option value='core'></option>
<option value='sub'></option>
<option value='sub'></option>
<option value='optional'></option>
</Select>
</Box>
</Flex>
@@ -116,10 +116,10 @@ const SignetBox = ({ signets }: SignetBoxProps) => {
fontWeight: 'bold',
color:
signet.type === 'core'
? '#E39070'
: signet.type === 'start'
? '#FEDEC2'
: '#A59A9B',
? '#F87360'
: signet.type === 'sub'
? '#F5C1B7'
: '#A3928A',
}}
className='signetTypeLabel'
>
@@ -127,9 +127,9 @@ const SignetBox = ({ signets }: SignetBoxProps) => {
<Box>
{signet.type === 'core'
? '핵심'
: signet.type === 'start'
? '과도'
: '보조'}
: signet.type === 'sub'
? '차선'
: '선택'}
</Box>
<Box></Box>
</Box>
@@ -32,7 +32,7 @@ export interface ERGGEquipmentSet {
export interface ERGGSignet {
group: string
type: 'core' | 'start' | 'sub'
type: 'core' | 'sub' | 'optional'
nexus: 1 | 2
description: string
}
+4
View File
@@ -47,6 +47,10 @@ export const erVersions = [
version: '6.1',
battlesuits: ['jk'],
},
{
version: '6.2',
battlesuits: ['cn', 'vke'],
},
].reverse()
export const erBattlesuits = erVersions.reduce<string[]>((list, version) => {