gotchi-battler-game-logic 2.0.2 → 2.0.3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schemas/team.json +90 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gotchi-battler-game-logic",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/schemas/team.json CHANGED
@@ -3,7 +3,10 @@
3
3
  "properties": {
4
4
  "formation": {
5
5
  "type": "object",
6
- "required": ["front", "back"],
6
+ "required": [
7
+ "front",
8
+ "back"
9
+ ],
7
10
  "properties": {
8
11
  "front": {
9
12
  "type": "array",
@@ -48,7 +51,12 @@
48
51
  "pattern": "^0x[a-fA-F0-9]{40}$"
49
52
  }
50
53
  },
51
- "required": ["formation", "leader", "name", "owner"],
54
+ "required": [
55
+ "formation",
56
+ "leader",
57
+ "name",
58
+ "owner"
59
+ ],
52
60
  "additionalProperties": false,
53
61
  "definitions": {
54
62
  "gotchi": {
@@ -122,7 +130,10 @@
122
130
  },
123
131
  "attack": {
124
132
  "type": "string",
125
- "enum": ["physical", "magic"]
133
+ "enum": [
134
+ "physical",
135
+ "magic"
136
+ ]
126
137
  },
127
138
  "actionDelay": {
128
139
  "type": "number"
@@ -146,6 +157,39 @@
146
157
  "specialId": {
147
158
  "type": "integer"
148
159
  },
160
+ "hauntId": {
161
+ "type": "integer"
162
+ },
163
+ "collateralType": {
164
+ "type": "string"
165
+ },
166
+ "eyeShape": {
167
+ "type": "string"
168
+ },
169
+ "eyeColor": {
170
+ "type": "string"
171
+ },
172
+ "wearableBody": {
173
+ "type": "integer"
174
+ },
175
+ "wearableFace": {
176
+ "type": "integer"
177
+ },
178
+ "wearableEyes": {
179
+ "type": "integer"
180
+ },
181
+ "wearableHead": {
182
+ "type": "integer"
183
+ },
184
+ "wearableHandLeft": {
185
+ "type": "integer"
186
+ },
187
+ "wearableHandRight": {
188
+ "type": "integer"
189
+ },
190
+ "wearablePet": {
191
+ "type": "integer"
192
+ },
149
193
  "special": {
150
194
  "type": "object",
151
195
  "properties": {
@@ -168,14 +212,25 @@
168
212
  "type": "string"
169
213
  }
170
214
  },
171
- "required": ["id", "name", "cooldown", "leaderPassive"],
215
+ "required": [
216
+ "id",
217
+ "name",
218
+ "cooldown",
219
+ "leaderPassive"
220
+ ],
172
221
  "additionalProperties": false
173
222
  },
174
223
  "itemId": {
175
- "type": ["integer", "null"]
224
+ "type": [
225
+ "integer",
226
+ "null"
227
+ ]
176
228
  },
177
229
  "item": {
178
- "type": ["object", "null"],
230
+ "type": [
231
+ "object",
232
+ "null"
233
+ ],
179
234
  "properties": {
180
235
  "id": {
181
236
  "type": "integer"
@@ -192,14 +247,31 @@
192
247
  },
193
248
  "rarity": {
194
249
  "type": "string",
195
- "enum": ["common", "uncommon", "rare", "legendary", "mythical", "godlike"]
250
+ "enum": [
251
+ "common",
252
+ "uncommon",
253
+ "rare",
254
+ "legendary",
255
+ "mythical",
256
+ "godlike"
257
+ ]
196
258
  },
197
259
  "cost": {
198
260
  "type": "number"
199
261
  },
200
262
  "stat": {
201
263
  "type": "string",
202
- "enum": ["speed", "health", "crit", "armor", "evade", "resist", "magic", "physical", "accuracy"]
264
+ "enum": [
265
+ "speed",
266
+ "health",
267
+ "crit",
268
+ "armor",
269
+ "evade",
270
+ "resist",
271
+ "magic",
272
+ "physical",
273
+ "accuracy"
274
+ ]
203
275
  },
204
276
  "statValue": {
205
277
  "type": "integer"
@@ -211,7 +283,16 @@
211
283
  "type": "string"
212
284
  }
213
285
  },
214
- "required": ["id", "name", "description", "image", "rarity", "cost", "stat", "statValue"],
286
+ "required": [
287
+ "id",
288
+ "name",
289
+ "description",
290
+ "image",
291
+ "rarity",
292
+ "cost",
293
+ "stat",
294
+ "statValue"
295
+ ],
215
296
  "example": {
216
297
  "id": 1,
217
298
  "name": "Speed +",