Update timeline

pull/19/head
Made Baruna 2023-09-06 01:44:53 +08:00
parent 451adc209c
commit 52a4618b55
31 changed files with 199 additions and 183 deletions

View File

@ -1,18 +1,25 @@
export const birthdays = {
thoma: [1, 9],
diona: [1, 18],
kirara: [1, 22],
rosaria: [1, 24],
lynette: [2, 2],
lyney: [2, 2],
alhaitham: [2, 11],
beidou: [2, 14],
sangonomiya_kokomi: [2, 22],
bennett: [2, 29],
qiqi: [3, 3],
yaoyao: [3, 6],
shenhe: [3, 10],
jean: [3, 14],
noelle: [3, 21],
kamisato_ayato: [3, 26],
aloy: [4, 4],
dehya: [4, 7],
xiao: [4, 17],
yelan: [4, 20],
baizhu: [4, 25],
diluc: [4, 30],
candace: [5, 3],
collei: [5, 8],
@ -28,6 +35,7 @@ export const birthdays = {
raiden_shogun: [6, 26],
yae_miko: [6, 27],
barbara: [7, 5],
kaveh: [7, 9],
kujou_sara: [7, 14],
hu_tao: [7, 15],
tartaglia: [7, 20],
@ -41,6 +49,7 @@ export const birthdays = {
chongyun: [9, 7],
razor: [9, 9],
albedo: [9, 13],
freminet: [9, 24],
kamisato_ayaka: [9, 28],
xingqiu: [10, 9],
xinyan: [10, 16],
@ -52,6 +61,7 @@ export const birthdays = {
sucrose: [11, 26],
kaeya: [11, 30],
ganyu: [12, 2],
dori: [12, 21],
tighnari: [12, 29],
zhongli: [12, 31],
};

View File

@ -1363,4 +1363,60 @@ export const events = [
url: 'https://www.hoyolab.com/article/20180483',
showOnHome: true,
},
{
name: 'Relic Records: Creations of the Hydro Nation',
pos: '0% 50%',
zoom: '300%',
image: 'Relic Records Creations of the Hydro Nation.jpg',
start: '2023-08-16 06:00:00',
end: '2023-08-28 03:59:59',
color: '#71d4e7',
url: 'https://www.hoyolab.com/article/20856332',
showOnHome: true,
timezoneDependent: true,
},
{
name: 'Mega Meka Melee',
pos: '80% 25%',
zoom: '250%',
image: 'Mega Meka Melee.jpg',
start: '2023-08-24 10:00:00',
end: '2023-09-11 03:59:59',
color: '#a1dffe',
url: 'https://www.hoyolab.com/article/21096726',
showOnHome: true,
},
{
name: 'Verdict of Blades',
pos: '0% 20%',
zoom: '200%',
image: 'Verdict of Blades.jpg',
start: '2023-09-04 10:00:00',
end: '2023-09-18 03:59:59',
color: '#2aabff',
url: 'https://www.hoyolab.com/article/21344686',
showOnHome: true,
},
{
name: 'Studies in Light and Shadow: A Fontaine of Enchantment',
pos: '0% 50%',
zoom: '200%',
image: 'Studies in Light and Shadow A Fontaine of Enchantment temp.jpg',
start: '2023-09-14 10:00:00',
end: '2023-09-25 03:59:59',
color: '#dfd2ab',
url: 'https://www.hoyolab.com/article/21297643',
showOnHome: true,
},
{
name: 'Ley Line Overflow',
pos: '0% 40%',
zoom: '200%',
image: 'leyline_overflow.jpg',
start: '2023-09-18 04:00:00',
end: '2023-09-25 03:59:59',
color: '#5baced',
url: 'https://www.hoyolab.com/article/21297643',
showOnHome: true,
},
];

View File

@ -1,65 +1,29 @@
export const eventsData = [
[
{
name: 'Perilous Expedition',
pos: '0% 20%',
zoom: '200%',
image: 'Perilous Expedition.jpg',
start: '2023-07-27 10:00:00',
end: '2023-08-07 03:59:59',
color: '#edfbad',
url: 'https://www.hoyolab.com/article/20360979',
name: 'Mega Meka Melee',
pos: '80% 25%',
zoom: '250%',
image: 'Mega Meka Melee.jpg',
start: '2023-08-24 10:00:00',
end: '2023-09-11 03:59:59',
color: '#a1dffe',
url: 'https://www.hoyolab.com/article/21096726',
showOnHome: true,
},
{
name: 'Overflowing Mastery',
name: 'Studies in Light and Shadow: A Fontaine of Enchantment',
pos: '0% 50%',
image: 'overflowing_mastery.jpg',
start: '2023-08-07 04:00:00',
end: '2023-08-14 03:59:59',
color: '#f5debc',
zoom: '200%',
url: 'https://www.hoyolab.com/article/20180483',
image: 'Studies in Light and Shadow A Fontaine of Enchantment temp.jpg',
start: '2023-09-14 10:00:00',
end: '2023-09-25 03:59:59',
color: '#dfd2ab',
url: 'https://www.hoyolab.com/article/21297643',
showOnHome: true,
},
],
[
{
name: "Adventurer's Trials: Advanced",
pos: '0% 50%',
zoom: '200%',
image: 'Adventurers Trials Advanced.jpg',
start: '2023-07-20 10:00:00',
end: '2023-07-31 03:59:59',
color: '#fffa86',
url: 'https://www.hoyolab.com/article/20113425',
showOnHome: true,
},
{
name: 'Shared Sight',
pos: '0% 50%',
zoom: '100%',
image: 'Shared Sight Temp.png',
start: '2023-08-03 10:00:00',
end: '2023-08-14 03:59:59',
color: '#d1f6a2',
url: 'https://www.hoyolab.com/article/20180483',
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: 'Relic Records: Creations of the Hydro Nation',
pos: '0% 50%',
@ -72,31 +36,30 @@ export const eventsData = [
showOnHome: true,
timezoneDependent: true,
},
{
name: 'Verdict of Blades',
pos: '0% 20%',
zoom: '200%',
image: 'Verdict of Blades.jpg',
start: '2023-09-04 10:00:00',
end: '2023-09-18 03:59:59',
color: '#2aabff',
url: 'https://www.hoyolab.com/article/21344686',
showOnHome: true,
},
{
name: 'Ley Line Overflow',
pos: '0% 40%',
zoom: '200%',
image: 'leyline_overflow.jpg',
start: '2023-09-18 04:00:00',
end: '2023-09-25 03:59:59',
color: '#5baced',
url: 'https://www.hoyolab.com/article/21297643',
showOnHome: true,
},
],
[
{
name: 'Born of Ocean Swell - Eula Banner',
pos: '10% 15%',
zoom: '150%',
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: 'Drifting Luminescence - Kokomi Banner',
pos: '10% 15%',
zoom: '150%',
image: 'Drifting Luminescence 4.jpg',
start: '2023-07-25 18:00:00',
end: '2023-08-15 17:59:59',
color: '#53caf3',
url: 'https://www.hoyolab.com/article/20180298',
showOnHome: true,
},
{
name: 'Conjuring Chiaroscuro - Lyney Banner',
pos: '30% 10%',
@ -109,31 +72,19 @@ export const eventsData = [
showOnHome: true,
timezoneDependent: true,
},
{
name: 'Gentry of Hermitage - Zhongli Banner',
pos: '30% 10%',
zoom: '200%',
image: 'Gentry of Hermitage 5.jpg',
start: '2023-09-05 18:00:00',
end: '2023-09-26 14:59:59',
color: '#D1A55C',
url: 'https://www.hoyolab.com/article/21297488',
showOnHome: true,
},
],
[
{
name: 'Sparkling Steps - Klee Banner',
pos: '10% 15%',
zoom: '150%',
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: 'From Ashes Reborn - Wanderer Banner',
pos: '10% 15%',
zoom: '150%',
image: 'From Ashes Reborn 2.jpg',
start: '2023-07-25 18:00:00',
end: '2023-08-15 17:59:59',
color: '#53caf3',
url: 'https://www.hoyolab.com/article/20180298',
showOnHome: true,
},
{
name: 'Discerner of Enigmas - Yelan Banner',
pos: '30% 15%',
@ -146,31 +97,19 @@ export const eventsData = [
showOnHome: true,
timezoneDependent: true,
},
{
name: 'Farewell of Snezhnaya - Tartaglia Banner',
pos: '30% 10%',
zoom: '200%',
image: 'Farewell of Snezhnaya 5.jpg',
start: '2023-09-05 18:00:00',
end: '2023-09-26 14:59:59',
color: '#4ED8F3',
url: 'https://www.hoyolab.com/article/21297488',
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: 'Epitome Invocation - Weapon Banner',
pos: '30% 35%',
zoom: '150%',
image: 'Epitome Invocation 50.jpg',
start: '2023-07-25 18:00:00',
end: '2023-08-15 17:59:59',
color: '#FFAA4B',
url: 'https://www.hoyolab.com/article/20180298',
showOnHome: true,
},
{
name: 'Epitome Invocation - Weapon Banner',
pos: '30% 35%',
@ -183,28 +122,19 @@ export const eventsData = [
showOnHome: true,
timezoneDependent: true,
},
{
name: 'Epitome Invocation - Weapon Banner',
pos: '30% 35%',
zoom: '150%',
image: 'Epitome Invocation 52.jpg',
start: '2023-09-05 18:00:00',
end: '2023-09-26 14:59:59',
color: '#FFAA4B',
url: 'https://www.hoyolab.com/article/21297488',
showOnHome: true,
},
],
[
{
name: 'Spiral Abyss',
image: 'spiral_abyss.jpg',
pos: '50% 20%',
start: '2023-07-01 04:00:00',
end: '2023-07-16 04:00:00',
color: '#4299E1',
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',
@ -225,18 +155,38 @@ export const eventsData = [
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: '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: 'Spiral Abyss',
image: 'spiral_abyss.jpg',
pos: '50% 20%',
start: '2023-09-01 04:00:00',
end: '2023-09-16 04:00:00',
color: '#4299E1',
description:
'When a character recovers HP, that character gains 10% increased ATK for 10s. Max 3 stacks. Each stack will be counted independently. When a character loses HP, that character gains 40 Elemental Mastery for 10s. Max 3 stacks. Each stack will be counted independently. The effects from recovering and losing HP are independent from each other, and stacks are counted independently.',
},
{
name: 'Spiral Abyss',
image: 'spiral_abyss.jpg',
pos: '50% 20%',
start: '2023-09-16 04:00:00',
end: '2023-10-01 04:00:00',
color: '#4299E1',
description:
'When a character recovers or loses HP, that character gains 40% increased All Elemental and Physical DMG Bonus for 3s.',
},
],
[
{
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: "Paimon's Bargain - Beidou, Noelle, and Royal",
pos: '0% 50%',
@ -247,18 +197,18 @@ export const eventsData = [
image: 'paimon_bargain.png',
description: 'Now selling: Beidou, Noelle, and Royal Weapons.',
},
{
name: "Paimon's Bargain - Ningguang, Xingqiu, and Blackcliff",
pos: '0% 50%',
zoom: '150%',
start: '2023-09-01 04:00:00',
end: '2023-10-01 04:00:00',
color: '#B6A1EA',
image: 'paimon_bargain.png',
description: 'Now selling: Ningguang, Xingqiu, and Blackcliff Weapons.',
},
],
[
{
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,
},
{
name: 'Battle Pass - Primordial Waters',
pos: '0% 25%',

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher();
const featured = {
lyney: {
name: 'Lyney',
zhongli: {
name: 'Zhongli',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
yelan: {
name: 'Yelan',
tartaglia: {
name: 'Tartaglia',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300052;
const image = 'lyney_yelan.png';
const bannerId = 300053;
const image = 'zhongli_tartaglia.png';
const width = 800;
const height = 499;
const height = 517;
let loading = true;
let user = '';

View File

@ -1,6 +1,6 @@
<script context="module">
export async function load({ fetch }) {
const promoted = ['yelan', 'bennett', 'barbara'];
const promoted = ['tartaglia', 'zhongli'];
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 banners', 'Update Freminet'];
const changelog = ['Update banners', 'Update Freminet', 'Update timeline'];
const channel = new BroadcastChannel('paimonmoe-sw');

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB