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) updateData('signets', newSignets)
}} }}
> >
<option value='start'></option>
<option value='core'></option> <option value='core'></option>
<option value='sub'></option> <option value='sub'></option>
<option value='optional'></option>
</Select> </Select>
</Box> </Box>
</Flex> </Flex>
@@ -116,10 +116,10 @@ const SignetBox = ({ signets }: SignetBoxProps) => {
fontWeight: 'bold', fontWeight: 'bold',
color: color:
signet.type === 'core' signet.type === 'core'
? '#E39070' ? '#F87360'
: signet.type === 'start' : signet.type === 'sub'
? '#FEDEC2' ? '#F5C1B7'
: '#A59A9B', : '#A3928A',
}} }}
className='signetTypeLabel' className='signetTypeLabel'
> >
@@ -127,9 +127,9 @@ const SignetBox = ({ signets }: SignetBoxProps) => {
<Box> <Box>
{signet.type === 'core' {signet.type === 'core'
? '핵심' ? '핵심'
: signet.type === 'start' : signet.type === 'sub'
? '과도' ? '차선'
: '보조'} : '선택'}
</Box> </Box>
<Box></Box> <Box></Box>
</Box> </Box>
@@ -32,7 +32,7 @@ export interface ERGGEquipmentSet {
export interface ERGGSignet { export interface ERGGSignet {
group: string group: string
type: 'core' | 'start' | 'sub' type: 'core' | 'sub' | 'optional'
nexus: 1 | 2 nexus: 1 | 2
description: string description: string
} }
+4
View File
@@ -47,6 +47,10 @@ export const erVersions = [
version: '6.1', version: '6.1',
battlesuits: ['jk'], battlesuits: ['jk'],
}, },
{
version: '6.2',
battlesuits: ['cn', 'vke'],
},
].reverse() ].reverse()
export const erBattlesuits = erVersions.reduce<string[]>((list, version) => { export const erBattlesuits = erVersions.reduce<string[]>((list, version) => {