Data model change
This commit is contained in:
@ -168,6 +168,23 @@ export class CrucibleActor extends Actor {
|
||||
return duplicate(this.data.items.filter(item => item.type == "equipment") || [])
|
||||
}
|
||||
|
||||
/* ------------------------------------------- */
|
||||
getSaveRoll(){
|
||||
return {
|
||||
reflex: {
|
||||
"label": "Reflex",
|
||||
"value": this.data.data.abilities.agi.value + this.data.data.abilities.wit.value
|
||||
},
|
||||
fortitude: {
|
||||
"label": "Fortitude",
|
||||
"value": this.data.data.abilities.str.value + this.data.data.abilities.con.value
|
||||
},
|
||||
willpower: {
|
||||
"label": "Willpower",
|
||||
"value": this.data.data.abilities.int.value + this.data.data.abilities.cha.value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ------------------------------------------- */
|
||||
async buildContainerTree() {
|
||||
|
Reference in New Issue
Block a user