Update 2.4 second half banner

This commit is contained in:
Made Baruna 2022-01-25 11:35:49 +07:00
parent 90551e9a89
commit f99cc4fdcd
No known key found for this signature in database
GPG key ID: 5AA5DA16AA5DCEAD
8 changed files with 60 additions and 8 deletions

View file

@ -285,6 +285,26 @@ export const banners = {
// featuredRare: ['yun_jin', 'ningguang', 'chongyun'],
// timezoneDependent: true,
// },
{
name: 'Gentry of Hermitage',
image: 3,
shortName: 'Zhongli',
start: '2022-01-25 18:00:00',
end: '2022-02-15 14:59:59',
color: '#FFF5BF',
featured: ['zhongli'],
featuredRare: ['xingqiu', 'beidou', 'yanfei'],
},
// {
// name: 'Adrift in the Harbor',
// image: 2,
// shortName: 'Ganyu',
// start: '2022-01-25 18:00:00',
// end: '2022-02-15 14:59:59',
// color: '#FFF5BF',
// featured: ['ganyu'],
// featuredRare: ['xingqiu', 'beidou', 'yanfei'],
// },
],
weapons: [
{
@ -522,5 +542,15 @@ export const banners = {
featuredRare: ['lithic_spear', 'the_flute', 'favonius_greatsword', 'the_widsith', 'favonius_warbow'],
timezoneDependent: true,
},
{
name: 'Epitome Invocation',
image: 24,
start: '2022-01-25 18:00:00',
end: '2022-02-15 14:59:59',
shortName: 'Amos',
color: '#b042f5',
featured: ['amos_bow', 'vortex_vanquisher'],
featuredRare: ['lithic_blade', 'favonius_sword', 'dragons_bane', 'favonius_codex', 'sacrificial_bow'],
},
],
};

View file

@ -47,4 +47,26 @@ export const bannersDual = {
timezoneDependent: true,
},
],
'Gentry of Hermitage 3': [
{
name: 'Gentry of Hermitage',
image: 3,
shortName: 'Zhongli',
start: '2022-01-25 18:00:00',
end: '2022-02-15 14:59:59',
color: '#FFF5BF',
featured: ['zhongli'],
featuredRare: ['xingqiu', 'beidou', 'yanfei'],
},
{
name: 'Adrift in the Harbor',
image: 2,
shortName: 'Ganyu',
start: '2022-01-25 18:00:00',
end: '2022-02-15 14:59:59',
color: '#FFF5BF',
featured: ['ganyu'],
featuredRare: ['xingqiu', 'beidou', 'yanfei'],
},
],
};

View file

@ -13,23 +13,23 @@
const dispatch = createEventDispatcher();
const featured = {
xiao: {
name: 'Xiao',
zhongli: {
name: 'Zhongli',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
shenhe: {
name: 'Shenhe',
ganyu: {
name: 'Ganyu',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300024;
const image = 'shenhexiao.png';
const bannerId = 300025;
const image = 'zhongliganyu.png';
let loading = true;
let user = '';

View file

@ -9,7 +9,7 @@
const dispatch = createEventDispatcher();
const promoted = ['xiao', 'shenhe'];
const promoted = ['ganyu', 'zhongli'];
let current = 0;
async function change(index) {
@ -19,7 +19,7 @@
}
$: id = promoted[current];
$: buildData = Object.entries(builds[id].roles).sort((a, b) => a[1].recommended - b[1].recommended)[0];
$: buildData = Object.entries(builds[id].roles).sort((a, b) => b[1].recommended - a[1].recommended)[0];
$: buildName = buildData[0];
$: build = buildData[1];
</script>

Binary file not shown.

After

(image error) Size: 870 KiB

Binary file not shown.

After

(image error) Size: 625 KiB

Binary file not shown.

After

(image error) Size: 891 KiB

Binary file not shown.

After

(image error) Size: 262 KiB