added support for fate and wounds.

This commit is contained in:
Lyle hayhurst
2021-06-02 23:50:12 -05:00
parent 63bda666b5
commit 87a031ae44
5 changed files with 59 additions and 2 deletions

View File

@@ -5,12 +5,21 @@ export class wfrp4e {
}
getHP(token) {
getFate(token) {
return token.actor.data.data.status.fate.value
}
getWounds(token) {
const wounds = token.actor.data.data.status.wounds
return {
value: wounds.value,
max: wounds.max
}
}
getHP(token) {
return this.getWounds(token);
}
getTempHP(token) {