teyvatdb 0.1.11 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/genshin_data/artifact_sets/artifact_data.rb +263 -0
- data/lib/{teyvatdb → genshin_data}/artifact_sets.rb +3 -2
- data/lib/genshin_data/characters/character_data.rb +1072 -0
- data/lib/{teyvatdb → genshin_data}/characters.rb +4 -3
- data/lib/{teyvatdb → genshin_data}/materials/development/elite_monster_drops_data.rb +59 -55
- data/lib/{teyvatdb → genshin_data}/materials/development/gems_data.rb +37 -33
- data/lib/{teyvatdb → genshin_data}/materials/development/general_data.rb +15 -11
- data/lib/{teyvatdb → genshin_data}/materials/development/local_specialty_data.rb +48 -44
- data/lib/{teyvatdb → genshin_data}/materials/development/monster_loot_drops_data.rb +44 -40
- data/lib/{teyvatdb → genshin_data}/materials/development/talent_books_data.rb +50 -46
- data/lib/{teyvatdb → genshin_data}/materials/development/weapon_material_data.rb +65 -61
- data/lib/{teyvatdb → genshin_data}/materials/development/weapon_refinement_material_data.rb +18 -14
- data/lib/{teyvatdb → genshin_data}/materials/development/weekly_boss_drops_data.rb +29 -25
- data/lib/{teyvatdb → genshin_data}/materials/development/world_boss_drops_data.rb +32 -28
- data/lib/genshin_data/materials/development.rb +71 -0
- data/lib/{teyvatdb → genshin_data}/materials/standard/cooking_material_data.rb +60 -56
- data/lib/{teyvatdb → genshin_data}/materials/standard/crafting_material_data.rb +18 -14
- data/lib/{teyvatdb → genshin_data}/materials/standard/fishing_material_data.rb +49 -45
- data/lib/{teyvatdb → genshin_data}/materials/standard/forging_material_data.rb +23 -19
- data/lib/{teyvatdb → genshin_data}/materials/standard/furniture_material_data.rb +29 -25
- data/lib/genshin_data/materials/standard.rb +41 -0
- data/lib/{teyvatdb → genshin_data}/materials.rb +4 -2
- data/lib/genshin_data/nations/nation_data.rb +57 -0
- data/lib/genshin_data/nations.rb +12 -0
- data/lib/genshin_data/weapons/weapon_data/bows.rb +369 -0
- data/lib/genshin_data/weapons/weapon_data/catalysts.rb +359 -0
- data/lib/genshin_data/weapons/weapon_data/claymores.rb +339 -0
- data/lib/genshin_data/weapons/weapon_data/polearms.rb +289 -0
- data/lib/genshin_data/weapons/weapon_data/swords.rb +400 -0
- data/lib/genshin_data/weapons/weapon_data.rb +11 -0
- data/lib/genshin_data/weapons.rb +39 -0
- data/lib/genshin_data.rb +10 -0
- data/lib/{teyvatdb/genshin_data → genshin_object}/artifact_set.rb +4 -3
- data/lib/{teyvatdb/genshin_data → genshin_object}/character.rb +1 -1
- data/lib/{teyvatdb/genshin_data → genshin_object}/material.rb +1 -1
- data/lib/{teyvatdb/genshin_data → genshin_object}/nation.rb +1 -1
- data/lib/{teyvatdb/genshin_data → genshin_object}/weapon.rb +1 -1
- data/lib/genshin_object.rb +10 -0
- data/lib/teyvatdb/version.rb +1 -1
- data/lib/teyvatdb.rb +3 -7
- metadata +40 -34
- data/lib/teyvatdb/artifact_sets/artifact_data.rb +0 -265
- data/lib/teyvatdb/characters/character_data.rb +0 -1074
- data/lib/teyvatdb/genshin_data.rb +0 -13
- data/lib/teyvatdb/materials/development.rb +0 -428
- data/lib/teyvatdb/materials/standard.rb +0 -200
- data/lib/teyvatdb/nations/nation_data.rb +0 -55
- data/lib/teyvatdb/nations.rb +0 -21
- data/lib/teyvatdb/weapons/weapon_data.rb +0 -1657
- data/lib/teyvatdb/weapons.rb +0 -185
@@ -0,0 +1,289 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GenshinData::Weapons::WeaponData
|
4
|
+
module Polearms
|
5
|
+
def self.all
|
6
|
+
self.constants.map { |x| "GenshinData::Weapons::WeaponData::Polearms::#{x}".constantize }
|
7
|
+
end
|
8
|
+
|
9
|
+
BALLAD_OF_THE_FJORDS = GenshinObject::Weapon.new(
|
10
|
+
kamera_key: "BalladOfTheFjords",
|
11
|
+
name: "Ballad of the Fjords",
|
12
|
+
rarity: 4,
|
13
|
+
weapon_type: :polearm,
|
14
|
+
elite_material_type: :rogue_flower,
|
15
|
+
standard_material_type: :nectar,
|
16
|
+
weapon_material_type: :pristine_sea
|
17
|
+
).freeze
|
18
|
+
|
19
|
+
BEGINNERS_PROTECTOR = GenshinObject::Weapon.new(
|
20
|
+
kamera_key: "BeginnersProtector",
|
21
|
+
name: "Beginner's Protector",
|
22
|
+
rarity: 1,
|
23
|
+
weapon_type: :polearm,
|
24
|
+
elite_material_type: :chaos_core,
|
25
|
+
standard_material_type: :scroll,
|
26
|
+
weapon_material_type: :chains
|
27
|
+
).freeze
|
28
|
+
|
29
|
+
BLACK_TASSEL = GenshinObject::Weapon.new(
|
30
|
+
kamera_key: "BlackTassel",
|
31
|
+
name: "Black Tassel",
|
32
|
+
rarity: 3,
|
33
|
+
weapon_type: :polearm,
|
34
|
+
elite_material_type: :bone_shard,
|
35
|
+
standard_material_type: :arrowhead,
|
36
|
+
weapon_material_type: :aerosiderite
|
37
|
+
).freeze
|
38
|
+
|
39
|
+
BLACKCLIFF_POLE = GenshinObject::Weapon.new(
|
40
|
+
kamera_key: "BlackcliffPole",
|
41
|
+
name: "Blackcliff Pole",
|
42
|
+
rarity: 4,
|
43
|
+
weapon_type: :polearm,
|
44
|
+
elite_material_type: :mist_grass,
|
45
|
+
standard_material_type: :fatui_insignia,
|
46
|
+
weapon_material_type: :elixir
|
47
|
+
).freeze
|
48
|
+
|
49
|
+
CALAMITY_QUELLER = GenshinObject::Weapon.new(
|
50
|
+
kamera_key: "CalamityQueller",
|
51
|
+
name: "Calamity Queller",
|
52
|
+
rarity: 5,
|
53
|
+
weapon_type: :polearm,
|
54
|
+
elite_material_type: :mist_grass,
|
55
|
+
standard_material_type: :nectar,
|
56
|
+
weapon_material_type: :elixir
|
57
|
+
).freeze
|
58
|
+
|
59
|
+
CRESCENT_PIKE = GenshinObject::Weapon.new(
|
60
|
+
kamera_key: "CrescentPike",
|
61
|
+
name: "Crescent Pike",
|
62
|
+
rarity: 4,
|
63
|
+
weapon_type: :polearm,
|
64
|
+
elite_material_type: :sacrificial_knife,
|
65
|
+
standard_material_type: :hoarder_insignia,
|
66
|
+
weapon_material_type: :guyun
|
67
|
+
).freeze
|
68
|
+
|
69
|
+
DEATHMATCH = GenshinObject::Weapon.new(
|
70
|
+
kamera_key: "Deathmatch",
|
71
|
+
name: "Deathmatch",
|
72
|
+
rarity: 4,
|
73
|
+
weapon_type: :polearm,
|
74
|
+
elite_material_type: :ley_line,
|
75
|
+
standard_material_type: :nectar,
|
76
|
+
weapon_material_type: :wolf_tooth
|
77
|
+
).freeze
|
78
|
+
|
79
|
+
DRAGONS_BANE = GenshinObject::Weapon.new(
|
80
|
+
kamera_key: "DragonsBane",
|
81
|
+
name: "Dragon's Bane",
|
82
|
+
rarity: 4,
|
83
|
+
weapon_type: :polearm,
|
84
|
+
elite_material_type: :mist_grass,
|
85
|
+
standard_material_type: :scroll,
|
86
|
+
weapon_material_type: :elixir
|
87
|
+
).freeze
|
88
|
+
|
89
|
+
DRAGONSPINE_SPEAR = GenshinObject::Weapon.new(
|
90
|
+
kamera_key: "DragonspineSpear",
|
91
|
+
name: "Dragonspine Spear",
|
92
|
+
rarity: 4,
|
93
|
+
weapon_type: :polearm,
|
94
|
+
elite_material_type: :mist_grass,
|
95
|
+
standard_material_type: :fatui_insignia,
|
96
|
+
weapon_material_type: :wolf_tooth
|
97
|
+
).freeze
|
98
|
+
|
99
|
+
ENGULFING_LIGHTNING = GenshinObject::Weapon.new(
|
100
|
+
kamera_key: "EngulfingLightning",
|
101
|
+
name: "Engulfing Lightning",
|
102
|
+
rarity: 5,
|
103
|
+
weapon_type: :polearm,
|
104
|
+
elite_material_type: :chaos_oculus,
|
105
|
+
standard_material_type: :handguard,
|
106
|
+
weapon_material_type: :oni_mask
|
107
|
+
).freeze
|
108
|
+
|
109
|
+
FAVONIUS_LANCE = GenshinObject::Weapon.new(
|
110
|
+
kamera_key: "FavoniusLance",
|
111
|
+
name: "Favonius Lance",
|
112
|
+
rarity: 4,
|
113
|
+
weapon_type: :polearm,
|
114
|
+
elite_material_type: :chaos_core,
|
115
|
+
standard_material_type: :slime,
|
116
|
+
weapon_material_type: :chains
|
117
|
+
).freeze
|
118
|
+
|
119
|
+
HALBERD = GenshinObject::Weapon.new(
|
120
|
+
kamera_key: "Halberd",
|
121
|
+
name: "Halberd",
|
122
|
+
rarity: 3,
|
123
|
+
weapon_type: :polearm,
|
124
|
+
elite_material_type: :mist_grass,
|
125
|
+
standard_material_type: :nectar,
|
126
|
+
weapon_material_type: :elixir
|
127
|
+
).freeze
|
128
|
+
|
129
|
+
IRON_POINT = GenshinObject::Weapon.new(
|
130
|
+
kamera_key: "IronPoint",
|
131
|
+
name: "Iron Point",
|
132
|
+
rarity: 2,
|
133
|
+
weapon_type: :polearm,
|
134
|
+
elite_material_type: :chaos_core,
|
135
|
+
standard_material_type: :scroll,
|
136
|
+
weapon_material_type: :chains
|
137
|
+
).freeze
|
138
|
+
|
139
|
+
KITAIN_CROSS_SPEAR = GenshinObject::Weapon.new(
|
140
|
+
kamera_key: "KitainCrossSpear",
|
141
|
+
name: "Kitain Cross Spear",
|
142
|
+
rarity: 4,
|
143
|
+
weapon_type: :polearm,
|
144
|
+
elite_material_type: :chaos_oculus,
|
145
|
+
standard_material_type: :hoarder_insignia,
|
146
|
+
weapon_material_type: :oni_mask
|
147
|
+
).freeze
|
148
|
+
|
149
|
+
LITHIC_SPEAR = GenshinObject::Weapon.new(
|
150
|
+
kamera_key: "LithicSpear",
|
151
|
+
name: "Lithic Spear",
|
152
|
+
rarity: 4,
|
153
|
+
weapon_type: :polearm,
|
154
|
+
elite_material_type: :bone_shard,
|
155
|
+
standard_material_type: :arrowhead,
|
156
|
+
weapon_material_type: :aerosiderite
|
157
|
+
).freeze
|
158
|
+
|
159
|
+
MISSIVE_WINDSPEAR = GenshinObject::Weapon.new(
|
160
|
+
kamera_key: "MissiveWindspear",
|
161
|
+
name: "Missive Windspear",
|
162
|
+
rarity: 4,
|
163
|
+
weapon_type: :polearm,
|
164
|
+
elite_material_type: :statuette,
|
165
|
+
standard_material_type: :slime,
|
166
|
+
weapon_material_type: :wolf_tooth
|
167
|
+
).freeze
|
168
|
+
|
169
|
+
MOONPIERCER = GenshinObject::Weapon.new(
|
170
|
+
kamera_key: "Moonpiercer",
|
171
|
+
name: "Moonpiercer",
|
172
|
+
rarity: 4,
|
173
|
+
weapon_type: :polearm,
|
174
|
+
elite_material_type: :chaos_bolt,
|
175
|
+
standard_material_type: :fatui_insignia,
|
176
|
+
weapon_material_type: :oasis_garden
|
177
|
+
).freeze
|
178
|
+
|
179
|
+
PRIMORDIAL_JADE_WINGED_SPEAR = GenshinObject::Weapon.new(
|
180
|
+
kamera_key: "PrimordialJadeWingedSpear",
|
181
|
+
name: "Primordial Jade Winged-Spear",
|
182
|
+
rarity: 5,
|
183
|
+
weapon_type: :polearm,
|
184
|
+
elite_material_type: :sacrificial_knife,
|
185
|
+
standard_material_type: :fatui_insignia,
|
186
|
+
weapon_material_type: :guyun
|
187
|
+
).freeze
|
188
|
+
|
189
|
+
PROTOTYPE_STARGLITTER = GenshinObject::Weapon.new(
|
190
|
+
kamera_key: "PrototypeStarglitter",
|
191
|
+
name: "Prototype Starglitter",
|
192
|
+
rarity: 4,
|
193
|
+
weapon_type: :polearm,
|
194
|
+
elite_material_type: :bone_shard,
|
195
|
+
standard_material_type: :hilichurl_mask,
|
196
|
+
weapon_material_type: :aerosiderite
|
197
|
+
).freeze
|
198
|
+
|
199
|
+
RIGHTFUL_REWARD = GenshinObject::Weapon.new(
|
200
|
+
kamera_key: "RightfulReward",
|
201
|
+
name: "Rightful Reward",
|
202
|
+
rarity: 4,
|
203
|
+
weapon_type: :polearm,
|
204
|
+
elite_material_type: :core,
|
205
|
+
standard_material_type: :gear,
|
206
|
+
weapon_material_type: :pristine_sea
|
207
|
+
).freeze
|
208
|
+
|
209
|
+
ROYAL_SPEAR = GenshinObject::Weapon.new(
|
210
|
+
kamera_key: "RoyalSpear",
|
211
|
+
name: "Royal Spear",
|
212
|
+
rarity: 4,
|
213
|
+
weapon_type: :polearm,
|
214
|
+
elite_material_type: :mist_grass,
|
215
|
+
standard_material_type: :fatui_insignia,
|
216
|
+
weapon_material_type: :elixir
|
217
|
+
).freeze
|
218
|
+
|
219
|
+
SKYWARD_SPINE = GenshinObject::Weapon.new(
|
220
|
+
kamera_key: "SkywardSpine",
|
221
|
+
name: "Skyward Spine",
|
222
|
+
rarity: 5,
|
223
|
+
weapon_type: :polearm,
|
224
|
+
elite_material_type: :chaos_core,
|
225
|
+
standard_material_type: :scroll,
|
226
|
+
weapon_material_type: :chains
|
227
|
+
).freeze
|
228
|
+
|
229
|
+
STAFF_OF_HOMA = GenshinObject::Weapon.new(
|
230
|
+
kamera_key: "StaffOfHoma",
|
231
|
+
name: "Staff of Homa",
|
232
|
+
rarity: 5,
|
233
|
+
weapon_type: :polearm,
|
234
|
+
elite_material_type: :ley_line,
|
235
|
+
standard_material_type: :slime,
|
236
|
+
weapon_material_type: :aerosiderite
|
237
|
+
).freeze
|
238
|
+
|
239
|
+
STAFF_OF_THE_SCARLET_SANDS = GenshinObject::Weapon.new(
|
240
|
+
kamera_key: "StaffOfTheScarletSands",
|
241
|
+
name: "Staff of the Scarlet Sands",
|
242
|
+
rarity: 5,
|
243
|
+
weapon_type: :polearm,
|
244
|
+
elite_material_type: :chaos_bolt,
|
245
|
+
standard_material_type: :pollen,
|
246
|
+
weapon_material_type: :oasis_garden
|
247
|
+
).freeze
|
248
|
+
|
249
|
+
THE_CATCH = GenshinObject::Weapon.new(
|
250
|
+
kamera_key: "TheCatch",
|
251
|
+
name: "Catch, The",
|
252
|
+
rarity: 4,
|
253
|
+
weapon_type: :polearm,
|
254
|
+
elite_material_type: :chaos_oculus,
|
255
|
+
standard_material_type: :spectral,
|
256
|
+
weapon_material_type: :oni_mask
|
257
|
+
).freeze
|
258
|
+
|
259
|
+
VORTEX_VANQUISHER = GenshinObject::Weapon.new(
|
260
|
+
kamera_key: "VortexVanquisher",
|
261
|
+
name: "Vortex Vanquisher",
|
262
|
+
rarity: 5,
|
263
|
+
weapon_type: :polearm,
|
264
|
+
elite_material_type: :bone_shard,
|
265
|
+
standard_material_type: :hoarder_insignia,
|
266
|
+
weapon_material_type: :aerosiderite
|
267
|
+
).freeze
|
268
|
+
|
269
|
+
WAVEBREAKERS_FIN = GenshinObject::Weapon.new(
|
270
|
+
kamera_key: "WavebreakersFin",
|
271
|
+
name: "Wavebreaker's Fin",
|
272
|
+
rarity: 4,
|
273
|
+
weapon_type: :polearm,
|
274
|
+
elite_material_type: :concealed_talon,
|
275
|
+
standard_material_type: :handguard,
|
276
|
+
weapon_material_type: :oni_mask
|
277
|
+
).freeze
|
278
|
+
|
279
|
+
WHITE_TASSEL = GenshinObject::Weapon.new(
|
280
|
+
kamera_key: "WhiteTassel",
|
281
|
+
name: "White Tassel",
|
282
|
+
rarity: 3,
|
283
|
+
weapon_type: :polearm,
|
284
|
+
elite_material_type: :sacrificial_knife,
|
285
|
+
standard_material_type: :fatui_insignia,
|
286
|
+
weapon_material_type: :guyun
|
287
|
+
).freeze
|
288
|
+
end
|
289
|
+
end
|
@@ -0,0 +1,400 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GenshinData::Weapons::WeaponData
|
4
|
+
module Swords
|
5
|
+
def self.all
|
6
|
+
self.constants.map { |x| "GenshinData::Weapons::WeaponData::Swords::#{x}".constantize }
|
7
|
+
end
|
8
|
+
|
9
|
+
THE_ALLEY_FLASH = GenshinObject::Weapon.new(
|
10
|
+
kamera_key: "TheAlleyFlash",
|
11
|
+
name: "Alley Flash, The",
|
12
|
+
rarity: 4,
|
13
|
+
weapon_type: :sword,
|
14
|
+
elite_material_type: :horn,
|
15
|
+
standard_material_type: :scroll,
|
16
|
+
weapon_material_type: :decarabian
|
17
|
+
).freeze
|
18
|
+
|
19
|
+
AMENOMA_KAGEUCHI = GenshinObject::Weapon.new(
|
20
|
+
kamera_key: "AmenomaKageuchi",
|
21
|
+
name: "Amenoma Kageuchi",
|
22
|
+
rarity: 4,
|
23
|
+
weapon_type: :sword,
|
24
|
+
elite_material_type: :chaos_oculus,
|
25
|
+
standard_material_type: :handguard,
|
26
|
+
weapon_material_type: :coral
|
27
|
+
).freeze
|
28
|
+
|
29
|
+
AQUILA_FAVONIA = GenshinObject::Weapon.new(
|
30
|
+
kamera_key: "AquilaFavonia",
|
31
|
+
name: "Aquila Favonia",
|
32
|
+
rarity: 5,
|
33
|
+
weapon_type: :sword,
|
34
|
+
elite_material_type: :horn,
|
35
|
+
standard_material_type: :arrowhead,
|
36
|
+
weapon_material_type: :decarabian
|
37
|
+
).freeze
|
38
|
+
|
39
|
+
|
40
|
+
BLACKCLIFF_LONGSWORD = GenshinObject::Weapon.new(
|
41
|
+
kamera_key: "BlackcliffLongsword",
|
42
|
+
name: "Blackcliff Longsword",
|
43
|
+
rarity: 4,
|
44
|
+
weapon_type: :sword,
|
45
|
+
elite_material_type: :sacrificial_knife,
|
46
|
+
standard_material_type: :arrowhead,
|
47
|
+
weapon_material_type: :guyun
|
48
|
+
).freeze
|
49
|
+
|
50
|
+
CINNABAR_SPINDLE = GenshinObject::Weapon.new(
|
51
|
+
kamera_key: "CinnabarSpindle",
|
52
|
+
name: "Cinnabar Spindle",
|
53
|
+
rarity: 4,
|
54
|
+
weapon_type: :sword,
|
55
|
+
elite_material_type: :chaos_core,
|
56
|
+
standard_material_type: :hilichurl_mask,
|
57
|
+
weapon_material_type: :decarabian
|
58
|
+
).freeze
|
59
|
+
|
60
|
+
COOL_STEEL = GenshinObject::Weapon.new(
|
61
|
+
kamera_key: "CoolSteel",
|
62
|
+
name: "Cool Steel",
|
63
|
+
rarity: 3,
|
64
|
+
weapon_type: :sword,
|
65
|
+
elite_material_type: :horn,
|
66
|
+
standard_material_type: :arrowhead,
|
67
|
+
weapon_material_type: :decarabian
|
68
|
+
).freeze
|
69
|
+
|
70
|
+
DARK_IRON_SWORD = GenshinObject::Weapon.new(
|
71
|
+
kamera_key: "DarkIronSword",
|
72
|
+
name: "Dark Iron Sword",
|
73
|
+
rarity: 3,
|
74
|
+
weapon_type: :sword,
|
75
|
+
elite_material_type: :sacrificial_knife,
|
76
|
+
standard_material_type: :hilichurl_mask,
|
77
|
+
weapon_material_type: :guyun
|
78
|
+
).freeze
|
79
|
+
|
80
|
+
DULL_BLADE = GenshinObject::Weapon.new(
|
81
|
+
kamera_key: "DullBlade",
|
82
|
+
name: "Dull Blade",
|
83
|
+
rarity: 1,
|
84
|
+
weapon_type: :sword,
|
85
|
+
elite_material_type: :horn,
|
86
|
+
standard_material_type: :arrowhead,
|
87
|
+
weapon_material_type: :decarabian
|
88
|
+
).freeze
|
89
|
+
|
90
|
+
FAVONIUS_SWORD = GenshinObject::Weapon.new(
|
91
|
+
kamera_key: "FavoniusSword",
|
92
|
+
name: "Favonius Sword",
|
93
|
+
rarity: 4,
|
94
|
+
weapon_type: :sword,
|
95
|
+
elite_material_type: :horn,
|
96
|
+
standard_material_type: :arrowhead,
|
97
|
+
weapon_material_type: :decarabian
|
98
|
+
).freeze
|
99
|
+
|
100
|
+
FESTERING_DESIRE = GenshinObject::Weapon.new(
|
101
|
+
kamera_key: "FesteringDesire",
|
102
|
+
name: "Festering Desire",
|
103
|
+
rarity: 4,
|
104
|
+
weapon_type: :sword,
|
105
|
+
elite_material_type: :horn,
|
106
|
+
standard_material_type: :fatui_insignia,
|
107
|
+
weapon_material_type: :chains
|
108
|
+
).freeze
|
109
|
+
|
110
|
+
FILLET_BLADE = GenshinObject::Weapon.new(
|
111
|
+
kamera_key: "FilletBlade",
|
112
|
+
name: "Fillet Blade",
|
113
|
+
rarity: 3,
|
114
|
+
weapon_type: :sword,
|
115
|
+
elite_material_type: :mist_grass,
|
116
|
+
standard_material_type: :hoarder_insignia,
|
117
|
+
weapon_material_type: :elixir
|
118
|
+
).freeze
|
119
|
+
|
120
|
+
FINALE_OF_THE_DEEP = GenshinObject::Weapon.new(
|
121
|
+
kamera_key: "FinaleOfTheDeep",
|
122
|
+
name: "Finale of the Deep",
|
123
|
+
rarity: 4,
|
124
|
+
weapon_type: :sword,
|
125
|
+
elite_material_type: :tainted_water,
|
126
|
+
standard_material_type: :handguard,
|
127
|
+
weapon_material_type: :sacred_dewdrop
|
128
|
+
).freeze
|
129
|
+
|
130
|
+
FLEUVE_CENDRE_FERRYMAN = GenshinObject::Weapon.new(
|
131
|
+
kamera_key: "FleuveCendreFerryman",
|
132
|
+
name: "Fleuve Cendre Ferryman",
|
133
|
+
rarity: 4,
|
134
|
+
weapon_type: :sword,
|
135
|
+
elite_material_type: :tainted_water,
|
136
|
+
standard_material_type: :transoceanic,
|
137
|
+
weapon_material_type: :ancient_chord
|
138
|
+
).freeze
|
139
|
+
|
140
|
+
FREEDOM_SWORN = GenshinObject::Weapon.new(
|
141
|
+
kamera_key: "FreedomSworn",
|
142
|
+
name: "Freedom-Sworn",
|
143
|
+
rarity: 5,
|
144
|
+
weapon_type: :sword,
|
145
|
+
elite_material_type: :chaos_core,
|
146
|
+
standard_material_type: :scroll,
|
147
|
+
weapon_material_type: :chains
|
148
|
+
).freeze
|
149
|
+
|
150
|
+
HARAN_GEPPAKU_FUTSU = GenshinObject::Weapon.new(
|
151
|
+
kamera_key: "HaranGeppakuFutsu",
|
152
|
+
name: "Haran Geppaku Futsu",
|
153
|
+
rarity: 5,
|
154
|
+
weapon_type: :sword,
|
155
|
+
elite_material_type: :statuette,
|
156
|
+
standard_material_type: :handguard,
|
157
|
+
weapon_material_type: :narukami
|
158
|
+
).freeze
|
159
|
+
|
160
|
+
HARBINGER_OF_DAWN = GenshinObject::Weapon.new(
|
161
|
+
kamera_key: "HarbingerOfDawn",
|
162
|
+
name: "Harbinger of Dawn",
|
163
|
+
rarity: 3,
|
164
|
+
weapon_type: :sword,
|
165
|
+
elite_material_type: :ley_line,
|
166
|
+
standard_material_type: :slime,
|
167
|
+
weapon_material_type: :wolf_tooth
|
168
|
+
).freeze
|
169
|
+
|
170
|
+
IRON_STING = GenshinObject::Weapon.new(
|
171
|
+
kamera_key: "IronSting",
|
172
|
+
name: "Iron Sting",
|
173
|
+
rarity: 4,
|
174
|
+
weapon_type: :sword,
|
175
|
+
elite_material_type: :bone_shard,
|
176
|
+
standard_material_type: :nectar,
|
177
|
+
weapon_material_type: :aerosiderite
|
178
|
+
).freeze
|
179
|
+
|
180
|
+
KAGOTSURUBE_ISSHIN = GenshinObject::Weapon.new(
|
181
|
+
kamera_key: "KagotsurubeIsshin",
|
182
|
+
name: "Kagotsurube Isshin",
|
183
|
+
rarity: 4,
|
184
|
+
weapon_type: :sword,
|
185
|
+
elite_material_type: :statuette,
|
186
|
+
standard_material_type: :spectral,
|
187
|
+
weapon_material_type: :oni_mask
|
188
|
+
).freeze
|
189
|
+
|
190
|
+
KEY_OF_KHAJ_NISUT = GenshinObject::Weapon.new(
|
191
|
+
kamera_key: "KeyOfKhajNisut",
|
192
|
+
name: "Key of Khaj-Nisut",
|
193
|
+
rarity: 5,
|
194
|
+
weapon_type: :sword,
|
195
|
+
elite_material_type: :turbid_prism,
|
196
|
+
standard_material_type: :scarf,
|
197
|
+
weapon_material_type: :forest_dew
|
198
|
+
).freeze
|
199
|
+
|
200
|
+
LIGHT_OF_FOLIAR_INCISION = GenshinObject::Weapon.new(
|
201
|
+
kamera_key: "LightOfFoliarIncision",
|
202
|
+
name: "Light of Foliar Incision",
|
203
|
+
rarity: 5,
|
204
|
+
weapon_type: :sword,
|
205
|
+
elite_material_type: :shell,
|
206
|
+
standard_material_type: :scarf,
|
207
|
+
weapon_material_type: :forest_dew
|
208
|
+
).freeze
|
209
|
+
|
210
|
+
LIONS_ROAR = GenshinObject::Weapon.new(
|
211
|
+
kamera_key: "LionsRoar",
|
212
|
+
name: "Lions Roar",
|
213
|
+
rarity: 4,
|
214
|
+
weapon_type: :sword,
|
215
|
+
elite_material_type: :sacrificial_knife,
|
216
|
+
standard_material_type: :hoarder_insignia,
|
217
|
+
weapon_material_type: :guyun
|
218
|
+
).freeze
|
219
|
+
|
220
|
+
MISTSPLITTER_REFORGED = GenshinObject::Weapon.new(
|
221
|
+
kamera_key: "MistsplitterReforged",
|
222
|
+
name: "Mistsplitter Reforged",
|
223
|
+
rarity: 5,
|
224
|
+
weapon_type: :sword,
|
225
|
+
elite_material_type: :chaos_oculus,
|
226
|
+
standard_material_type: :handguard,
|
227
|
+
weapon_material_type: :coral
|
228
|
+
).freeze
|
229
|
+
|
230
|
+
PRIMORDIAL_JADE_CUTTER = GenshinObject::Weapon.new(
|
231
|
+
kamera_key: "PrimordialJadeCutter",
|
232
|
+
name: "Primordial Jade Cutter",
|
233
|
+
rarity: 5,
|
234
|
+
weapon_type: :sword,
|
235
|
+
elite_material_type: :mist_grass,
|
236
|
+
standard_material_type: :hoarder_insignia,
|
237
|
+
weapon_material_type: :elixir
|
238
|
+
).freeze
|
239
|
+
|
240
|
+
PROTOTYPE_RANCOUR = GenshinObject::Weapon.new(
|
241
|
+
kamera_key: "PrototypeRancour",
|
242
|
+
name: "Prototype Rancour",
|
243
|
+
rarity: 4,
|
244
|
+
weapon_type: :sword,
|
245
|
+
elite_material_type: :mist_grass,
|
246
|
+
standard_material_type: :fatui_insignia,
|
247
|
+
weapon_material_type: :elixir
|
248
|
+
).freeze
|
249
|
+
|
250
|
+
ROYAL_LONGSWORD = GenshinObject::Weapon.new(
|
251
|
+
kamera_key: "RoyalLongsword",
|
252
|
+
name: "Royal Longsword",
|
253
|
+
rarity: 4,
|
254
|
+
weapon_type: :sword,
|
255
|
+
elite_material_type: :horn,
|
256
|
+
standard_material_type: :arrowhead,
|
257
|
+
weapon_material_type: :decarabian
|
258
|
+
).freeze
|
259
|
+
|
260
|
+
SACRIFICIAL_SWORD = GenshinObject::Weapon.new(
|
261
|
+
kamera_key: "SacrificialSword",
|
262
|
+
name: "Sacrificial Sword",
|
263
|
+
rarity: 4,
|
264
|
+
weapon_type: :sword,
|
265
|
+
elite_material_type: :chaos_core,
|
266
|
+
standard_material_type: :scroll,
|
267
|
+
weapon_material_type: :chains
|
268
|
+
).freeze
|
269
|
+
|
270
|
+
SAPWOOD_BLADE = GenshinObject::Weapon.new(
|
271
|
+
kamera_key: "SapwoodBlade",
|
272
|
+
name: "Sapwood Blade",
|
273
|
+
rarity: 4,
|
274
|
+
weapon_type: :sword,
|
275
|
+
elite_material_type: :chaos_bolt,
|
276
|
+
standard_material_type: :scarf,
|
277
|
+
weapon_material_type: :forest_dew
|
278
|
+
).freeze
|
279
|
+
|
280
|
+
SILVER_SWORD = GenshinObject::Weapon.new(
|
281
|
+
kamera_key: "SilverSword",
|
282
|
+
name: "Silver Sword",
|
283
|
+
rarity: 2,
|
284
|
+
weapon_type: :sword,
|
285
|
+
elite_material_type: :horn,
|
286
|
+
standard_material_type: :arrowhead,
|
287
|
+
weapon_material_type: :decarabian
|
288
|
+
).freeze
|
289
|
+
|
290
|
+
SKYRIDER_SWORD = GenshinObject::Weapon.new(
|
291
|
+
kamera_key: "SkyriderSword",
|
292
|
+
name: "Skyrider Sword",
|
293
|
+
rarity: 3,
|
294
|
+
weapon_type: :sword,
|
295
|
+
elite_material_type: :bone_shard,
|
296
|
+
standard_material_type: :fatui_insignia,
|
297
|
+
weapon_material_type: :aerosiderite
|
298
|
+
).freeze
|
299
|
+
|
300
|
+
SKYWARD_BLADE = GenshinObject::Weapon.new(
|
301
|
+
kamera_key: "SkywardBlade",
|
302
|
+
name: "Skyward Blade",
|
303
|
+
rarity: 5,
|
304
|
+
weapon_type: :sword,
|
305
|
+
elite_material_type: :ley_line,
|
306
|
+
standard_material_type: :slime,
|
307
|
+
weapon_material_type: :wolf_tooth
|
308
|
+
).freeze
|
309
|
+
|
310
|
+
SUMMIT_SHAPER = GenshinObject::Weapon.new(
|
311
|
+
kamera_key: "SummitShaper",
|
312
|
+
name: "Summit Shaper",
|
313
|
+
rarity: 5,
|
314
|
+
weapon_type: :sword,
|
315
|
+
elite_material_type: :sacrificial_knife,
|
316
|
+
standard_material_type: :hilichurl_mask,
|
317
|
+
weapon_material_type: :guyun
|
318
|
+
).freeze
|
319
|
+
|
320
|
+
SWORD_OF_DESCENSION = GenshinObject::Weapon.new(
|
321
|
+
kamera_key: "SwordOfDescension",
|
322
|
+
name: "Sword of Descension",
|
323
|
+
rarity: 4,
|
324
|
+
weapon_type: :sword,
|
325
|
+
elite_material_type: :ley_line,
|
326
|
+
standard_material_type: :hoarder_insignia,
|
327
|
+
weapon_material_type: :wolf_tooth
|
328
|
+
).freeze
|
329
|
+
|
330
|
+
THE_BLACK_SWORD = GenshinObject::Weapon.new(
|
331
|
+
kamera_key: "TheBlackSword",
|
332
|
+
name: "Black Sword, The",
|
333
|
+
rarity: 4,
|
334
|
+
weapon_type: :sword,
|
335
|
+
elite_material_type: :ley_line,
|
336
|
+
standard_material_type: :slime,
|
337
|
+
weapon_material_type: :wolf_tooth
|
338
|
+
).freeze
|
339
|
+
|
340
|
+
THE_DOCKHANDS_ASSISTANT = GenshinObject::Weapon.new(
|
341
|
+
kamera_key: "TheDockhandsAssistant",
|
342
|
+
name: "Dockhand's Assistant, The",
|
343
|
+
rarity: 4,
|
344
|
+
weapon_type: :sword,
|
345
|
+
elite_material_type: :pocket_watch,
|
346
|
+
standard_material_type: :transoceanic,
|
347
|
+
weapon_material_type: :sacred_dewdrop
|
348
|
+
).freeze
|
349
|
+
|
350
|
+
THE_FLUTE = GenshinObject::Weapon.new(
|
351
|
+
kamera_key: "TheFlute",
|
352
|
+
name: "Flute, The",
|
353
|
+
rarity: 4,
|
354
|
+
weapon_type: :sword,
|
355
|
+
elite_material_type: :ley_line,
|
356
|
+
standard_material_type: :slime,
|
357
|
+
weapon_material_type: :wolf_tooth
|
358
|
+
).freeze
|
359
|
+
|
360
|
+
TOUKABOU_SHIGURE = GenshinObject::Weapon.new(
|
361
|
+
kamera_key: "ToukabouShigure",
|
362
|
+
name: "Toukabou Shigure",
|
363
|
+
rarity: 4,
|
364
|
+
weapon_type: :sword,
|
365
|
+
elite_material_type: :turbid_prism,
|
366
|
+
standard_material_type: :handguard,
|
367
|
+
weapon_material_type: :narukami
|
368
|
+
).freeze
|
369
|
+
|
370
|
+
TRAVELERS_HANDY_SWORD = GenshinObject::Weapon.new(
|
371
|
+
kamera_key: "TravelersHandySword",
|
372
|
+
name: "Traveler's Handy Sword",
|
373
|
+
rarity: 3,
|
374
|
+
weapon_type: :sword,
|
375
|
+
elite_material_type: :chaos_core,
|
376
|
+
standard_material_type: :scroll,
|
377
|
+
weapon_material_type: :chains
|
378
|
+
).freeze
|
379
|
+
|
380
|
+
WOLF_FANG = GenshinObject::Weapon.new(
|
381
|
+
kamera_key: "WolfFang",
|
382
|
+
name: "Wolf-Fang",
|
383
|
+
rarity: 4,
|
384
|
+
weapon_type: :sword,
|
385
|
+
elite_material_type: :chaos_core,
|
386
|
+
standard_material_type: :hilichurl_mask,
|
387
|
+
weapon_material_type: :decarabian
|
388
|
+
).freeze
|
389
|
+
|
390
|
+
XIPHOS_MOONLIGHT = GenshinObject::Weapon.new(
|
391
|
+
kamera_key: "XiphosMoonlight",
|
392
|
+
name: "Xiphos' Moonlight",
|
393
|
+
rarity: 4,
|
394
|
+
weapon_type: :sword,
|
395
|
+
elite_material_type: :turbid_prism,
|
396
|
+
standard_material_type: :scarf,
|
397
|
+
weapon_material_type: :forest_dew
|
398
|
+
).freeze
|
399
|
+
end
|
400
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GenshinData::Weapons
|
4
|
+
module WeaponData
|
5
|
+
require_relative './weapon_data/bows'
|
6
|
+
require_relative './weapon_data/catalysts'
|
7
|
+
require_relative './weapon_data/claymores'
|
8
|
+
require_relative './weapon_data/polearms'
|
9
|
+
require_relative './weapon_data/swords'
|
10
|
+
end
|
11
|
+
end
|