Enhance roll result colors

This commit is contained in:
2025-01-07 22:22:15 +01:00
parent 44842ff655
commit adb4923d00
12 changed files with 119 additions and 67 deletions

View File

@ -154,6 +154,10 @@ export default class CthulhuEternalProtagonist extends foundry.abstract.TypeData
return this.wp.value === 0
}
isExhausted() {
return this.wp.exhausted
}
/** */
/**
* Rolls a dice for a character.
@ -170,6 +174,7 @@ export default class CthulhuEternalProtagonist extends foundry.abstract.TypeData
rollItem,
isLowWP: this.isLowWP(),
isZeroWP: this.isZeroWP(),
isExhausted: this.isExhausted(),
actorId: this.parent.id,
actorName: this.parent.name,
actorImage: this.parent.img,