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,70 +1,75 @@
|
|
1
|
-
|
2
|
-
module Development
|
3
|
-
require_relative 'development/elite_monster_drops_data'
|
4
|
-
require_relative 'development/gems_data'
|
5
|
-
require_relative 'development/general_data'
|
6
|
-
require_relative 'development/local_specialty_data'
|
7
|
-
require_relative 'development/monster_loot_drops_data'
|
8
|
-
require_relative 'development/talent_books_data'
|
9
|
-
require_relative 'development/weapon_material_data'
|
10
|
-
require_relative 'development/weapon_refinement_material_data'
|
11
|
-
require_relative 'development/weekly_boss_drops_data'
|
12
|
-
require_relative 'development/world_boss_drops_data'
|
1
|
+
# frozen_string_literal: true
|
13
2
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
end
|
3
|
+
module GenshinData
|
4
|
+
module Materials
|
5
|
+
# Top level access class for all development materials
|
6
|
+
module Development
|
7
|
+
require_relative "development/elite_monster_drops_data"
|
8
|
+
require_relative "development/gems_data"
|
9
|
+
require_relative "development/general_data"
|
10
|
+
require_relative "development/local_specialty_data"
|
11
|
+
require_relative "development/monster_loot_drops_data"
|
12
|
+
require_relative "development/talent_books_data"
|
13
|
+
require_relative "development/weapon_material_data"
|
14
|
+
require_relative "development/weapon_refinement_material_data"
|
15
|
+
require_relative "development/weekly_boss_drops_data"
|
16
|
+
require_relative "development/world_boss_drops_data"
|
29
17
|
|
30
|
-
|
31
|
-
|
32
|
-
|
18
|
+
class << self
|
19
|
+
def all
|
20
|
+
[
|
21
|
+
elite_monster_loot,
|
22
|
+
gems,
|
23
|
+
general,
|
24
|
+
local_specialties,
|
25
|
+
monster_loot,
|
26
|
+
talent_books,
|
27
|
+
weapon_materials,
|
28
|
+
weapon_refinement,
|
29
|
+
weekly_boss_drops,
|
30
|
+
world_boss_drops
|
31
|
+
].flatten.sort { |x, y| x.name <=> y.name }
|
32
|
+
end
|
33
33
|
|
34
|
-
|
35
|
-
|
36
|
-
|
34
|
+
def elite_monster_loot
|
35
|
+
EliteMonsterLootDropsData.all
|
36
|
+
end
|
37
37
|
|
38
|
-
|
39
|
-
|
40
|
-
|
38
|
+
def gems
|
39
|
+
GemsData.all
|
40
|
+
end
|
41
41
|
|
42
|
-
|
43
|
-
|
44
|
-
|
42
|
+
def general
|
43
|
+
GeneralData.all
|
44
|
+
end
|
45
45
|
|
46
|
-
|
47
|
-
|
48
|
-
|
46
|
+
def local_specialties
|
47
|
+
LocalSpecialtyData.all
|
48
|
+
end
|
49
49
|
|
50
|
-
|
51
|
-
|
52
|
-
|
50
|
+
def monster_loot
|
51
|
+
MonsterLootDropsData.all
|
52
|
+
end
|
53
53
|
|
54
|
-
|
55
|
-
|
56
|
-
|
54
|
+
def talent_books
|
55
|
+
TalentBooksData.all
|
56
|
+
end
|
57
57
|
|
58
|
-
|
59
|
-
|
60
|
-
|
58
|
+
def weapon_materials
|
59
|
+
WeaponMaterialData.all
|
60
|
+
end
|
61
61
|
|
62
|
-
|
63
|
-
|
64
|
-
|
62
|
+
def weapon_refinement
|
63
|
+
WeaponRefinementMaterialData.all
|
64
|
+
end
|
65
|
+
|
66
|
+
def weekly_boss_drops
|
67
|
+
WeeklyBossDropsData.all
|
68
|
+
end
|
65
69
|
|
66
|
-
|
67
|
-
|
70
|
+
def world_boss_drops
|
71
|
+
WorldBossDropsData.all
|
72
|
+
end
|
68
73
|
end
|
69
74
|
end
|
70
75
|
end
|