hensei-web/data/awakening.tsx
Justin Edmund 0ebd1a6c66
Update awakening (#315)
* Add Awakening type and remove old defs

We remove the flat list of awakening data, as we will be pulling data from the database

* Update types to use new Awakening type

* Update WeaponUnit for Grand weapon awakenings

* Update object modals

We needed to update CharacterModal and WeaponModal to display awakenings from the new data format. However, the component used (`SelectWithInput`) was tied to AX Skills in a way that would take exponentially more time to resolve.

Instead, we forked `SelectWithInput` into `AwakeningSelectWithInput` and did our work there.

`AwakeningSelect` was found to be redundant, so it was removed.

* Update hovercards
2023-06-19 00:46:03 -07:00

10 lines
189 B
TypeScript

export const MAX_CHARACTER_AWAKENING_LEVEL = 9
export const NO_AWAKENING: Awakening = {
id: '0',
name: {
en: 'No awakening',
jp: '覚醒なし',
},
slug: 'no-awakening',
}