1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-24 03:47:18 +02:00

fixed skill schema definition

This commit is contained in:
Henning Koehler 2017-08-30 20:01:09 +12:00
parent 3764ec8be1
commit dba5186a6f
2 changed files with 19 additions and 19 deletions

View File

@ -24,25 +24,26 @@
}
}
}
}
},
"required" : ["basic", "advanced", "expert"],
"properties" : {
"base" : {
"type" : "object",
"description" : "will be merged with all levels",
"additionalProperties" : true
},
"required" : ["basic", "advanced", "expert"],
"properties" : {
"base" : {
"type" : "object",
"description" : "will be merged with all levels",
"additionalProperties" : true
},
"basic" : {
"$ref" : "#/definitions/skillBonus"
},
"advanced" : {
"$ref" : "#/definitions/skillBonus"
},
"expert" : {
"$ref" : "#/definitions/skillBonus"
}
"basic" : {
"$ref" : "#/definitions/skillBonus"
},
"advanced" : {
"$ref" : "#/definitions/skillBonus"
},
"expert" : {
"$ref" : "#/definitions/skillBonus"
}
}
}

View File

@ -206,7 +206,6 @@ void CSkillHandler::loadObject(std::string scope, std::string name, const JsonNo
registerObject(scope, type_name, name, object->id);
}
void CSkillHandler::afterLoadFinalization()
{
}