소스 검색

Fix broken skill schema

krs 2 년 전
부모
커밋
ffaf4c5b01
1개의 변경된 파일11개의 추가작업 그리고 12개의 파일을 삭제
  1. 11 12
      config/schemas/skill.json

+ 11 - 12
config/schemas/skill.json

@@ -63,19 +63,18 @@
 		},
 		"gainChance" : {
 			"description" : "Chance for the skill to be offered on level-up (heroClass may override)",
-				"type" : "object",
-				"required" : ["might", "magic"],
-				"properties" : {
-					"might" : {
-						"type" : "number",
-						"description" : "Chance for hero classes with might affinity"
-					},
-					"magic" : {
-						"type" : "number",
-						"description" : "Chance for hero classes with magic affinity"
-					}
+			"type" : "object",
+			"required" : ["might", "magic"],
+			"properties" : {
+				"might" : {
+					"type" : "number",
+					"description" : "Chance for hero classes with might affinity"
+				},
+				"magic" : {
+					"type" : "number",
+					"description" : "Chance for hero classes with magic affinity"
 				}
-			]
+			}
 		},
 		"base" : {
 			"type" : "object",