-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.js
More file actions
1432 lines (1415 loc) · 39.7 KB
/
script.js
File metadata and controls
1432 lines (1415 loc) · 39.7 KB
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
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
document.getElementById('venti-button').addEventListener('click', function() {
document.getElementById('venti-button').setAttribute('aria-pressed', 'true');
document.getElementById('standard-button').setAttribute('aria-pressed', 'false');
document.getElementById('wish-button').disabled = false;
document.getElementById('wish-button').classList.remove('standard-selected');
});
document.getElementById('standard-button').addEventListener('click', function() {
document.getElementById('standard-button').setAttribute('aria-pressed', 'true');
document.getElementById('venti-button').setAttribute('aria-pressed', 'false');
document.getElementById('wish-button').disabled = false;
document.getElementById('wish-button').classList.add('standard-selected');
});
// Disable the wish button initially
document.getElementById('wish-button').disabled = true;
// Helper function to close all popups
function closeAllPopups() {
document.getElementById('settings-popup').style.display = 'none';
document.getElementById('about-popup').style.display = 'none';
document.getElementById('history-popup').style.display = 'none';
}
document.querySelector('.settings-icon').addEventListener('click', function(event) {
event.stopPropagation();
const settingsPopup = document.getElementById('settings-popup');
const newDisplay = (settingsPopup.style.display === 'flex') ? 'none' : 'flex';
closeAllPopups();
settingsPopup.style.display = newDisplay;
});
document.querySelector('.popup .close-button').addEventListener('click', function() {
document.getElementById('settings-popup').style.display = 'none';
});
document.querySelector('.about-icon').addEventListener('click', function(event) {
event.stopPropagation();
const aboutPopup = document.getElementById('about-popup');
const newDisplay = (aboutPopup.style.display === 'flex') ? 'none' : 'flex';
closeAllPopups();
aboutPopup.style.display = newDisplay;
});
document.querySelector('#about-popup .close-button').addEventListener('click', function() {
document.getElementById('about-popup').style.display = 'none';
});
document.querySelector('.history-icon').addEventListener('click', function(event) {
event.stopPropagation();
const historyPopup = document.getElementById('history-popup');
const newDisplay = (historyPopup.style.display === 'flex') ? 'none' : 'flex';
closeAllPopups();
if(newDisplay === 'flex') {
updateHistoryTable();
}
historyPopup.style.display = newDisplay;
});
document.querySelector('#history-popup .close-button').addEventListener('click', function() {
document.getElementById('history-popup').style.display = 'none';
});
window.addEventListener('click', function(event) {
const settingsPopup = document.getElementById('settings-popup');
const aboutPopup = document.getElementById('about-popup');
const historyPopup = document.getElementById('history-popup');
if (!settingsPopup.contains(event.target) &&
!aboutPopup.contains(event.target) &&
!historyPopup.contains(event.target)) {
closeAllPopups();
}
});
document.getElementById('background-select').addEventListener('change', function() {
const selectedValue = this.value;
const customContainer = document.getElementById('custom-url-container');
if (selectedValue === 'mondstadt') {
document.body.style.backgroundImage = "linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images5.alphacoders.com/109/1099191.jpg')";
customContainer.style.display = 'none';
} else if (selectedValue === 'liyue') {
document.body.style.backgroundImage = "linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images2.alphacoders.com/117/thumb-1920-1175591.png')";
customContainer.style.display = 'none';
} else if (selectedValue === 'custom') {
customContainer.style.display = 'flex';
// Optionally clear or set a placeholder background if needed
} else {
document.body.style.backgroundImage = 'none';
customContainer.style.display = 'none';
}
});
document.getElementById('save-custom-url').addEventListener('click', function() {
const urlInput = document.getElementById('custom-url-input');
const url = urlInput.value.trim();
// Validate non-empty and format
const urlPattern = /^https?:\/\/.+/;
if (!url) {
alert('Please enter an image URL.');
return;
}
if (!urlPattern.test(url)) {
alert('Invalid URL. Enter a valid image URL starting with http:// or https://');
return;
}
document.body.style.backgroundImage = "linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('" + url + "')";
});
let characters = [
{
"id": 6,
"name": "Diluc",
"slug": "diluc",
"description": "The tycoon of a winery empire in Mondstadt, unmatched in every possible way.",
"gender": "male",
"birthday": "April 30th",
"rarity": 5,
"vision": "pyro",
"weapon": "claymore",
"obtain": "Wish"
},
{
"id": 8,
"name": "Jean",
"slug": "jean",
"description": "The righteous and rigorous Dandelion Knight, and Acting Grand Master of the Knights of Favonius in Mondstadt.",
"gender": "female",
"birthday": "March 14th",
"rarity": 5,
"vision": "anemo",
"weapon": "sword",
"obtain": "Wish"
},
{
"id": 10,
"name": "Keqing",
"slug": "keqing",
"description": "The Yuheng of the Liyue Qixing. Has much to say about Rex Lapis unilateral approach to policymaking in Liyue - but in truth, gods admire skeptics such as her quite a lot.",
"gender": "female",
"birthday": "Nov 20th",
"rarity": 5,
"vision": "electro",
"weapon": "sword",
"obtain": "Wish"
},
{
"id": 11,
"name": "Klee",
"slug": "klee",
"description": "An explosives expert and a regular at the Knights of Favonius\r\n confinement room. Also known as Fleeing Sunlight.",
"gender": "female",
"birthday": "Jul 27th",
"rarity": 5,
"vision": "pyro",
"weapon": "catalyst",
"obtain": "Wish"
},
{
"id": 13,
"name": "Mona",
"slug": "mona",
"description": "A mysterious young astrologer who proclaims herself to be Astrologist Mona Megistus, and who possesses abilities to match the title.",
"gender": "female",
"birthday": "Aug 31st",
"rarity": 5,
"vision": "hydro",
"weapon": "catalyst",
"obtain": "Wish"
},
{
"id": 16,
"name": "Qiqi",
"slug": "qiqi",
"description": "An apprentice and herb-picker Bubu Pharmacy. An undead with a bone-white complexion, she seldom has much in the way of words or emotion.",
"gender": "female",
"birthday": "March 3rd",
"rarity": 5,
"vision": "cryo",
"weapon": "sword",
"obtain": "Wish"
},
{
"id": 21,
"name": "Venti",
"slug": "venti",
"description": "One of the many bards of Mondstadt, who freely wanders the citys streets and alleys.",
"gender": "male",
"birthday": "Jun 16th",
"rarity": 5,
"vision": "anemo",
"weapon": "bow",
"obtain": "Wish"
},
{
"id": 23,
"name": "Xiao",
"slug": "xiao",
"description": "A yaksha adeptus that defends Liyue. Also heralded as the Conqueror of Demons or Vigilant Yaksha.",
"gender": "male",
"birthday": "April 17th",
"rarity": 5,
"vision": "anemo",
"weapon": "polearm",
"obtain": "Wish"
},
{
"id": 26,
"name": "Tartaglia",
"slug": "tartaglia",
"description": "Cunning Snezhnayan whose unpredictable personality keeps people guessing his every move.",
"gender": "male",
"birthday": "July 20th",
"rarity": 5,
"vision": "hydro",
"weapon": "bow",
"obtain": "Unknown"
},
{
"id": 28,
"name": "Zhongli",
"slug": "zhongli",
"description": "A mysterious guest invited by the Wangsheng Funeral Parlor. Extremely knowledgeable in all things.",
"gender": "male",
"birthday": "Dec 31st",
"rarity": 5,
"vision": "geo",
"weapon": "polearm",
"obtain": "Unknown"
},
{
"id": 1,
"name": "Amber",
"slug": "amber",
"description": "Always energetic and full of life, Ambers the best - albeit only - Outrider of the Knights of Favonius.",
"gender": "female",
"birthday": "Aug 24th",
"rarity": 4,
"vision": "pyro",
"weapon": "bow",
"obtain": "Quest"
},
{
"id": 2,
"name": "Barbara",
"slug": "barbara",
"description": "Every denizen of Mondstadt adores Barbara. However, she learned the word idol from a magazine.",
"gender": "female",
"birthday": "Jul 5th",
"rarity": 4,
"vision": "hydro",
"weapon": "catalyst",
"obtain": "Wish"
},
{
"id": 3,
"name": "Beidou",
"slug": "beidou",
"description": "Beidou is the leader of the Crux an armed fleet based in Liyue Harbor. An armed fleet means exactly what it sounds like: a fleet of ships armed to the teeth.",
"gender": "female",
"birthday": "Feb 14th",
"rarity": 4,
"vision": "electro",
"weapon": "claymore",
"obtain": "Wish"
},
{
"id": 4,
"name": "Bennett",
"slug": "bennett",
"description": "A righteous and good-natured adventurer from Mondstadt whos unfortunately extremely unlucky.",
"gender": "male",
"birthday": "Feb 29th",
"rarity": 4,
"vision": "pyro",
"weapon": "sword",
"obtain": "Wish"
},
{
"id": 5,
"name": "Chongyun",
"slug": "chongyun",
"description": "A young exortcist from a family of exorcists. He does everything he can to suppress his pure positive energy.",
"gender": "male",
"birthday": "Sep 7th",
"rarity": 4,
"vision": "cryo",
"weapon": "claymore",
"obtain": "Wish"
},
{
"id": 7,
"name": "Fischl",
"slug": "fischl",
"description": "A mysterious girl who calls herself Prinzessia der Verurteilung and travels with a night raven named Oz.",
"gender": "female",
"birthday": "May 27th",
"rarity": 4,
"vision": "electro",
"weapon": "bow",
"obtain": "Wish"
},
{
"id": 9,
"name": "Kaeya",
"slug": "kaeya",
"description": "A thinker in the Knights of Favonius with a somewhat exotic appearance.",
"gender": "male",
"birthday": "Nov 30th",
"rarity": 4,
"vision": "cryo",
"weapon": "sword",
"obtain": "Quest"
},
{
"id": 12,
"name": "Lisa",
"slug": "lisa",
"description": "The languid but knowledgeable Librarian of the Knights of Favonius who was deemed by Sumeru Academia to be their most distinguised graduate in the past two centuries.",
"gender": "female",
"birthday": "Jun 9th",
"rarity": 4,
"vision": "electro",
"weapon": "catalyst",
"obtain": "Quest"
},
{
"id": 14,
"name": "Ningguang",
"slug": "ningguang",
"description": "The Tianquan of Liyue Qixing. Her wealth is unsurpassed in all of Teyvat.",
"gender": "female",
"birthday": "Aug 26th",
"rarity": 4,
"vision": "geo",
"weapon": "catalyst",
"obtain": "Wish"
},
{
"id": 15,
"name": "Noelle",
"slug": "noelle",
"description": "A maid in the service of the Knights of Favonius that dreams of joining their ranks someday.",
"gender": "female",
"birthday": "March 21st",
"rarity": 4,
"vision": "geo",
"weapon": "claymore",
"obtain": "Wish"
},
{
"id": 17,
"name": "Razor",
"slug": "razor",
"description": "A boy who lives among the wolves in Wolvendom of Mondstadt, away from human civilization. As agile as lightning.",
"gender": "male",
"birthday": "Sep 9th",
"rarity": 4,
"vision": "electro",
"weapon": "claymore",
"obtain": "Wish"
},
{
"id": 18,
"name": "Sucrose",
"slug": "sucrose",
"description": "An alchemist filled with curiosity about all things. She researches bio-alchemy.",
"gender": "male",
"birthday": "May 11th",
"rarity": 4,
"vision": "anemo",
"weapon": "catalyst",
"obtain": "Wish"
},
{
"id": 22,
"name": "Xiangling",
"slug": "xiangling",
"description": "A renowned chef from Liyue. Shes extremely passionate about cooking and excels at making her signature hot and spicy dishes.",
"gender": "female",
"birthday": "Nov 2nd",
"rarity": 4,
"vision": "pyro",
"weapon": "polearm",
"obtain": "Wish"
},
{
"id": 24,
"name": "Xingqiu",
"slug": "xingqiu",
"description": "A young man carrying a longsword who is frequently seen at book booths. He has a chivalrous heart and yearns for justice and fairness for all.",
"gender": "male",
"birthday": "Oct 9th",
"rarity": 4,
"vision": "hydro",
"weapon": "sword",
"obtain": "Wish"
},
{
"id": 25,
"name": "Diona",
"slug": "diona",
"description": "A young lady who has inherited trace amounts of non-human blood. She is the incredible popular bartender of the Cats Tail tavern.",
"gender": "female",
"birthday": "Jan 18th",
"rarity": 4,
"vision": "cryo",
"weapon": "bow",
"obtain": "Unknown"
},
{
"id": 27,
"name": "Xinyan",
"slug": "xinyan",
"description": "Liyues sole rock 'n' roll musician. She rebels against ossified prejudices using her music and passionate singing.",
"gender": "female",
"birthday": "Nov 4th",
"rarity": 4,
"vision": "pyro",
"weapon": "claymore",
"obtain": "Unknown"
}
];
let weapons = [
{
"id": 72,
"name": "Primordial Jade Winged-Spear",
"slug": "primordial-jade-winged-spear",
"rarity": "5",
"atk": 48,
"obtain": "gacha",
"type": "polearm"
},
{
"id": 74,
"name": "Skyward Spine",
"slug": "skyward-spine",
"rarity": "5",
"atk": 48,
"obtain": "gacha",
"type": "polearm"
},
{
"id": 76,
"name": "Aquila Favonia",
"slug": "aquila-favonia",
"rarity": "5",
"atk": 48,
"obtain": "gacha",
"type": "sword"
},
{
"id": 2,
"name": "Amos Bow",
"slug": "amos-bow",
"rarity": "5",
"atk": 46,
"obtain": "gacha",
"type": "bow"
},
{
"id": 60,
"name": "Wolfs Gravestone",
"slug": "wolfs-gravestone",
"rarity": "5",
"atk": 46,
"obtain": "gacha",
"type": "claymore"
},
{
"id": 70,
"name": "Kunwus Iris Rift",
"slug": "kunwus-iris-rift",
"rarity": "5",
"atk": 46,
"obtain": "gacha",
"type": "polearm"
},
{
"id": 17,
"name": "Skyward Harp",
"slug": "skyward-harp",
"rarity": "5",
"atk": 45,
"obtain": "gacha",
"type": "bow"
},
{
"id": 35,
"name": "Skyward Atlas",
"slug": "skyward-atlas",
"rarity": "5",
"atk": 45,
"obtain": "gacha",
"type": "catalyst"
},
{
"id": 55,
"name": "Skyward Pride",
"slug": "skyward-pride",
"rarity": "5",
"atk": 45,
"obtain": "gacha",
"type": "claymore"
},
{
"id": 3,
"name": "Blackcliff Warbow",
"slug": "blackcliff-warbow",
"rarity": "4",
"atk": 44,
"obtain": "starglitter exchange",
"type": "bow"
},
{
"id": 27,
"name": "Lost Prayer to the Sacred Winds",
"slug": "lost-prayer-to-the-sacred-winds",
"rarity": "5",
"atk": 44,
"obtain": "gacha",
"type": "catalyst"
},
{
"id": 29,
"name": "Mappa Mare",
"slug": "mappa-mare",
"rarity": "4",
"atk": 44,
"obtain": "crafting",
"type": "catalyst"
},
{
"id": 33,
"name": "Royal Grimoire",
"slug": "royal-grimoire",
"rarity": "4",
"atk": 44,
"obtain": "starglitter exchange",
"type": "catalyst"
},
{
"id": 48,
"name": "Prototype Aminus",
"slug": "prototype-aminus",
"rarity": "4",
"atk": 44,
"obtain": "crafting",
"type": "claymore"
},
{
"id": 52,
"name": "Sacrificial Greatsword",
"slug": "sacrificial-greatsword",
"rarity": "4",
"atk": 44,
"obtain": "gacha",
"type": "claymore"
},
{
"id": 64,
"name": "Crescent Pike",
"slug": "crescent-pike",
"rarity": "4",
"atk": 44,
"obtain": "crafting",
"type": "polearm"
},
{
"id": 67,
"name": "Favonius Lance",
"slug": "favonius-lance",
"rarity": "4",
"atk": 44,
"obtain": "gacha",
"type": "polearm"
},
{
"id": 77,
"name": "Blackcliff Longsword",
"slug": "blackcliff-longsword",
"rarity": "4",
"atk": 44,
"obtain": "starglitter exchange",
"type": "sword"
},
{
"id": 86,
"name": "Prototype Rancour",
"slug": "prototype-rancour",
"rarity": "4",
"atk": 44,
"obtain": "crafting",
"type": "sword"
},
{
"id": 91,
"name": "Skyward Blade",
"slug": "skyward-blade",
"rarity": "5",
"atk": 44,
"obtain": "gacha",
"type": "sword"
},
{
"id": 92,
"name": "The Alley Flash",
"slug": "the-alley-flash",
"rarity": "4",
"atk": 44,
"obtain": "gacha",
"type": "sword"
},
{
"id": 14,
"name": "Sacrificial Bow",
"slug": "sacrificial-bow",
"rarity": "4",
"atk": 43,
"obtain": "gacha",
"type": "bow"
},
{
"id": 51,
"name": "Royal Greatsword",
"slug": "royal-greatsword",
"rarity": "4",
"atk": 43,
"obtain": "starglitter exchange",
"type": "claymore"
},
{
"id": 9,
"name": "Prototype Crescent",
"slug": "prototype-crescent",
"rarity": "4",
"atk": 42,
"obtain": "crafting",
"type": "bow"
},
{
"id": 12,
"name": "Royal Bow",
"slug": "royal-bow",
"rarity": "4",
"atk": 42,
"obtain": "starglitter exchange",
"type": "bow"
},
{
"id": 13,
"name": "Rust",
"slug": "rust",
"rarity": "4",
"atk": 42,
"obtain": "gacha",
"type": "bow"
},
{
"id": 19,
"name": "The Stringless",
"slug": "the-stringless",
"rarity": "4",
"atk": 42,
"obtain": "gacha",
"type": "bow"
},
{
"id": 20,
"name": "The Viridescent Hunt",
"slug": "the-viridescent-hunt",
"rarity": "4",
"atk": 42,
"obtain": "bp bounty",
"type": "bow"
},
{
"id": 23,
"name": "Blackcliff Amulet",
"slug": "blackcliff-amulet",
"rarity": "4",
"atk": 42,
"obtain": "starglitter exchange",
"type": "catalyst"
},
{
"id": 26,
"name": "Favonius Codex",
"slug": "favonius-codex",
"rarity": "4",
"atk": 42,
"obtain": "gacha",
"type": "catalyst"
},
{
"id": 32,
"name": "Prototype Malice",
"slug": "prototype-malice",
"rarity": "4",
"atk": 42,
"obtain": "crafting",
"type": "catalyst"
},
{
"id": 36,
"name": "Solar Pearl",
"slug": "solar-pearl",
"rarity": "4",
"atk": 42,
"obtain": "bp bounty",
"type": "catalyst"
},
{
"id": 37,
"name": "The Widsith",
"slug": "the-widsith",
"rarity": "4",
"atk": 42,
"obtain": "gacha",
"type": "catalyst"
},
{
"id": 40,
"name": "Wine and Song",
"slug": "wine-and-song",
"rarity": "4",
"atk": 42,
"obtain": "gacha",
"type": "catalyst"
},
{
"id": 41,
"name": "Blackcliff Slasher",
"slug": "blackcliff-slasher",
"rarity": "4",
"atk": 42,
"obtain": "starglitter exchange",
"type": "claymore"
},
{
"id": 50,
"name": "Rainslasher",
"slug": "rainslasher",
"rarity": "4",
"atk": 42,
"obtain": "gacha",
"type": "claymore"
},
{
"id": 53,
"name": "Serpent Spine",
"slug": "serpent-spine",
"rarity": "4",
"atk": 42,
"obtain": "bp bounty",
"type": "claymore"
},
{
"id": 56,
"name": "The Bell",
"slug": "the-bell",
"rarity": "4",
"atk": 42,
"obtain": "gacha",
"type": "claymore"
},
{
"id": 59,
"name": "Whiteblind",
"slug": "whiteblind",
"rarity": "4",
"atk": 42,
"obtain": "crafting",
"type": "claymore"
},
{
"id": 63,
"name": "Blackcliff Pole",
"slug": "blackcliff-pole",
"rarity": "4",
"atk": 42,
"obtain": "starglitter exchange",
"type": "polearm"
},
{
"id": 71,
"name": "Lithic Spear",
"slug": "lithic-spear",
"rarity": "4",
"atk": 42,
"obtain": "gacha",
"type": "polearm"
},
{
"id": 73,
"name": "Prototype Grudge",
"slug": "prototype-grudge",
"rarity": "4",
"atk": 42,
"obtain": "crafting",
"type": "polearm"
},
{
"id": 84,
"name": "Iron Sting",
"slug": "iron-sting",
"rarity": "4",
"atk": 42,
"obtain": "crafting",
"type": "sword"
},
{
"id": 85,
"name": "Lions Roar",
"slug": "lions-roar",
"rarity": "4",
"atk": 42,
"obtain": "gacha",
"type": "sword"
},
{
"id": 87,
"name": "Royal Longsword",
"slug": "royal-longsword",
"rarity": "4",
"atk": 42,
"obtain": "starglitter exchange",
"type": "sword"
},
{
"id": 93,
"name": "The Black Sword",
"slug": "the-black-sword",
"rarity": "4",
"atk": 42,
"obtain": "bp bounty",
"type": "sword"
},
{
"id": 94,
"name": "The Flute",
"slug": "the-flute",
"rarity": "4",
"atk": 42,
"obtain": "gacha",
"type": "sword"
},
{
"id": 1,
"name": "Alley Hunter",
"slug": "alley-hunter",
"rarity": "4",
"atk": 41,
"obtain": "gacha",
"type": "bow"
},
{
"id": 4,
"name": "Compound Bow",
"slug": "compound-bow",
"rarity": "4",
"atk": 41,
"obtain": "crafting",
"type": "bow"
},
{
"id": 6,
"name": "Favonius Warbow",
"slug": "favonius-warbow",
"rarity": "4",
"atk": 41,
"obtain": "gacha",
"type": "bow"
},
{
"id": 25,
"name": "Eye of Perception",
"slug": "eye-of-perception",
"rarity": "4",
"atk": 41,
"obtain": "gacha",
"type": "catalyst"
},
{
"id": 34,
"name": "Sacrificial Fragments",
"slug": "sacrificial-fragments",
"rarity": "4",
"atk": 41,
"obtain": "gacha",
"type": "catalyst"
},
{
"id": 44,
"name": "Favonius Greatsword",
"slug": "favonius-greatsword",
"rarity": "4",
"atk": 41,
"obtain": "gacha",
"type": "claymore"
},
{
"id": 46,
"name": "Lithic Blade",
"slug": "lithic-blade",
"rarity": "4",
"atk": 41,
"obtain": "gacha",
"type": "claymore"
},
{
"id": 65,
"name": "Deathmatch",
"slug": "deathmatch",
"rarity": "4",
"atk": 41,
"obtain": "bp bounty",
"type": "polearm"
},
{
"id": 66,
"name": "Dragons Bane",
"slug": "dragons-bane",
"rarity": "4",
"atk": 41,
"obtain": "gacha",
"type": "polearm"
},
{
"id": 81,
"name": "Favonius Sword",
"slug": "favonius-sword",
"rarity": "4",
"atk": 41,
"obtain": "gacha",
"type": "sword"
},
{
"id": 88,
"name": "Sacrificial Sword",
"slug": "sacrificial-sword",
"rarity": "4",
"atk": 41,
"obtain": "gacha",
"type": "sword"
},
{
"id": 5,
"name": "Ebony Bow",
"slug": "ebony-bow",
"rarity": "3",
"atk": 40,
"obtain": "gacha",
"type": "bow"
},
{
"id": 8,
"name": "Messenger",
"slug": "messenger",
"rarity": "3",
"atk": 40,
"obtain": "chest",
"type": "bow"
},
{
"id": 10,
"name": "Raven Bow",
"slug": "raven-bow",
"rarity": "3",
"atk": 40,
"obtain": "gacha",
"type": "bow"
},
{
"id": 21,
"name": "Amber Catalyst",
"slug": "amber-catalyst",
"rarity": "3",
"atk": 40,
"obtain": "gacha",
"type": "catalyst"
},
{
"id": 24,
"name": "Emerald Orb",
"slug": "emerald-orb",
"rarity": "3",
"atk": 40,
"obtain": "gacha",
"type": "catalyst"
},
{
"id": 39,
"name": "Twin Nephrite",
"slug": "twin-nephrite",
"rarity": "3",
"atk": 40,
"obtain": "gacha",
"type": "catalyst"
},
{