Skip to content

Commit

Permalink
fix: remove redundant weapon & change banner to Changli
Browse files Browse the repository at this point in the history
  • Loading branch information
Luzefiru committed Jul 20, 2024
1 parent 8a9a99b commit 6755f76
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 106 deletions.
Binary file removed assets/weapons/scale_slasher.webp
Binary file not shown.
8 changes: 4 additions & 4 deletions banners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ export const bannerMetadata: BannerMetadata[] = [
{
cardPoolType: 1,
title: 'Featured Resonator',
description: 'Thawborn Renewal',
featuredName: 'Jinhsi',
description: "Vermillion's Ploy",
featuredName: 'Changli',
pullCost: 160,
fiveStarPity: 80,
fourStarPity: 10,
luckdrawSrc: '/assets/luckdraw/jinhsi.webp',
categorySrc: '/assets/portraits/jinhsi.webp',
luckdrawSrc: '/assets/luckdraw/changli.webp',
categorySrc: '/assets/portraits/changli.webp',
href: '/convene/limited-character',
rules: limitedCharacterRateUpRules,
},
Expand Down
4 changes: 2 additions & 2 deletions i18n/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
"Rectifier of Night": "Rectifier of Night",
"Rectifier of Voyager": "Rectifier of Voyager",
"Rectifier#25": "Rectifier#25",
"Scale: Slasher": "Scale: Slasher",
"Static Mist": "Static Mist",
"Stonard": "Stonard",
"Stringmaster": "Stringmaster",
Expand Down Expand Up @@ -94,7 +93,8 @@
"Absolute Pulsation": "Absolute Pulsation",
"Prevail the Lasting Night": "Prevail the Lasting Night",
"When Thunder Pours": "When Thunder Pours",
"Thawborn Renewal": "Thawborn Renewal"
"Thawborn Renewal": "Thawborn Renewal",
"Vermillion's Ploy": "Vermillion's Ploy"
},

