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:
parent
3764ec8be1
commit
dba5186a6f
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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()
|
||||
{
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user