teyvatdb 0.5.7.2 → 0.5.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/Gemfile.lock +1 -1
- data/lib/genshin_data/artifact_sets/artifact_set_data.rb +176 -11
- data/lib/genshin_data/artifact_sets.rb +1 -51
- data/lib/genshin_data/characters/character_data.rb +262 -30
- data/lib/genshin_data/characters.rb +2 -0
- data/lib/genshin_data/weapons/weapon_data/claymores.rb +10 -0
- data/lib/genshin_data/weapons/weapon_data/polearms.rb +10 -0
- data/lib/genshin_object/character.rb +5 -1
- data/lib/teyvatdb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a62a78639fe58fb4cb0cfc3272d20cc8f3b07967fa0433a48a5058c3948deabf
|
4
|
+
data.tar.gz: be2acb238ed3f9def95803619b74f7042e327b34ca19f428941f907b734c7862
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95e3208821a7c5d69e0405621108f2347d8ba9393dcd377f278dade58a13f0104f440b63ff7f6f0b240a3771e46b32bea3df169da8b59ab2f0a79e30017fa44c
|
7
|
+
data.tar.gz: 90bc6564c50e1abbc5570a8a4f4cb419120668f54f59a769cb6cc25bee10e2b92331480b27ea98d59177bcfa7da3af2327216c8da2079f61db47dda03d87fea8
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,22 @@
|
|
1
|
+
## [0.5.8.1] - 2025-08-04
|
2
|
+
- Add Missing artifact sets
|
3
|
+
- Finale of the Deep Galleries
|
4
|
+
- Fragment of Harmonic Whimsy
|
5
|
+
- Obsidian Codex
|
6
|
+
- Long Night's Oath
|
7
|
+
- Scroll of the Hero of Cinder City
|
8
|
+
- Unfinished Reverie
|
9
|
+
|
10
|
+
## [0.5.8] - 2025-08-03
|
11
|
+
- Add new character
|
12
|
+
- Inefa (5)
|
13
|
+
- Add missing character
|
14
|
+
- Emilie (5)
|
15
|
+
- Add Weapons
|
16
|
+
- Fractured Halo (5)
|
17
|
+
- Flame-Forged Insight
|
18
|
+
- Add C3/C5 bonuses to all characters
|
19
|
+
|
1
20
|
## [0.5.7.2] - 2025-07-06
|
2
21
|
- Really Fix typo in DenialAndJudgment
|
3
22
|
|
data/Gemfile.lock
CHANGED
@@ -5,6 +5,10 @@
|
|
5
5
|
module GenshinData
|
6
6
|
module ArtifactSets
|
7
7
|
module ArtifactSetData
|
8
|
+
def self.all
|
9
|
+
constants.map { |x| GenshinData::ArtifactSets::ArtifactSetData.const_get(x) }
|
10
|
+
end
|
11
|
+
|
8
12
|
ARCHAIC_PETRA = GenshinObject::ArtifactSet.new(
|
9
13
|
kamera_key: "ArchaicPetra",
|
10
14
|
name: "Archaic Petra",
|
@@ -190,6 +194,32 @@ module GenshinData
|
|
190
194
|
}
|
191
195
|
).freeze
|
192
196
|
|
197
|
+
FINALE_OF_THE_DEEP_GALLERIES = GenshinObject::ArtifactSet.new(
|
198
|
+
kamera_key: "FinaleOfTheDeepGalleries",
|
199
|
+
name: "Finale of the Deep Galleries",
|
200
|
+
bonuses: [
|
201
|
+
GenshinObject::ArtifactSetBonus.new(pieces_count: 2, bonus: ["Cryo DMG Bonus +15%"]),
|
202
|
+
GenshinObject::ArtifactSetBonus.new(
|
203
|
+
pieces_count: 4,
|
204
|
+
bonus: [
|
205
|
+
"When the equipping Character has 0 Elemental Energy, Normal Attack DMG is increased by 60% and Elemental Burst DMG is increased by 60%.",
|
206
|
+
"After the equipping character deals Normal Attack DMG, the aforementioned Elemental Burst effect will stop applying for 6s.",
|
207
|
+
"After the equipping character deals Elemental Burst DMG, the aforementioned Normal Attack effect will stop applying for 6s.",
|
208
|
+
"This effect can trigger even if the equipping character is off the field.",
|
209
|
+
"A maximum of 75% bonus DMG can be obtained in this way."
|
210
|
+
]
|
211
|
+
)
|
212
|
+
],
|
213
|
+
max_rarity: 5,
|
214
|
+
slots: {
|
215
|
+
flower: true,
|
216
|
+
plume: true,
|
217
|
+
sands: true,
|
218
|
+
goblet: true,
|
219
|
+
circlet: true
|
220
|
+
}
|
221
|
+
).freeze
|
222
|
+
|
193
223
|
FLOWER_OF_PARADISE_LOST = GenshinObject::ArtifactSet.new(
|
194
224
|
kamera_key: "FlowerOfParadiseLost",
|
195
225
|
name: "Flower of Paradise Lost",
|
@@ -216,6 +246,32 @@ module GenshinData
|
|
216
246
|
}
|
217
247
|
).freeze
|
218
248
|
|
249
|
+
FRAGMENT_OF_HARMONIC_WHIMSY = GenshinObject::ArtifactSet.new(
|
250
|
+
kamera_key: "FragmentOfHarmonicWhimsy",
|
251
|
+
name: "Fragment of Harmonic Whimsy",
|
252
|
+
bonuses: [
|
253
|
+
GenshinObject::ArtifactSetBonus.new(
|
254
|
+
pieces_count: 2,
|
255
|
+
bonus: ["ATK +18%"]
|
256
|
+
),
|
257
|
+
GenshinObject::ArtifactSetBonus.new(
|
258
|
+
pieces_count: 4,
|
259
|
+
bonus: [
|
260
|
+
"When the value of a Bond of Life increases or decreases, this character deals 18% increased DMG for 6s.",
|
261
|
+
"Max 3 stacks."
|
262
|
+
]
|
263
|
+
)
|
264
|
+
],
|
265
|
+
max_rarity: 5,
|
266
|
+
slots: {
|
267
|
+
flower: true,
|
268
|
+
plume: true,
|
269
|
+
sands: true,
|
270
|
+
goblet: true,
|
271
|
+
circlet: true
|
272
|
+
}
|
273
|
+
).freeze
|
274
|
+
|
219
275
|
GILDED_DREAMS = GenshinObject::ArtifactSet.new(
|
220
276
|
kamera_key: "GildedDreams",
|
221
277
|
name: "Gilded Dreams",
|
@@ -353,6 +409,34 @@ module GenshinData
|
|
353
409
|
}
|
354
410
|
).freeze
|
355
411
|
|
412
|
+
LONG_NIGHTS_OATH = GenshinObject::ArtifactSet.new(
|
413
|
+
kamera_key: "LongNightsOath",
|
414
|
+
name: "Long Night's Oath",
|
415
|
+
bonuses: [
|
416
|
+
GenshinObject::ArtifactSetBonus.new(
|
417
|
+
pieces_count: 2,
|
418
|
+
bonus: ["Plunging Attack DMG increased by 25%."]
|
419
|
+
),
|
420
|
+
GenshinObject::ArtifactSetBonus.new(
|
421
|
+
pieces_count: 4,
|
422
|
+
bonus: [
|
423
|
+
"After the equipping character's Plunging Attack/Charged Attack/Elemental Skill hits an opponent, they will gain 1/2/2 stack(s) of 'Radiance Everlasting.'",
|
424
|
+
"Plunging Attacks, Charged Attacks or Elemental Skills can each trigger this effect once every 1s.",
|
425
|
+
"Radiance Everlasting: Plunging Attacks deal 15%. increased DMG for 6s. Max 5 stacks.",
|
426
|
+
"Each stack's duration is counted independently."
|
427
|
+
]
|
428
|
+
)
|
429
|
+
],
|
430
|
+
max_rarity: 5,
|
431
|
+
slots: {
|
432
|
+
flower: true,
|
433
|
+
plume: true,
|
434
|
+
sands: true,
|
435
|
+
goblet: true,
|
436
|
+
circlet: true
|
437
|
+
}
|
438
|
+
).freeze
|
439
|
+
|
356
440
|
MAIDEN_BELOVED = GenshinObject::ArtifactSet.new(
|
357
441
|
kamera_key: "MaidenBeloved",
|
358
442
|
name: "Maiden Beloved",
|
@@ -462,6 +546,32 @@ module GenshinData
|
|
462
546
|
}
|
463
547
|
).freeze
|
464
548
|
|
549
|
+
OBSIDIAN_CODEX = GenshinObject::ArtifactSet.new(
|
550
|
+
kamera_key: "ObsidianCodex",
|
551
|
+
name: "Obsidian Codex",
|
552
|
+
bonuses: [
|
553
|
+
GenshinObject::ArtifactSetBonus.new(
|
554
|
+
pieces_count: 2,
|
555
|
+
bonus: ["While the equipping character is in Nightsoul's Blessing and is on the field, their DMG dealt is increased by 15%."]
|
556
|
+
),
|
557
|
+
GenshinObject::ArtifactSetBonus.new(
|
558
|
+
pieces_count: 4,
|
559
|
+
bonus: [
|
560
|
+
"After the equipping character consumes 1 Nightsoul point while on the field, CRIT Rate increases by 40% for 6s.",
|
561
|
+
"This effect can trigger once every second."
|
562
|
+
]
|
563
|
+
)
|
564
|
+
],
|
565
|
+
max_rarity: 5,
|
566
|
+
slots: {
|
567
|
+
flower: true,
|
568
|
+
plume: true,
|
569
|
+
sands: true,
|
570
|
+
goblet: true,
|
571
|
+
circlet: true
|
572
|
+
}
|
573
|
+
).freeze
|
574
|
+
|
465
575
|
OCEAN_HUED_CLAM = GenshinObject::ArtifactSet.new(
|
466
576
|
kamera_key: "OceanHuedClam",
|
467
577
|
name: "Ocean-Hued Clam",
|
@@ -534,6 +644,33 @@ module GenshinData
|
|
534
644
|
}
|
535
645
|
).freeze
|
536
646
|
|
647
|
+
SCROLL_OF_THE_HERO_OF_CINDER_CITY = GenshinObject::ArtifactSet.new(
|
648
|
+
kamera_key: "ScrollOfTheHeroOfCinderCity",
|
649
|
+
name: "Scroll of the Hero of Cinder City",
|
650
|
+
bonuses: [
|
651
|
+
GenshinObject::ArtifactSetBonus.new(
|
652
|
+
pieces_count: 2,
|
653
|
+
bonus: ["When a nearby party member triggers a Nightsoul Burst, the equipping character regenerates 6 Elemental Energy."]
|
654
|
+
),
|
655
|
+
GenshinObject::ArtifactSetBonus.new(
|
656
|
+
pieces_count: 4,
|
657
|
+
bonus: [
|
658
|
+
"After the equipping character triggers a reaction related to their Elemental Type, all nearby party members gain a 12% Elemental DMG Bonus for the Elemental Types involved in the elemental reaction for 15s.",
|
659
|
+
"If the equipping character is in the Nightsoul's Blessing state when triggering this effect, all nearby party members gain an additional 28% Elemental DMG Bonus for the Elemental Types involved in the elemental reaction for 20s.",
|
660
|
+
"The equipping character can trigger this effect while off-field, and the DMG bonus from Artifact Sets with the same name do not stack."
|
661
|
+
]
|
662
|
+
)
|
663
|
+
],
|
664
|
+
max_rarity: 5,
|
665
|
+
slots: {
|
666
|
+
flower: true,
|
667
|
+
plume: true,
|
668
|
+
sands: true,
|
669
|
+
goblet: true,
|
670
|
+
circlet: true
|
671
|
+
}
|
672
|
+
).freeze
|
673
|
+
|
537
674
|
SHIMENAWAS_REMINISCENCE = GenshinObject::ArtifactSet.new(
|
538
675
|
kamera_key: "ShimenawasReminiscence",
|
539
676
|
name: "Shimenawa's Reminiscence",
|
@@ -652,6 +789,34 @@ module GenshinData
|
|
652
789
|
}
|
653
790
|
).freeze
|
654
791
|
|
792
|
+
UNFINISHED_REVERIE = GenshinObject::ArtifactSet.new(
|
793
|
+
kamera_key: "UnfinishedReverie",
|
794
|
+
name: "Unfinished Reverie",
|
795
|
+
bonuses: [
|
796
|
+
GenshinObject::ArtifactSetBonus.new(
|
797
|
+
pieces_count: 2,
|
798
|
+
bonus: ["ATK +18%"]
|
799
|
+
),
|
800
|
+
GenshinObject::ArtifactSetBonus.new(
|
801
|
+
pieces_count: 4,
|
802
|
+
bonus: [
|
803
|
+
"After leaving combat for 3s, DMG dealt increased by 50%.",
|
804
|
+
"In combat, if no Burning opponents are nearby for more than 6s, this DMG Bonus will decrease by 10% per second until it reaches 0%.",
|
805
|
+
"When a Burning opponent exists, it will increase by 10% instead until it reaches 50%.",
|
806
|
+
"This effect still triggers if the equipping character is off-field."
|
807
|
+
]
|
808
|
+
)
|
809
|
+
],
|
810
|
+
max_rarity: 5,
|
811
|
+
slots: {
|
812
|
+
flower: true,
|
813
|
+
plume: true,
|
814
|
+
sands: true,
|
815
|
+
goblet: true,
|
816
|
+
circlet: true
|
817
|
+
}
|
818
|
+
).freeze
|
819
|
+
|
655
820
|
VERMILLION_HEREAFTER = GenshinObject::ArtifactSet.new(
|
656
821
|
kamera_key: "VermillionHereafter",
|
657
822
|
name: "Vermillion Hereafter",
|
@@ -809,15 +974,16 @@ module GenshinData
|
|
809
974
|
}
|
810
975
|
).freeze
|
811
976
|
|
812
|
-
|
813
|
-
kamera_key: "
|
814
|
-
name: "
|
977
|
+
GAMBLER = GenshinObject::ArtifactSet.new(
|
978
|
+
kamera_key: "Gambler",
|
979
|
+
name: "Gambler",
|
815
980
|
bonuses: [
|
816
|
-
GenshinObject::ArtifactSetBonus.new(pieces_count: 2, bonus: ["Increases Elemental
|
981
|
+
GenshinObject::ArtifactSetBonus.new(pieces_count: 2, bonus: ["Increases Elemental Skill DMG by 20%."]),
|
817
982
|
GenshinObject::ArtifactSetBonus.new(
|
818
983
|
pieces_count: 4,
|
819
984
|
bonus: [
|
820
|
-
"
|
985
|
+
"Defeating an opponent has 100% chance to remove Elemental Skill CD.",
|
986
|
+
"Can only occur once every 15s."
|
821
987
|
]
|
822
988
|
)
|
823
989
|
],
|
@@ -831,16 +997,15 @@ module GenshinData
|
|
831
997
|
}
|
832
998
|
).freeze
|
833
999
|
|
834
|
-
|
835
|
-
kamera_key: "
|
836
|
-
name: "
|
1000
|
+
INSTRUCTOR = GenshinObject::ArtifactSet.new(
|
1001
|
+
kamera_key: "Instructor",
|
1002
|
+
name: "Instructor",
|
837
1003
|
bonuses: [
|
838
|
-
GenshinObject::ArtifactSetBonus.new(pieces_count: 2, bonus: ["Increases Elemental
|
1004
|
+
GenshinObject::ArtifactSetBonus.new(pieces_count: 2, bonus: ["Increases Elemental Mastery by 80."]),
|
839
1005
|
GenshinObject::ArtifactSetBonus.new(
|
840
1006
|
pieces_count: 4,
|
841
1007
|
bonus: [
|
842
|
-
"
|
843
|
-
"Can only occur once every 15s."
|
1008
|
+
"Upon triggering an Elemental Reaction, increases all party members's Elemental Mastery by 120 for 8s."
|
844
1009
|
]
|
845
1010
|
)
|
846
1011
|
],
|
@@ -7,57 +7,7 @@ module GenshinData
|
|
7
7
|
|
8
8
|
class << self
|
9
9
|
def all
|
10
|
-
|
11
|
-
ArtifactSetData::ADVENTURER,
|
12
|
-
ArtifactSetData::ARCHAIC_PETRA,
|
13
|
-
ArtifactSetData::BERSERKER,
|
14
|
-
ArtifactSetData::BLIZZARD_STRAYER,
|
15
|
-
ArtifactSetData::BLOODSTAINED_CHIVALRY,
|
16
|
-
ArtifactSetData::BRAVE_HEART,
|
17
|
-
ArtifactSetData::CRIMSON_WITCH_OF_FLAMES,
|
18
|
-
ArtifactSetData::DEEPWOOD_MEMORIES,
|
19
|
-
ArtifactSetData::DEFENDERS_WILL,
|
20
|
-
ArtifactSetData::DESERT_PAVILION_CHRONICLE,
|
21
|
-
ArtifactSetData::ECHOES_OF_AN_OFFERING,
|
22
|
-
ArtifactSetData::EMBLEM_OF_SEVERED_FATE,
|
23
|
-
ArtifactSetData::FLOWER_OF_PARADISE_LOST,
|
24
|
-
ArtifactSetData::GAMBLER,
|
25
|
-
ArtifactSetData::GILDED_DREAMS,
|
26
|
-
ArtifactSetData::GLADIATORS_FINALE,
|
27
|
-
ArtifactSetData::GOLDEN_TROUPE,
|
28
|
-
ArtifactSetData::HEART_OF_DEPTH,
|
29
|
-
ArtifactSetData::HUSK_OF_OPULENT_DREAMS,
|
30
|
-
ArtifactSetData::INSTRUCTOR,
|
31
|
-
ArtifactSetData::LAVAWALKER,
|
32
|
-
ArtifactSetData::LUCKY_DOG,
|
33
|
-
ArtifactSetData::MAIDEN_BELOVED,
|
34
|
-
ArtifactSetData::MARECHAUSSEE_HUNTER,
|
35
|
-
ArtifactSetData::MARTIAL_ARTIST,
|
36
|
-
ArtifactSetData::NIGHTTIME_WHISPERS_IN_THE_ECHOING_WOODS,
|
37
|
-
ArtifactSetData::NOBLESSE_OBLIGE,
|
38
|
-
ArtifactSetData::NYMPHS_DREAM,
|
39
|
-
ArtifactSetData::OCEAN_HUED_CLAM,
|
40
|
-
ArtifactSetData::PALE_FLAME,
|
41
|
-
ArtifactSetData::PRAYERS_FOR_DESTINY,
|
42
|
-
ArtifactSetData::PRAYERS_FOR_ILLUMINATION,
|
43
|
-
ArtifactSetData::PRAYERS_TO_SPRINGTIME,
|
44
|
-
ArtifactSetData::PRAYERS_FOR_WISDOM,
|
45
|
-
ArtifactSetData::RESOLUTION_OF_SOJOURNER,
|
46
|
-
ArtifactSetData::RETRACING_BOLIDE,
|
47
|
-
ArtifactSetData::SCHOLAR,
|
48
|
-
ArtifactSetData::SHIMENAWAS_REMINISCENCE,
|
49
|
-
ArtifactSetData::SONG_OF_DAYS_PAST,
|
50
|
-
ArtifactSetData::TENACITY_OF_THE_MILLELITH,
|
51
|
-
ArtifactSetData::THE_EXILE,
|
52
|
-
ArtifactSetData::THUNDERING_FURY,
|
53
|
-
ArtifactSetData::THUNDERSOOTHER,
|
54
|
-
ArtifactSetData::TINY_MIRACLE,
|
55
|
-
ArtifactSetData::TRAVELING_DOCTOR,
|
56
|
-
ArtifactSetData::VERMILLION_HEREAFTER,
|
57
|
-
ArtifactSetData::VIRIDESCENT_VENERER,
|
58
|
-
ArtifactSetData::VOURUKASHAS_GLOW,
|
59
|
-
ArtifactSetData::WANDERERS_TROUPE
|
60
|
-
]
|
10
|
+
GenshinData::ArtifactSets::ArtifactSetData.all
|
61
11
|
end
|
62
12
|
end
|
63
13
|
end
|