forked from public/bol
Compare commits
3 Commits
bol-v10.0.
...
bol-v10.0.
Author | SHA1 | Date | |
---|---|---|---|
d888c6a2eb | |||
165e41fef6 | |||
19bb0798c8 |
@ -203,10 +203,10 @@ export class BoLActor extends Actor {
|
|||||||
return Object.values(this.system.resources)
|
return Object.values(this.system.resources)
|
||||||
}
|
}
|
||||||
get boons() {
|
get boons() {
|
||||||
return this.items.filter(i => i.type === "feature" && i.system.subtype === "boon");
|
return duplicate(this.items.filter(i => i.type === "feature" && i.system.subtype === "boon") || []);
|
||||||
}
|
}
|
||||||
get flaws() {
|
get flaws() {
|
||||||
return this.items.filter(i => i.type === "feature" && i.system.subtype === "flaw");
|
return duplicate(this.items.filter(i => i.type === "feature" && i.system.subtype === "flaw") || []);
|
||||||
}
|
}
|
||||||
get careers() {
|
get careers() {
|
||||||
return duplicate( this.items.filter(i => i.type === "feature" && i.system.subtype === "career") || [])
|
return duplicate( this.items.filter(i => i.type === "feature" && i.system.subtype === "career") || [])
|
||||||
@ -288,10 +288,11 @@ export class BoLActor extends Actor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get bonusBoons() {
|
get bonusBoons() {
|
||||||
return this.items.filter(i => i.type === "feature" && i.system.subtype === "boon" && i.system.properties.isbonusdice);
|
let boons = this.items.filter(i => i.type === "feature" && i.system.subtype === "boon" && i.system.properties.isbonusdice)
|
||||||
|
return duplicate( boons || [])
|
||||||
}
|
}
|
||||||
get malusFlaws() {
|
get malusFlaws() {
|
||||||
return this.items.filter(i => i.type === "feature" && i.system.subtype === "flaw" && i.system.properties.ismalusdice);
|
return duplicate( this.items.filter(i => i.type === "feature" && i.system.subtype === "flaw" && i.system.properties.ismalusdice) || []);
|
||||||
}
|
}
|
||||||
|
|
||||||
isSorcerer() {
|
isSorcerer() {
|
||||||
|
15
system.json
15
system.json
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "bol",
|
"id": "bol",
|
||||||
"title": "Barbarians of Lemuria",
|
"title": "Barbarians of Lemuria",
|
||||||
"description": "The Barbarians of Lemuria system for FoundryVTT!",
|
"description": "The Barbarians of Lemuria system for FoundryVTT!",
|
||||||
"author": "LeRatierBretonnien,Zigmund",
|
"author": "LeRatierBretonnien,Zigmund",
|
||||||
@ -14,10 +14,10 @@
|
|||||||
"url": "https://www.uberwald.me/gitea/public/bol",
|
"url": "https://www.uberwald.me/gitea/public/bol",
|
||||||
"license": "LICENSE.txt",
|
"license": "LICENSE.txt",
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"version": "10.0.0",
|
"version": "10.0.1",
|
||||||
"templateVersion": 10,
|
"compatibility": {
|
||||||
"minimumCoreVersion": "10",
|
"minimum": 10
|
||||||
"compatibleCoreVersion": "10",
|
},
|
||||||
"scripts": [],
|
"scripts": [],
|
||||||
"esmodules": [
|
"esmodules": [
|
||||||
"module/bol.js"
|
"module/bol.js"
|
||||||
@ -179,11 +179,10 @@
|
|||||||
"private": false
|
"private": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"system": [],
|
"relationships": { },
|
||||||
"dependencies": [],
|
|
||||||
"socket": true,
|
"socket": true,
|
||||||
"manifest": "https://www.uberwald.me/gitea/public/bol/raw/v10/system.json",
|
"manifest": "https://www.uberwald.me/gitea/public/bol/raw/v10/system.json",
|
||||||
"download": "https://www.uberwald.me/gitea/public/bol/archive/bol-v10.0.0.zip",
|
"download": "https://www.uberwald.me/gitea/public/bol/archive/bol-v10.0.1.zip",
|
||||||
"protected": false,
|
"protected": false,
|
||||||
"background": "images/map_lemurie.webp",
|
"background": "images/map_lemurie.webp",
|
||||||
"gridDistance": 1.5,
|
"gridDistance": 1.5,
|
||||||
|
Reference in New Issue
Block a user