forked from public/bol
Fix spells
This commit is contained in:
parent
59218de935
commit
80d58403ab
@ -40,6 +40,12 @@ export class BoLItemSheet extends ItemSheet {
|
||||
}
|
||||
}
|
||||
if (itemData.data.category == 'spell') {
|
||||
if(!itemData.data.properties.mandatoryconditions) {
|
||||
itemData.data.properties.mandatoryconditions = []
|
||||
}
|
||||
if(!itemData.data.properties.optionnalconditions) {
|
||||
itemData.data.properties.optionnalconditions = []
|
||||
}
|
||||
for (let i = 0; i < 4; i++) {
|
||||
itemData.data.properties.mandatoryconditions[i] = itemData.data.properties.mandatoryconditions[i] ?? ""
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
"url": "https://github.com/ZigmundKreud/bol",
|
||||
"license": "LICENSE.txt",
|
||||
"flags": {},
|
||||
"version": "0.9.1.4",
|
||||
"version": "0.9.1.5",
|
||||
"templateVersion": 18,
|
||||
"minimumCoreVersion": "0.8.6",
|
||||
"compatibleCoreVersion": "9",
|
||||
|
Loading…
Reference in New Issue
Block a user