smite_ruby 1.4.6 → 1.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/Gemfile.lock +3 -3
- data/lib/smite/ability.rb +18 -0
- data/lib/smite/data_transform.rb +5 -15
- data/lib/smite/game.rb +12 -0
- data/lib/smite/god.rb +63 -2
- data/lib/smite/god_stats.rb +169 -80
- data/lib/smite/item.rb +101 -10
- data/lib/smite/item_effect.rb +21 -3
- data/smite_ruby.gemspec +2 -2
- data/spec/game_spec.rb +2 -2
- data/spec/god_spec.rb +62 -0
- data/spec/god_stats_spec.rb +6 -2
- data/spec/item_effect_spec.rb +0 -2
- data/spec/item_spec.rb +26 -1
- data/spec/responses/getgods.json +304 -0
- data/spec/responses/getitems.json +138 -10
- metadata +2 -2
@@ -1,4 +1,22 @@
|
|
1
1
|
[
|
2
|
+
{
|
3
|
+
"ChildItemId" : 0,
|
4
|
+
"DeviceName" : "Iron Mail",
|
5
|
+
"IconId" : 2866,
|
6
|
+
"ItemDescription" :
|
7
|
+
{"Description" : "Physical Protection and Health.",
|
8
|
+
"Menuitems" : [{"Description" : "Health", "Value" : "+100"}, {"Description" : "Physical Protection", "Value" : "+20"}],
|
9
|
+
"SecondaryDescription" : ""},
|
10
|
+
"ItemId" : 7526,
|
11
|
+
"ItemTier" : 1,
|
12
|
+
"Price" : 725,
|
13
|
+
"RootItemId" : 7526,
|
14
|
+
"ShortDesc" : "Physical Protection and Health.",
|
15
|
+
"StartingItem" : false,
|
16
|
+
"Type" : "Item",
|
17
|
+
"itemIcon_URL" : "http://hirezstudios.blob.core.windows.net/sitefinity/smite-items/2866.jpg",
|
18
|
+
"ret_msg" : null
|
19
|
+
},
|
2
20
|
{
|
3
21
|
"ChildItemId" : 7527,
|
4
22
|
"DeviceName" : "Sovereignty",
|
@@ -97,22 +115,132 @@
|
|
97
115
|
"itemIcon_URL" : "http://hirezstudios.blob.core.windows.net/sitefinity/smite-items/1977.jpg",
|
98
116
|
"ret_msg" : null
|
99
117
|
},
|
100
|
-
|
101
|
-
"
|
102
|
-
"
|
118
|
+
{
|
119
|
+
"ChildItemId" : 12333,
|
120
|
+
"DeviceName" : "Sanctuary",
|
121
|
+
"IconId" : 4306,
|
103
122
|
"ItemDescription" :
|
104
|
-
{"Description" : "
|
123
|
+
{"Description" : "Using this item grants the owner invulnerability for a short duration.",
|
105
124
|
"Menuitems" : [],
|
106
125
|
"SecondaryDescription" :
|
107
|
-
"Using this item makes you invulnerable to damage for
|
108
|
-
"ItemId" :
|
109
|
-
"ItemTier" :
|
110
|
-
"Price" :
|
111
|
-
"RootItemId" :
|
126
|
+
"Using this item makes you invulnerable to damage for 2s, preventing you from taking action. You may still move. Cooldown - 160s."},
|
127
|
+
"ItemId" : 7672,
|
128
|
+
"ItemTier" : 3,
|
129
|
+
"Price" : 0,
|
130
|
+
"RootItemId" : 12333,
|
112
131
|
"ShortDesc" : "Invulnerability for a duration.",
|
113
132
|
"StartingItem" : false,
|
114
133
|
"Type" : "Active",
|
115
|
-
"itemIcon_URL" : "http://hirezstudios.blob.core.windows.net/sitefinity/smite-items/
|
134
|
+
"itemIcon_URL" : "http://hirezstudios.blob.core.windows.net/sitefinity/smite-items/4306.jpg",
|
135
|
+
"ret_msg" : null
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"ChildItemId" : 0,
|
139
|
+
"DeviceName" : "Round Shield",
|
140
|
+
"IconId" : 2907,
|
141
|
+
"ItemDescription" :
|
142
|
+
{"Description" : "Physical Power and Physical Protection.",
|
143
|
+
"Menuitems" : [{"Description" : "Physical Power", "Value" : "+15"}, {"Description" : "Physical Protection", "Value" : "+5"}],
|
144
|
+
"SecondaryDescription" : ""},
|
145
|
+
"ItemId" : 9833,
|
146
|
+
"ItemTier" : 1,
|
147
|
+
"Price" : 890,
|
148
|
+
"RootItemId" : 9833,
|
149
|
+
"ShortDesc" : "Physical Power and Physical Protection.",
|
150
|
+
"StartingItem" : false,
|
151
|
+
"Type" : "Item",
|
152
|
+
"itemIcon_URL" : "http://hirezstudios.blob.core.windows.net/sitefinity/smite-items/2907.jpg",
|
153
|
+
"ret_msg" : null
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"ChildItemId" : 0,
|
157
|
+
"DeviceName" : "Soul Reliquary",
|
158
|
+
"IconId" : 2911,
|
159
|
+
"ItemDescription" :
|
160
|
+
{"Description" : "Magical Power and Mana.",
|
161
|
+
"Menuitems" : [{"Description" : "Magical Power", "Value" : "+30"}, {"Description" : "Mana", "Value" : "+75"}],
|
162
|
+
"SecondaryDescription" : ""},
|
163
|
+
"ItemId" : 9858,
|
164
|
+
"ItemTier" : 1,
|
165
|
+
"Price" : 700,
|
166
|
+
"RootItemId" : 9858,
|
167
|
+
"ShortDesc" : "Magical Power and Mana.",
|
168
|
+
"StartingItem" : false,
|
169
|
+
"Type" : "Item",
|
170
|
+
"itemIcon_URL" : "http://hirezstudios.blob.core.windows.net/sitefinity/smite-items/2911.jpg",
|
171
|
+
"ret_msg" : null
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"ChildItemId" : 9858,
|
175
|
+
"DeviceName" : "Soul Trap",
|
176
|
+
"IconId" : 2910,
|
177
|
+
"ItemDescription" :
|
178
|
+
{"Description" : "",
|
179
|
+
"Menuitems" : [{"Description" : "Magical Power", "Value" : "+65"}, {"Description" : "Mana", "Value" : "+125"}],
|
180
|
+
"SecondaryDescription" : ""},
|
181
|
+
"ItemId" : 9859,
|
182
|
+
"ItemTier" : 2,
|
183
|
+
"Price" : 890,
|
184
|
+
"RootItemId" : 9858,
|
185
|
+
"ShortDesc" : "",
|
186
|
+
"StartingItem" : false,
|
187
|
+
"Type" : "Item",
|
188
|
+
"itemIcon_URL" : "http://hirezstudios.blob.core.windows.net/sitefinity/smite-items/2910.jpg",
|
189
|
+
"ret_msg" : null
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"ChildItemId" : 7526,
|
193
|
+
"DeviceName" : "Steel Mail",
|
194
|
+
"IconId" : 2865,
|
195
|
+
"ItemDescription" :
|
196
|
+
{"Description" : "",
|
197
|
+
"Menuitems" : [{"Description" : "Health", "Value" : "+200"}, {"Description" : "Physical Protection", "Value" : "+20"}],
|
198
|
+
"SecondaryDescription" : ""},
|
199
|
+
"ItemId" : 7527,
|
200
|
+
"ItemTier" : 2,
|
201
|
+
"Price" : 675,
|
202
|
+
"RootItemId" : 7526,
|
203
|
+
"ShortDesc" : "",
|
204
|
+
"StartingItem" : false,
|
205
|
+
"Type" : "Item",
|
206
|
+
"itemIcon_URL" : "http://hirezstudios.blob.core.windows.net/sitefinity/smite-items/2865.jpg",
|
207
|
+
"ret_msg" : null
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"ChildItemId" : 9833,
|
211
|
+
"DeviceName" : "Tower Shield",
|
212
|
+
"IconId" : 2938,
|
213
|
+
"ItemDescription" :
|
214
|
+
{"Description" : "",
|
215
|
+
"Menuitems" : [{"Description" : "Physical Power", "Value" : "+20"}, {"Description" : "Physical Protection", "Value" : "+10"}],
|
216
|
+
"SecondaryDescription" : ""},
|
217
|
+
"ItemId" : 8566,
|
218
|
+
"ItemTier" : 2,
|
219
|
+
"Price" : 310,
|
220
|
+
"RootItemId" : 9833,
|
221
|
+
"ShortDesc" : "",
|
222
|
+
"StartingItem" : false,
|
223
|
+
"Type" : "Item",
|
224
|
+
"itemIcon_URL" : "http://hirezstudios.blob.core.windows.net/sitefinity/smite-items/2938.jpg",
|
225
|
+
"ret_msg" : null
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"ChildItemId" : 0,
|
229
|
+
"DeviceName" : "Relic",
|
230
|
+
"IconId" : 4312,
|
231
|
+
"ItemDescription" :
|
232
|
+
{"Description" : "Relics provide special powers available to all gods.",
|
233
|
+
"Menuitems" : [],
|
234
|
+
"SecondaryDescription" :
|
235
|
+
"Relics provide special powers available to all gods. Your first Relic is free at Level 1 and your Second Relic is unlocked once you reach Level 12."},
|
236
|
+
"ItemId" : 12333,
|
237
|
+
"ItemTier" : 1,
|
238
|
+
"Price" : 0,
|
239
|
+
"RootItemId" : 12333,
|
240
|
+
"ShortDesc" : "Relics provide special powers available to all gods.",
|
241
|
+
"StartingItem" : false,
|
242
|
+
"Type" : "Active",
|
243
|
+
"itemIcon_URL" : "http://hirezstudios.blob.core.windows.net/sitefinity/smite-items/4312.jpg",
|
116
244
|
"ret_msg" : null
|
117
245
|
}
|
118
246
|
]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smite_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NcUltimate
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|