Actor getRollData

This commit is contained in:
Dapoolp 2025-07-12 18:10:25 +02:00
parent 9d0b9183ee
commit 59ff38bd4f

View file

@ -370,7 +370,10 @@ export default class DhpActor extends Actor {
} }
getRollData() { getRollData() {
return this.system; const rollData = super.getRollData();
rollData.prof = this.system.proficiency?.total ?? 1;
rollData.cast = this.system.spellcast?.total ?? 1;
return rollData;
} }
formatRollModifier(roll) { formatRollModifier(roll) {