Skip to content

Commit

Permalink
fix orbs moved
Browse files Browse the repository at this point in the history
  • Loading branch information
罗大地 committed Apr 27, 2023
1 parent ba98cae commit 12b66f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Components/Routes/Unit/Unit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function classDataToUnit(
break;
}
if (
classData.Data_ExtraAwakeOrbs.length === 0 &&
classData.Data_ExtraAwakeOrbs?.length === 0 &&
classData.JobChange !== 0
) {
maxLevelUnit = 50;
Expand Down
5 changes: 1 addition & 4 deletions src/Components/Routes/Unit/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface Data {
}

export const query = gql`
query($id: Int!) {
query ($id: Int!) {
Card(CardID: $id) {
SpecialtyConfigs {
ID_Card
Expand Down Expand Up @@ -78,9 +78,6 @@ export const query = gql`
Explanation
Cost
NickNames
Data_ExtraAwakeOrbs {
Name
}
AttackWait
ClassAbilityConfigs {
_InvokeType
Expand Down

0 comments on commit 12b66f2

Please sign in to comment.