Update banners and timeline

pull/15/head
Made Baruna 2023-07-05 12:07:20 +08:00
parent ca8d204bc3
commit 108519a164
16 changed files with 191 additions and 172 deletions

View File

@ -848,6 +848,30 @@ export const banners = {
// featuredRare: ['yaoyao', 'shikanoin_heizou', 'xiangling'],
// version: '3.7',
// },
{
name: 'Born of Ocean Swell',
image: 3,
shortName: 'Eula',
start: '2023-07-05 06:00:00',
end: '2023-07-25 17:59:59',
color: '#A6D6E0',
featured: ['eula', 'klee'],
featuredRare: ['mika', 'razor', 'thoma'],
version: '3.8',
timezoneDependent: true,
},
// {
// name: 'Sparkling Steps',
// image: 4,
// shortName: 'Klee',
// start: '2023-07-05 06:00:00',
// end: '2023-07-25 17:59:59',
// color: '#A6D6E0',
// featured: ['eula', 'klee'],
// featuredRare: ['mika', 'razor', 'thoma'],
// version: '3.8',
// timezoneDependent: true,
// },
],
weapons: [
{
@ -1434,5 +1458,16 @@ export const banners = {
featuredRare: ['wavebreakers_fin', 'mouuns_moon', 'favonius_sword', 'sacrificial_greatsword', 'favonius_codex'],
version: '3.7',
},
{
name: 'Epitome Invocation',
image: 49,
shortName: 'Freedom',
start: '2023-07-05 06:00:00',
end: '2023-07-25 17:59:59',
color: '#ffb169',
featured: ['song_of_broken_pines', 'lost_prayer_to_the_sacred_winds'],
featuredRare: ['the_alley_flash', 'alley_hunter', 'rainslasher', 'favonius_lance', 'eye_of_perception'],
version: '3.8',
},
],
};

View File

@ -577,4 +577,30 @@ export const bannersDual = {
version: '3.7',
},
],
'Born of Ocean Swell 3': [
{
name: 'Born of Ocean Swell',
image: 3,
shortName: 'Eula',
start: '2023-07-05 06:00:00',
end: '2023-07-25 17:59:59',
color: '#A6D6E0',
featured: ['eula', 'klee'],
featuredRare: ['mika', 'razor', 'thoma'],
timezoneDependent: true,
version: '3.8',
},
{
name: 'Sparkling Steps',
image: 4,
shortName: 'Klee',
start: '2023-07-05 06:00:00',
end: '2023-07-25 17:59:59',
color: '#A6D6E0',
featured: ['eula', 'klee'],
featuredRare: ['mika', 'razor', 'thoma'],
timezoneDependent: true,
version: '3.8',
},
],
};

View File

@ -1307,4 +1307,27 @@ export const events = [
url: 'https://www.hoyolab.com/article/19277582',
showOnHome: true,
},
{
name: 'Secret Summer Paradise',
pos: '20% 10%',
zoom: '150%',
image: 'Secret Summer Paradise.jpg',
start: '2023-07-05 06:00:00',
end: '2023-08-16 03:59:59',
color: '#9ceddf',
url: 'https://www.hoyolab.com/article/19771436',
showOnHome: true,
timezoneDependent: true,
},
{
name: "Adventurer's Trials: Advanced",
pos: '0% 50%',
zoom: '150%',
image: 'Adventurers Trials Advanced Temp.png',
start: '2023-07-20 10:00:00',
end: '2023-07-31 03:59:59',
color: '#fffa86',
url: 'https://www.hoyolab.com/article/19777607',
showOnHome: true,
},
];

View File

