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
|
||||||
},
|
},
|
||||||
|
"basic" : {
|
||||||
"required" : ["basic", "advanced", "expert"],
|
"$ref" : "#/definitions/skillBonus"
|
||||||
|
},
|
||||||
"properties" : {
|
"advanced" : {
|
||||||
"base" : {
|
"$ref" : "#/definitions/skillBonus"
|
||||||
"type" : "object",
|
},
|
||||||
"description" : "will be merged with all levels",
|
"expert" : {
|
||||||
"additionalProperties" : true
|
"$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);
|
registerObject(scope, type_name, name, object->id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void CSkillHandler::afterLoadFinalization()
|
void CSkillHandler::afterLoadFinalization()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user