"Common": {
Expand Down
195 changes: 95 additions & 100 deletions weapons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,200 +5,195 @@ type WeaponMetadata = Record<

export const weaponTypes = {
Sword: {
url: "/assets/icons/weapon-types/sword.webp",
url: '/assets/icons/weapon-types/sword.webp',
},
Broadblade: {
url: "/assets/icons/weapon-types/broadblade.webp",
url: '/assets/icons/weapon-types/broadblade.webp',
},
Gauntlet: {
url: "/assets/icons/weapon-types/gauntlet.webp",
url: '/assets/icons/weapon-types/gauntlet.webp',
},
Gun: {
url: "/assets/icons/weapon-types/pistols.webp",
url: '/assets/icons/weapon-types/pistols.webp',
},
Rectifiers: {
url: "/assets/icons/weapon-types/rectifier.webp",
url: '/assets/icons/weapon-types/rectifier.webp',
},
} as Record<string, { url: string }>;

export const fiveStarWeaponMetadata = {
"Verdant Summit": {
'Verdant Summit': {
qualityLevel: 5,
imgSrc: "/assets/weapons/verdant_summit.webp",
type: "Broadblade",
imgSrc: '/assets/weapons/verdant_summit.webp',
type: 'Broadblade',
},
Stringmaster: {
qualityLevel: 5,
imgSrc: "/assets/weapons/stringmaster.webp",
type: "Rectifiers",
imgSrc: '/assets/weapons/stringmaster.webp',
type: 'Rectifiers',
},
"Ages of Harvest": {
'Ages of Harvest': {
qualityLevel: 5,
imgSrc: "/assets/weapons/ages_of_harvest.webp",
type: "Broadblade",
imgSrc: '/assets/weapons/ages_of_harvest.webp',
type: 'Broadblade',
},
"Blazing Brilliance": {
'Blazing Brilliance': {
qualityLevel: 5,
imgSrc: "/assets/weapons/blazing_brilliance.webp",
type: "Sword",
imgSrc: '/assets/weapons/blazing_brilliance.webp',
type: 'Sword',
},
"Abyss Surges": {
'Abyss Surges': {
qualityLevel: 5,
imgSrc: "/assets/weapons/abyss_surges.webp",
type: "Gauntlet",
imgSrc: '/assets/weapons/abyss_surges.webp',
type: 'Gauntlet',
},
"Cosmic Ripples": {
'Cosmic Ripples': {
qualityLevel: 5,
imgSrc: "/assets/weapons/cosmic_ripples.webp",
type: "Rectifiers",
imgSrc: '/assets/weapons/cosmic_ripples.webp',
type: 'Rectifiers',
},
"Emerald of Genesis": {
'Emerald of Genesis': {
qualityLevel: 5,
imgSrc: "/assets/weapons/emerald_of_genesis.webp",
type: "Sword",
imgSrc: '/assets/weapons/emerald_of_genesis.webp',
type: 'Sword',
},
"Lustrous Razor": {
'Lustrous Razor': {
qualityLevel: 5,
imgSrc: "/assets/weapons/lustrous_razor.webp",
type: "Broadblade",
imgSrc: '/assets/weapons/lustrous_razor.webp',
type: 'Broadblade',
},
"Static Mist": {
'Static Mist': {
qualityLevel: 5,
imgSrc: "/assets/weapons/static_mist.webp",
type: "Gun",
imgSrc: '/assets/weapons/static_mist.webp',
type: 'Gun',
},
} as WeaponMetadata;

export const fourStarWeaponMetadata = {
"Broadblade#41": {
'Broadblade#41': {
qualityLevel: 4,
imgSrc: "/assets/weapons/broadblade41.webp",
type: "Broadblade",
imgSrc: '/assets/weapons/broadblade41.webp',
type: 'Broadblade',
},
"Commando of Conviction": {
'Commando of Conviction': {
qualityLevel: 4,
imgSrc: "/assets/weapons/commando_of_conviction.webp",
type: "Sword",
imgSrc: '/assets/weapons/commando_of_conviction.webp',
type: 'Sword',
},
"Dauntless Evernight": {
'Dauntless Evernight': {
qualityLevel: 4,
imgSrc: "/assets/weapons/dauntless_evernight.webp",
type: "Broadblade",
imgSrc: '/assets/weapons/dauntless_evernight.webp',
type: 'Broadblade',
},
Autumntrace: {
qualityLevel: 4,
imgSrc: "/assets/weapons/autumntrace.webp",
type: "Broadblade",
imgSrc: '/assets/weapons/autumntrace.webp',
type: 'Broadblade',
},
Discord: {
qualityLevel: 4,
imgSrc: "/assets/weapons/discord.webp",
type: "Broadblade",
imgSrc: '/assets/weapons/discord.webp',
type: 'Broadblade',
},
"Helios Cleaver": {
'Helios Cleaver': {
qualityLevel: 4,
imgSrc: "/assets/weapons/helios_cleaver.webp",
type: "Broadblade",
imgSrc: '/assets/weapons/helios_cleaver.webp',
type: 'Broadblade',
},
"Gauntlets#21D": {
'Gauntlets#21D': {
qualityLevel: 4,
imgSrc: "/assets/weapons/gauntlets21d.webp",
type: "Gauntlet",
imgSrc: '/assets/weapons/gauntlets21d.webp',
type: 'Gauntlet',
},
"Amity Accord": {
'Amity Accord': {
qualityLevel: 4,
imgSrc: "/assets/weapons/amity_accord.webp",
type: "Gauntlet",
imgSrc: '/assets/weapons/amity_accord.webp',
type: 'Gauntlet',
},
"Hollow Mirage": {
'Hollow Mirage': {
qualityLevel: 4,
imgSrc: "/assets/weapons/hollow_mirage.webp",
type: "Gauntlet",
imgSrc: '/assets/weapons/hollow_mirage.webp',
type: 'Gauntlet',
},
Marcato: {
qualityLevel: 4,
imgSrc: "/assets/weapons/marcato.webp",
type: "Gauntlet",
imgSrc: '/assets/weapons/marcato.webp',
type: 'Gauntlet',
},
Stonard: {
qualityLevel: 4,
imgSrc: "/assets/weapons/stonard.webp",
type: "Gauntlet",
imgSrc: '/assets/weapons/stonard.webp',
type: 'Gauntlet',
},
"Pistols#26": {
'Pistols#26': {
qualityLevel: 4,
imgSrc: "/assets/weapons/pistols26.webp",
type: "Gun",
imgSrc: '/assets/weapons/pistols26.webp',
type: 'Gun',
},
Overture: {
qualityLevel: 4,
imgSrc: "/assets/weapons/overture.webp",
type: "Gun",
imgSrc: '/assets/weapons/overture.webp',
type: 'Gun',
},
Novaburst: {
qualityLevel: 4,
imgSrc: "/assets/weapons/novaburst.webp",
type: "Gun",
imgSrc: '/assets/weapons/novaburst.webp',
type: 'Gun',
},
Cadenza: {
qualityLevel: 4,
imgSrc: "/assets/weapons/cadenza.webp",
type: "Gun",
imgSrc: '/assets/weapons/cadenza.webp',
type: 'Gun',
},
Thunderbolt: {
qualityLevel: 4,
imgSrc: "/assets/weapons/thunderbolt.webp",
type: "Gun",
imgSrc: '/assets/weapons/thunderbolt.webp',
type: 'Gun',
},
"Undying Flame": {
'Undying Flame': {
qualityLevel: 4,
imgSrc: "/assets/weapons/undying_flame.webp",
type: "Gun",
imgSrc: '/assets/weapons/undying_flame.webp',
type: 'Gun',
},
Augment: {
qualityLevel: 4,
imgSrc: "/assets/weapons/augment.webp",
type: "Rectifiers",
imgSrc: '/assets/weapons/augment.webp',
type: 'Rectifiers',
},
"Comet Flare": {
'Comet Flare': {
qualityLevel: 4,
imgSrc: "/assets/weapons/comet_flare.webp",
type: "Rectifiers",
imgSrc: '/assets/weapons/comet_flare.webp',
type: 'Rectifiers',
},
"Jinzhou Keeper": {
'Jinzhou Keeper': {
qualityLevel: 4,
imgSrc: "/assets/weapons/jinzhou_keeper.webp",
type: "Rectifiers",
imgSrc: '/assets/weapons/jinzhou_keeper.webp',
type: 'Rectifiers',
},
Variation: {
qualityLevel: 4,
imgSrc: "/assets/weapons/variation.webp",
type: "Rectifiers",
imgSrc: '/assets/weapons/variation.webp',
type: 'Rectifiers',
},
"Rectifier#25": {
'Rectifier#25': {
qualityLevel: 4,
imgSrc: "/assets/weapons/rectifier25.webp",
type: "Rectifiers",
imgSrc: '/assets/weapons/rectifier25.webp',
type: 'Rectifiers',
},
"Sword#18": {
'Sword#18': {
qualityLevel: 4,
imgSrc: "/assets/weapons/sword18.webp",
type: "Sword",
imgSrc: '/assets/weapons/sword18.webp',
type: 'Sword',
},
Lumingloss: {
qualityLevel: 4,
imgSrc: "/assets/weapons/lumingloss.webp",
type: "Sword",
imgSrc: '/assets/weapons/lumingloss.webp',
type: 'Sword',
},
"Lunar Cutter": {
'Lunar Cutter': {
qualityLevel: 4,
imgSrc: "/assets/weapons/lunar_cutter.webp",
type: "Sword",
},
"Scale: Slasher": {
qualityLevel: 4,
imgSrc: "/assets/weapons/scale_slasher.webp",
type: "Sword",
imgSrc: '/assets/weapons/lunar_cutter.webp',
type: 'Sword',
},
} as WeaponMetadata;

Expand Down

0 comments on commit 6755f76

Please sign in to comment.