teyvatdb 0.1.18 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +4 -1
- data/lib/genshin_data/artifact_sets/artifact_data.rb +946 -295
- data/lib/genshin_data/artifact_sets.rb +2 -2
- data/lib/genshin_data/characters/character_data.rb +1143 -1126
- data/lib/genshin_data/characters.rb +4 -2
- data/lib/genshin_data/materials/development/elite_monster_drops_data.rb +605 -598
- data/lib/genshin_data/materials/development/gems_data.rb +331 -324
- data/lib/genshin_data/materials/development/general_data.rb +103 -96
- data/lib/genshin_data/materials/development/local_specialty_data.rb +506 -499
- data/lib/genshin_data/materials/development/monster_loot_drops_data.rb +441 -434
- data/lib/genshin_data/materials/development/talent_books_data.rb +506 -500
- data/lib/genshin_data/materials/development/weapon_material_data.rb +672 -665
- data/lib/genshin_data/materials/development/weapon_refinement_material_data.rb +129 -122
- data/lib/genshin_data/materials/development/weekly_boss_drops_data.rb +283 -276
- data/lib/genshin_data/materials/development/world_boss_drops_data.rb +330 -327
- data/lib/genshin_data/materials/development.rb +61 -56
- data/lib/genshin_data/materials/standard/cooking_material_data.rb +561 -554
- data/lib/genshin_data/materials/standard/crafting_material_data.rb +130 -123
- data/lib/genshin_data/materials/standard/fishing_material_data.rb +452 -445
- data/lib/genshin_data/materials/standard/forging_material_data.rb +191 -184
- data/lib/genshin_data/materials/standard/furniture_material_data.rb +251 -244
- data/lib/genshin_data/materials/standard.rb +37 -32
- data/lib/genshin_data/materials.rb +13 -7
- data/lib/genshin_data/nations/nation_data.rb +55 -52
- data/lib/genshin_data/talent_books/talent_book_data.rb +147 -0
- data/lib/genshin_data/talent_books.rb +14 -0
- data/lib/genshin_data/weapon_materials.rb +14 -0
- data/lib/genshin_data/weapons/weapon_data/bows.rb +369 -364
- data/lib/genshin_data/weapons/weapon_data/catalysts.rb +359 -354
- data/lib/genshin_data/weapons/weapon_data/claymores.rb +359 -354
- data/lib/genshin_data/weapons/weapon_data/polearms.rb +262 -257
- data/lib/genshin_data/weapons/weapon_data/swords.rb +399 -395
- data/lib/genshin_data/weapons/weapon_data.rb +10 -7
- data/lib/genshin_data/weapons.rb +2 -1
- data/lib/genshin_data/weekly_bosses/weekly_boss_data.rb +75 -0
- data/lib/genshin_data/weekly_bosses.rb +14 -0
- data/lib/genshin_data/world_bosses/world_boss_data.rb +186 -0
- data/lib/genshin_data/world_bosses.rb +14 -0
- data/lib/genshin_data.rb +23 -5
- data/lib/genshin_object/artifact_set.rb +2 -2
- data/lib/genshin_object/boss.rb +13 -0
- data/lib/genshin_object/material_family.rb +15 -0
- data/lib/genshin_object/schedule.rb +42 -0
- data/lib/genshin_object/talent_book.rb +6 -0
- data/lib/genshin_object/weapon_material_family.rb +6 -0
- data/lib/genshin_object/weekly_boss.rb +15 -0
- data/lib/genshin_object/world_boss.rb +14 -0
- data/lib/genshin_object.rb +11 -5
- data/lib/teyvatdb/version.rb +1 -1
- data/lib/teyvatdb.rb +3 -3
- metadata +16 -2
@@ -1,304 +1,311 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GenshinData
|
4
|
+
module Materials
|
5
|
+
module Development
|
6
|
+
# Definitons for all Weekly / Trounce Boss Drops
|
7
|
+
module WeeklyBossDropsData
|
8
|
+
def self.all
|
9
|
+
constants.map { |x| GenshinData::Materials::Development::WeeklyBossDropsData.const_get(x) }
|
10
|
+
end
|
6
11
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
12
|
+
DVALINS_CLAW = GenshinObject::Material.new(
|
13
|
+
kamera_key: "DvalinsClaw",
|
14
|
+
name: "Dvalin's Claw",
|
15
|
+
rarity: 5,
|
16
|
+
family: :stormterror_loot,
|
17
|
+
inventory_type: :development_material,
|
18
|
+
source_category: :boss_loot,
|
19
|
+
source_sub_category: :stormterror_drop,
|
20
|
+
nation_name: :mondstadt
|
21
|
+
).freeze
|
17
22
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
23
|
+
DVALINS_PLUME = GenshinObject::Material.new(
|
24
|
+
kamera_key: "DvalinsPlume",
|
25
|
+
name: "Dvalin's Plume",
|
26
|
+
rarity: 5,
|
27
|
+
family: :stormterror_loot,
|
28
|
+
inventory_type: :development_material,
|
29
|
+
source_category: :boss_loot,
|
30
|
+
source_sub_category: :stormterror_drop,
|
31
|
+
nation_name: :mondstadt
|
32
|
+
).freeze
|
28
33
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
34
|
+
DVALINS_SIGH = GenshinObject::Material.new(
|
35
|
+
kamera_key: "DvalinsSigh",
|
36
|
+
name: "Dvalin's Sigh",
|
37
|
+
rarity: 5,
|
38
|
+
family: :stormterror_loot,
|
39
|
+
inventory_type: :development_material,
|
40
|
+
source_category: :boss_loot,
|
41
|
+
source_sub_category: :stormterror_drop,
|
42
|
+
nation_name: :mondstadt
|
43
|
+
).freeze
|
39
44
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
45
|
+
RING_OF_BOREAS = GenshinObject::Material.new(
|
46
|
+
kamera_key: "RingOfBoreas",
|
47
|
+
name: "Ring of Boreas",
|
48
|
+
rarity: 5,
|
49
|
+
family: :wolf_lord_loot,
|
50
|
+
inventory_type: :development_material,
|
51
|
+
source_category: :boss_loot,
|
52
|
+
source_sub_category: :wolf_lord_drop,
|
53
|
+
nation_name: :mondstadt
|
54
|
+
).freeze
|
50
55
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
56
|
+
SPIRIT_LOCKET_OF_BOREAS = GenshinObject::Material.new(
|
57
|
+
kamera_key: "SpiritLocketOfBoreas",
|
58
|
+
name: "Spirit Locket of Boreas",
|
59
|
+
rarity: 5,
|
60
|
+
family: :wolf_lord_loot,
|
61
|
+
inventory_type: :development_material,
|
62
|
+
source_category: :boss_loot,
|
63
|
+
source_sub_category: :wolf_lord_drop,
|
64
|
+
nation_name: :mondstadt
|
65
|
+
).freeze
|
61
66
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
67
|
+
TAIL_OF_BOREAS = GenshinObject::Material.new(
|
68
|
+
kamera_key: "TailOfBoreas",
|
69
|
+
name: "Tail of Boreas",
|
70
|
+
rarity: 5,
|
71
|
+
family: :wolf_lord_loot,
|
72
|
+
inventory_type: :development_material,
|
73
|
+
source_category: :boss_loot,
|
74
|
+
source_sub_category: :wolf_lord_drop,
|
75
|
+
nation_name: :mondstadt
|
76
|
+
).freeze
|
72
77
|
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
78
|
+
SHADOW_OF_THE_WARRIOR = GenshinObject::Material.new(
|
79
|
+
kamera_key: "ShadowOfTheWarrior",
|
80
|
+
name: "Shadow of the Warrior",
|
81
|
+
rarity: 5,
|
82
|
+
family: :childe_loot,
|
83
|
+
inventory_type: :development_material,
|
84
|
+
source_category: :boss_loot,
|
85
|
+
source_sub_category: :childe_drop,
|
86
|
+
nation_name: :liyue
|
87
|
+
).freeze
|
83
88
|
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
89
|
+
SHARD_OF_A_FOUL_LEGACY = GenshinObject::Material.new(
|
90
|
+
kamera_key: "ShardOfAFoulLegacy",
|
91
|
+
name: "Shard of a Foul Legacy",
|
92
|
+
rarity: 5,
|
93
|
+
family: :childe_loot,
|
94
|
+
inventory_type: :development_material,
|
95
|
+
source_category: :boss_loot,
|
96
|
+
source_sub_category: :childe_drop,
|
97
|
+
nation_name: :liyue
|
98
|
+
).freeze
|
94
99
|
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
100
|
+
TUSK_OF_MONOCEROS_CAELI = GenshinObject::Material.new(
|
101
|
+
kamera_key: "TuskOfMonocerosCaeli",
|
102
|
+
name: "Tusk of Monoceros Caeli",
|
103
|
+
rarity: 5,
|
104
|
+
family: :childe_loot,
|
105
|
+
inventory_type: :development_material,
|
106
|
+
source_category: :boss_loot,
|
107
|
+
source_sub_category: :childe_drop,
|
108
|
+
nation_name: :liyue
|
109
|
+
).freeze
|
105
110
|
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
111
|
+
ASHEN_HEART = GenshinObject::Material.new(
|
112
|
+
kamera_key: "AshenHeart",
|
113
|
+
name: "Ashen Heart",
|
114
|
+
rarity: 5,
|
115
|
+
family: :signora_loot,
|
116
|
+
inventory_type: :development_material,
|
117
|
+
source_category: :boss_loot,
|
118
|
+
source_sub_category: :signora_drop,
|
119
|
+
nation_name: :inazuma
|
120
|
+
).freeze
|
116
121
|
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
122
|
+
HELLFIRE_BUTTERFLY = GenshinObject::Material.new(
|
123
|
+
kamera_key: "HellfireButterfly",
|
124
|
+
name: "Hellfire Butterfly",
|
125
|
+
rarity: 5,
|
126
|
+
family: :signora_loot,
|
127
|
+
inventory_type: :development_material,
|
128
|
+
source_category: :boss_loot,
|
129
|
+
source_sub_category: :signora_drop,
|
130
|
+
nation_name: :inazuma
|
131
|
+
).freeze
|
127
132
|
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
133
|
+
MOLTEN_MOMENT = GenshinObject::Material.new(
|
134
|
+
kamera_key: "MoltenMoment",
|
135
|
+
name: "Molten Moment",
|
136
|
+
rarity: 5,
|
137
|
+
family: :signora_loot,
|
138
|
+
inventory_type: :development_material,
|
139
|
+
source_category: :boss_loot,
|
140
|
+
source_sub_category: :signora_drop,
|
141
|
+
nation_name: :inazuma
|
142
|
+
).freeze
|
138
143
|
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
144
|
+
BLOODJADE_BRANCH = GenshinObject::Material.new(
|
145
|
+
kamera_key: "BloodjadeBranch",
|
146
|
+
name: "Bloodjade Branch",
|
147
|
+
rarity: 5,
|
148
|
+
family: :azhdaha_loot,
|
149
|
+
inventory_type: :development_material,
|
150
|
+
source_category: :boss_loot,
|
151
|
+
source_sub_category: :azhdaha_drop,
|
152
|
+
nation_name: :liyue
|
153
|
+
).freeze
|
149
154
|
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
155
|
+
DRAGON_LORDS_CROWN = GenshinObject::Material.new(
|
156
|
+
kamera_key: "DragonLordsCrown",
|
157
|
+
name: "Dragon Lord's Crown",
|
158
|
+
rarity: 5,
|
159
|
+
family: :azhdaha_loot,
|
160
|
+
inventory_type: :development_material,
|
161
|
+
source_category: :boss_loot,
|
162
|
+
source_sub_category: :azhdaha_drop,
|
163
|
+
nation_name: :liyue
|
164
|
+
).freeze
|
160
165
|
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
166
|
+
GILDED_SCALE = GenshinObject::Material.new(
|
167
|
+
kamera_key: "GildedScale",
|
168
|
+
name: "Gilded Scale",
|
169
|
+
rarity: 5,
|
170
|
+
family: :azhdaha_loot,
|
171
|
+
inventory_type: :development_material,
|
172
|
+
source_category: :boss_loot,
|
173
|
+
source_sub_category: :azhdaha_drop,
|
174
|
+
nation_name: :liyue
|
175
|
+
).freeze
|
171
176
|
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
177
|
+
MUDRA_OF_THE_MALEFIC_GENERAL = GenshinObject::Material.new(
|
178
|
+
kamera_key: "MudraOfTheMaleficGeneral",
|
179
|
+
name: "Mudra of the Malefic General",
|
180
|
+
rarity: 5,
|
181
|
+
family: :guardian_of_eternity_loot,
|
182
|
+
inventory_type: :development_material,
|
183
|
+
source_category: :boss_loot,
|
184
|
+
source_sub_category: :guardian_of_eternity_drop,
|
185
|
+
nation_name: :inazuma
|
186
|
+
).freeze
|
182
187
|
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
188
|
+
TEARS_OF_THE_CALAMITOUS_GOD = GenshinObject::Material.new(
|
189
|
+
kamera_key: "TearsOfTheCalamitousGod",
|
190
|
+
name: "Tears of the Calamitous God",
|
191
|
+
rarity: 5,
|
192
|
+
family: :guardian_of_eternity_loot,
|
193
|
+
inventory_type: :development_material,
|
194
|
+
source_category: :boss_loot,
|
195
|
+
source_sub_category: :guardian_of_eternity_drop,
|
196
|
+
nation_name: :inazuma
|
197
|
+
).freeze
|
193
198
|
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
199
|
+
THE_MEANING_OF_AEONS = GenshinObject::Material.new(
|
200
|
+
kamera_key: "TheMeaningOfAeons",
|
201
|
+
name: "The Meaning of Aeons",
|
202
|
+
rarity: 5,
|
203
|
+
family: :guardian_of_eternity_loot,
|
204
|
+
inventory_type: :development_material,
|
205
|
+
source_category: :boss_loot,
|
206
|
+
source_sub_category: :guardian_of_eternity_drop,
|
207
|
+
nation_name: :inazuma
|
208
|
+
).freeze
|
204
209
|
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
210
|
+
DAKAS_BELL = GenshinObject::Material.new(
|
211
|
+
kamera_key: "DakasBell",
|
212
|
+
name: "Daka's Bell",
|
213
|
+
rarity: 5,
|
214
|
+
family: :scaramouche_loot,
|
215
|
+
inventory_type: :development_material,
|
216
|
+
source_category: :boss_loot,
|
217
|
+
source_sub_category: :scaramouche_drop,
|
218
|
+
nation_name: :sumeru
|
219
|
+
).freeze
|
215
220
|
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
221
|
+
MIRROR_OF_MUSHIN = GenshinObject::Material.new(
|
222
|
+
kamera_key: "MirrorOfMushin",
|
223
|
+
name: "Mirror of Mushin",
|
224
|
+
rarity: 5,
|
225
|
+
family: :scaramouche_loot,
|
226
|
+
inventory_type: :development_material,
|
227
|
+
source_category: :boss_loot,
|
228
|
+
source_sub_category: :scaramouche_drop,
|
229
|
+
nation_name: :sumeru
|
230
|
+
).freeze
|
226
231
|
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
232
|
+
PUPPET_STRINGS = GenshinObject::Material.new(
|
233
|
+
kamera_key: "PuppetStrings",
|
234
|
+
name: "Puppet Strings",
|
235
|
+
rarity: 5,
|
236
|
+
family: :scaramouche_loot,
|
237
|
+
inventory_type: :development_material,
|
238
|
+
source_category: :boss_loot,
|
239
|
+
source_sub_category: :scaramouche_drop,
|
240
|
+
nation_name: :sumeru
|
241
|
+
).freeze
|
237
242
|
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
243
|
+
EVERAMBER = GenshinObject::Material.new(
|
244
|
+
kamera_key: "Everamber",
|
245
|
+
name: "Everamber",
|
246
|
+
rarity: 5,
|
247
|
+
family: :guardian_of_apeps_oasis_loot,
|
248
|
+
inventory_type: :development_material,
|
249
|
+
source_category: :boss_loot,
|
250
|
+
source_sub_category: :guardian_of_apeps_oasis_drop,
|
251
|
+
nation_name: :sumeru
|
252
|
+
).freeze
|
248
253
|
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
254
|
+
PRIMORDIAL_GREENBLOOM = GenshinObject::Material.new(
|
255
|
+
kamera_key: "PrimordialGreenbloom",
|
256
|
+
name: "Primordial Greenbloom",
|
257
|
+
rarity: 5,
|
258
|
+
family: :guardian_of_apeps_oasis_loot,
|
259
|
+
inventory_type: :development_material,
|
260
|
+
source_category: :boss_loot,
|
261
|
+
source_sub_category: :guardian_of_apeps_oasis_drop,
|
262
|
+
nation_name: :sumeru
|
263
|
+
).freeze
|
259
264
|
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
265
|
+
WORLDSPAN_FERN = GenshinObject::Material.new(
|
266
|
+
kamera_key: "WorldspanFern",
|
267
|
+
name: "Worldspan Fern",
|
268
|
+
rarity: 5,
|
269
|
+
family: :guardian_of_apeps_oasis_loot,
|
270
|
+
inventory_type: :development_material,
|
271
|
+
source_category: :boss_loot,
|
272
|
+
source_sub_category: :guardian_of_apeps_oasis_drop,
|
273
|
+
nation_name: :sumeru
|
274
|
+
).freeze
|
270
275
|
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
276
|
+
LIGHTLESS_SILK_STRING = GenshinObject::Material.new(
|
277
|
+
kamera_key: "LightlessSilkString",
|
278
|
+
name: "Lightless Silk String",
|
279
|
+
rarity: 5,
|
280
|
+
family: :all_devouring_narwhal_loot,
|
281
|
+
inventory_type: :development_material,
|
282
|
+
source_category: :boss_loot,
|
283
|
+
source_sub_category: :all_devouring_narwhal_drop,
|
284
|
+
nation_name: :sumeru
|
285
|
+
).freeze
|
281
286
|
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
287
|
+
LIGHTLESS_EYE_OF_THE_MAELSTROM = GenshinObject::Material.new(
|
288
|
+
kamera_key: "LightlessEyeOfTheMaelstrom",
|
289
|
+
name: "Lightless Eye of the Maelstrom",
|
290
|
+
rarity: 5,
|
291
|
+
family: :all_devouring_narwhal_loot,
|
292
|
+
inventory_type: :development_material,
|
293
|
+
source_category: :boss_loot,
|
294
|
+
source_sub_category: :all_devouring_narwhal_drop,
|
295
|
+
nation_name: :sumeru
|
296
|
+
).freeze
|
292
297
|
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
298
|
+
LIGHTLESS_MASS = GenshinObject::Material.new(
|
299
|
+
kamera_key: "LightlessMass",
|
300
|
+
name: "Lightless Mass",
|
301
|
+
rarity: 5,
|
302
|
+
family: :all_devouring_narwhal_loot,
|
303
|
+
inventory_type: :development_material,
|
304
|
+
source_category: :boss_loot,
|
305
|
+
source_sub_category: :all_devouring_narwhal_drop,
|
306
|
+
nation_name: :sumeru
|
307
|
+
).freeze
|
308
|
+
end
|
309
|
+
end
|
303
310
|
end
|
304
|
-
end
|
311
|
+
end
|