|
|
@@ -105,7 +105,7 @@
|
|
|
},
|
|
|
"required": ["name", "effectiveBonus"],
|
|
|
"type": "object"
|
|
|
- }
|
|
|
+ },
|
|
|
{
|
|
|
"properties": {
|
|
|
"name": {"type": "string"},
|
|
|
@@ -122,7 +122,7 @@
|
|
|
},
|
|
|
"weapon": {
|
|
|
"allOf": [
|
|
|
- {"$ref": "#/definitions/enchantable"}
|
|
|
+ {"$ref": "#/definitions/enchantable"},
|
|
|
{
|
|
|
"dependencies":{
|
|
|
"secondaryCriticalDamage": ["secondaryDamage"]
|
|
|
@@ -161,7 +161,7 @@
|
|
|
},
|
|
|
"armor": {
|
|
|
"allOf": [
|
|
|
- {"$ref": "#/definitions/enchantable"}
|
|
|
+ {"$ref": "#/definitions/enchantable"},
|
|
|
{
|
|
|
"dependencies": {
|
|
|
"speed": {"properties": {"type": {"not": {"const": "Shield"}}}}
|