Implement @Lookup enricher

This commit is contained in:
Carlos Fernandez 2025-09-23 22:13:58 -04:00
parent e655954890
commit 06afcd1341
6 changed files with 50 additions and 68 deletions

View file

@ -501,6 +501,7 @@ export default class DhpActor extends Actor {
/**@inheritdoc */
getRollData() {
const rollData = super.getRollData();
rollData.name = this.name;
rollData.system = this.system.getRollData();
rollData.prof = this.system.proficiency ?? 1;
rollData.cast = this.system.spellcastModifier ?? 1;