Implement @Lookup enricher (#1196)

This commit is contained in:
Carlos Fernandez 2025-10-04 07:10:39 -04:00 committed by GitHub
parent 952779000d
commit 86eeba0648
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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;