-
-
Notifications
You must be signed in to change notification settings - Fork 43
/
banners.ts
351 lines (348 loc) · 9.76 KB
/
banners.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
/**
* Represents a rate-up rule with associated featured gacha item names and date range.
*/
export type BannerInfo = {
bannerId: number;
cardPoolType: number;
name: string;
alt: string;
rateUp5Names?: string[]; // List of names for rate-up 5-star items during this rule's date range
rateUp4Names?: string[]; // List of names for rate-up 4-star items during this rule's date range
startDate: string; // Start date in UTC+8 (inclusive) of the rate-up rule's validity
endDate: string; // End date in UTC+8 (inclusive) of the rate-up rule's validity
// if the banner doesn't start in their own Server Time, but rather at the same time in the Asia/Shanghai timezone (UTC+8)
isCstStart?: boolean;
isCstEnd?: boolean;
};
const standardBanners: BannerInfo[] = [
{
bannerId: 300001,
cardPoolType: 3,
name: "Permanent Resonator",
alt: "Tidal Chorus",
startDate: "2024-05-21 00:00",
endDate: "2222-05-21 00:00",
},
{
bannerId: 400001,
cardPoolType: 4,
name: "Permanent Weapon",
alt: "Winter Brume",
startDate: "2024-05-21 00:00",
endDate: "2222-05-21 00:00",
},
{
bannerId: 500001,
cardPoolType: 5,
name: "Novice Convene",
alt: "Utterance of Marvels",
startDate: "2024-05-21 00:00",
endDate: "2222-05-21 00:00",
},
{
bannerId: 600001,
cardPoolType: 6,
name: "Beginner's Choice Convene",
alt: "Beginner's Choice",
startDate: "2024-05-21 00:00",
endDate: "2222-05-21 00:00",
},
{
bannerId: 700001,
cardPoolType: 7,
name: "Giveback Event Convene",
alt: "Selector Ticket",
startDate: "2024-05-21 00:00",
endDate: "2222-05-21 00:00",
},
];
export const rawBanners: BannerInfo[] = [
{
bannerId: 100001,
cardPoolType: 1,
name: "Featured Resonator",
alt: "Prevail the Lasting Night",
rateUp5Names: ["Jiyan"],
rateUp4Names: ["Chixia", "Danjin", "Mortefi"],
startDate: "2024-05-23 00:00",
endDate: "2024-06-06 09:59:59",
isCstStart: true,
isCstEnd: true,
},
{
bannerId: 100002,
cardPoolType: 1,
name: "Featured Resonator",
alt: "When Thunder Pours (Early)",
rateUp5Names: ["Yinlin", "Jiyan"],
rateUp4Names: ["Aalto", "Taoqi", "Yuanwu", "Chixia", "Danjin", "Mortefi"],
startDate: "2024-06-06 10:00",
endDate: "2024-06-13 09:59:59",
isCstStart: true,
},
{
bannerId: 100003,
cardPoolType: 1,
name: "Featured Resonator",
alt: "When Thunder Pours",
rateUp5Names: ["Yinlin"],
rateUp4Names: ["Aalto", "Taoqi", "Yuanwu"],
startDate: "2024-06-13 10:00",
endDate: "2024-06-26 23:59:59",
},
{
bannerId: 100004,
cardPoolType: 1,
name: "Featured Resonator",
alt: "Thawborn Renewal",
rateUp5Names: ["Jinhsi"],
rateUp4Names: ["Sanhua", "Yangyang", "Danjin"],
startDate: "2024-06-28 12:00",
endDate: "2024-07-22 09:59:59",
isCstStart: true,
},
{
bannerId: 100005,
cardPoolType: 1,
name: "Featured Resonator",
alt: "Vermillion's Ploy",
rateUp5Names: ["Changli"],
rateUp4Names: ["Baizhi", "Taoqi", "Mortefi"],
startDate: "2024-07-22 10:00",
endDate: "2024-08-14 11:59:59",
},
{
bannerId: 100006,
cardPoolType: 1,
name: "Featured Resonator",
alt: "Chromatic Prose",
rateUp5Names: ["Zhezhi"],
rateUp4Names: ["Sanhua", "Baizhi", "Chixia"],
startDate: "2024-08-15 12:00",
endDate: "2024-09-07 09:59:59",
isCstStart: true,
},
{
bannerId: 100007,
cardPoolType: 1,
name: "Featured Resonator",
alt: "Celestial Revelation",
rateUp5Names: ["Xiangli Yao"],
rateUp4Names: ["Aalto", "Yuanwu", "Danjin"],
startDate: "2024-09-07 10:00",
endDate: "2024-09-28 11:59:59",
},
{
bannerId: 100008,
cardPoolType: 1,
name: "Featured Resonator",
alt: "Til the Sea Turns Clear",
rateUp5Names: ["Shorekeeper"],
rateUp4Names: ["Taoqi", "Yangyang", "Chixia"],
startDate: "2024-09-29 05:00",
endDate: "2024-10-24 09:59:59",
isCstStart: true,
},
{
bannerId: 100009,
cardPoolType: 1,
name: "Featured Resonator",
alt: "Prevail the Lasting Night",
rateUp5Names: ["Jiyan"],
rateUp4Names: ["Youhu", "Sanhua", "Mortefi"],
startDate: "2024-10-24 10:00",
endDate: "2024-11-13 11:59:59",
},
{
bannerId: 100010,
cardPoolType: 1,
name: "Featured Resonator",
alt: "End of Lost Trail",
rateUp5Names: ["Camellya"],
rateUp4Names: ["Danjin", "Yangyang", "Aalto"],
startDate: "2024-11-14 04:00", // maintenance end is supposed to be 11:00, but we set it earlier as a precaution
endDate: "2024-12-12 09:59:59",
isCstStart: true,
},
{
bannerId: 100011,
cardPoolType: 1,
name: "Featured Resonator",
alt: "Yinlin & Xiangli Yao Rerun",
rateUp5Names: ["Yinlin", "Xiangli Yao"],
rateUp4Names: ["Lumi", "Baizhi", "Yuanwu"],
startDate: "2024-12-12 10:00",
endDate: "2025-01-01 11:59:59",
},
{
bannerId: 100012,
cardPoolType: 1,
name: "Featured Resonator",
alt: "Carlotta & Zhezhi",
rateUp5Names: ["Carlotta", "Zhezhi"],
rateUp4Names: ["Sanhua", "Chixia", "Mortefi"],
startDate: "2025-01-01 04:00:00",
endDate: "2025-01-23 09:59:59",
isCstStart: true,
},
{
bannerId: 100013,
cardPoolType: 1,
name: "Featured Resonator",
alt: "Roccia & Jinhsi",
rateUp5Names: ["Roccia", "Jinhsi"],
rateUp4Names: ["Danjin", "Youhu", "Yuanwu"],
startDate: "2025-01-23 10:00:00",
endDate: "2025-02-12 11:59:59",
},
{
bannerId: 200001,
cardPoolType: 2,
name: "Featured Weapon",
alt: "Absolute Pulsation",
rateUp5Names: ["Verdant Summit"],
rateUp4Names: ["Augment", "Hollow Mirage", "Dauntless Evernight"],
startDate: "2024-05-23 00:00",
endDate: "2024-06-06 09:59:59",
isCstStart: true,
isCstEnd: true,
},
{
bannerId: 200002,
cardPoolType: 2,
name: "Featured Weapon",
alt: "Absolute Pulsation",
rateUp5Names: ["Stringmaster", "Verdant Summit"],
rateUp4Names: [
"Augment",
"Hollow Mirage",
"Dauntless Evernight",
"Lunar Cutter",
"Cadenza",
"Jinzhou Keeper",
],
startDate: "2024-06-06 10:00",
endDate: "2024-06-13 09:59:59",
isCstStart: true,
},
{
bannerId: 200003,
cardPoolType: 2,
name: "Featured Weapon",
alt: "Absolute Pulsation",
rateUp5Names: ["Stringmaster"],
rateUp4Names: ["Lunar Cutter", "Cadenza", "Jinzhou Keeper"],
startDate: "2024-06-13 10:00",
endDate: "2024-06-26 23:59:59",
},
{
bannerId: 200004,
cardPoolType: 2,
name: "Featured Weapon",
alt: "Absolute Pulsation",
rateUp5Names: ["Ages of Harvest"],
rateUp4Names: ["Discord", "Commando of Conviction", "Amity Accord"],
startDate: "2024-06-28 12:00",
endDate: "2024-07-22 09:59:59",
isCstStart: true,
},
{
bannerId: 200005,
cardPoolType: 2,
name: "Featured Weapon",
alt: "Absolute Pulsation",
rateUp5Names: ["Blazing Brilliance"],
rateUp4Names: ["Comet Flare", "Overture", "Undying Flame"],
startDate: "2024-07-22 10:00",
endDate: "2024-08-14 11:59:59",
},
{
bannerId: 200006,
cardPoolType: 2,
name: "Featured Weapon",
alt: "Absolute Pulsation",
rateUp5Names: ["Rime-Draped Sprouts"],
rateUp4Names: ["Dauntless Evernight", "Jinzhou Keeper", "Hollow Mirage"],
startDate: "2024-08-15 12:00",
endDate: "2024-09-07 09:59:59",
isCstStart: true,
},
{
bannerId: 200007,
cardPoolType: 2,
name: "Featured Weapon",
alt: "Absolute Pulsation",
rateUp5Names: ["Verity's Handle"],
rateUp4Names: ["Marcato", "Helios Cleaver", "Novaburst"],
startDate: "2024-09-07 10:00",
endDate: "2024-09-28 11:59:59",
},
{
bannerId: 200008,
cardPoolType: 2,
name: "Featured Weapon",
alt: "Absolute Pulsation",
rateUp5Names: ["Stellar Symphony"],
rateUp4Names: ["Endless Collapse", "Discord", "Comet Flare"],
startDate: "2024-09-29 05:00",
endDate: "2024-10-24 09:59:59",
isCstStart: true,
},
{
bannerId: 200009,
cardPoolType: 2,
name: "Featured Weapon",
alt: "Absolute Pulsation",
rateUp5Names: ["Verdant Summit"],
rateUp4Names: ["Celestial Spiral", "Variation", "Helios Cleaver"],
startDate: "2024-10-24 10:00",
endDate: "2024-11-13 11:59:59",
},
{
bannerId: 200010,
cardPoolType: 2,
name: "Featured Weapon",
alt: "Absolute Pulsation",
rateUp5Names: ["Red Spring"],
rateUp4Names: ["Fusion Accretion", "Commando of Conviction", "Novaburst"],
startDate: "2024-11-14 04:00", // maintenance end is supposed to be 11:00, but we set it earlier as a precaution
endDate: "2024-12-12 09:59:59",
isCstStart: true,
},
{
bannerId: 200011,
cardPoolType: 2,
name: "Featured Weapon",
alt: "Absolute Pulsation",
rateUp5Names: ["Stringmaster", "Verity's Handle"],
rateUp4Names: ["Waning Redshift", "Jinzhou Keeper", "Hollow Mirage"],
startDate: "2024-12-12 10:00",
endDate: "2025-01-01 11:59:59",
},
{
bannerId: 200012,
cardPoolType: 2,
name: "Featured Weapon",
alt: "Absolute Pulsation",
rateUp5Names: ["The Last Dance", "Rime-Draped Sprouts"],
rateUp4Names: ["Relativistic Jet", "Fusion Accretion", "Amity Accord"],
startDate: "2025-01-02 04:00:00",
endDate: "2025-01-23 09:59:59",
isCstStart: true,
},
{
bannerId: 200013,
cardPoolType: 2,
name: "Featured Weapon",
alt: "Absolute Pulsation",
rateUp5Names: ["Tragicomedy", "Ages of Harvest"],
rateUp4Names: ["Celestial Spiral", "Dauntless Evernight", "Variation"],
startDate: "2025-01-23 10:00:00",
endDate: "2025-02-12 11:59:59",
},
...standardBanners,
];
export const banners = rawBanners.filter((b) => {
const UNRELEASED_BANNERS: number[] = [100012, 100013, 200012, 200013];
return !UNRELEASED_BANNERS.includes(b.bannerId);
});