Added new items from anniversary update (#409)
* Transcended Primals * Awakened Grands * Uncapped weapons
This commit is contained in:
parent
eaef607dc3
commit
5824b3ccea
4 changed files with 73 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ interface Props {
|
||||||
newItems?: UpdateObject
|
newItems?: UpdateObject
|
||||||
uncappedItems?: UpdateObject
|
uncappedItems?: UpdateObject
|
||||||
transcendedItems?: UpdateObject
|
transcendedItems?: UpdateObject
|
||||||
|
awakenedItems?: string[]
|
||||||
raidItems?: string[]
|
raidItems?: string[]
|
||||||
numNotes: number
|
numNotes: number
|
||||||
}
|
}
|
||||||
|
|
@ -28,6 +29,7 @@ const ContentUpdate = ({
|
||||||
newItems,
|
newItems,
|
||||||
uncappedItems,
|
uncappedItems,
|
||||||
transcendedItems,
|
transcendedItems,
|
||||||
|
awakenedItems,
|
||||||
raidItems,
|
raidItems,
|
||||||
numNotes,
|
numNotes,
|
||||||
}: Props) => {
|
}: Props) => {
|
||||||
|
|
@ -155,6 +157,31 @@ const ContentUpdate = ({
|
||||||
return section
|
return section
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function awakenedItemElements() {
|
||||||
|
let elements: React.ReactNode[] = []
|
||||||
|
if (awakenedItems) {
|
||||||
|
elements = awakenedItems.map((id) => {
|
||||||
|
return <ChangelogUnit id={id} type="weapon" key={id} />
|
||||||
|
})
|
||||||
|
}
|
||||||
|
return elements
|
||||||
|
}
|
||||||
|
|
||||||
|
function awakenedItemSection() {
|
||||||
|
let section: React.ReactNode = ''
|
||||||
|
|
||||||
|
if (awakenedItems && awakenedItems.length > 0) {
|
||||||
|
section = (
|
||||||
|
<section className={styles['weapons']}>
|
||||||
|
<h4>{updates(`labels.awakened.weapons`)}</h4>
|
||||||
|
<div className={styles.items}>{awakenedItemElements()}</div>
|
||||||
|
</section>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
return section
|
||||||
|
}
|
||||||
|
|
||||||
function raidItemElements() {
|
function raidItemElements() {
|
||||||
let elements: React.ReactNode[] = []
|
let elements: React.ReactNode[] = []
|
||||||
|
|
||||||
|
|
@ -192,6 +219,7 @@ const ContentUpdate = ({
|
||||||
{newItemSection('summon')}
|
{newItemSection('summon')}
|
||||||
{uncapItemSection('summon')}
|
{uncapItemSection('summon')}
|
||||||
{transcendItemSection('summon')}
|
{transcendItemSection('summon')}
|
||||||
|
{awakenedItemSection()}
|
||||||
{newRaidSection()}
|
{newRaidSection()}
|
||||||
</div>
|
</div>
|
||||||
{numNotes > 0 ? (
|
{numNotes > 0 ? (
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,45 @@ const UpdatesPage = () => {
|
||||||
return (
|
return (
|
||||||
<div className={classes}>
|
<div className={classes}>
|
||||||
<h1>{common('about.segmented_control.updates')}</h1>
|
<h1>{common('about.segmented_control.updates')}</h1>
|
||||||
|
<ContentUpdate
|
||||||
|
version="2024-03U"
|
||||||
|
dateString="2024/03/10"
|
||||||
|
event="events.content"
|
||||||
|
transcendedItems={{
|
||||||
|
summon: [
|
||||||
|
'2040090000',
|
||||||
|
'2040098000',
|
||||||
|
'2040100000',
|
||||||
|
'2040084000',
|
||||||
|
'2040080000',
|
||||||
|
'2040094000',
|
||||||
|
],
|
||||||
|
}}
|
||||||
|
uncappedItems={{
|
||||||
|
weapon: [
|
||||||
|
'1040516200',
|
||||||
|
'1040915300',
|
||||||
|
'1040116500',
|
||||||
|
'1040815800',
|
||||||
|
'1040710900',
|
||||||
|
'1040024700',
|
||||||
|
'1040712600',
|
||||||
|
'1040116100',
|
||||||
|
'1040712300',
|
||||||
|
'1040806000',
|
||||||
|
'1040515900',
|
||||||
|
'1040616800',
|
||||||
|
],
|
||||||
|
}}
|
||||||
|
awakenedItems={[
|
||||||
|
'1040906400',
|
||||||
|
'1040708700',
|
||||||
|
'1040212700',
|
||||||
|
'1040910000',
|
||||||
|
'1040014300',
|
||||||
|
'1040207000',
|
||||||
|
]}
|
||||||
|
/>
|
||||||
<ContentUpdate
|
<ContentUpdate
|
||||||
version="2024-02L"
|
version="2024-02L"
|
||||||
dateString="2024/02/29"
|
dateString="2024/02/29"
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,9 @@
|
||||||
"weapons": "New weapon transcendence",
|
"weapons": "New weapon transcendence",
|
||||||
"summons": "New summon transcendence"
|
"summons": "New summon transcendence"
|
||||||
},
|
},
|
||||||
|
"awakened": {
|
||||||
|
"weapons": "New weapon awakenings"
|
||||||
|
},
|
||||||
"jobs": "New classes",
|
"jobs": "New classes",
|
||||||
"raids": "New raids",
|
"raids": "New raids",
|
||||||
"features": "New features",
|
"features": "New features",
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,9 @@
|
||||||
"weapons": "武器の新限界超越",
|
"weapons": "武器の新限界超越",
|
||||||
"summons": "召喚石の新限界超越"
|
"summons": "召喚石の新限界超越"
|
||||||
},
|
},
|
||||||
|
"awakened": {
|
||||||
|
"weapons": "武器の新覚醒"
|
||||||
|
},
|
||||||
"jobs": "新ジョブ",
|
"jobs": "新ジョブ",
|
||||||
"raids": "新マルチバトル",
|
"raids": "新マルチバトル",
|
||||||
"features": "新機能",
|
"features": "新機能",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue