Update banners

pull/1/head
Made Baruna 2022-12-27 15:54:45 +08:00
parent ec4e088d7c
commit 8c47b53c22
10 changed files with 67 additions and 34 deletions

View File

@ -642,6 +642,28 @@ export const banners = {
// timezoneDependent: true,
// version: '3.3',
// },
{
name: 'Reign of Serenity',
image: 3,
shortName: 'Raiden',
start: '2022-12-27 18:00:00',
end: '2023-01-17 14:59:59',
color: '#D0AEF2',
featured: ['raiden_shogun', 'kamisato_ayato'],
featuredRare: ['sayu', 'rosaria', 'kujou_sara'],
version: '3.3',
},
// {
// name: 'Azure Excursion',
// image: 2,
// shortName: 'Ayato',
// start: '2022-12-27 18:00:00',
// end: '2023-01-17 14:59:59',
// color: '#90bce9',
// featured: ['raiden_shogun', 'kamisato_ayato'],
// featuredRare: ['sayu', 'rosaria', 'kujou_sara'],
// version: '3.3',
// },
],
weapons: [
{
@ -1119,5 +1141,16 @@ export const banners = {
timezoneDependent: true,
version: '3.3',
},
{
name: 'Epitome Invocation',
image: 40,
shortName: 'Egulfing',
start: '2022-12-27 18:00:00',
end: '2023-01-17 14:59:59',
color: '#D0AEF2',
featured: ['engulfing_lightning', 'haran_geppaku_futsu'],
featuredRare: ['akuoumaru', 'mouuns_moon', 'lions_roar', 'favonius_lance', 'sacrificial_fragments'],
version: '3.3',
},
],
};

View File

@ -353,4 +353,28 @@ export const bannersDual = {
version: '3.3',
},
],
'Reign of Serenity 3': [
{
name: 'Reign of Serenity',
image: 3,
shortName: 'Raiden',
start: '2022-12-27 18:00:00',
end: '2023-01-17 14:59:59',
color: '#D0AEF2',
featured: ['raiden_shogun', 'kamisato_ayato'],
featuredRare: ['sayu', 'rosaria', 'kujou_sara'],
version: '3.3',
},
{
name: 'Azure Excursion',
image: 2,
shortName: 'Ayato',
start: '2022-12-27 18:00:00',
end: '2023-01-17 14:59:59',
color: '#90bce9',
featured: ['raiden_shogun', 'kamisato_ayato'],
featuredRare: ['sayu', 'rosaria', 'kujou_sara'],
version: '3.3',
},
],
};

View File

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher();
const featured = {
wanderer: {
name: 'Wanderer',
kamisato_ayato: {
name: 'Kamisato Ayato',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
faruzan: {
name: 'Faruzan',
rarity: 'rare',
raiden_shogun: {
name: 'Raiden Shogun',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300040;
const image = 'wanderer_faruzan.png';
const bannerId = 300041;
const image = 'ayato_raiden.png';
const width = 800;
const height = 431;
const height = 481;
let loading = true;
let user = '';

View File

@ -11,30 +11,6 @@
import { mdiSwapVertical } from '@mdi/js';
import Ad from '../../components/Ad.svelte';
// temporary until update banners
banners.characters.push({
name: 'Reign of Serenity',
image: 3,
shortName: 'Raiden',
start: '2022-12-27 18:00:00',
end: '2023-01-17 14:59:59',
color: '#D0AEF2',
featured: ['raiden_shogun', 'kamisato_ayato'],
featuredRare: ['sayu', 'rosaria', 'kujou_sara'],
version: '3.4',
});
banners.weapons.push({
name: 'Epitome Invocation',
image: 40,
shortName: 'Egulfing',
start: '2022-12-27 18:00:00',
end: '2023-01-17 14:59:59',
color: '#D0AEF2',
featured: ['engulfing_lightning', 'haran_geppaku_futsu'],
featuredRare: ['akuoumaru', 'mouuns_moon', 'lions_roar', 'favonius_lance', 'sacrificial_fragments'],
version: '3.4',
});
let container;
let length = 0;

View File

@ -1,6 +1,6 @@
<script context="module">
export async function load({ fetch }) {
const promoted = ['yanfei', 'gorou'];
const promoted = ['raiden_shogun', 'kamisato_ayato'];
const builds = {};
for (const p of promoted) {
const response = await fetch(`/characters/build/${p}.json`);

View File

@ -7,7 +7,7 @@ const IMAGE_CACHE = `cacheimg${IMAGE_CACHE_VER}`;
const IMAGE_URL = `${self.location.origin}/images/`;
const changelog = ['Update Timeline', 'Bug fixes', 'Add TCG Deck builder, check it out on TCG menu!'];
const changelog = ['Update banners', 'Bug fixes', 'Add TCG Deck builder, check it out on TCG menu!'];
const channel = new BroadcastChannel('paimonmoe-sw');

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB