Fix types where ItemSelect is used

These need an empty `granblue_id`
This commit is contained in:
Justin Edmund 2023-03-16 10:06:53 -07:00
parent f21742a353
commit be823fb8e3
5 changed files with 39 additions and 0 deletions

View file

@ -41,6 +41,7 @@ const AwakeningSelect = (props: Props) => {
en: 'No awakening',
ja: '覚醒なし',
},
granblue_id: '',
slug: 'no-awakening',
minValue: 0,
maxValue: 0,

View file

@ -54,6 +54,7 @@ const RingSelect = ({ gridCharacter, sendValues }: Props) => {
ja: 'EXリミットボーナスなし',
},
id: 0,
granblue_id: '',
slug: 'no-bonus',
minValue: 0,
maxValue: 0,

View file

@ -9,6 +9,7 @@ export type Awakening = {
export const characterAwakening: ItemSkill[] = [
{
id: 1,
granblue_id: '',
name: {
en: 'Balanced',
ja: 'バランス',
@ -20,6 +21,7 @@ export const characterAwakening: ItemSkill[] = [
},
{
id: 2,
granblue_id: '',
name: {
en: 'Attack',
ja: '攻撃',
@ -31,6 +33,7 @@ export const characterAwakening: ItemSkill[] = [
},
{
id: 3,
granblue_id: '',
name: {
en: 'Defense',
ja: '防御',
@ -42,6 +45,7 @@ export const characterAwakening: ItemSkill[] = [
},
{
id: 4,
granblue_id: '',
name: {
en: 'Multiattack',
ja: '連続攻撃',
@ -56,6 +60,7 @@ export const characterAwakening: ItemSkill[] = [
export const weaponAwakening: ItemSkill[] = [
{
id: 1,
granblue_id: '',
name: {
en: 'Attack',
ja: '攻撃',
@ -67,6 +72,7 @@ export const weaponAwakening: ItemSkill[] = [
},
{
id: 2,
granblue_id: '',
name: {
en: 'Defense',
ja: '防御',
@ -78,6 +84,7 @@ export const weaponAwakening: ItemSkill[] = [
},
{
id: 3,
granblue_id: '',
name: {
en: 'Special',
ja: '特殊',

View file

@ -5,6 +5,7 @@ const overMasteryPrimary: ItemSkill[] = [
ja: '攻撃',
},
id: 1,
granblue_id: '',
slug: 'atk',
minValue: 300,
maxValue: 3000,
@ -18,6 +19,7 @@ const overMasteryPrimary: ItemSkill[] = [
ja: 'HP',
},
id: 2,
granblue_id: '',
slug: 'hp',
minValue: 150,
maxValue: 1500,
@ -34,6 +36,7 @@ const overMasterySecondary: ItemSkill[] = [
ja: '弱体成功率',
},
id: 3,
granblue_id: '',
slug: 'debuff-success',
minValue: 6,
maxValue: 15,
@ -47,6 +50,7 @@ const overMasterySecondary: ItemSkill[] = [
ja: 'アビダメ上限',
},
id: 4,
granblue_id: '',
slug: 'skill-cap',
minValue: 6,
maxValue: 15,
@ -60,6 +64,7 @@ const overMasterySecondary: ItemSkill[] = [
ja: '奥義ダメージ',
},
id: 5,
granblue_id: '',
slug: 'ca-dmg',
minValue: 10,
maxValue: 30,
@ -73,6 +78,7 @@ const overMasterySecondary: ItemSkill[] = [
ja: '奥義ダメージ上限',
},
id: 6,
granblue_id: '',
slug: 'ca-cap',
minValue: 6,
maxValue: 15,
@ -86,6 +92,7 @@ const overMasterySecondary: ItemSkill[] = [
ja: '渾身',
},
id: 7,
granblue_id: '',
slug: 'stamina',
minValue: 1,
maxValue: 10,
@ -99,6 +106,7 @@ const overMasterySecondary: ItemSkill[] = [
ja: '背水',
},
id: 8,
granblue_id: '',
slug: 'enmity',
minValue: 1,
maxValue: 10,
@ -112,6 +120,7 @@ const overMasterySecondary: ItemSkill[] = [
ja: 'クリティカル確率',
},
id: 9,
granblue_id: '',
slug: 'crit',
minValue: 10,
maxValue: 30,
@ -128,6 +137,7 @@ const overMasteryTertiary: ItemSkill[] = [
ja: 'ダブルアタック確率',
},
id: 10,
granblue_id: '',
slug: 'da',
minValue: 6,
maxValue: 15,
@ -141,6 +151,7 @@ const overMasteryTertiary: ItemSkill[] = [
ja: 'トリプルアタック確率',
},
id: 11,
granblue_id: '',
slug: 'ta',
minValue: 1,
maxValue: 10,
@ -154,6 +165,7 @@ const overMasteryTertiary: ItemSkill[] = [
ja: '防御',
},
id: 12,
granblue_id: '',
slug: 'def',
minValue: 6,
maxValue: 20,
@ -167,6 +179,7 @@ const overMasteryTertiary: ItemSkill[] = [
ja: '回復性能',
},
id: 13,
granblue_id: '',
slug: 'heal',
minValue: 3,
maxValue: 30,
@ -180,6 +193,7 @@ const overMasteryTertiary: ItemSkill[] = [
ja: '弱体耐性',
},
id: 14,
granblue_id: '',
slug: 'debuff-resist',
minValue: 6,
maxValue: 15,
@ -193,6 +207,7 @@ const overMasteryTertiary: ItemSkill[] = [
ja: '回避',
},
id: 15,
granblue_id: '',
slug: 'dodge',
minValue: 1,
maxValue: 10,
@ -215,6 +230,7 @@ export const aetherialMastery: ItemSkill[] = [
ja: 'ダブルアタック確率',
},
id: 1,
granblue_id: '',
slug: 'da',
minValue: 10,
maxValue: 17,
@ -227,6 +243,7 @@ export const aetherialMastery: ItemSkill[] = [
ja: 'トリプルアタック確率',
},
id: 2,
granblue_id: '',
slug: 'ta',
minValue: 5,
maxValue: 12,
@ -239,6 +256,7 @@ export const aetherialMastery: ItemSkill[] = [
ja: '{属性}攻撃',
},
id: 3,
granblue_id: '',
slug: 'element-atk',
minValue: 15,
maxValue: 22,
@ -251,6 +269,7 @@ export const aetherialMastery: ItemSkill[] = [
ja: '{属性}軽減',
},
id: 4,
granblue_id: '',
slug: 'element-resist',
minValue: 5,
maxValue: 12,
@ -263,6 +282,7 @@ export const aetherialMastery: ItemSkill[] = [
ja: '渾身',
},
id: 5,
granblue_id: '',
slug: 'stamina',
minValue: 5,
maxValue: 12,
@ -275,6 +295,7 @@ export const aetherialMastery: ItemSkill[] = [
ja: '背水',
},
id: 6,
granblue_id: '',
slug: 'enmity',
minValue: 5,
maxValue: 12,
@ -287,6 +308,7 @@ export const aetherialMastery: ItemSkill[] = [
ja: '与ダメ上昇',
},
id: 7,
granblue_id: '',
slug: 'supplemental',
minValue: 5,
maxValue: 12,
@ -299,6 +321,7 @@ export const aetherialMastery: ItemSkill[] = [
ja: 'クリティカル',
},
id: 8,
granblue_id: '',
slug: 'crit',
minValue: 18,
maxValue: 35,
@ -311,6 +334,7 @@ export const aetherialMastery: ItemSkill[] = [
ja: 'カウンター(回避)',
},
id: 9,
granblue_id: '',
slug: 'counter-dodge',
minValue: 5,
maxValue: 12,
@ -323,6 +347,7 @@ export const aetherialMastery: ItemSkill[] = [
ja: 'カウンター(被ダメ)',
},
id: 10,
granblue_id: '',
slug: 'counter-dmg',
minValue: 10,
maxValue: 17,
@ -338,6 +363,7 @@ export const permanentMastery: ItemSkill[] = [
ja: 'LB強化回数上限',
},
id: 1,
granblue_id: '',
slug: 'star-cap',
minValue: 10,
maxValue: 10,
@ -350,6 +376,7 @@ export const permanentMastery: ItemSkill[] = [
ja: '攻撃',
},
id: 2,
granblue_id: '',
slug: 'atk',
minValue: 10,
maxValue: 10,
@ -362,6 +389,7 @@ export const permanentMastery: ItemSkill[] = [
ja: 'HP',
},
id: 3,
granblue_id: '',
slug: 'hp',
minValue: 10,
maxValue: 10,
@ -374,6 +402,7 @@ export const permanentMastery: ItemSkill[] = [
ja: 'ダメージ上限',
},
id: 4,
granblue_id: '',
slug: 'dmg-cap',
minValue: 5,
maxValue: 5,

View file

@ -40,6 +40,7 @@ export default function elementalizeAetherialMastery(
elementalized.unshift({
id: 0,
granblue_id: '',
name: {
en: 'No aetherial mastery',
ja: 'エーテリアルプラス',