@ -1,27 +1,5 @@
export const eventsData = [
[
{
name: 'Fulminating Sandstorm',
pos: '0% 20%',
zoom: '100%',
image: 'fulminating_sandstorm.png',
start: '2023-04-21 10:00:00',
end: '2023-05-01 03:59:59',
color: '#f1eada',
url: 'https://www.hoyolab.com/article/17591460',
showOnHome: true,
},
{
name: "The Recollector's Path",
pos: '50% 40%',
zoom: '200%',
image: 'the_recollectors_path_temp.png',
start: '2023-05-08 10:00:00',
end: '2023-05-22 03:59:59',
color: '#efa7a9',
url: 'https://www.hoyolab.com/article/18031376',
showOnHome: true,
},
{
name: "Divine Ingenuity: Collector's Chapter",
pos: '0% 20%',
@ -33,41 +11,19 @@ export const eventsData = [
url: 'https://www.hoyolab.com/article/18699187',
showOnHome: true,
},
{
name: "Adventurer's Trials: Advanced",
pos: '0% 50%',
zoom: '150%',
image: 'Adventurers Trials Advanced Temp.png',
start: '2023-07-20 10:00:00',
end: '2023-07-31 03:59:59',
color: '#fffa86',
url: 'https://www.hoyolab.com/article/19777607',
showOnHome: true,
},
],
[
{
name: 'Brewing Developments',
pos: '0% 20%',
zoom: '250%',
image: 'brewing_developments.jpg',
start: '2023-04-13 10:00:00',
end: '2023-04-24 03:59:59',
color: '#b0f7f1',
url: 'https://www.hoyolab.com/article/17591332',
showOnHome: true,
},
{
name: 'A Parade of Providence',
pos: '40% 20%',
zoom: '100%',
image: 'a_parade_of_providence_full.jpg',
start: '2023-04-27 10:00:00',
end: '2023-05-15 03:59:59',
color: '#e98a4a',
url: 'https://www.hoyolab.com/article/17950597',
showOnHome: true,
},
{
name: 'Overflowing Mastery',
pos: '0% 50%',
image: 'overflowing_mastery.jpg',
start: '2023-05-15 04:00:00',
end: '2023-05-22 03:59:59',
color: '#f5debc',
zoom: '200%',
url: 'https://www.hoyolab.com/article/18031376',
showOnHome: true,
},
{
name: "Duel! The Summoners' Summit!",
pos: '35% 20%',
@ -90,31 +46,20 @@ export const eventsData = [
url: 'https://www.hoyolab.com/article/19277582',
showOnHome: true,
},
],
[
{
name: "The Moongrass' Enlightenment - Nahida Banner",
pos: '10% 15%',
name: 'Secret Summer Paradise',
pos: '20% 10%',
zoom: '150%',
image: 'the_moongrass_enlightenment_2.jpg',
start: '2023-04-12 06:00:00',
end: '2023-05-02 17:59:59',
color: '#b8db94',
url: 'https://www.hoyolab.com/article/17591331',
image: 'Secret Summer Paradise.jpg',
start: '2023-07-05 06:00:00',
end: '2023-08-16 03:59:59',
color: '#9ceddf',
url: 'https://www.hoyolab.com/article/19771436',
showOnHome: true,
timezoneDependent: true,
},
{
name: 'Immaculate Pulse - Baizhu Banner',
pos: '20% 15%',
zoom: '200%',
image: 'immaculate_pulse_1.jpg',
start: '2023-05-02 18:00:00',
end: '2023-05-23 14:59:59',
color: '#8fdaa0',
url: 'https://www.hoyolab.com/article/18031187',
showOnHome: true,
},
],
[
{
name: 'Tapestry of Golden Flames - Yoimiya Banner',
pos: '10% 15%',
@ -138,31 +83,20 @@ export const eventsData = [
url: 'https://www.hoyolab.com/article/19181094',
showOnHome: true,
},
],
[
{
name: 'Twirling Lotus - Nilou Banner',
name: 'Born of Ocean Swell - Eula Banner',
pos: '10% 15%',
zoom: '150%',
image: 'twirling_lotus_2.jpg',
start: '2023-04-12 06:00:00',
end: '2023-05-02 17:59:59',
color: '#b2e0f0',
url: 'https://www.hoyolab.com/article/17591331',
image: 'Born of Ocean Swell 3.jpg',
start: '2023-07-05 06:00:00',
end: '2023-07-25 17:59:59',
color: '#A6D6E0',
url: 'https://www.hoyolab.com/article/19771439',
showOnHome: true,
timezoneDependent: true,
},
{
name: 'Adrift in the Harbor - Ganyu Banner',
pos: '10% 15%',
zoom: '150%',
image: 'adrift_in_the_harbor_4.jpg',
start: '2023-05-02 18:00:00',
end: '2023-05-23 14:59:59',
color: '#6994DF',
url: 'https://www.hoyolab.com/article/18031187',
showOnHome: true,
},
],
[
{
name: 'Everbloom Violet - Yae Miko Banner',
pos: '10% 15%',
@ -186,31 +120,20 @@ export const eventsData = [
url: 'https://www.hoyolab.com/article/19181094',
showOnHome: true,
},
],
[
{
name: 'Epitome Invocation - Weapon Banner',
pos: '30% 35%',
name: 'Sparkling Steps - Klee Banner',
pos: '10% 15%',
zoom: '150%',
image: 'epitome_invocation_45.jpg',
start: '2023-04-12 06:00:00',
end: '2023-05-02 17:59:59',
color: '#FFAA4B',
url: 'https://www.hoyolab.com/article/17591331',
image: 'Sparkling Steps 4.jpg',
start: '2023-07-05 06:00:00',
end: '2023-07-25 17:59:59',
color: '#f26c36',
url: 'https://www.hoyolab.com/article/19771439',
showOnHome: true,
timezoneDependent: true,
},
{
name: 'Epitome Invocation - Weapon Banner',
pos: '30% 35%',
zoom: '150%',
image: 'epitome_invocation_46.jpg',
start: '2023-05-02 18:00:00',
end: '2023-05-23 14:59:59',
color: '#FFAA4B',
url: 'https://www.hoyolab.com/article/18031187',
showOnHome: true,
},
],
[
{
name: 'Epitome Invocation - Weapon Banner',
pos: '30% 35%',
@ -234,38 +157,20 @@ export const eventsData = [
url: 'https://www.hoyolab.com/article/19181094',
showOnHome: true,
},
{
name: 'Epitome Invocation - Weapon Banner',
pos: '30% 35%',
zoom: '150%',
image: 'Epitome Invocation 49.jpg',
start: '2023-07-05 06:00:00',
end: '2023-07-25 17:59:59',
color: '#FFAA4B',
url: 'https://www.hoyolab.com/article/19771439',
showOnHome: true,
timezoneDependent: true,
},
],
[
{
name: 'Spiral Abyss',
image: 'spiral_abyss.jpg',
pos: '50% 20%',
start: '2023-04-01 04:00:00',
end: '2023-04-16 04:00:00',
color: '#4299E1',
description:
"When a character's HP decreases, release a shockwave at the current active character's position, dealing True DMG to nearby opponents. This effect can be triggered once every 3s.",
},
{
name: 'Spiral Abyss',
image: 'spiral_abyss.jpg',
pos: '50% 20%',
start: '2023-04-16 04:00:00',
end: '2023-05-01 04:00:00',
color: '#4299E1',
description:
"When the active character's HP decreases, a shockwave will be unleashed at the character's position, dealing True DMG to nearby opponents. This effect can be triggered once every 0.8s.",
},
{
name: 'Spiral Abyss',
image: 'spiral_abyss.jpg',
pos: '50% 20%',
start: '2023-05-01 04:00:00',
end: '2023-05-16 04:00:00',
color: '#4299E1',
description:
"After a character triggers a Bloom reaction, all characters' Bloom, Hyperbloom, and Burgeon DMG dealt is increased by 35% for 6s. This effect can be triggered once every 0.1s. Max 4 stacks. Each stack's duration is counted independently.",
},
{
name: 'Spiral Abyss',
image: 'spiral_abyss.jpg',
@ -306,18 +211,38 @@ export const eventsData = [
description:
"After the character's Normal Attack hits an opponent, the Physical or Elemental RES of this opponent will decrease by 6% for 2s, matching the Attribute of that attack. This can stack up to 6 times. RES decreases of different types can co-exist, and their stacks and timers will be independent of each other.",
},
{
name: 'Spiral Abyss',
image: 'spiral_abyss.jpg',
pos: '50% 20%',
start: '2023-07-16 04:00:00',
end: '2023-08-01 04:00:00',
color: '#4299E1',
description:
"Within 10s after the character enters the field, the character's Normal, Charged, and Plunging Attacks will deal 30% increased DMG. Their ATK SPD will also be increased by 10%. This effect will be canceled when the character leaves the field.",
},
{
name: 'Spiral Abyss',
image: 'spiral_abyss.jpg',
pos: '50% 20%',
start: '2023-08-01 04:00:00',
end: '2023-08-16 04:00:00',
color: '#4299E1',
description:
'When a character loses or restores HP, all party members will gain 7.5% increased ATK for 10s. This effect can be triggered once every 0.1s. Max 4 stacks. Each stack will be counted independently.',
},
{
name: 'Spiral Abyss',
image: 'spiral_abyss.jpg',
pos: '50% 20%',
start: '2023-08-16 04:00:00',
end: '2023-09-01 04:00:00',
color: '#4299E1',
description:
"When the active character deals consecutive instances of Elemental DMG of the same Elemental Type or Physical DMG using Normal, Charged, or Plunging Attacks to an opponent, they will gain 1 count stack. 1 stack can be gained every 0.3s. The stacks for every Elemental and Physical DMG will be counted independently. After 6 stacks have been gained, a shockwave will be unleashed at the opponent's position, dealing True DMG and clearing all previously accumulated stacks for this DMG type. Should the active character leave the field, these stacks will be cleared.",
},
],
[
{
name: "Paimon's Bargain - Razor, Amber, and Royal",
pos: '0% 50%',
zoom: '150%',
start: '2023-04-01 04:00:00',
end: '2023-05-01 04:00:00',
color: '#B6A1EA',
image: 'paimon_bargain.png',
description: 'Now selling: Razor, Amber, and Royal Weapons.',
},
{
name: "Paimon's Bargain - Bennett, Lisa, and Blackcliff",
pos: '0% 50%',
@ -338,18 +263,18 @@ export const eventsData = [
image: 'paimon_bargain.png',
description: 'Now selling: Barbara, Kaeya, and Royal Weapons.',
},
{
name: "Paimon's Bargain - Fischl, Xiangling, and Blackcliff",
pos: '0% 50%',
zoom: '150%',
start: '2023-07-01 04:00:00',
end: '2023-08-01 04:00:00',
color: '#B6A1EA',
image: 'paimon_bargain.png',
description: 'Now selling: Fischl, Xiangling, and Blackcliff Weapons.',
},
],
[
{
name: 'Battle Pass - Crown of Glory',
pos: '0% 12%',
image: 'crown_of_glory.jpg',
start: '2023-04-12 06:00:00',
end: '2023-05-22 03:59:59',
color: '#c8d18f',
url: 'https://www.hoyolab.com/article/17591460',
timezoneDependent: true,
},
{
name: "Battle Pass - Invoker's Secrets",
pos: '0% 12%',
@ -360,5 +285,15 @@ export const eventsData = [
url: 'https://www.hoyolab.com/article/18699187',
timezoneDependent: true,
},
{
name: 'Battle Pass - Vivid Illumination',
pos: '0% 15%',
image: 'Vivid Illumination.jpg',
start: '2023-07-05 06:00:00',
end: '2023-08-14 03:59:59',
color: '#e0fbf8',
url: 'https://www.hoyolab.com/article/19771440',
timezoneDependent: true,
},
],
];

View File

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher();
const featured = {
kaedehara_kazuha: {
name: 'Kaedehara Kazuha',
klee: {
name: 'Klee',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
alhaitham: {
name: 'Alhaitham',
eula: {
name: 'Eula',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300049;
const image = 'kazuha_alhaitham.png';
const bannerId = 300050;
const image = 'eula_klee.png';
const width = 800;
const height = 453;
const height = 515;
let loading = true;
let user = '';

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 KiB